@auto-engineer/generate-react-client 1.22.0 → 1.23.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/starter/.storybook/main.ts +42 -32
  3. package/dist/starter/.storybook/preview.tsx +12 -0
  4. package/dist/starter/src/components/ui/Accordion.stories.tsx +1 -1
  5. package/dist/starter/src/components/ui/Alert.stories.tsx +1 -1
  6. package/dist/starter/src/components/ui/AlertDialog.stories.tsx +1 -1
  7. package/dist/starter/src/components/ui/AspectRatio.stories.tsx +1 -1
  8. package/dist/starter/src/components/ui/Avatar.stories.tsx +1 -1
  9. package/dist/starter/src/components/ui/Badge.stories.tsx +1 -1
  10. package/dist/starter/src/components/ui/Breadcrumb.stories.tsx +1 -1
  11. package/dist/starter/src/components/ui/Button.stories.tsx +1 -1
  12. package/dist/starter/src/components/ui/ButtonGroup.stories.tsx +1 -1
  13. package/dist/starter/src/components/ui/Calendar.stories.tsx +1 -1
  14. package/dist/starter/src/components/ui/Card.stories.tsx +1 -1
  15. package/dist/starter/src/components/ui/Carousel.stories.tsx +1 -1
  16. package/dist/starter/src/components/ui/Chart.stories.tsx +1 -1
  17. package/dist/starter/src/components/ui/Checkbox.stories.tsx +1 -1
  18. package/dist/starter/src/components/ui/Collapsible.stories.tsx +1 -1
  19. package/dist/starter/src/components/ui/Combobox.stories.tsx +1 -1
  20. package/dist/starter/src/components/ui/Command.stories.tsx +1 -1
  21. package/dist/starter/src/components/ui/ContextMenu.stories.tsx +1 -1
  22. package/dist/starter/src/components/ui/DesignSystem-Overview.stories.tsx +738 -0
  23. package/dist/starter/src/components/ui/Dialog.stories.tsx +1 -1
  24. package/dist/starter/src/components/ui/Direction.stories.tsx +1 -1
  25. package/dist/starter/src/components/ui/Drawer.stories.tsx +1 -1
  26. package/dist/starter/src/components/ui/DropdownMenu.stories.tsx +1 -1
  27. package/dist/starter/src/components/ui/Empty.stories.tsx +1 -1
  28. package/dist/starter/src/components/ui/Field.stories.tsx +1 -1
  29. package/dist/starter/src/components/ui/Form.stories.tsx +1 -1
  30. package/dist/starter/src/components/ui/HoverCard.stories.tsx +1 -1
  31. package/dist/starter/src/components/ui/Input.stories.tsx +1 -1
  32. package/dist/starter/src/components/ui/InputGroup.stories.tsx +1 -1
  33. package/dist/starter/src/components/ui/InputOTP.stories.tsx +1 -1
  34. package/dist/starter/src/components/ui/Item.stories.tsx +1 -1
  35. package/dist/starter/src/components/ui/Kbd.stories.tsx +1 -1
  36. package/dist/starter/src/components/ui/Label.stories.tsx +1 -1
  37. package/dist/starter/src/components/ui/Menubar.stories.tsx +1 -1
  38. package/dist/starter/src/components/ui/NativeSelect.stories.tsx +1 -1
  39. package/dist/starter/src/components/ui/NavigationMenu.stories.tsx +1 -1
  40. package/dist/starter/src/components/ui/Pagination.stories.tsx +1 -1
  41. package/dist/starter/src/components/ui/Popover.stories.tsx +1 -1
  42. package/dist/starter/src/components/ui/Progress.stories.tsx +1 -1
  43. package/dist/starter/src/components/ui/RadioGroup.stories.tsx +1 -1
  44. package/dist/starter/src/components/ui/Resizable.stories.tsx +1 -1
  45. package/dist/starter/src/components/ui/ScrollArea.stories.tsx +1 -1
  46. package/dist/starter/src/components/ui/Select.stories.tsx +1 -1
  47. package/dist/starter/src/components/ui/Separator.stories.tsx +1 -1
  48. package/dist/starter/src/components/ui/Sheet.stories.tsx +1 -1
  49. package/dist/starter/src/components/ui/Sidebar.stories.tsx +1 -1
  50. package/dist/starter/src/components/ui/Skeleton.stories.tsx +1 -1
  51. package/dist/starter/src/components/ui/Slider.stories.tsx +1 -1
  52. package/dist/starter/src/components/ui/Sonner.stories.tsx +1 -1
  53. package/dist/starter/src/components/ui/Spinner.stories.tsx +1 -1
  54. package/dist/starter/src/components/ui/Switch.stories.tsx +1 -1
  55. package/dist/starter/src/components/ui/Table.stories.tsx +1 -1
  56. package/dist/starter/src/components/ui/Tabs.stories.tsx +1 -1
  57. package/dist/starter/src/components/ui/Textarea.stories.tsx +1 -1
  58. package/dist/starter/src/components/ui/Toast.stories.tsx +4 -4
  59. package/dist/starter/src/components/ui/Toggle.stories.tsx +1 -1
  60. package/dist/starter/src/components/ui/ToggleGroup.stories.tsx +1 -1
  61. package/dist/starter/src/components/ui/Tooltip.stories.tsx +1 -1
  62. package/package.json +2 -2
@@ -13,7 +13,7 @@ import { Input } from '@/components/ui/Input';
13
13
  import { Label } from '@/components/ui/Label';
14
14
 
15
15
  const meta: Meta<typeof Dialog> = {
16
- title: 'Dialog',
16
+ title: 'UI Components/Dialog',
17
17
  component: Dialog,
18
18
  };
19
19
  export default meta;
@@ -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;
@@ -12,7 +12,7 @@ import {
12
12
  import { Button } from '@/components/ui/Button';
13
13
 
14
14
  const meta: Meta<typeof Drawer> = {
15
- title: 'Drawer',
15
+ title: 'UI Components/Drawer',
16
16
  component: Drawer,
17
17
  };
18
18
  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 { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyMedia } from '@/
3
3
  import { InboxIcon } from 'lucide-react';
4
4
 
5
5
  const meta: Meta<typeof Empty> = {
6
- title: 'Empty',
6
+ title: 'UI Components/Empty',
7
7
  component: Empty,
8
8
  };
9
9
  export default meta;
@@ -3,7 +3,7 @@ import { Field, FieldLabel, FieldDescription, FieldError, FieldContent } from '@
3
3
  import { Input } from '@/components/ui/Input';
4
4
 
5
5
  const meta: Meta<typeof Field> = {
6
- title: 'Field',
6
+ title: 'UI Components/Field',
7
7
  component: Field,
8
8
  };
9
9
  export default meta;
@@ -5,7 +5,7 @@ import { Input } from '@/components/ui/Input';
5
5
  import { Button } from '@/components/ui/Button';
6
6
 
7
7
  const meta: Meta<typeof Form> = {
8
- title: 'Form',
8
+ title: 'UI Components/Form',
9
9
  component: Form,
10
10
  };
11
11
  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 { Input } from '@/components/ui/Input';
3
3
  import { Label } from '@/components/ui/Label';
4
4
 
5
5
  const meta: Meta<typeof Input> = {
6
- title: 'Input',
6
+ title: 'UI Components/Input',
7
7
  component: Input,
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;
@@ -3,7 +3,7 @@ import { Item, ItemContent, ItemTitle, ItemDescription, ItemActions } from '@/co
3
3
  import { Button } from '@/components/ui/Button';
4
4
 
5
5
  const meta: Meta<typeof Item> = {
6
- title: 'Item',
6
+ title: 'UI Components/Item',
7
7
  component: Item,
8
8
  };
9
9
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Kbd } from './Kbd';
3
3
 
4
4
  const meta: Meta<typeof Kbd> = {
5
- title: 'Kbd',
5
+ title: 'UI Components/Kbd',
6
6
  component: Kbd,
7
7
  parameters: {
8
8
  layout: 'centered',
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Label } from './Label';
3
3
 
4
4
  const meta: Meta<typeof Label> = {
5
- title: 'Label',
5
+ title: 'UI Components/Label',
6
6
  component: Label,
7
7
  parameters: {
8
8
  layout: 'centered',
@@ -11,7 +11,7 @@ import {
11
11
  } from '@/components/ui/Menubar';
12
12
 
13
13
  const meta: Meta<typeof Menubar> = {
14
- title: 'Menubar',
14
+ title: 'UI Components/Menubar',
15
15
  component: Menubar,
16
16
  };
17
17
  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;
@@ -9,7 +9,7 @@ import {
9
9
  } from '@/components/ui/NavigationMenu';
10
10
 
11
11
  const meta: Meta<typeof NavigationMenu> = {
12
- title: 'NavigationMenu',
12
+ title: 'UI Components/NavigationMenu',
13
13
  component: NavigationMenu,
14
14
  };
15
15
  export default meta;
@@ -10,7 +10,7 @@ import {
10
10
  } from '@/components/ui/Pagination';
11
11
 
12
12
  const meta: Meta<typeof Pagination> = {
13
- title: 'Pagination',
13
+ title: 'UI Components/Pagination',
14
14
  component: Pagination,
15
15
  };
16
16
  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;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Progress } from '@/components/ui/Progress';
3
3
 
4
4
  const meta: Meta<typeof Progress> = {
5
- title: 'Progress',
5
+ title: 'UI Components/Progress',
6
6
  component: Progress,
7
7
  };
8
8
  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;
@@ -10,7 +10,7 @@ import {
10
10
  } from '@/components/ui/Select';
11
11
 
12
12
  const meta: Meta<typeof Select> = {
13
- title: 'Select',
13
+ title: 'UI Components/Select',
14
14
  component: Select,
15
15
  };
16
16
  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;
@@ -15,7 +15,7 @@ import {
15
15
  } from '@/components/ui/Sidebar';
16
16
 
17
17
  const meta: Meta<typeof Sidebar> = {
18
- title: 'Sidebar',
18
+ title: 'UI Components/Sidebar',
19
19
  component: Sidebar,
20
20
  };
21
21
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Skeleton } from '@/components/ui/Skeleton';
3
3
 
4
4
  const meta: Meta<typeof Skeleton> = {
5
- title: 'Skeleton',
5
+ title: 'UI Components/Skeleton',
6
6
  component: Skeleton,
7
7
  };
8
8
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Slider } from '@/components/ui/Slider';
3
3
 
4
4
  const meta: Meta<typeof Slider> = {
5
- title: 'Slider',
5
+ title: 'UI Components/Slider',
6
6
  component: Slider,
7
7
  };
8
8
  export default meta;
@@ -5,7 +5,7 @@ import { Toaster } from '@/components/ui/Sonner';
5
5
  import { Button } from '@/components/ui/Button';
6
6
 
7
7
  const meta: Meta<typeof Toaster> = {
8
- title: 'Sonner',
8
+ title: 'UI Components/Sonner',
9
9
  component: Toaster,
10
10
  decorators: [
11
11
  (Story) => (
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Spinner } from '@/components/ui/Spinner';
3
3
 
4
4
  const meta: Meta<typeof Spinner> = {
5
- title: 'Spinner',
5
+ title: 'UI Components/Spinner',
6
6
  component: Spinner,
7
7
  };
8
8
  export default meta;
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
3
3
  import { Switch } from '@/components/ui/Switch';
4
4
 
5
5
  const meta: Meta<typeof Switch> = {
6
- title: 'Switch',
6
+ title: 'UI Components/Switch',
7
7
  component: Switch,
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;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Textarea } from '@/components/ui/Textarea';
3
3
 
4
4
  const meta: Meta<typeof Textarea> = {
5
- title: 'Textarea',
5
+ title: 'UI Components/Textarea',
6
6
  component: Textarea,
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 } from 'lucide-react';
3
3
  import { Toggle } from '@/components/ui/Toggle';
4
4
 
5
5
  const meta: Meta<typeof Toggle> = {
6
- title: 'Toggle',
6
+ title: 'UI Components/Toggle',
7
7
  component: Toggle,
8
8
  };
9
9
  export default meta;
@@ -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.0"
22
+ "@auto-engineer/message-bus": "1.23.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/debug": "^4.1.12"
26
26
  },
27
- "version": "1.22.0",
27
+ "version": "1.23.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",