@altimateai/ui-components 0.0.23-beta.6 → 0.0.23
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-C4jhPGlR.d.ts → Button-Cj79i7Go.d.ts} +2 -2
- package/dist/CoachForm.js +7653 -7673
- package/dist/Label.js +48 -0
- package/dist/NativeSelect.js +3918 -0
- package/dist/Stack.js +2013 -2926
- package/dist/index.d.ts +23 -20
- package/dist/index.js +64 -32
- package/dist/lineage/index.js +2354 -2335
- package/dist/main.css +1 -1
- package/dist/main.js +842 -840
- package/dist/redux-toolkit.modern.js +1014 -910
- package/dist/shadcn/index.d.ts +14 -18
- package/dist/shadcn/index.js +3420 -2724
- package/dist/storybook/Badge.stories.tsx +0 -7
- package/dist/storybook/Card.stories.tsx +2 -2
- package/dist/storybook/Label.stories.tsx +2 -2
- package/dist/storybook/Typography.stories.tsx +14 -14
- package/package.json +2 -2
- package/dist/Form.js +0 -3658
- package/dist/Switch.js +0 -128
- package/dist/Table.js +0 -22
|
@@ -31,7 +31,7 @@ export const WithForm = () => (
|
|
|
31
31
|
<CardDescription>Enter your details below.</CardDescription>
|
|
32
32
|
</CardHeader>
|
|
33
33
|
<CardContent>
|
|
34
|
-
<div className="grid
|
|
34
|
+
<div className="grid w-full items-center gap-4">
|
|
35
35
|
<div className="flex flex-col space-y-1.5">
|
|
36
36
|
<label htmlFor="name">Name</label>
|
|
37
37
|
<input id="name" className="border rounded p-2" />
|
|
@@ -63,7 +63,7 @@ export const Pricing = () => (
|
|
|
63
63
|
</ul>
|
|
64
64
|
</CardContent>
|
|
65
65
|
<CardFooter>
|
|
66
|
-
<Button className="
|
|
66
|
+
<Button className="w-full">Subscribe</Button>
|
|
67
67
|
</CardFooter>
|
|
68
68
|
</Card>
|
|
69
69
|
);
|
|
@@ -19,7 +19,7 @@ Default.args = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export const WithInput = () => (
|
|
22
|
-
<div className="grid
|
|
22
|
+
<div className="grid w-full max-w-sm items-center gap-1.5">
|
|
23
23
|
<Label htmlFor="email">Email</Label>
|
|
24
24
|
<Input type="email" id="email" placeholder="Enter your email" />
|
|
25
25
|
</div>
|
|
@@ -35,7 +35,7 @@ Required.args = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
export const Disabled = () => (
|
|
38
|
-
<div className="grid
|
|
38
|
+
<div className="grid w-full max-w-sm items-center gap-1.5">
|
|
39
39
|
<Label htmlFor="disabled">Disabled Label</Label>
|
|
40
40
|
<Input id="disabled" disabled />
|
|
41
41
|
</div>
|
|
@@ -43,8 +43,8 @@ export const Typography: Story = {
|
|
|
43
43
|
Heading 1 <br />
|
|
44
44
|
Bold
|
|
45
45
|
</Component>
|
|
46
|
-
<Component variant="caption" className="text-gray-500">
|
|
47
|
-
|
|
46
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
47
|
+
48px / Line height: 60px
|
|
48
48
|
</Component>
|
|
49
49
|
</div>
|
|
50
50
|
|
|
@@ -70,8 +70,8 @@ export const Typography: Story = {
|
|
|
70
70
|
Heading 2 <br />
|
|
71
71
|
Bold
|
|
72
72
|
</Component>
|
|
73
|
-
<Component variant="caption" className="text-gray-500">
|
|
74
|
-
|
|
73
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
74
|
+
36px / Line height: 44px
|
|
75
75
|
</Component>
|
|
76
76
|
</div>
|
|
77
77
|
|
|
@@ -97,8 +97,8 @@ export const Typography: Story = {
|
|
|
97
97
|
Heading 3 <br />
|
|
98
98
|
Bold
|
|
99
99
|
</Component>
|
|
100
|
-
<Component variant="caption" className="text-gray-500">
|
|
101
|
-
|
|
100
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
101
|
+
30px / Line height: 38px
|
|
102
102
|
</Component>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
@@ -124,8 +124,8 @@ export const Typography: Story = {
|
|
|
124
124
|
Heading 4 <br />
|
|
125
125
|
Bold
|
|
126
126
|
</Component>
|
|
127
|
-
<Component variant="caption" className="text-gray-500">
|
|
128
|
-
|
|
127
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
128
|
+
24px / Line height: 32px
|
|
129
129
|
</Component>
|
|
130
130
|
</div>
|
|
131
131
|
|
|
@@ -151,8 +151,8 @@ export const Typography: Story = {
|
|
|
151
151
|
Sub heading <br />
|
|
152
152
|
Bold
|
|
153
153
|
</Component>
|
|
154
|
-
<Component variant="caption" className="text-gray-500">
|
|
155
|
-
|
|
154
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
155
|
+
20px / Line height: 30px
|
|
156
156
|
</Component>
|
|
157
157
|
</div>
|
|
158
158
|
|
|
@@ -173,8 +173,8 @@ export const Typography: Story = {
|
|
|
173
173
|
<Component variant="body" size="xl">
|
|
174
174
|
Body XL <br /> Regular
|
|
175
175
|
</Component>
|
|
176
|
-
<Component variant="caption" className="text-gray-500">
|
|
177
|
-
|
|
176
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
177
|
+
20px, 16px, 14px, 12px | Line height: 30px, 24px, 20px, 18px
|
|
178
178
|
</Component>
|
|
179
179
|
</div>
|
|
180
180
|
|
|
@@ -195,8 +195,8 @@ export const Typography: Story = {
|
|
|
195
195
|
<Component variant="caption" weight="medium" size="lg">
|
|
196
196
|
Caption LG <br /> Medium
|
|
197
197
|
</Component>
|
|
198
|
-
<Component variant="caption" className="text-gray-500">
|
|
199
|
-
14px,
|
|
198
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
199
|
+
12px, 14px, 16px | Line height: 24px, 20px, 18px
|
|
200
200
|
</Component>
|
|
201
201
|
</div>
|
|
202
202
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altimateai/ui-components",
|
|
3
|
-
"version": "0.0.23
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/AltimateAI/altimate-components.git"
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
"react": "^17.0.0 || ^18.0.0",
|
|
53
53
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
54
54
|
}
|
|
55
|
-
}
|
|
55
|
+
}
|