@altimateai/ui-components 0.0.1-beta.2 → 0.0.1-beta.4

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.
Files changed (60) hide show
  1. package/dist/Accordion.js +43 -114
  2. package/dist/Badge.js +1 -1
  3. package/dist/CoachForm.js +6285 -6583
  4. package/dist/DbtDocsRenderer.js +833 -2651
  5. package/dist/Tooltip.js +115 -0
  6. package/dist/assets/icons/index.js +44 -39
  7. package/dist/chatbot/index.js +100 -96
  8. package/dist/chatbotV2/index.js +16 -3
  9. package/dist/flowchart-elk-definition-170a3958.js +2 -2
  10. package/dist/index.js +16 -16
  11. package/dist/index2.js +194 -193
  12. package/dist/is_dark.js +1 -1
  13. package/dist/lineage/index.js +2284 -2710
  14. package/dist/main.js +50 -185
  15. package/dist/mindmap-definition-44684416.js +2 -2
  16. package/dist/redux-toolkit.modern.js +1 -1
  17. package/dist/shadcn/index.js +352 -382
  18. package/dist/timeline-definition-8e5a9bc6.js +1 -1
  19. package/dist/v4.js +524 -514
  20. package/package.json +54 -54
  21. package/readme.md +11 -0
  22. package/dist/Stack.js +0 -132
  23. package/dist/assets/icons/index.d.ts +0 -86
  24. package/dist/chatbot/index.d.ts +0 -39
  25. package/dist/chatbotV2/index.d.ts +0 -111
  26. package/dist/index.d.ts +0 -217
  27. package/dist/lineage/index.d.ts +0 -183
  28. package/dist/shadcn/index.d.ts +0 -517
  29. package/dist/storybook/Accordion.stories.tsx +0 -61
  30. package/dist/storybook/Alert.stories.tsx +0 -65
  31. package/dist/storybook/AlertDialog.stories.tsx +0 -166
  32. package/dist/storybook/Avatar.stories.tsx +0 -58
  33. package/dist/storybook/Badge.stories.tsx +0 -36
  34. package/dist/storybook/Button.stories.tsx +0 -129
  35. package/dist/storybook/Card.stories.tsx +0 -76
  36. package/dist/storybook/Checkbox.stories.tsx +0 -74
  37. package/dist/storybook/Command.stories.tsx +0 -35
  38. package/dist/storybook/DropdownMenu.stories.tsx +0 -36
  39. package/dist/storybook/Form.stories.tsx +0 -120
  40. package/dist/storybook/HoverCard.stories.tsx +0 -105
  41. package/dist/storybook/Input.stories.tsx +0 -53
  42. package/dist/storybook/Label.stories.tsx +0 -42
  43. package/dist/storybook/Menubar.stories.tsx +0 -159
  44. package/dist/storybook/Pagination.stories.tsx +0 -155
  45. package/dist/storybook/Popover.stories.tsx +0 -25
  46. package/dist/storybook/Progress.stories.tsx +0 -89
  47. package/dist/storybook/RadioGroup.stories.tsx +0 -61
  48. package/dist/storybook/Resizable.stories.tsx +0 -119
  49. package/dist/storybook/ScrollArea.stories.tsx +0 -120
  50. package/dist/storybook/Select.stories.tsx +0 -95
  51. package/dist/storybook/Sheet.stories.tsx +0 -75
  52. package/dist/storybook/Sidebar.stories.tsx +0 -97
  53. package/dist/storybook/Slider.stories.tsx +0 -81
  54. package/dist/storybook/Switch.stories.tsx +0 -99
  55. package/dist/storybook/Textarea.stories.tsx +0 -50
  56. package/dist/storybook/Toast.stories.tsx +0 -111
  57. package/dist/storybook/Tooltip.stories.tsx +0 -33
  58. package/dist/storybook/Typography.stories.tsx +0 -178
  59. package/dist/types-PVxbm0tZ.d.ts +0 -99
  60. /package/dist/{Stack.css → v4.css} +0 -0
@@ -1,120 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import { useForm } from "react-hook-form";
3
- import {
4
- Form,
5
- FormField,
6
- FormItem,
7
- FormLabel,
8
- FormControl,
9
- FormDescription,
10
- FormMessage,
11
- } from "../shadcn";
12
-
13
- export default {
14
- title: "Shadcn/Components/Form",
15
- component: Form,
16
- } as Meta;
17
-
18
- const Template: StoryFn = () => {
19
- const form = useForm({
20
- defaultValues: {
21
- username: "",
22
- },
23
- });
24
-
25
- return (
26
- <Form {...form}>
27
- <form className="al-space-y-8">
28
- <FormField
29
- control={form.control}
30
- name="username"
31
- render={({ field }) => (
32
- <FormItem>
33
- <FormLabel>Username</FormLabel>
34
- <FormControl>
35
- <input
36
- {...field}
37
- className="al-flex al-h-10 al-w-full al-rounded-md al-border al-border-input al-bg-background al-px-3 al-py-2 al-text-sm"
38
- />
39
- </FormControl>
40
- <FormDescription>
41
- This is your public display name.
42
- </FormDescription>
43
- <FormMessage />
44
- </FormItem>
45
- )}
46
- />
47
- </form>
48
- </Form>
49
- );
50
- };
51
-
52
- export const Default = Template.bind({});
53
-
54
- export const WithValidation: StoryFn = () => {
55
- const form = useForm({
56
- defaultValues: {
57
- username: "",
58
- },
59
- });
60
-
61
- return (
62
- <Form {...form}>
63
- <form className="al-space-y-8">
64
- <FormField
65
- control={form.control}
66
- name="username"
67
- render={({ field }) => (
68
- <FormItem>
69
- <FormLabel>Username</FormLabel>
70
- <FormControl>
71
- <input
72
- {...field}
73
- className="al-flex al-h-10 al-w-full al-rounded-md al-border al-border-input al-bg-background al-px-3 al-py-2 al-text-sm"
74
- />
75
- </FormControl>
76
- <FormDescription>
77
- Username must be at least 2 characters.
78
- </FormDescription>
79
- <FormMessage />
80
- </FormItem>
81
- )}
82
- />
83
- </form>
84
- </Form>
85
- );
86
- };
87
-
88
- export const WithError: StoryFn = () => {
89
- const form = useForm({
90
- defaultValues: {
91
- username: "a",
92
- },
93
- });
94
-
95
- return (
96
- <Form {...form}>
97
- <form className="al-space-y-8">
98
- <FormField
99
- control={form.control}
100
- name="username"
101
- render={({ field }) => (
102
- <FormItem>
103
- <FormLabel>Username</FormLabel>
104
- <FormControl>
105
- <input
106
- {...field}
107
- className="al-flex al-h-10 al-w-full al-rounded-md al-border al-border-destructive al-bg-background al-px-3 al-py-2 al-text-sm"
108
- />
109
- </FormControl>
110
- <FormDescription>
111
- Username must be at least 2 characters.
112
- </FormDescription>
113
- <FormMessage>Username is too short</FormMessage>
114
- </FormItem>
115
- )}
116
- />
117
- </form>
118
- </Form>
119
- );
120
- };
@@ -1,105 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import {
3
- Avatar,
4
- AvatarFallback,
5
- AvatarImage,
6
- Button,
7
- HoverCard,
8
- HoverCardContent,
9
- HoverCardTrigger,
10
- } from "../shadcn";
11
- import { CloseIcon } from "@ac-assets/icons";
12
-
13
- export default {
14
- title: "Shadcn/Components/HoverCard",
15
- component: HoverCard,
16
- parameters: {
17
- layout: "centered",
18
- },
19
- } as Meta;
20
-
21
- const Template: StoryFn = () => (
22
- <HoverCard>
23
- <HoverCardTrigger asChild>
24
- <Button variant="link">@nextjs</Button>
25
- </HoverCardTrigger>
26
- <HoverCardContent className="al-w-80">
27
- <div className="al-flex al-justify-between al-space-x-4">
28
- <Avatar>
29
- <AvatarImage src="https://github.com/vercel.png" />
30
- <AvatarFallback>VC</AvatarFallback>
31
- </Avatar>
32
- <div className="al-space-y-1">
33
- <h4 className="al-text-sm al-font-semibold">@nextjs</h4>
34
- <p className="al-text-sm">
35
- The React Framework – created and maintained by @vercel.
36
- </p>
37
- <div className="al-flex al-items-center al-pt-2">
38
- <CloseIcon className="al-mr-2 al-h-4 al-w-4 al-opacity-70" />{" "}
39
- <span className="al-text-xs al-text-muted-foreground">
40
- Joined December 2021
41
- </span>
42
- </div>
43
- </div>
44
- </div>
45
- </HoverCardContent>
46
- </HoverCard>
47
- );
48
-
49
- export const Default = Template.bind({});
50
-
51
- export const WithCustomAlignment: StoryFn = () => (
52
- <HoverCard>
53
- <HoverCardTrigger asChild>
54
- <Button variant="outline">Hover (Right Aligned)</Button>
55
- </HoverCardTrigger>
56
- <HoverCardContent align="end" className="al-w-80">
57
- <div className="al-space-y-2">
58
- <h4 className="al-text-sm al-font-semibold">Right Aligned Content</h4>
59
- <p className="al-text-sm">
60
- This hover card's content is aligned to the end (right) of the trigger
61
- element. It also has a custom width of 80 units.
62
- </p>
63
- </div>
64
- </HoverCardContent>
65
- </HoverCard>
66
- );
67
-
68
- export const WithCustomOffset: StoryFn = () => (
69
- <HoverCard>
70
- <HoverCardTrigger asChild>
71
- <Button variant="outline">Hover (Custom Offset)</Button>
72
- </HoverCardTrigger>
73
- <HoverCardContent sideOffset={10}>
74
- <div className="al-space-y-2">
75
- <h4 className="al-text-sm al-font-semibold">Custom Offset Content</h4>
76
- <p className="al-text-sm">
77
- This hover card has a larger offset from the trigger element (10 units
78
- instead of the default 4).
79
- </p>
80
- </div>
81
- </HoverCardContent>
82
- </HoverCard>
83
- );
84
-
85
- export const WithRichContent: StoryFn = () => (
86
- <HoverCard>
87
- <HoverCardTrigger asChild>
88
- <Button variant="outline">User Profile</Button>
89
- </HoverCardTrigger>
90
- <HoverCardContent className="al-w-80">
91
- <div className="al-flex al-justify-between al-space-x-4">
92
- <div className="al-space-y-1">
93
- <h4 className="al-text-sm al-font-semibold">@johndoe</h4>
94
- <p className="al-text-sm">Staff Engineer at Acme Corp</p>
95
- <div className="al-flex al-items-center al-pt-2">
96
- <span className="al-text-xs al-text-muted-foreground">
97
- Joined December 2021
98
- </span>
99
- </div>
100
- </div>
101
- <div className="al-w-12 al-h-12 al-rounded-full al-bg-secondary" />
102
- </div>
103
- </HoverCardContent>
104
- </HoverCard>
105
- );
@@ -1,53 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import { Input } from "../shadcn";
3
- import { InputHTMLAttributes } from "react";
4
-
5
- type InputProps = InputHTMLAttributes<HTMLInputElement>;
6
-
7
- export default {
8
- title: "Shadcn/Components/Input",
9
- component: Input,
10
- argTypes: {
11
- disabled: {
12
- control: "boolean",
13
- },
14
- type: {
15
- control: "select",
16
- options: ["text", "password", "email", "number"],
17
- },
18
- },
19
- } as Meta<typeof Input>;
20
-
21
- const Template: StoryFn<InputProps> = (args: InputProps) => <Input {...args} />;
22
-
23
- export const Default = Template.bind({});
24
- Default.args = {
25
- placeholder: "Enter text...",
26
- };
27
-
28
- export const Disabled = Template.bind({});
29
- Disabled.args = {
30
- placeholder: "Disabled input",
31
- disabled: true,
32
- };
33
-
34
- export const WithLabel = Template.bind({});
35
- WithLabel.args = {
36
- placeholder: "Enter email",
37
- type: "email",
38
- id: "email",
39
- "aria-label": "Email",
40
- };
41
-
42
- export const Password = Template.bind({});
43
- Password.args = {
44
- type: "password",
45
- placeholder: "Enter password",
46
- };
47
-
48
- export const WithError = Template.bind({});
49
- WithError.args = {
50
- placeholder: "Error state",
51
- className: "border-red-500",
52
- "aria-invalid": true,
53
- };
@@ -1,42 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import { Label, Input } from "../shadcn";
3
-
4
- export default {
5
- title: "Shadcn/Components/Label",
6
- component: Label,
7
- argTypes: {
8
- disabled: {
9
- control: "boolean",
10
- },
11
- },
12
- } as Meta;
13
-
14
- const Template: StoryFn = (args) => <Label {...args} />;
15
-
16
- export const Default = Template.bind({});
17
- Default.args = {
18
- children: "Label Text",
19
- };
20
-
21
- export const WithInput = () => (
22
- <div className="grid w-full max-w-sm items-center gap-1.5">
23
- <Label htmlFor="email">Email</Label>
24
- <Input type="email" id="email" placeholder="Enter your email" />
25
- </div>
26
- );
27
-
28
- export const Required = Template.bind({});
29
- Required.args = {
30
- children: (
31
- <span>
32
- Label Text <span className="text-red-500">*</span>
33
- </span>
34
- ),
35
- };
36
-
37
- export const Disabled = () => (
38
- <div className="grid w-full max-w-sm items-center gap-1.5">
39
- <Label htmlFor="disabled">Disabled Label</Label>
40
- <Input id="disabled" disabled />
41
- </div>
42
- );
@@ -1,159 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import {
3
- Menubar,
4
- MenubarMenu,
5
- MenubarTrigger,
6
- MenubarContent,
7
- MenubarItem,
8
- MenubarSeparator,
9
- MenubarShortcut,
10
- MenubarCheckboxItem,
11
- MenubarRadioGroup,
12
- MenubarRadioItem,
13
- MenubarSubTrigger,
14
- MenubarSubContent,
15
- MenubarLabel,
16
- MenubarSub,
17
- } from "../shadcn";
18
-
19
- export default {
20
- title: "Shadcn/Components/Menubar",
21
- component: Menubar,
22
- } as Meta;
23
-
24
- export const Default: StoryFn = () => (
25
- <Menubar>
26
- <MenubarMenu>
27
- <MenubarTrigger>File</MenubarTrigger>
28
- <MenubarContent>
29
- <MenubarItem>
30
- New Tab <MenubarShortcut>⌘T</MenubarShortcut>
31
- </MenubarItem>
32
- <MenubarItem>
33
- New Window <MenubarShortcut>⌘N</MenubarShortcut>
34
- </MenubarItem>
35
- <MenubarItem disabled>New Incognito Window</MenubarItem>
36
- <MenubarSeparator />
37
- <MenubarItem>
38
- Share <MenubarShortcut>⌘S</MenubarShortcut>
39
- </MenubarItem>
40
- <MenubarSeparator />
41
- <MenubarItem>
42
- Print... <MenubarShortcut>⌘P</MenubarShortcut>
43
- </MenubarItem>
44
- </MenubarContent>
45
- </MenubarMenu>
46
- </Menubar>
47
- );
48
-
49
- export const WithSubmenus: StoryFn = () => (
50
- <Menubar>
51
- <MenubarMenu>
52
- <MenubarTrigger>Edit</MenubarTrigger>
53
- <MenubarContent>
54
- <MenubarItem>
55
- Undo <MenubarShortcut>⌘Z</MenubarShortcut>
56
- </MenubarItem>
57
- <MenubarItem>
58
- Redo <MenubarShortcut>⇧⌘Z</MenubarShortcut>
59
- </MenubarItem>
60
- <MenubarSeparator />
61
- <MenubarSub>
62
- <MenubarSubTrigger>Find</MenubarSubTrigger>
63
- <MenubarSubContent>
64
- <MenubarItem>Search the web</MenubarItem>
65
- <MenubarItem>Find in page</MenubarItem>
66
- <MenubarItem>Find in files</MenubarItem>
67
- </MenubarSubContent>
68
- </MenubarSub>
69
- <MenubarSeparator />
70
- <MenubarItem>Cut</MenubarItem>
71
- <MenubarItem>Copy</MenubarItem>
72
- <MenubarItem>Paste</MenubarItem>
73
- </MenubarContent>
74
- </MenubarMenu>
75
- </Menubar>
76
- );
77
-
78
- export const WithCheckboxItems: StoryFn = () => (
79
- <Menubar>
80
- <MenubarMenu>
81
- <MenubarTrigger>View</MenubarTrigger>
82
- <MenubarContent>
83
- <MenubarCheckboxItem>Always Show Bookmarks Bar</MenubarCheckboxItem>
84
- <MenubarCheckboxItem checked>Always Show Full URLs</MenubarCheckboxItem>
85
- <MenubarSeparator />
86
- <MenubarItem inset>Reload</MenubarItem>
87
- <MenubarItem disabled inset>
88
- Force Reload
89
- </MenubarItem>
90
- <MenubarSeparator />
91
- <MenubarItem inset>Toggle Fullscreen</MenubarItem>
92
- </MenubarContent>
93
- </MenubarMenu>
94
- </Menubar>
95
- );
96
-
97
- export const WithRadioItems: StoryFn = () => (
98
- <Menubar>
99
- <MenubarMenu>
100
- <MenubarTrigger>Zoom</MenubarTrigger>
101
- <MenubarContent>
102
- <MenubarRadioGroup value="100%">
103
- <MenubarRadioItem value="50%">50%</MenubarRadioItem>
104
- <MenubarRadioItem value="75%">75%</MenubarRadioItem>
105
- <MenubarRadioItem value="100%">100%</MenubarRadioItem>
106
- <MenubarRadioItem value="150%">150%</MenubarRadioItem>
107
- <MenubarRadioItem value="200%">200%</MenubarRadioItem>
108
- </MenubarRadioGroup>
109
- </MenubarContent>
110
- </MenubarMenu>
111
- </Menubar>
112
- );
113
-
114
- export const CompleteExample: StoryFn = () => (
115
- <Menubar className="al-w-[600px]">
116
- <MenubarMenu>
117
- <MenubarTrigger>File</MenubarTrigger>
118
- <MenubarContent>
119
- <MenubarItem>
120
- New Tab <MenubarShortcut>⌘T</MenubarShortcut>
121
- </MenubarItem>
122
- <MenubarItem>New Window</MenubarItem>
123
- <MenubarSeparator />
124
- <MenubarItem>Share</MenubarItem>
125
- <MenubarSeparator />
126
- <MenubarItem>Print</MenubarItem>
127
- </MenubarContent>
128
- </MenubarMenu>
129
- <MenubarMenu>
130
- <MenubarTrigger>Edit</MenubarTrigger>
131
- <MenubarContent>
132
- <MenubarItem>Undo</MenubarItem>
133
- <MenubarItem>Redo</MenubarItem>
134
- <MenubarSeparator />
135
- <MenubarSub>
136
- <MenubarSubTrigger>Find</MenubarSubTrigger>
137
- <MenubarSubContent>
138
- <MenubarItem>Search Web</MenubarItem>
139
- <MenubarItem>Find in Page</MenubarItem>
140
- </MenubarSubContent>
141
- </MenubarSub>
142
- </MenubarContent>
143
- </MenubarMenu>
144
- <MenubarMenu>
145
- <MenubarTrigger>View</MenubarTrigger>
146
- <MenubarContent>
147
- <MenubarCheckboxItem>Show Toolbar</MenubarCheckboxItem>
148
- <MenubarCheckboxItem checked>Show Statusbar</MenubarCheckboxItem>
149
- <MenubarSeparator />
150
- <MenubarRadioGroup value="medium">
151
- <MenubarLabel inset>Zoom</MenubarLabel>
152
- <MenubarRadioItem value="small">Small</MenubarRadioItem>
153
- <MenubarRadioItem value="medium">Medium</MenubarRadioItem>
154
- <MenubarRadioItem value="large">Large</MenubarRadioItem>
155
- </MenubarRadioGroup>
156
- </MenubarContent>
157
- </MenubarMenu>
158
- </Menubar>
159
- );
@@ -1,155 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import {
3
- Pagination,
4
- PaginationContent,
5
- PaginationEllipsis,
6
- PaginationItem,
7
- PaginationLink,
8
- PaginationNext,
9
- PaginationPrevious,
10
- } from "../shadcn";
11
-
12
- export default {
13
- title: "Shadcn/Components/Pagination",
14
- component: Pagination,
15
- } as Meta;
16
-
17
- export const Default: StoryFn = () => (
18
- <Pagination>
19
- <PaginationContent>
20
- <PaginationItem>
21
- <PaginationPrevious href="#" />
22
- </PaginationItem>
23
- <PaginationItem>
24
- <PaginationLink href="#" isActive>
25
- 1
26
- </PaginationLink>
27
- </PaginationItem>
28
- <PaginationItem>
29
- <PaginationLink href="#">2</PaginationLink>
30
- </PaginationItem>
31
- <PaginationItem>
32
- <PaginationLink href="#">3</PaginationLink>
33
- </PaginationItem>
34
- <PaginationItem>
35
- <PaginationNext href="#" />
36
- </PaginationItem>
37
- </PaginationContent>
38
- </Pagination>
39
- );
40
-
41
- export const WithEllipsis: StoryFn = () => (
42
- <Pagination>
43
- <PaginationContent>
44
- <PaginationItem>
45
- <PaginationPrevious href="#" />
46
- </PaginationItem>
47
- <PaginationItem>
48
- <PaginationLink href="#" isActive>
49
- 1
50
- </PaginationLink>
51
- </PaginationItem>
52
- <PaginationItem>
53
- <PaginationEllipsis />
54
- </PaginationItem>
55
- <PaginationItem>
56
- <PaginationLink href="#">10</PaginationLink>
57
- </PaginationItem>
58
- <PaginationItem>
59
- <PaginationNext href="#" />
60
- </PaginationItem>
61
- </PaginationContent>
62
- </Pagination>
63
- );
64
-
65
- export const ManyPages: StoryFn = () => (
66
- <Pagination>
67
- <PaginationContent>
68
- <PaginationItem>
69
- <PaginationPrevious href="#" />
70
- </PaginationItem>
71
- <PaginationItem>
72
- <PaginationLink href="#">1</PaginationLink>
73
- </PaginationItem>
74
- <PaginationItem>
75
- <PaginationLink href="#">2</PaginationLink>
76
- </PaginationItem>
77
- <PaginationItem>
78
- <PaginationLink href="#" isActive>
79
- 3
80
- </PaginationLink>
81
- </PaginationItem>
82
- <PaginationItem>
83
- <PaginationLink href="#">4</PaginationLink>
84
- </PaginationItem>
85
- <PaginationItem>
86
- <PaginationLink href="#">5</PaginationLink>
87
- </PaginationItem>
88
- <PaginationItem>
89
- <PaginationNext href="#" />
90
- </PaginationItem>
91
- </PaginationContent>
92
- </Pagination>
93
- );
94
-
95
- export const WithDisabledControls: StoryFn = () => (
96
- <Pagination>
97
- <PaginationContent>
98
- <PaginationItem>
99
- <PaginationPrevious
100
- href="#"
101
- className="pointer-events-none opacity-50"
102
- />
103
- </PaginationItem>
104
- <PaginationItem>
105
- <PaginationLink href="#" isActive>
106
- 1
107
- </PaginationLink>
108
- </PaginationItem>
109
- <PaginationItem>
110
- <PaginationLink href="#">2</PaginationLink>
111
- </PaginationItem>
112
- <PaginationItem>
113
- <PaginationLink href="#">3</PaginationLink>
114
- </PaginationItem>
115
- <PaginationItem>
116
- <PaginationNext href="#" />
117
- </PaginationItem>
118
- </PaginationContent>
119
- </Pagination>
120
- );
121
-
122
- export const CustomStyling: StoryFn = () => (
123
- <Pagination>
124
- <PaginationContent>
125
- <PaginationItem>
126
- <PaginationPrevious
127
- href="#"
128
- className="al-bg-primary al-text-primary-foreground hover:al-bg-primary/90"
129
- />
130
- </PaginationItem>
131
- <PaginationItem>
132
- <PaginationLink
133
- href="#"
134
- className="al-bg-primary al-text-primary-foreground hover:al-bg-primary/90"
135
- >
136
- 1
137
- </PaginationLink>
138
- </PaginationItem>
139
- <PaginationItem>
140
- <PaginationLink href="#" isActive>
141
- 2
142
- </PaginationLink>
143
- </PaginationItem>
144
- <PaginationItem>
145
- <PaginationLink href="#">3</PaginationLink>
146
- </PaginationItem>
147
- <PaginationItem>
148
- <PaginationNext
149
- href="#"
150
- className="al-bg-primary al-text-primary-foreground hover:al-bg-primary/90"
151
- />
152
- </PaginationItem>
153
- </PaginationContent>
154
- </Pagination>
155
- );
@@ -1,25 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import { Popover, PopoverContent, PopoverTrigger, Button } from "../shadcn";
3
-
4
- export default {
5
- title: "Shadcn/Components/Popover",
6
- component: Popover,
7
- } as Meta;
8
-
9
- const Template: StoryFn = () => (
10
- <Popover>
11
- <PopoverTrigger asChild>
12
- <Button variant="outline">Open Popover</Button>
13
- </PopoverTrigger>
14
- <PopoverContent>
15
- <div className="al-space-y-2">
16
- <h4 className="al-font-medium al-leading-none">Popover Content</h4>
17
- <p className="al-text-sm al-text-muted-foreground">
18
- This is the popover content.
19
- </p>
20
- </div>
21
- </PopoverContent>
22
- </Popover>
23
- );
24
-
25
- export const Default = Template.bind({});