@auto-engineer/generate-react-client 1.22.0 → 1.24.0
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/CHANGELOG.md +48 -0
- package/dist/starter/.storybook/main.ts +42 -32
- package/dist/starter/.storybook/preview.tsx +12 -0
- package/dist/starter/src/components/ui/Accordion.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Alert.stories.tsx +1 -1
- package/dist/starter/src/components/ui/AlertDialog.stories.tsx +1 -1
- package/dist/starter/src/components/ui/AspectRatio.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Avatar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Badge.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Breadcrumb.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Button.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ButtonGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Calendar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Card.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Carousel.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Chart.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Checkbox.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Collapsible.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Combobox.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Command.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ContextMenu.stories.tsx +1 -1
- package/dist/starter/src/components/ui/DesignSystem-Overview.stories.tsx +738 -0
- package/dist/starter/src/components/ui/Dialog.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Direction.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Drawer.stories.tsx +1 -1
- package/dist/starter/src/components/ui/DropdownMenu.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Empty.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Field.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Form.stories.tsx +1 -1
- package/dist/starter/src/components/ui/HoverCard.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Input.stories.tsx +1 -1
- package/dist/starter/src/components/ui/InputGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/InputOTP.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Item.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Kbd.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Label.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Menubar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/NativeSelect.stories.tsx +1 -1
- package/dist/starter/src/components/ui/NavigationMenu.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Pagination.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Popover.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Progress.stories.tsx +1 -1
- package/dist/starter/src/components/ui/RadioGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Resizable.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ScrollArea.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Select.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Separator.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Sheet.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Sidebar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Skeleton.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Slider.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Sonner.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Spinner.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Switch.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Table.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Tabs.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Textarea.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Toast.stories.tsx +4 -4
- package/dist/starter/src/components/ui/Toggle.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ToggleGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Tooltip.stories.tsx +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { DirectionProvider, useDirection } from '@/components/ui/Direction';
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof DirectionProvider> = {
|
|
5
|
-
title: 'Direction',
|
|
5
|
+
title: 'UI Components/Direction',
|
|
6
6
|
component: DirectionProvider,
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -13,7 +13,7 @@ import { Button } from '@/components/ui/Button';
|
|
|
13
13
|
import { UserIcon, SettingsIcon, LogOutIcon, CreditCardIcon } from 'lucide-react';
|
|
14
14
|
|
|
15
15
|
const meta: Meta<typeof DropdownMenu> = {
|
|
16
|
-
title: 'DropdownMenu',
|
|
16
|
+
title: 'UI Components/DropdownMenu',
|
|
17
17
|
component: DropdownMenu,
|
|
18
18
|
};
|
|
19
19
|
export default meta;
|
|
@@ -3,7 +3,7 @@ import { HoverCard, HoverCardTrigger, HoverCardContent } from '@/components/ui/H
|
|
|
3
3
|
import { CalendarDaysIcon } from 'lucide-react';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof HoverCard> = {
|
|
6
|
-
title: 'HoverCard',
|
|
6
|
+
title: 'UI Components/HoverCard',
|
|
7
7
|
component: HoverCard,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
@@ -3,7 +3,7 @@ import { InputGroup, InputGroupAddon, InputGroupText, InputGroupInput } from '@/
|
|
|
3
3
|
import { MailIcon, SearchIcon } from 'lucide-react';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof InputGroup> = {
|
|
6
|
-
title: 'InputGroup',
|
|
6
|
+
title: 'UI Components/InputGroup',
|
|
7
7
|
component: InputGroup,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from '@/components/ui/InputOTP';
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof InputOTP> = {
|
|
5
|
-
title: 'InputOTP',
|
|
5
|
+
title: 'UI Components/InputOTP',
|
|
6
6
|
component: InputOTP,
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { NativeSelect, NativeSelectOption } from '@/components/ui/NativeSelect';
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof NativeSelect> = {
|
|
5
|
-
title: 'NativeSelect',
|
|
5
|
+
title: 'UI Components/NativeSelect',
|
|
6
6
|
component: NativeSelect,
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -3,7 +3,7 @@ import { Popover, PopoverTrigger, PopoverContent } from '@/components/ui/Popover
|
|
|
3
3
|
import { Button } from '@/components/ui/Button';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof Popover> = {
|
|
6
|
-
title: 'Popover',
|
|
6
|
+
title: 'UI Components/Popover',
|
|
7
7
|
component: Popover,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
@@ -3,7 +3,7 @@ import { RadioGroup, RadioGroupItem } from '@/components/ui/RadioGroup';
|
|
|
3
3
|
import { Label } from '@/components/ui/Label';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof RadioGroup> = {
|
|
6
|
-
title: 'RadioGroup',
|
|
6
|
+
title: 'UI Components/RadioGroup',
|
|
7
7
|
component: RadioGroup,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@/components/ui/Resizable';
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof ResizablePanelGroup> = {
|
|
5
|
-
title: 'Resizable',
|
|
5
|
+
title: 'UI Components/Resizable',
|
|
6
6
|
component: ResizablePanelGroup,
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -3,7 +3,7 @@ import { ScrollArea, ScrollBar } from '@/components/ui/ScrollArea';
|
|
|
3
3
|
import { Separator } from '@/components/ui/Separator';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof ScrollArea> = {
|
|
6
|
-
title: 'ScrollArea',
|
|
6
|
+
title: 'UI Components/ScrollArea',
|
|
7
7
|
component: ScrollArea,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { Separator } from '@/components/ui/Separator';
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof Separator> = {
|
|
5
|
-
title: 'Separator',
|
|
5
|
+
title: 'UI Components/Separator',
|
|
6
6
|
component: Separator,
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -3,7 +3,7 @@ import { Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescri
|
|
|
3
3
|
import { Button } from '@/components/ui/Button';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof Sheet> = {
|
|
6
|
-
title: 'Sheet',
|
|
6
|
+
title: 'UI Components/Sheet',
|
|
7
7
|
component: Sheet,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { Table, TableHeader, TableBody, TableRow, TableHead, TableCell, TableCaption } from '@/components/ui/Table';
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof Table> = {
|
|
5
|
-
title: 'Table',
|
|
5
|
+
title: 'UI Components/Table',
|
|
6
6
|
component: Table,
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/ui/Tabs';
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof Tabs> = {
|
|
5
|
-
title: 'Tabs',
|
|
5
|
+
title: 'UI Components/Tabs',
|
|
6
6
|
component: Tabs,
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -13,7 +13,7 @@ import { Toaster } from '@/components/ui/Toaster';
|
|
|
13
13
|
import { useToast } from '@/hooks/use-toast';
|
|
14
14
|
|
|
15
15
|
const meta: Meta<typeof Toast> = {
|
|
16
|
-
title: 'Toast',
|
|
16
|
+
title: 'UI Components/Toast',
|
|
17
17
|
component: Toast,
|
|
18
18
|
};
|
|
19
19
|
export default meta;
|
|
@@ -29,7 +29,7 @@ function ToastDemo() {
|
|
|
29
29
|
variant="outline"
|
|
30
30
|
onClick={() => {
|
|
31
31
|
toast({
|
|
32
|
-
title: 'Scheduled: Catch up',
|
|
32
|
+
title: 'UI Components/Scheduled: Catch up',
|
|
33
33
|
description: 'Friday, February 10, 2026 at 5:57 PM',
|
|
34
34
|
});
|
|
35
35
|
}}
|
|
@@ -55,7 +55,7 @@ function ToastDestructiveDemo() {
|
|
|
55
55
|
onClick={() => {
|
|
56
56
|
toast({
|
|
57
57
|
variant: 'destructive',
|
|
58
|
-
title: 'Uh oh! Something went wrong.',
|
|
58
|
+
title: 'UI Components/Uh oh! Something went wrong.',
|
|
59
59
|
description: 'There was a problem with your request.',
|
|
60
60
|
});
|
|
61
61
|
}}
|
|
@@ -80,7 +80,7 @@ function ToastWithActionDemo() {
|
|
|
80
80
|
variant="outline"
|
|
81
81
|
onClick={() => {
|
|
82
82
|
toast({
|
|
83
|
-
title: 'Event created',
|
|
83
|
+
title: 'UI Components/Event created',
|
|
84
84
|
description: 'Sunday, December 03, 2023 at 9:00 AM',
|
|
85
85
|
action: <ToastAction altText="Undo">Undo</ToastAction>,
|
|
86
86
|
});
|
|
@@ -3,7 +3,7 @@ import { BoldIcon, ItalicIcon, UnderlineIcon } from 'lucide-react';
|
|
|
3
3
|
import { ToggleGroup, ToggleGroupItem } from '@/components/ui/ToggleGroup';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof ToggleGroup> = {
|
|
6
|
-
title: 'ToggleGroup',
|
|
6
|
+
title: 'UI Components/ToggleGroup',
|
|
7
7
|
component: ToggleGroup,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
@@ -3,7 +3,7 @@ import { Button } from '@/components/ui/Button';
|
|
|
3
3
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/Tooltip';
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof Tooltip> = {
|
|
6
|
-
title: 'Tooltip',
|
|
6
|
+
title: 'UI Components/Tooltip',
|
|
7
7
|
component: Tooltip,
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
package/package.json
CHANGED
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"debug": "^4.4.1",
|
|
22
|
-
"@auto-engineer/message-bus": "1.
|
|
22
|
+
"@auto-engineer/message-bus": "1.24.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/debug": "^4.1.12"
|
|
26
26
|
},
|
|
27
|
-
"version": "1.
|
|
27
|
+
"version": "1.24.0",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts && cp -r starter dist/",
|
|
30
30
|
"test-cli": "tsx test-cli.ts",
|