@altimateai/ui-components 0.0.1-beta.10
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-BKBSxoPA.d.ts +14 -0
- package/dist/CoachForm.css +1 -0
- package/dist/CoachForm.js +40505 -0
- package/dist/DbtDocsRenderer.js +45647 -0
- package/dist/NativeSelect.js +8994 -0
- package/dist/assets/icons/index.d.ts +96 -0
- package/dist/assets/icons/index.js +49 -0
- package/dist/chatbotV2/index.d.ts +80 -0
- package/dist/chatbotV2/index.js +20 -0
- package/dist/flowchart-elk-definition-170a3958.js +46393 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +278 -0
- package/dist/index.js +72 -0
- package/dist/index2.js +682 -0
- package/dist/is_dark.js +8 -0
- package/dist/lineage/index.d.ts +189 -0
- package/dist/lineage/index.js +6680 -0
- package/dist/main.css +1 -0
- package/dist/main.js +4568 -0
- package/dist/mindmap-definition-44684416.js +20514 -0
- package/dist/redux-toolkit.css +1 -0
- package/dist/redux-toolkit.modern.js +12579 -0
- package/dist/shadcn/index.d.ts +521 -0
- package/dist/shadcn/index.js +6054 -0
- package/dist/storybook/Accordion.stories.tsx +52 -0
- package/dist/storybook/Alert.stories.tsx +61 -0
- package/dist/storybook/AlertDialog.stories.tsx +161 -0
- package/dist/storybook/Avatar.stories.tsx +58 -0
- package/dist/storybook/Badge.stories.tsx +36 -0
- package/dist/storybook/Button.stories.tsx +109 -0
- package/dist/storybook/Card.stories.tsx +69 -0
- package/dist/storybook/Checkbox.stories.tsx +65 -0
- package/dist/storybook/Command.stories.tsx +35 -0
- package/dist/storybook/DropdownMenu.stories.tsx +36 -0
- package/dist/storybook/Form.stories.tsx +114 -0
- package/dist/storybook/HoverCard.stories.tsx +99 -0
- package/dist/storybook/Input.stories.tsx +53 -0
- package/dist/storybook/Label.stories.tsx +42 -0
- package/dist/storybook/Menubar.stories.tsx +159 -0
- package/dist/storybook/Pagination.stories.tsx +152 -0
- package/dist/storybook/Popover.stories.tsx +23 -0
- package/dist/storybook/Progress.stories.tsx +89 -0
- package/dist/storybook/RadioGroup.stories.tsx +58 -0
- package/dist/storybook/Resizable.stories.tsx +119 -0
- package/dist/storybook/ScrollArea.stories.tsx +101 -0
- package/dist/storybook/Select.stories.tsx +118 -0
- package/dist/storybook/Sheet.stories.tsx +69 -0
- package/dist/storybook/Sidebar.stories.tsx +97 -0
- package/dist/storybook/Slider.stories.tsx +79 -0
- package/dist/storybook/Switch.stories.tsx +90 -0
- package/dist/storybook/Textarea.stories.tsx +50 -0
- package/dist/storybook/Toast.stories.tsx +107 -0
- package/dist/storybook/Tooltip.stories.tsx +28 -0
- package/dist/storybook/Typography.stories.tsx +178 -0
- package/dist/timeline-definition-8e5a9bc6.js +825 -0
- package/dist/types-6QSONCz1.d.ts +249 -0
- package/package.json +55 -0
- package/readme.md +11 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
2
|
+
import { Slider } from "../shadcn";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: "Shadcn/Components/Slider",
|
|
6
|
+
component: Slider,
|
|
7
|
+
argTypes: {
|
|
8
|
+
defaultValue: {
|
|
9
|
+
control: "object",
|
|
10
|
+
},
|
|
11
|
+
min: {
|
|
12
|
+
control: "number",
|
|
13
|
+
},
|
|
14
|
+
max: {
|
|
15
|
+
control: "number",
|
|
16
|
+
},
|
|
17
|
+
step: {
|
|
18
|
+
control: "number",
|
|
19
|
+
},
|
|
20
|
+
disabled: {
|
|
21
|
+
control: "boolean",
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
} as Meta<typeof Slider>;
|
|
25
|
+
|
|
26
|
+
const Template: StoryFn = args => (
|
|
27
|
+
<div className="al-w-[60%] al-space-y-4">
|
|
28
|
+
<Slider {...args} />
|
|
29
|
+
</div>
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
export const Default = Template.bind({});
|
|
33
|
+
Default.args = {
|
|
34
|
+
defaultValue: [50],
|
|
35
|
+
max: 100,
|
|
36
|
+
step: 1,
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export const WithSteps = Template.bind({});
|
|
40
|
+
WithSteps.args = {
|
|
41
|
+
defaultValue: [0],
|
|
42
|
+
max: 100,
|
|
43
|
+
step: 10,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const Range = Template.bind({});
|
|
47
|
+
Range.args = {
|
|
48
|
+
defaultValue: [25, 75],
|
|
49
|
+
max: 100,
|
|
50
|
+
step: 1,
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const Disabled = Template.bind({});
|
|
54
|
+
Disabled.args = {
|
|
55
|
+
defaultValue: [50],
|
|
56
|
+
max: 100,
|
|
57
|
+
step: 1,
|
|
58
|
+
disabled: true,
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export const CustomRange = Template.bind({});
|
|
62
|
+
CustomRange.args = {
|
|
63
|
+
defaultValue: [40],
|
|
64
|
+
min: -50,
|
|
65
|
+
max: 50,
|
|
66
|
+
step: 5,
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const WithLabels: StoryFn = () => (
|
|
70
|
+
<div className="al-w-[60%] al-space-y-4">
|
|
71
|
+
<div className="al-grid al-gap-4 al-pt-4">
|
|
72
|
+
<div className="al-flex al-items-center al-justify-between">
|
|
73
|
+
<label className="al-text-sm al-font-medium">Volume</label>
|
|
74
|
+
<span className="al-w-12 al-rounded-md al-text-right al-text-sm">50%</span>
|
|
75
|
+
</div>
|
|
76
|
+
<Slider defaultValue={[50]} max={100} step={1} />
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
);
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
2
|
+
import { Switch } from "../shadcn";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: "Shadcn/Components/Switch",
|
|
6
|
+
component: Switch,
|
|
7
|
+
argTypes: {
|
|
8
|
+
checked: {
|
|
9
|
+
control: "boolean",
|
|
10
|
+
},
|
|
11
|
+
disabled: {
|
|
12
|
+
control: "boolean",
|
|
13
|
+
},
|
|
14
|
+
defaultChecked: {
|
|
15
|
+
control: "boolean",
|
|
16
|
+
},
|
|
17
|
+
onCheckedChange: { action: "checked changed" },
|
|
18
|
+
},
|
|
19
|
+
} as Meta;
|
|
20
|
+
|
|
21
|
+
const Template: StoryFn = args => <Switch {...args} />;
|
|
22
|
+
|
|
23
|
+
export const Default = Template.bind({});
|
|
24
|
+
Default.args = {
|
|
25
|
+
"aria-label": "Switch demo",
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const Checked = Template.bind({});
|
|
29
|
+
Checked.args = {
|
|
30
|
+
defaultChecked: true,
|
|
31
|
+
"aria-label": "Switch demo",
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const Disabled = Template.bind({});
|
|
35
|
+
Disabled.args = {
|
|
36
|
+
disabled: true,
|
|
37
|
+
"aria-label": "Switch demo",
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const DisabledChecked = Template.bind({});
|
|
41
|
+
DisabledChecked.args = {
|
|
42
|
+
disabled: true,
|
|
43
|
+
defaultChecked: true,
|
|
44
|
+
"aria-label": "Switch demo",
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export const WithLabel: StoryFn = () => (
|
|
48
|
+
<div className="al-flex al-items-center al-space-x-2">
|
|
49
|
+
<Switch id="airplane-mode" />
|
|
50
|
+
<label
|
|
51
|
+
htmlFor="airplane-mode"
|
|
52
|
+
className="al-text-sm al-font-medium al-leading-none al-peer-disabled:al-cursor-not-allowed al-peer-disabled:al-opacity-70"
|
|
53
|
+
>
|
|
54
|
+
Airplane Mode
|
|
55
|
+
</label>
|
|
56
|
+
</div>
|
|
57
|
+
);
|
|
58
|
+
|
|
59
|
+
export const WithDescription: StoryFn = () => (
|
|
60
|
+
<div className="al-flex al-flex-col al-space-y-2">
|
|
61
|
+
<div className="al-flex al-items-center al-space-x-2">
|
|
62
|
+
<Switch id="notifications" />
|
|
63
|
+
<label htmlFor="notifications" className="al-text-sm al-font-medium al-leading-none">
|
|
64
|
+
Enable Notifications
|
|
65
|
+
</label>
|
|
66
|
+
</div>
|
|
67
|
+
<p className="al-text-sm al-text-muted-foreground">
|
|
68
|
+
You will receive notifications when someone mentions you in a comment.
|
|
69
|
+
</p>
|
|
70
|
+
</div>
|
|
71
|
+
);
|
|
72
|
+
|
|
73
|
+
export const InForm: StoryFn = () => (
|
|
74
|
+
<form className="al-w-full al-max-w-sm">
|
|
75
|
+
<div className="al-flex al-flex-col al-space-y-4">
|
|
76
|
+
<div className="al-flex al-items-center al-justify-between">
|
|
77
|
+
<label htmlFor="marketing" className="al-text-sm al-font-medium al-leading-none">
|
|
78
|
+
Marketing emails
|
|
79
|
+
</label>
|
|
80
|
+
<Switch id="marketing" />
|
|
81
|
+
</div>
|
|
82
|
+
<div className="al-flex al-items-center al-justify-between">
|
|
83
|
+
<label htmlFor="newsletter" className="al-text-sm al-font-medium al-leading-none">
|
|
84
|
+
Weekly newsletter
|
|
85
|
+
</label>
|
|
86
|
+
<Switch id="newsletter" defaultChecked />
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</form>
|
|
90
|
+
);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
2
|
+
import { Textarea } from "../shadcn";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: "Shadcn/Components/Textarea",
|
|
6
|
+
component: Textarea,
|
|
7
|
+
argTypes: {
|
|
8
|
+
disabled: {
|
|
9
|
+
control: "boolean",
|
|
10
|
+
},
|
|
11
|
+
placeholder: {
|
|
12
|
+
control: "text",
|
|
13
|
+
},
|
|
14
|
+
rows: {
|
|
15
|
+
control: "number",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
} as Meta;
|
|
19
|
+
|
|
20
|
+
const Template: StoryFn = args => <Textarea {...args} />;
|
|
21
|
+
|
|
22
|
+
export const Default = Template.bind({});
|
|
23
|
+
Default.args = {
|
|
24
|
+
placeholder: "Type your message here.",
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export const WithRows = Template.bind({});
|
|
28
|
+
WithRows.args = {
|
|
29
|
+
placeholder: "Type your message here.",
|
|
30
|
+
rows: 10,
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const Disabled = Template.bind({});
|
|
34
|
+
Disabled.args = {
|
|
35
|
+
placeholder: "This textarea is disabled",
|
|
36
|
+
disabled: true,
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export const WithValue = Template.bind({});
|
|
40
|
+
WithValue.args = {
|
|
41
|
+
value:
|
|
42
|
+
"This is a pre-filled textarea with some content that demonstrates how the component handles longer text.",
|
|
43
|
+
rows: 5,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const WithCustomClass = Template.bind({});
|
|
47
|
+
WithCustomClass.args = {
|
|
48
|
+
placeholder: "Custom styled textarea",
|
|
49
|
+
className: "al-border-2 al-border-primary",
|
|
50
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
2
|
+
import {
|
|
3
|
+
Toast,
|
|
4
|
+
ToastProvider,
|
|
5
|
+
ToastTitle,
|
|
6
|
+
ToastDescription,
|
|
7
|
+
ToastAction,
|
|
8
|
+
ToastClose,
|
|
9
|
+
ToastViewport,
|
|
10
|
+
Toaster,
|
|
11
|
+
Button,
|
|
12
|
+
toast,
|
|
13
|
+
} from "../shadcn";
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
title: "Shadcn/Components/Toast",
|
|
17
|
+
component: Toast,
|
|
18
|
+
decorators: [
|
|
19
|
+
Story => (
|
|
20
|
+
<ToastProvider>
|
|
21
|
+
<Story />
|
|
22
|
+
<Toaster />
|
|
23
|
+
<ToastViewport />
|
|
24
|
+
</ToastProvider>
|
|
25
|
+
),
|
|
26
|
+
],
|
|
27
|
+
} as Meta;
|
|
28
|
+
|
|
29
|
+
const Template: StoryFn = args => (
|
|
30
|
+
<Toast {...args}>
|
|
31
|
+
<ToastTitle>Toast Title</ToastTitle>
|
|
32
|
+
<ToastDescription>Toast description goes here.</ToastDescription>
|
|
33
|
+
<ToastClose />
|
|
34
|
+
</Toast>
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
export const Default = Template.bind({});
|
|
38
|
+
Default.args = {
|
|
39
|
+
variant: "default",
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export const Destructive = Template.bind({});
|
|
43
|
+
Destructive.args = {
|
|
44
|
+
variant: "destructive",
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export const WithAction: StoryFn = () => (
|
|
48
|
+
<Toast>
|
|
49
|
+
<ToastTitle>Scheduled: Catch up</ToastTitle>
|
|
50
|
+
<ToastDescription>Friday, February 10, 2024 at 5:57 PM</ToastDescription>
|
|
51
|
+
<ToastAction altText="Goto schedule to undo" onClick={() => {}}>
|
|
52
|
+
Undo
|
|
53
|
+
</ToastAction>
|
|
54
|
+
<ToastClose />
|
|
55
|
+
</Toast>
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
export const WithLongContent: StoryFn = () => (
|
|
59
|
+
<Toast>
|
|
60
|
+
<ToastTitle>Long Content Example</ToastTitle>
|
|
61
|
+
<ToastDescription>
|
|
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
|
+
</ToastDescription>
|
|
66
|
+
<ToastClose />
|
|
67
|
+
</Toast>
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
export const Success: StoryFn = () => (
|
|
71
|
+
<Toast>
|
|
72
|
+
<div className="al-flex al-items-center al-gap-2">
|
|
73
|
+
<div className="al-h-6 al-w-6 al-text-green-500">✓</div>
|
|
74
|
+
<ToastTitle>Successfully saved!</ToastTitle>
|
|
75
|
+
</div>
|
|
76
|
+
<ToastDescription>Your changes have been saved successfully.</ToastDescription>
|
|
77
|
+
<ToastClose />
|
|
78
|
+
</Toast>
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
export const Error: StoryFn = () => (
|
|
82
|
+
<Toast variant="destructive">
|
|
83
|
+
<div className="al-flex al-items-center al-gap-2">
|
|
84
|
+
<div className="al-h-6 al-w-6 al-text-red-500">✕</div>
|
|
85
|
+
<ToastTitle>Error occurred</ToastTitle>
|
|
86
|
+
</div>
|
|
87
|
+
<ToastDescription>There was a problem with your request. Please try again.</ToastDescription>
|
|
88
|
+
<ToastAction altText="Try again" onClick={() => {}}>
|
|
89
|
+
Try again
|
|
90
|
+
</ToastAction>
|
|
91
|
+
<ToastClose />
|
|
92
|
+
</Toast>
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
export const OnClick: StoryFn = () => (
|
|
96
|
+
<Button
|
|
97
|
+
variant="outline"
|
|
98
|
+
onClick={() => {
|
|
99
|
+
toast({
|
|
100
|
+
title: "Uh oh! Something went wrong.",
|
|
101
|
+
description: "There was a problem with your request.",
|
|
102
|
+
});
|
|
103
|
+
}}
|
|
104
|
+
>
|
|
105
|
+
Show Toast
|
|
106
|
+
</Button>
|
|
107
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../shadcn";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Tooltip> = {
|
|
5
|
+
title: "Shadcn/Components/Tooltip",
|
|
6
|
+
component: Tooltip,
|
|
7
|
+
decorators: [
|
|
8
|
+
Story => (
|
|
9
|
+
<TooltipProvider>
|
|
10
|
+
<Story />
|
|
11
|
+
</TooltipProvider>
|
|
12
|
+
),
|
|
13
|
+
],
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof Tooltip>;
|
|
18
|
+
|
|
19
|
+
export const Default: Story = {
|
|
20
|
+
render: () => (
|
|
21
|
+
<Tooltip>
|
|
22
|
+
<TooltipTrigger>Hover me</TooltipTrigger>
|
|
23
|
+
<TooltipContent>
|
|
24
|
+
<p>Tooltip content</p>
|
|
25
|
+
</TooltipContent>
|
|
26
|
+
</Tooltip>
|
|
27
|
+
),
|
|
28
|
+
};
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Typography as Component } from "../shadcn";
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "Shadcn/Theme/Typography",
|
|
6
|
+
component: Component,
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: "centered",
|
|
9
|
+
},
|
|
10
|
+
} satisfies Meta<typeof Component>;
|
|
11
|
+
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
|
|
15
|
+
export const Typography: Story = {
|
|
16
|
+
args: {
|
|
17
|
+
variant: "h1",
|
|
18
|
+
weight: "regular",
|
|
19
|
+
size: "md",
|
|
20
|
+
children: "Heading 1",
|
|
21
|
+
},
|
|
22
|
+
render: () => (
|
|
23
|
+
<div className="space-y-8">
|
|
24
|
+
{/* Heading 1 Variations */}
|
|
25
|
+
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
26
|
+
<Component variant="h1" weight="regular">
|
|
27
|
+
Heading 1
|
|
28
|
+
<br /> Regular
|
|
29
|
+
</Component>
|
|
30
|
+
<Component variant="h1" weight="medium">
|
|
31
|
+
Heading 1 <br />
|
|
32
|
+
Medium
|
|
33
|
+
</Component>
|
|
34
|
+
<Component variant="h1" weight="semibold">
|
|
35
|
+
Heading 1 <br />
|
|
36
|
+
Semibold
|
|
37
|
+
</Component>
|
|
38
|
+
<Component variant="h1" weight="bold">
|
|
39
|
+
Heading 1 <br />
|
|
40
|
+
Bold
|
|
41
|
+
</Component>
|
|
42
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
43
|
+
48px / Line height: 60px
|
|
44
|
+
</Component>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
{/* Heading 2 Variations */}
|
|
48
|
+
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
49
|
+
<Component variant="h2" weight="regular">
|
|
50
|
+
Heading 2 <br />
|
|
51
|
+
Regular
|
|
52
|
+
</Component>
|
|
53
|
+
<Component variant="h2" weight="medium">
|
|
54
|
+
Heading 2 <br />
|
|
55
|
+
Medium
|
|
56
|
+
</Component>
|
|
57
|
+
<Component variant="h2" weight="semibold">
|
|
58
|
+
Heading 2 <br />
|
|
59
|
+
Semibold
|
|
60
|
+
</Component>
|
|
61
|
+
<Component variant="h2" weight="bold">
|
|
62
|
+
Heading 2 <br />
|
|
63
|
+
Bold
|
|
64
|
+
</Component>
|
|
65
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
66
|
+
36px / Line height: 44px
|
|
67
|
+
</Component>
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
{/* Heading 3 Variations */}
|
|
71
|
+
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
72
|
+
<Component variant="h3" weight="regular">
|
|
73
|
+
Heading 3 <br />
|
|
74
|
+
Regular
|
|
75
|
+
</Component>
|
|
76
|
+
<Component variant="h3" weight="medium">
|
|
77
|
+
Heading 3 <br />
|
|
78
|
+
Medium
|
|
79
|
+
</Component>
|
|
80
|
+
<Component variant="h3" weight="semibold">
|
|
81
|
+
Heading 3 <br />
|
|
82
|
+
Semibold
|
|
83
|
+
</Component>
|
|
84
|
+
<Component variant="h3" weight="bold">
|
|
85
|
+
Heading 3 <br />
|
|
86
|
+
Bold
|
|
87
|
+
</Component>
|
|
88
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
89
|
+
30px / Line height: 38px
|
|
90
|
+
</Component>
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
{/* Heading 4 Variations */}
|
|
94
|
+
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
95
|
+
<Component variant="h4" weight="regular">
|
|
96
|
+
Heading 4 <br />
|
|
97
|
+
Regular
|
|
98
|
+
</Component>
|
|
99
|
+
<Component variant="h4" weight="medium">
|
|
100
|
+
Heading 4 <br />
|
|
101
|
+
Medium
|
|
102
|
+
</Component>
|
|
103
|
+
<Component variant="h4" weight="semibold">
|
|
104
|
+
Heading 4 <br />
|
|
105
|
+
Semibold
|
|
106
|
+
</Component>
|
|
107
|
+
<Component variant="h4" weight="bold">
|
|
108
|
+
Heading 4 <br />
|
|
109
|
+
Bold
|
|
110
|
+
</Component>
|
|
111
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
112
|
+
24px / Line height: 32px
|
|
113
|
+
</Component>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
{/* Subheading Variations */}
|
|
117
|
+
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
118
|
+
<Component variant="subheading" weight="regular">
|
|
119
|
+
Sub heading <br />
|
|
120
|
+
Regular
|
|
121
|
+
</Component>
|
|
122
|
+
<Component variant="subheading" weight="medium">
|
|
123
|
+
Sub heading <br />
|
|
124
|
+
Medium
|
|
125
|
+
</Component>
|
|
126
|
+
<Component variant="subheading" weight="semibold">
|
|
127
|
+
Sub heading <br />
|
|
128
|
+
Semibold
|
|
129
|
+
</Component>
|
|
130
|
+
<Component variant="subheading" weight="bold">
|
|
131
|
+
Sub heading <br />
|
|
132
|
+
Bold
|
|
133
|
+
</Component>
|
|
134
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
135
|
+
20px / Line height: 30px
|
|
136
|
+
</Component>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
{/* Body/Paragraph Example */}
|
|
140
|
+
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
141
|
+
<Component variant="body" size="sm">
|
|
142
|
+
Body SM <br /> Regular
|
|
143
|
+
</Component>
|
|
144
|
+
<Component variant="body" size="md">
|
|
145
|
+
Body MD <br /> Regular
|
|
146
|
+
</Component>
|
|
147
|
+
<Component variant="body" size="lg">
|
|
148
|
+
Body LG <br /> Regular
|
|
149
|
+
</Component>
|
|
150
|
+
<Component variant="body" size="xl">
|
|
151
|
+
Body XL <br /> Regular
|
|
152
|
+
</Component>
|
|
153
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
154
|
+
20px, 16px, 14px, 12px | Line height: 30px, 24px, 20px, 18px
|
|
155
|
+
</Component>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
{/* Caption Example */}
|
|
159
|
+
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
160
|
+
<Component variant="caption" size="sm">
|
|
161
|
+
Caption SM <br /> Regular
|
|
162
|
+
</Component>
|
|
163
|
+
<Component variant="caption" weight="medium" size="sm">
|
|
164
|
+
Caption SM <br /> Medium
|
|
165
|
+
</Component>
|
|
166
|
+
<Component variant="caption" weight="medium" size="md">
|
|
167
|
+
Caption MD <br /> Medium
|
|
168
|
+
</Component>
|
|
169
|
+
<Component variant="caption" weight="medium" size="lg">
|
|
170
|
+
Caption LG <br /> Medium
|
|
171
|
+
</Component>
|
|
172
|
+
<Component variant="caption" className="al-text-gray-500">
|
|
173
|
+
12px, 14px, 16px | Line height: 24px, 20px, 18px
|
|
174
|
+
</Component>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
),
|
|
178
|
+
};
|