@helloleo/plugins 0.2.20 → 0.2.22
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/index.js +61 -36
- package/package.json +3 -4
- package/dist/templates/tanstack-router-2026-06-15/components.json +0 -22
- package/dist/templates/tanstack-router-2026-06-15/index.html +0 -20
- package/dist/templates/tanstack-router-2026-06-15/package.json +0 -90
- package/dist/templates/tanstack-router-2026-06-15/src/components/error-component.tsx +0 -50
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/accordion.tsx +0 -51
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/alert-dialog.tsx +0 -115
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/alert.tsx +0 -49
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/aspect-ratio.tsx +0 -5
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/avatar.tsx +0 -47
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/badge.tsx +0 -32
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/breadcrumb.tsx +0 -101
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/button.tsx +0 -49
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/calendar.tsx +0 -177
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/card.tsx +0 -55
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/carousel.tsx +0 -240
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/chart.tsx +0 -331
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/checkbox.tsx +0 -26
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/collapsible.tsx +0 -11
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/command.tsx +0 -143
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/context-menu.tsx +0 -187
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/dialog.tsx +0 -104
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/drawer.tsx +0 -98
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/dropdown-menu.tsx +0 -188
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/form.tsx +0 -171
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/hover-card.tsx +0 -27
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/input-otp.tsx +0 -69
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/input.tsx +0 -22
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/label.tsx +0 -21
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/menubar.tsx +0 -229
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/navigation-menu.tsx +0 -120
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/pagination.tsx +0 -98
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/popover.tsx +0 -31
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/progress.tsx +0 -25
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/radio-group.tsx +0 -36
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/resizable.tsx +0 -37
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/scroll-area.tsx +0 -44
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/select.tsx +0 -152
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/separator.tsx +0 -24
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/sheet.tsx +0 -122
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/sidebar.tsx +0 -744
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/skeleton.tsx +0 -7
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/slider.tsx +0 -23
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/sonner.tsx +0 -23
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/switch.tsx +0 -27
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/table.tsx +0 -94
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/tabs.tsx +0 -53
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/textarea.tsx +0 -21
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/toggle-group.tsx +0 -57
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/toggle.tsx +0 -42
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/tooltip.tsx +0 -32
- package/dist/templates/tanstack-router-2026-06-15/src/hooks/use-mobile.tsx +0 -19
- package/dist/templates/tanstack-router-2026-06-15/src/lib/proxy.ts +0 -123
- package/dist/templates/tanstack-router-2026-06-15/src/lib/utils.ts +0 -6
- package/dist/templates/tanstack-router-2026-06-15/src/main.tsx +0 -37
- package/dist/templates/tanstack-router-2026-06-15/src/routeTree.gen.ts +0 -59
- package/dist/templates/tanstack-router-2026-06-15/src/routes/README.md +0 -85
- package/dist/templates/tanstack-router-2026-06-15/src/routes/__root.tsx +0 -18
- package/dist/templates/tanstack-router-2026-06-15/src/routes/index.tsx +0 -18
- package/dist/templates/tanstack-router-2026-06-15/src/styles.css +0 -214
- package/dist/templates/tanstack-router-2026-06-15/tsconfig.json +0 -27
- package/dist/templates/tanstack-router-2026-06-15/vite.config.ts +0 -23
- package/dist/templates/tanstack-start-2026-06-18/components.json +0 -22
- package/dist/templates/tanstack-start-2026-06-18/drizzle.config.ts +0 -15
- package/dist/templates/tanstack-start-2026-06-18/package.json +0 -104
- package/dist/templates/tanstack-start-2026-06-18/src/components/error-component.tsx +0 -50
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/accordion.tsx +0 -51
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/alert-dialog.tsx +0 -115
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/alert.tsx +0 -49
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/aspect-ratio.tsx +0 -5
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/avatar.tsx +0 -47
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/badge.tsx +0 -32
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/breadcrumb.tsx +0 -101
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/button.tsx +0 -49
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/calendar.tsx +0 -177
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/card.tsx +0 -55
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/carousel.tsx +0 -240
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/chart.tsx +0 -371
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/checkbox.tsx +0 -26
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/collapsible.tsx +0 -11
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/command.tsx +0 -143
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/context-menu.tsx +0 -187
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/dialog.tsx +0 -104
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/drawer.tsx +0 -98
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/dropdown-menu.tsx +0 -188
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/form.tsx +0 -171
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/hover-card.tsx +0 -27
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/input-otp.tsx +0 -69
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/input.tsx +0 -22
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/label.tsx +0 -21
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/menubar.tsx +0 -229
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/navigation-menu.tsx +0 -120
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/pagination.tsx +0 -98
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/popover.tsx +0 -31
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/progress.tsx +0 -25
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/radio-group.tsx +0 -36
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/resizable.tsx +0 -37
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/scroll-area.tsx +0 -44
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/select.tsx +0 -152
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/separator.tsx +0 -24
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/sheet.tsx +0 -122
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/sidebar.tsx +0 -744
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/skeleton.tsx +0 -7
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/slider.tsx +0 -23
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/sonner.tsx +0 -23
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/switch.tsx +0 -27
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/table.tsx +0 -94
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/tabs.tsx +0 -53
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/textarea.tsx +0 -21
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/toggle-group.tsx +0 -57
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/toggle.tsx +0 -42
- package/dist/templates/tanstack-start-2026-06-18/src/components/ui/tooltip.tsx +0 -32
- package/dist/templates/tanstack-start-2026-06-18/src/db/index.ts +0 -9
- package/dist/templates/tanstack-start-2026-06-18/src/db/schema.ts +0 -18
- package/dist/templates/tanstack-start-2026-06-18/src/global.d.ts +0 -3
- package/dist/templates/tanstack-start-2026-06-18/src/hooks/use-mobile.tsx +0 -19
- package/dist/templates/tanstack-start-2026-06-18/src/lib/proxy.ts +0 -119
- package/dist/templates/tanstack-start-2026-06-18/src/lib/utils.ts +0 -6
- package/dist/templates/tanstack-start-2026-06-18/src/routeTree.gen.ts +0 -86
- package/dist/templates/tanstack-start-2026-06-18/src/router.tsx +0 -37
- package/dist/templates/tanstack-start-2026-06-18/src/routes/README.md +0 -94
- package/dist/templates/tanstack-start-2026-06-18/src/routes/__root.tsx +0 -65
- package/dist/templates/tanstack-start-2026-06-18/src/routes/api/health.ts +0 -81
- package/dist/templates/tanstack-start-2026-06-18/src/routes/index.tsx +0 -33
- package/dist/templates/tanstack-start-2026-06-18/src/server.ts +0 -32
- package/dist/templates/tanstack-start-2026-06-18/src/styles.css +0 -214
- package/dist/templates/tanstack-start-2026-06-18/tsconfig.json +0 -27
- package/dist/templates/tanstack-start-2026-06-18/vite.config.ts +0 -17
- package/src/index.ts +0 -8
- package/src/template-render.ts +0 -53
- package/src/templates/tanstack-router-2026-06-15/components.json +0 -22
- package/src/templates/tanstack-router-2026-06-15/index.html +0 -20
- package/src/templates/tanstack-router-2026-06-15/package.json +0 -90
- package/src/templates/tanstack-router-2026-06-15/src/components/error-component.tsx +0 -50
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/accordion.tsx +0 -51
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/alert-dialog.tsx +0 -115
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/alert.tsx +0 -49
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/aspect-ratio.tsx +0 -5
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/avatar.tsx +0 -47
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/badge.tsx +0 -32
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/breadcrumb.tsx +0 -101
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/button.tsx +0 -49
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/calendar.tsx +0 -177
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/card.tsx +0 -55
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/carousel.tsx +0 -240
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/chart.tsx +0 -331
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/checkbox.tsx +0 -26
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/collapsible.tsx +0 -11
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/command.tsx +0 -143
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/context-menu.tsx +0 -187
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/dialog.tsx +0 -104
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/drawer.tsx +0 -98
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/dropdown-menu.tsx +0 -188
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/form.tsx +0 -171
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/hover-card.tsx +0 -27
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/input-otp.tsx +0 -69
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/input.tsx +0 -22
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/label.tsx +0 -21
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/menubar.tsx +0 -229
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/navigation-menu.tsx +0 -120
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/pagination.tsx +0 -98
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/popover.tsx +0 -31
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/progress.tsx +0 -25
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/radio-group.tsx +0 -36
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/resizable.tsx +0 -37
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/scroll-area.tsx +0 -44
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/select.tsx +0 -152
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/separator.tsx +0 -24
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/sheet.tsx +0 -122
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/sidebar.tsx +0 -744
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/skeleton.tsx +0 -7
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/slider.tsx +0 -23
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/sonner.tsx +0 -23
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/switch.tsx +0 -27
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/table.tsx +0 -94
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/tabs.tsx +0 -53
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/textarea.tsx +0 -21
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/toggle-group.tsx +0 -57
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/toggle.tsx +0 -42
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/tooltip.tsx +0 -32
- package/src/templates/tanstack-router-2026-06-15/src/hooks/use-mobile.tsx +0 -19
- package/src/templates/tanstack-router-2026-06-15/src/lib/proxy.ts +0 -123
- package/src/templates/tanstack-router-2026-06-15/src/lib/utils.ts +0 -6
- package/src/templates/tanstack-router-2026-06-15/src/main.tsx +0 -37
- package/src/templates/tanstack-router-2026-06-15/src/routeTree.gen.ts +0 -59
- package/src/templates/tanstack-router-2026-06-15/src/routes/README.md +0 -85
- package/src/templates/tanstack-router-2026-06-15/src/routes/__root.tsx +0 -18
- package/src/templates/tanstack-router-2026-06-15/src/routes/index.tsx +0 -18
- package/src/templates/tanstack-router-2026-06-15/src/styles.css +0 -214
- package/src/templates/tanstack-router-2026-06-15/tsconfig.json +0 -27
- package/src/templates/tanstack-router-2026-06-15/vite.config.ts +0 -23
- package/src/templates/tanstack-start-2026-06-18/components.json +0 -22
- package/src/templates/tanstack-start-2026-06-18/drizzle.config.ts +0 -15
- package/src/templates/tanstack-start-2026-06-18/package.json +0 -104
- package/src/templates/tanstack-start-2026-06-18/src/components/error-component.tsx +0 -50
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/accordion.tsx +0 -51
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/alert-dialog.tsx +0 -115
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/alert.tsx +0 -49
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/aspect-ratio.tsx +0 -5
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/avatar.tsx +0 -47
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/badge.tsx +0 -32
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/breadcrumb.tsx +0 -101
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/button.tsx +0 -49
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/calendar.tsx +0 -177
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/card.tsx +0 -55
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/carousel.tsx +0 -240
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/chart.tsx +0 -371
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/checkbox.tsx +0 -26
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/collapsible.tsx +0 -11
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/command.tsx +0 -143
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/context-menu.tsx +0 -187
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/dialog.tsx +0 -104
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/drawer.tsx +0 -98
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/dropdown-menu.tsx +0 -188
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/form.tsx +0 -171
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/hover-card.tsx +0 -27
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/input-otp.tsx +0 -69
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/input.tsx +0 -22
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/label.tsx +0 -21
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/menubar.tsx +0 -229
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/navigation-menu.tsx +0 -120
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/pagination.tsx +0 -98
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/popover.tsx +0 -31
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/progress.tsx +0 -25
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/radio-group.tsx +0 -36
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/resizable.tsx +0 -37
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/scroll-area.tsx +0 -44
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/select.tsx +0 -152
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/separator.tsx +0 -24
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/sheet.tsx +0 -122
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/sidebar.tsx +0 -744
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/skeleton.tsx +0 -7
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/slider.tsx +0 -23
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/sonner.tsx +0 -23
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/switch.tsx +0 -27
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/table.tsx +0 -94
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/tabs.tsx +0 -53
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/textarea.tsx +0 -21
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/toggle-group.tsx +0 -57
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/toggle.tsx +0 -42
- package/src/templates/tanstack-start-2026-06-18/src/components/ui/tooltip.tsx +0 -32
- package/src/templates/tanstack-start-2026-06-18/src/db/index.ts +0 -9
- package/src/templates/tanstack-start-2026-06-18/src/db/schema.ts +0 -18
- package/src/templates/tanstack-start-2026-06-18/src/global.d.ts +0 -3
- package/src/templates/tanstack-start-2026-06-18/src/hooks/use-mobile.tsx +0 -19
- package/src/templates/tanstack-start-2026-06-18/src/lib/proxy.ts +0 -119
- package/src/templates/tanstack-start-2026-06-18/src/lib/utils.ts +0 -6
- package/src/templates/tanstack-start-2026-06-18/src/routeTree.gen.ts +0 -86
- package/src/templates/tanstack-start-2026-06-18/src/router.tsx +0 -37
- package/src/templates/tanstack-start-2026-06-18/src/routes/README.md +0 -94
- package/src/templates/tanstack-start-2026-06-18/src/routes/__root.tsx +0 -65
- package/src/templates/tanstack-start-2026-06-18/src/routes/api/health.ts +0 -81
- package/src/templates/tanstack-start-2026-06-18/src/routes/index.tsx +0 -33
- package/src/templates/tanstack-start-2026-06-18/src/server.ts +0 -32
- package/src/templates/tanstack-start-2026-06-18/src/styles.css +0 -214
- package/src/templates/tanstack-start-2026-06-18/tsconfig.json +0 -27
- package/src/templates/tanstack-start-2026-06-18/vite.config.ts +0 -17
- package/src/templates/tanstack-start-2026-07-30/components.json +0 -22
- package/src/templates/tanstack-start-2026-07-30/drizzle/meta/_journal.json +0 -1
- package/src/templates/tanstack-start-2026-07-30/drizzle.config.ts +0 -18
- package/src/templates/tanstack-start-2026-07-30/package.json +0 -103
- package/src/templates/tanstack-start-2026-07-30/src/components/error-component.tsx +0 -50
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/accordion.tsx +0 -51
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/alert-dialog.tsx +0 -115
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/alert.tsx +0 -49
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/aspect-ratio.tsx +0 -5
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/avatar.tsx +0 -47
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/badge.tsx +0 -32
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/breadcrumb.tsx +0 -101
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/button.tsx +0 -49
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/calendar.tsx +0 -177
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/card.tsx +0 -55
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/carousel.tsx +0 -240
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/chart.tsx +0 -371
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/checkbox.tsx +0 -26
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/collapsible.tsx +0 -11
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/command.tsx +0 -143
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/context-menu.tsx +0 -187
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/dialog.tsx +0 -104
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/drawer.tsx +0 -98
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/dropdown-menu.tsx +0 -188
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/form.tsx +0 -171
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/hover-card.tsx +0 -27
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/input-otp.tsx +0 -69
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/input.tsx +0 -22
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/label.tsx +0 -21
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/menubar.tsx +0 -229
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/navigation-menu.tsx +0 -120
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/pagination.tsx +0 -98
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/popover.tsx +0 -31
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/progress.tsx +0 -25
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/radio-group.tsx +0 -36
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/resizable.tsx +0 -37
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/scroll-area.tsx +0 -44
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/select.tsx +0 -152
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/separator.tsx +0 -24
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/sheet.tsx +0 -122
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/sidebar.tsx +0 -744
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/skeleton.tsx +0 -7
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/slider.tsx +0 -23
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/sonner.tsx +0 -23
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/switch.tsx +0 -27
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/table.tsx +0 -94
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/tabs.tsx +0 -53
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/textarea.tsx +0 -21
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/toggle-group.tsx +0 -57
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/toggle.tsx +0 -42
- package/src/templates/tanstack-start-2026-07-30/src/components/ui/tooltip.tsx +0 -32
- package/src/templates/tanstack-start-2026-07-30/src/db/index.ts +0 -9
- package/src/templates/tanstack-start-2026-07-30/src/db/schema.ts +0 -34
- package/src/templates/tanstack-start-2026-07-30/src/global.d.ts +0 -3
- package/src/templates/tanstack-start-2026-07-30/src/hooks/use-mobile.tsx +0 -19
- package/src/templates/tanstack-start-2026-07-30/src/lib/kv.ts +0 -37
- package/src/templates/tanstack-start-2026-07-30/src/lib/proxy.ts +0 -111
- package/src/templates/tanstack-start-2026-07-30/src/lib/storage.ts +0 -45
- package/src/templates/tanstack-start-2026-07-30/src/lib/utils.ts +0 -6
- package/src/templates/tanstack-start-2026-07-30/src/routeTree.gen.ts +0 -86
- package/src/templates/tanstack-start-2026-07-30/src/router.tsx +0 -37
- package/src/templates/tanstack-start-2026-07-30/src/routes/README.md +0 -94
- package/src/templates/tanstack-start-2026-07-30/src/routes/__root.tsx +0 -65
- package/src/templates/tanstack-start-2026-07-30/src/routes/api/health.ts +0 -83
- package/src/templates/tanstack-start-2026-07-30/src/routes/index.tsx +0 -33
- package/src/templates/tanstack-start-2026-07-30/src/server.ts +0 -32
- package/src/templates/tanstack-start-2026-07-30/src/styles.css +0 -214
- package/src/templates/tanstack-start-2026-07-30/tsconfig.json +0 -27
- package/src/templates/tanstack-start-2026-07-30/vite.config.ts +0 -17
- package/src/tools/create-plan.ts +0 -61
- package/src/tools/inspect-http.ts +0 -276
- package/src/tools/list-plans.ts +0 -85
- package/src/tools/modify-plan.ts +0 -79
- package/src/tools/remove.ts +0 -53
- package/src/tools/scaffold.ts +0 -213
- package/src/tools/setup-authentication/auth-files.ts +0 -144
- package/src/tools/setup-authentication/constants.ts +0 -19
- package/src/tools/setup-authentication/db-schema.ts +0 -96
- package/src/tools/setup-authentication/index.ts +0 -148
- package/src/tools/setup-authentication/package-json.ts +0 -17
- package/src/tools/setup-authentication/pages.ts +0 -241
- package/src/tools/setup-netsuite.ts +0 -1357
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
3
|
-
import { Check, ChevronRight, Circle } from "lucide-react";
|
|
4
|
-
|
|
5
|
-
import { cn } from "@/lib/utils";
|
|
6
|
-
|
|
7
|
-
function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>) {
|
|
8
|
-
return <MenubarPrimitive.Menu {...props} />;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>) {
|
|
12
|
-
return <MenubarPrimitive.Group {...props} />;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>) {
|
|
16
|
-
return <MenubarPrimitive.Portal {...props} />;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {
|
|
20
|
-
return <MenubarPrimitive.RadioGroup {...props} />;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function MenubarSub({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Sub>) {
|
|
24
|
-
return <MenubarPrimitive.Sub data-slot="menubar-sub" {...props} />;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const Menubar = React.forwardRef<
|
|
28
|
-
React.ElementRef<typeof MenubarPrimitive.Root>,
|
|
29
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>
|
|
30
|
-
>(({ className, ...props }, ref) => (
|
|
31
|
-
<MenubarPrimitive.Root
|
|
32
|
-
ref={ref}
|
|
33
|
-
className={cn(
|
|
34
|
-
"flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",
|
|
35
|
-
className,
|
|
36
|
-
)}
|
|
37
|
-
{...props}
|
|
38
|
-
/>
|
|
39
|
-
));
|
|
40
|
-
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
41
|
-
|
|
42
|
-
const MenubarTrigger = React.forwardRef<
|
|
43
|
-
React.ElementRef<typeof MenubarPrimitive.Trigger>,
|
|
44
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>
|
|
45
|
-
>(({ className, ...props }, ref) => (
|
|
46
|
-
<MenubarPrimitive.Trigger
|
|
47
|
-
ref={ref}
|
|
48
|
-
className={cn(
|
|
49
|
-
"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
50
|
-
className,
|
|
51
|
-
)}
|
|
52
|
-
{...props}
|
|
53
|
-
/>
|
|
54
|
-
));
|
|
55
|
-
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
56
|
-
|
|
57
|
-
const MenubarSubTrigger = React.forwardRef<
|
|
58
|
-
React.ElementRef<typeof MenubarPrimitive.SubTrigger>,
|
|
59
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {
|
|
60
|
-
inset?: boolean;
|
|
61
|
-
}
|
|
62
|
-
>(({ className, inset, children, ...props }, ref) => (
|
|
63
|
-
<MenubarPrimitive.SubTrigger
|
|
64
|
-
ref={ref}
|
|
65
|
-
className={cn(
|
|
66
|
-
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
67
|
-
inset && "pl-8",
|
|
68
|
-
className,
|
|
69
|
-
)}
|
|
70
|
-
{...props}
|
|
71
|
-
>
|
|
72
|
-
{children}
|
|
73
|
-
<ChevronRight className="ml-auto h-4 w-4" />
|
|
74
|
-
</MenubarPrimitive.SubTrigger>
|
|
75
|
-
));
|
|
76
|
-
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
77
|
-
|
|
78
|
-
const MenubarSubContent = React.forwardRef<
|
|
79
|
-
React.ElementRef<typeof MenubarPrimitive.SubContent>,
|
|
80
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>
|
|
81
|
-
>(({ className, ...props }, ref) => (
|
|
82
|
-
<MenubarPrimitive.SubContent
|
|
83
|
-
ref={ref}
|
|
84
|
-
className={cn(
|
|
85
|
-
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-menubar-content-transform-origin)",
|
|
86
|
-
className,
|
|
87
|
-
)}
|
|
88
|
-
{...props}
|
|
89
|
-
/>
|
|
90
|
-
));
|
|
91
|
-
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
92
|
-
|
|
93
|
-
const MenubarContent = React.forwardRef<
|
|
94
|
-
React.ElementRef<typeof MenubarPrimitive.Content>,
|
|
95
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>
|
|
96
|
-
>(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => (
|
|
97
|
-
<MenubarPrimitive.Portal>
|
|
98
|
-
<MenubarPrimitive.Content
|
|
99
|
-
ref={ref}
|
|
100
|
-
align={align}
|
|
101
|
-
alignOffset={alignOffset}
|
|
102
|
-
sideOffset={sideOffset}
|
|
103
|
-
className={cn(
|
|
104
|
-
"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-menubar-content-transform-origin)",
|
|
105
|
-
className,
|
|
106
|
-
)}
|
|
107
|
-
{...props}
|
|
108
|
-
/>
|
|
109
|
-
</MenubarPrimitive.Portal>
|
|
110
|
-
));
|
|
111
|
-
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
112
|
-
|
|
113
|
-
const MenubarItem = React.forwardRef<
|
|
114
|
-
React.ElementRef<typeof MenubarPrimitive.Item>,
|
|
115
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {
|
|
116
|
-
inset?: boolean;
|
|
117
|
-
}
|
|
118
|
-
>(({ className, inset, ...props }, ref) => (
|
|
119
|
-
<MenubarPrimitive.Item
|
|
120
|
-
ref={ref}
|
|
121
|
-
className={cn(
|
|
122
|
-
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
123
|
-
inset && "pl-8",
|
|
124
|
-
className,
|
|
125
|
-
)}
|
|
126
|
-
{...props}
|
|
127
|
-
/>
|
|
128
|
-
));
|
|
129
|
-
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
130
|
-
|
|
131
|
-
const MenubarCheckboxItem = React.forwardRef<
|
|
132
|
-
React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,
|
|
133
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>
|
|
134
|
-
>(({ className, children, checked, ...props }, ref) => (
|
|
135
|
-
<MenubarPrimitive.CheckboxItem
|
|
136
|
-
ref={ref}
|
|
137
|
-
className={cn(
|
|
138
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
139
|
-
className,
|
|
140
|
-
)}
|
|
141
|
-
checked={checked}
|
|
142
|
-
{...props}
|
|
143
|
-
>
|
|
144
|
-
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
145
|
-
<MenubarPrimitive.ItemIndicator>
|
|
146
|
-
<Check className="h-4 w-4" />
|
|
147
|
-
</MenubarPrimitive.ItemIndicator>
|
|
148
|
-
</span>
|
|
149
|
-
{children}
|
|
150
|
-
</MenubarPrimitive.CheckboxItem>
|
|
151
|
-
));
|
|
152
|
-
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
153
|
-
|
|
154
|
-
const MenubarRadioItem = React.forwardRef<
|
|
155
|
-
React.ElementRef<typeof MenubarPrimitive.RadioItem>,
|
|
156
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>
|
|
157
|
-
>(({ className, children, ...props }, ref) => (
|
|
158
|
-
<MenubarPrimitive.RadioItem
|
|
159
|
-
ref={ref}
|
|
160
|
-
className={cn(
|
|
161
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
162
|
-
className,
|
|
163
|
-
)}
|
|
164
|
-
{...props}
|
|
165
|
-
>
|
|
166
|
-
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
167
|
-
<MenubarPrimitive.ItemIndicator>
|
|
168
|
-
<Circle className="h-4 w-4 fill-current" />
|
|
169
|
-
</MenubarPrimitive.ItemIndicator>
|
|
170
|
-
</span>
|
|
171
|
-
{children}
|
|
172
|
-
</MenubarPrimitive.RadioItem>
|
|
173
|
-
));
|
|
174
|
-
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
175
|
-
|
|
176
|
-
const MenubarLabel = React.forwardRef<
|
|
177
|
-
React.ElementRef<typeof MenubarPrimitive.Label>,
|
|
178
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {
|
|
179
|
-
inset?: boolean;
|
|
180
|
-
}
|
|
181
|
-
>(({ className, inset, ...props }, ref) => (
|
|
182
|
-
<MenubarPrimitive.Label
|
|
183
|
-
ref={ref}
|
|
184
|
-
className={cn("px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className)}
|
|
185
|
-
{...props}
|
|
186
|
-
/>
|
|
187
|
-
));
|
|
188
|
-
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
189
|
-
|
|
190
|
-
const MenubarSeparator = React.forwardRef<
|
|
191
|
-
React.ElementRef<typeof MenubarPrimitive.Separator>,
|
|
192
|
-
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>
|
|
193
|
-
>(({ className, ...props }, ref) => (
|
|
194
|
-
<MenubarPrimitive.Separator
|
|
195
|
-
ref={ref}
|
|
196
|
-
className={cn("-mx-1 my-1 h-px bg-muted", className)}
|
|
197
|
-
{...props}
|
|
198
|
-
/>
|
|
199
|
-
));
|
|
200
|
-
MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
|
|
201
|
-
|
|
202
|
-
const MenubarShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {
|
|
203
|
-
return (
|
|
204
|
-
<span
|
|
205
|
-
className={cn("ml-auto text-xs tracking-widest text-muted-foreground", className)}
|
|
206
|
-
{...props}
|
|
207
|
-
/>
|
|
208
|
-
);
|
|
209
|
-
};
|
|
210
|
-
MenubarShortcut.displayname = "MenubarShortcut";
|
|
211
|
-
|
|
212
|
-
export {
|
|
213
|
-
Menubar,
|
|
214
|
-
MenubarMenu,
|
|
215
|
-
MenubarTrigger,
|
|
216
|
-
MenubarContent,
|
|
217
|
-
MenubarItem,
|
|
218
|
-
MenubarSeparator,
|
|
219
|
-
MenubarLabel,
|
|
220
|
-
MenubarCheckboxItem,
|
|
221
|
-
MenubarRadioGroup,
|
|
222
|
-
MenubarRadioItem,
|
|
223
|
-
MenubarPortal,
|
|
224
|
-
MenubarSubContent,
|
|
225
|
-
MenubarSubTrigger,
|
|
226
|
-
MenubarGroup,
|
|
227
|
-
MenubarSub,
|
|
228
|
-
MenubarShortcut,
|
|
229
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
3
|
-
import { cva } from "class-variance-authority";
|
|
4
|
-
import { ChevronDown } from "lucide-react";
|
|
5
|
-
|
|
6
|
-
import { cn } from "@/lib/utils";
|
|
7
|
-
|
|
8
|
-
const NavigationMenu = React.forwardRef<
|
|
9
|
-
React.ElementRef<typeof NavigationMenuPrimitive.Root>,
|
|
10
|
-
React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>
|
|
11
|
-
>(({ className, children, ...props }, ref) => (
|
|
12
|
-
<NavigationMenuPrimitive.Root
|
|
13
|
-
ref={ref}
|
|
14
|
-
className={cn("relative z-10 flex max-w-max flex-1 items-center justify-center", className)}
|
|
15
|
-
{...props}
|
|
16
|
-
>
|
|
17
|
-
{children}
|
|
18
|
-
<NavigationMenuViewport />
|
|
19
|
-
</NavigationMenuPrimitive.Root>
|
|
20
|
-
));
|
|
21
|
-
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
22
|
-
|
|
23
|
-
const NavigationMenuList = React.forwardRef<
|
|
24
|
-
React.ElementRef<typeof NavigationMenuPrimitive.List>,
|
|
25
|
-
React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>
|
|
26
|
-
>(({ className, ...props }, ref) => (
|
|
27
|
-
<NavigationMenuPrimitive.List
|
|
28
|
-
ref={ref}
|
|
29
|
-
className={cn("group flex flex-1 list-none items-center justify-center space-x-1", className)}
|
|
30
|
-
{...props}
|
|
31
|
-
/>
|
|
32
|
-
));
|
|
33
|
-
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
34
|
-
|
|
35
|
-
const NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
36
|
-
|
|
37
|
-
const navigationMenuTriggerStyle = cva(
|
|
38
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium cursor-pointer transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent",
|
|
39
|
-
);
|
|
40
|
-
|
|
41
|
-
const NavigationMenuTrigger = React.forwardRef<
|
|
42
|
-
React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,
|
|
43
|
-
React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>
|
|
44
|
-
>(({ className, children, ...props }, ref) => (
|
|
45
|
-
<NavigationMenuPrimitive.Trigger
|
|
46
|
-
ref={ref}
|
|
47
|
-
className={cn(navigationMenuTriggerStyle(), "group", className)}
|
|
48
|
-
{...props}
|
|
49
|
-
>
|
|
50
|
-
{children}{" "}
|
|
51
|
-
<ChevronDown
|
|
52
|
-
className="relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180"
|
|
53
|
-
aria-hidden="true"
|
|
54
|
-
/>
|
|
55
|
-
</NavigationMenuPrimitive.Trigger>
|
|
56
|
-
));
|
|
57
|
-
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
58
|
-
|
|
59
|
-
const NavigationMenuContent = React.forwardRef<
|
|
60
|
-
React.ElementRef<typeof NavigationMenuPrimitive.Content>,
|
|
61
|
-
React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>
|
|
62
|
-
>(({ className, ...props }, ref) => (
|
|
63
|
-
<NavigationMenuPrimitive.Content
|
|
64
|
-
ref={ref}
|
|
65
|
-
className={cn(
|
|
66
|
-
"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
|
|
67
|
-
className,
|
|
68
|
-
)}
|
|
69
|
-
{...props}
|
|
70
|
-
/>
|
|
71
|
-
));
|
|
72
|
-
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
73
|
-
|
|
74
|
-
const NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
75
|
-
|
|
76
|
-
const NavigationMenuViewport = React.forwardRef<
|
|
77
|
-
React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,
|
|
78
|
-
React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>
|
|
79
|
-
>(({ className, ...props }, ref) => (
|
|
80
|
-
<div className={cn("absolute left-0 top-full flex justify-center")}>
|
|
81
|
-
<NavigationMenuPrimitive.Viewport
|
|
82
|
-
className={cn(
|
|
83
|
-
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
84
|
-
className,
|
|
85
|
-
)}
|
|
86
|
-
ref={ref}
|
|
87
|
-
{...props}
|
|
88
|
-
/>
|
|
89
|
-
</div>
|
|
90
|
-
));
|
|
91
|
-
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
92
|
-
|
|
93
|
-
const NavigationMenuIndicator = React.forwardRef<
|
|
94
|
-
React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,
|
|
95
|
-
React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>
|
|
96
|
-
>(({ className, ...props }, ref) => (
|
|
97
|
-
<NavigationMenuPrimitive.Indicator
|
|
98
|
-
ref={ref}
|
|
99
|
-
className={cn(
|
|
100
|
-
"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
|
|
101
|
-
className,
|
|
102
|
-
)}
|
|
103
|
-
{...props}
|
|
104
|
-
>
|
|
105
|
-
<div className="relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" />
|
|
106
|
-
</NavigationMenuPrimitive.Indicator>
|
|
107
|
-
));
|
|
108
|
-
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
109
|
-
|
|
110
|
-
export {
|
|
111
|
-
navigationMenuTriggerStyle,
|
|
112
|
-
NavigationMenu,
|
|
113
|
-
NavigationMenuList,
|
|
114
|
-
NavigationMenuItem,
|
|
115
|
-
NavigationMenuContent,
|
|
116
|
-
NavigationMenuTrigger,
|
|
117
|
-
NavigationMenuLink,
|
|
118
|
-
NavigationMenuIndicator,
|
|
119
|
-
NavigationMenuViewport,
|
|
120
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
|
|
3
|
-
|
|
4
|
-
import { cn } from "@/lib/utils";
|
|
5
|
-
import { type ButtonProps, buttonVariants } from "@/components/ui/button";
|
|
6
|
-
|
|
7
|
-
const Pagination = ({ className, ...props }: React.ComponentProps<"nav">) => (
|
|
8
|
-
<nav
|
|
9
|
-
role="navigation"
|
|
10
|
-
aria-label="pagination"
|
|
11
|
-
className={cn("mx-auto flex w-full justify-center", className)}
|
|
12
|
-
{...props}
|
|
13
|
-
/>
|
|
14
|
-
);
|
|
15
|
-
Pagination.displayName = "Pagination";
|
|
16
|
-
|
|
17
|
-
const PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<"ul">>(
|
|
18
|
-
({ className, ...props }, ref) => (
|
|
19
|
-
<ul ref={ref} className={cn("flex flex-row items-center gap-1", className)} {...props} />
|
|
20
|
-
),
|
|
21
|
-
);
|
|
22
|
-
PaginationContent.displayName = "PaginationContent";
|
|
23
|
-
|
|
24
|
-
const PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<"li">>(
|
|
25
|
-
({ className, ...props }, ref) => <li ref={ref} className={cn("", className)} {...props} />,
|
|
26
|
-
);
|
|
27
|
-
PaginationItem.displayName = "PaginationItem";
|
|
28
|
-
|
|
29
|
-
type PaginationLinkProps = {
|
|
30
|
-
isActive?: boolean;
|
|
31
|
-
} & Pick<ButtonProps, "size"> &
|
|
32
|
-
React.ComponentProps<"a">;
|
|
33
|
-
|
|
34
|
-
const PaginationLink = ({ className, isActive, size = "icon", ...props }: PaginationLinkProps) => (
|
|
35
|
-
<a
|
|
36
|
-
aria-current={isActive ? "page" : undefined}
|
|
37
|
-
className={cn(
|
|
38
|
-
buttonVariants({
|
|
39
|
-
variant: isActive ? "outline" : "ghost",
|
|
40
|
-
size,
|
|
41
|
-
}),
|
|
42
|
-
className,
|
|
43
|
-
)}
|
|
44
|
-
{...props}
|
|
45
|
-
/>
|
|
46
|
-
);
|
|
47
|
-
PaginationLink.displayName = "PaginationLink";
|
|
48
|
-
|
|
49
|
-
const PaginationPrevious = ({
|
|
50
|
-
className,
|
|
51
|
-
...props
|
|
52
|
-
}: React.ComponentProps<typeof PaginationLink>) => (
|
|
53
|
-
<PaginationLink
|
|
54
|
-
aria-label="Go to previous page"
|
|
55
|
-
size="default"
|
|
56
|
-
className={cn("gap-1 pl-2.5", className)}
|
|
57
|
-
{...props}
|
|
58
|
-
>
|
|
59
|
-
<ChevronLeft className="h-4 w-4" />
|
|
60
|
-
<span>Previous</span>
|
|
61
|
-
</PaginationLink>
|
|
62
|
-
);
|
|
63
|
-
PaginationPrevious.displayName = "PaginationPrevious";
|
|
64
|
-
|
|
65
|
-
const PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (
|
|
66
|
-
<PaginationLink
|
|
67
|
-
aria-label="Go to next page"
|
|
68
|
-
size="default"
|
|
69
|
-
className={cn("gap-1 pr-2.5", className)}
|
|
70
|
-
{...props}
|
|
71
|
-
>
|
|
72
|
-
<span>Next</span>
|
|
73
|
-
<ChevronRight className="h-4 w-4" />
|
|
74
|
-
</PaginationLink>
|
|
75
|
-
);
|
|
76
|
-
PaginationNext.displayName = "PaginationNext";
|
|
77
|
-
|
|
78
|
-
const PaginationEllipsis = ({ className, ...props }: React.ComponentProps<"span">) => (
|
|
79
|
-
<span
|
|
80
|
-
aria-hidden
|
|
81
|
-
className={cn("flex h-9 w-9 items-center justify-center", className)}
|
|
82
|
-
{...props}
|
|
83
|
-
>
|
|
84
|
-
<MoreHorizontal className="h-4 w-4" />
|
|
85
|
-
<span className="sr-only">More pages</span>
|
|
86
|
-
</span>
|
|
87
|
-
);
|
|
88
|
-
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
Pagination,
|
|
92
|
-
PaginationContent,
|
|
93
|
-
PaginationLink,
|
|
94
|
-
PaginationItem,
|
|
95
|
-
PaginationPrevious,
|
|
96
|
-
PaginationNext,
|
|
97
|
-
PaginationEllipsis,
|
|
98
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
-
|
|
4
|
-
import { cn } from "@/lib/utils";
|
|
5
|
-
|
|
6
|
-
const Popover = PopoverPrimitive.Root;
|
|
7
|
-
|
|
8
|
-
const PopoverTrigger = PopoverPrimitive.Trigger;
|
|
9
|
-
|
|
10
|
-
const PopoverAnchor = PopoverPrimitive.Anchor;
|
|
11
|
-
|
|
12
|
-
const PopoverContent = React.forwardRef<
|
|
13
|
-
React.ElementRef<typeof PopoverPrimitive.Content>,
|
|
14
|
-
React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>
|
|
15
|
-
>(({ className, align = "center", sideOffset = 4, ...props }, ref) => (
|
|
16
|
-
<PopoverPrimitive.Portal>
|
|
17
|
-
<PopoverPrimitive.Content
|
|
18
|
-
ref={ref}
|
|
19
|
-
align={align}
|
|
20
|
-
sideOffset={sideOffset}
|
|
21
|
-
className={cn(
|
|
22
|
-
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin)",
|
|
23
|
-
className,
|
|
24
|
-
)}
|
|
25
|
-
{...props}
|
|
26
|
-
/>
|
|
27
|
-
</PopoverPrimitive.Portal>
|
|
28
|
-
));
|
|
29
|
-
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
30
|
-
|
|
31
|
-
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
5
|
-
|
|
6
|
-
import { cn } from "@/lib/utils";
|
|
7
|
-
|
|
8
|
-
const Progress = React.forwardRef<
|
|
9
|
-
React.ElementRef<typeof ProgressPrimitive.Root>,
|
|
10
|
-
React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>
|
|
11
|
-
>(({ className, value, ...props }, ref) => (
|
|
12
|
-
<ProgressPrimitive.Root
|
|
13
|
-
ref={ref}
|
|
14
|
-
className={cn("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", className)}
|
|
15
|
-
{...props}
|
|
16
|
-
>
|
|
17
|
-
<ProgressPrimitive.Indicator
|
|
18
|
-
className="h-full w-full flex-1 bg-primary transition-all"
|
|
19
|
-
style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
|
|
20
|
-
/>
|
|
21
|
-
</ProgressPrimitive.Root>
|
|
22
|
-
));
|
|
23
|
-
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
24
|
-
|
|
25
|
-
export { Progress };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
-
import { Circle } from "lucide-react";
|
|
4
|
-
|
|
5
|
-
import { cn } from "@/lib/utils";
|
|
6
|
-
|
|
7
|
-
const RadioGroup = React.forwardRef<
|
|
8
|
-
React.ElementRef<typeof RadioGroupPrimitive.Root>,
|
|
9
|
-
React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>
|
|
10
|
-
>(({ className, ...props }, ref) => {
|
|
11
|
-
return <RadioGroupPrimitive.Root className={cn("grid gap-2", className)} {...props} ref={ref} />;
|
|
12
|
-
});
|
|
13
|
-
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
14
|
-
|
|
15
|
-
const RadioGroupItem = React.forwardRef<
|
|
16
|
-
React.ElementRef<typeof RadioGroupPrimitive.Item>,
|
|
17
|
-
React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>
|
|
18
|
-
>(({ className, ...props }, ref) => {
|
|
19
|
-
return (
|
|
20
|
-
<RadioGroupPrimitive.Item
|
|
21
|
-
ref={ref}
|
|
22
|
-
className={cn(
|
|
23
|
-
"aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow cursor-pointer focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
24
|
-
className,
|
|
25
|
-
)}
|
|
26
|
-
{...props}
|
|
27
|
-
>
|
|
28
|
-
<RadioGroupPrimitive.Indicator className="flex items-center justify-center">
|
|
29
|
-
<Circle className="h-3.5 w-3.5 fill-primary" />
|
|
30
|
-
</RadioGroupPrimitive.Indicator>
|
|
31
|
-
</RadioGroupPrimitive.Item>
|
|
32
|
-
);
|
|
33
|
-
});
|
|
34
|
-
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
35
|
-
|
|
36
|
-
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { GripVertical } from "lucide-react";
|
|
2
|
-
import { Group, Panel, Separator } from "react-resizable-panels";
|
|
3
|
-
|
|
4
|
-
import { cn } from "@/lib/utils";
|
|
5
|
-
|
|
6
|
-
const ResizablePanelGroup = ({ className, ...props }: React.ComponentProps<typeof Group>) => (
|
|
7
|
-
<Group
|
|
8
|
-
className={cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className)}
|
|
9
|
-
{...props}
|
|
10
|
-
/>
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
const ResizablePanel = Panel;
|
|
14
|
-
|
|
15
|
-
const ResizableHandle = ({
|
|
16
|
-
withHandle,
|
|
17
|
-
className,
|
|
18
|
-
...props
|
|
19
|
-
}: React.ComponentProps<typeof Separator> & {
|
|
20
|
-
withHandle?: boolean;
|
|
21
|
-
}) => (
|
|
22
|
-
<Separator
|
|
23
|
-
className={cn(
|
|
24
|
-
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
25
|
-
className,
|
|
26
|
-
)}
|
|
27
|
-
{...props}
|
|
28
|
-
>
|
|
29
|
-
{withHandle && (
|
|
30
|
-
<div className="z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border">
|
|
31
|
-
<GripVertical className="h-2.5 w-2.5" />
|
|
32
|
-
</div>
|
|
33
|
-
)}
|
|
34
|
-
</Separator>
|
|
35
|
-
);
|
|
36
|
-
|
|
37
|
-
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
3
|
-
|
|
4
|
-
import { cn } from "@/lib/utils";
|
|
5
|
-
|
|
6
|
-
const ScrollArea = React.forwardRef<
|
|
7
|
-
React.ElementRef<typeof ScrollAreaPrimitive.Root>,
|
|
8
|
-
React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>
|
|
9
|
-
>(({ className, children, ...props }, ref) => (
|
|
10
|
-
<ScrollAreaPrimitive.Root
|
|
11
|
-
ref={ref}
|
|
12
|
-
className={cn("relative overflow-hidden", className)}
|
|
13
|
-
{...props}
|
|
14
|
-
>
|
|
15
|
-
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
|
|
16
|
-
{children}
|
|
17
|
-
</ScrollAreaPrimitive.Viewport>
|
|
18
|
-
<ScrollBar />
|
|
19
|
-
<ScrollAreaPrimitive.Corner />
|
|
20
|
-
</ScrollAreaPrimitive.Root>
|
|
21
|
-
));
|
|
22
|
-
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
23
|
-
|
|
24
|
-
const ScrollBar = React.forwardRef<
|
|
25
|
-
React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,
|
|
26
|
-
React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>
|
|
27
|
-
>(({ className, orientation = "vertical", ...props }, ref) => (
|
|
28
|
-
<ScrollAreaPrimitive.ScrollAreaScrollbar
|
|
29
|
-
ref={ref}
|
|
30
|
-
orientation={orientation}
|
|
31
|
-
className={cn(
|
|
32
|
-
"flex touch-none select-none transition-colors",
|
|
33
|
-
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
34
|
-
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
35
|
-
className,
|
|
36
|
-
)}
|
|
37
|
-
{...props}
|
|
38
|
-
>
|
|
39
|
-
<ScrollAreaPrimitive.ScrollAreaThumb className="relative flex-1 rounded-full bg-border" />
|
|
40
|
-
</ScrollAreaPrimitive.ScrollAreaScrollbar>
|
|
41
|
-
));
|
|
42
|
-
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
43
|
-
|
|
44
|
-
export { ScrollArea, ScrollBar };
|