create-tauri-ui 0.1.4 → 0.2.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/README.md +56 -13
- package/dist/index.mjs +26 -27
- package/index.js +1 -1
- package/package.json +54 -63
- package/templates/.shared/.github/workflows/release.yml +112 -0
- package/templates/.shared/app-icon.png +0 -0
- package/templates/.shared/src-tauri/Cargo.lock +3701 -0
- package/templates/.shared/src-tauri/Cargo.toml +36 -0
- package/templates/.shared/src-tauri/build.rs +3 -0
- package/templates/.shared/src-tauri/icons/128x128.png +0 -0
- package/templates/.shared/src-tauri/icons/128x128@2x.png +0 -0
- package/templates/.shared/src-tauri/icons/32x32.png +0 -0
- package/templates/.shared/src-tauri/icons/Square107x107Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square142x142Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square150x150Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square284x284Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square30x30Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square310x310Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square44x44Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square71x71Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/Square89x89Logo.png +0 -0
- package/templates/.shared/src-tauri/icons/StoreLogo.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/.shared/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/templates/.shared/src-tauri/icons/icon.icns +0 -0
- package/templates/.shared/src-tauri/icons/icon.ico +0 -0
- package/templates/.shared/src-tauri/icons/icon.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
- package/templates/.shared/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
- package/templates/.shared/src-tauri/src/main.rs +19 -0
- package/templates/.shared/src-tauri/tauri.conf.json +79 -0
- package/templates/next/.env +1 -1
- package/templates/next/.github/workflows/release.yml +108 -108
- package/templates/next/.vscode/extensions.json +3 -3
- package/templates/next/README.md +95 -88
- package/templates/next/components.json +16 -0
- package/templates/next/next-env.d.ts +5 -5
- package/templates/next/next.config.js +14 -17
- package/templates/next/package.json +83 -82
- package/templates/next/pnpm-lock.yaml +4869 -4754
- package/templates/next/postcss.config.js +6 -6
- package/templates/next/prettier.config.js +35 -35
- package/templates/next/src/app/examples/authentication/components/user-auth-form.tsx +1 -1
- package/templates/next/src/app/examples/authentication/page.tsx +67 -59
- package/templates/next/src/app/examples/cards/components/create-account.tsx +1 -1
- package/templates/next/src/app/examples/cards/components/date-picker.tsx +2 -2
- package/templates/next/src/app/examples/cards/components/github-card.tsx +15 -10
- package/templates/next/src/app/examples/cards/components/notifications.tsx +9 -9
- package/templates/next/src/app/examples/cards/components/payment-method.tsx +14 -4
- package/templates/next/src/app/examples/cards/components/report-an-issue.tsx +4 -1
- package/templates/next/src/app/examples/cards/components/share-document.tsx +5 -1
- package/templates/next/src/app/examples/cards/components/team-members.tsx +8 -4
- package/templates/next/src/app/examples/cards/page.tsx +37 -36
- package/templates/next/src/app/examples/dashboard/components/date-range-picker.tsx +2 -3
- package/templates/next/src/app/examples/dashboard/components/main-nav.tsx +10 -8
- package/templates/next/src/app/examples/dashboard/components/recent-sales.tsx +5 -1
- package/templates/next/src/app/examples/dashboard/components/search.tsx +1 -1
- package/templates/next/src/app/examples/dashboard/components/team-switcher.tsx +15 -7
- package/templates/next/src/app/examples/dashboard/components/user-nav.tsx +10 -15
- package/templates/next/src/app/examples/dashboard/page.tsx +164 -114
- package/templates/next/src/app/examples/forms/account/account-form.tsx +13 -13
- package/templates/next/src/app/examples/forms/appearance/appearance-form.tsx +5 -5
- package/templates/next/src/app/examples/forms/components/sidebar-nav.tsx +3 -2
- package/templates/next/src/app/examples/forms/display/display-form.tsx +2 -2
- package/templates/next/src/app/examples/forms/layout.tsx +16 -14
- package/templates/next/src/app/examples/forms/notifications/notifications-form.tsx +6 -5
- package/templates/next/src/app/examples/forms/notifications/page.tsx +0 -1
- package/templates/next/src/app/examples/forms/profile-form.tsx +16 -15
- package/templates/next/src/app/examples/layout.tsx +7 -7
- package/templates/next/src/app/examples/music/components/album-artwork.tsx +15 -4
- package/templates/next/src/app/examples/music/components/menu.tsx +27 -5
- package/templates/next/src/app/examples/music/components/podcast-empty-placeholder.tsx +15 -4
- package/templates/next/src/app/examples/music/components/sidebar.tsx +147 -43
- package/templates/next/src/app/examples/music/page.tsx +113 -106
- package/templates/next/src/app/examples/playground/components/model-selector.tsx +3 -3
- package/templates/next/src/app/examples/playground/components/preset-actions.tsx +2 -4
- package/templates/next/src/app/examples/playground/components/preset-selector.tsx +4 -4
- package/templates/next/src/app/examples/playground/components/preset-share.tsx +2 -2
- package/templates/next/src/app/examples/playground/page.tsx +268 -115
- package/templates/next/src/app/examples/tasks/components/data-table-column-header.tsx +12 -7
- package/templates/next/src/app/examples/tasks/components/data-table-faceted-filter.tsx +4 -4
- package/templates/next/src/app/examples/tasks/components/data-table-pagination.tsx +10 -10
- package/templates/next/src/app/examples/tasks/components/data-table-row-actions.tsx +6 -19
- package/templates/next/src/app/examples/tasks/components/data-table-toolbar.tsx +3 -5
- package/templates/next/src/app/examples/tasks/components/data-table-view-options.tsx +2 -2
- package/templates/next/src/app/examples/tasks/components/user-nav.tsx +10 -15
- package/templates/next/src/app/examples/tasks/data/data.tsx +17 -17
- package/templates/next/src/app/examples/tasks/data/tasks.json +1 -1
- package/templates/next/src/app/examples/tasks/page.tsx +14 -12
- package/templates/next/src/app/layout.tsx +47 -43
- package/templates/next/src/app/page.tsx +5 -5
- package/templates/next/src/components/{examples/date-picker/with-range.tsx → example/date-picker-with-range.tsx} +1 -1
- package/templates/next/src/components/examples-nav.tsx +70 -70
- package/templates/next/src/components/greeting.tsx +21 -21
- package/templates/next/src/components/icons.tsx +154 -154
- package/templates/next/src/components/menu-mode-toggle.tsx +46 -46
- package/templates/next/src/components/menu.tsx +259 -259
- package/templates/next/src/components/mode-toggle.tsx +43 -43
- package/templates/next/src/components/page-header.tsx +50 -50
- package/templates/next/src/components/style-switcher.tsx +19 -19
- package/templates/next/src/components/tailwind-indicator.tsx +18 -18
- package/templates/next/src/components/theme-provider.tsx +9 -9
- package/templates/next/src/components/ui/accordion.tsx +1 -1
- package/templates/next/src/components/ui/alert-dialog.tsx +3 -8
- package/templates/next/src/components/ui/alert.tsx +3 -5
- package/templates/next/src/components/ui/badge.tsx +5 -5
- package/templates/next/src/components/ui/button.tsx +15 -10
- package/templates/next/src/components/ui/card.tsx +1 -3
- package/templates/next/src/components/ui/checkbox.tsx +2 -2
- package/templates/next/src/components/ui/command.tsx +2 -2
- package/templates/next/src/components/ui/context-menu.tsx +6 -6
- package/templates/next/src/components/ui/dialog.tsx +4 -9
- package/templates/next/src/components/ui/dropdown-menu.tsx +6 -6
- package/templates/next/src/components/ui/hover-card.tsx +1 -1
- package/templates/next/src/components/ui/input.tsx +1 -3
- package/templates/next/src/components/ui/label.tsx +1 -1
- package/templates/next/src/components/ui/menubar.tsx +7 -7
- package/templates/next/src/components/ui/navigation-menu.tsx +2 -4
- package/templates/next/src/components/ui/popover.tsx +1 -1
- package/templates/next/src/components/ui/radio-group.tsx +2 -2
- package/templates/next/src/components/ui/select.tsx +4 -3
- package/templates/next/src/components/ui/sheet.tsx +22 -108
- package/templates/next/src/components/ui/skeleton.tsx +0 -2
- package/templates/next/src/components/ui/switch.tsx +1 -1
- package/templates/next/src/components/ui/table.tsx +1 -1
- package/templates/next/src/components/ui/tabs.tsx +1 -1
- package/templates/next/src/components/ui/textarea.tsx +1 -3
- package/templates/next/src/components/ui/toast.tsx +6 -8
- package/templates/next/src/components/ui/toggle.tsx +3 -3
- package/templates/next/src/components/ui/tooltip.tsx +1 -1
- package/templates/next/src/components/ui/use-toast.ts +5 -4
- package/templates/next/src/data/albums.ts +71 -71
- package/templates/next/src/data/playlists.ts +16 -16
- package/templates/next/src/lib/utils.ts +6 -19
- package/templates/next/src/styles/globals.css +86 -124
- package/templates/next/src-tauri/Cargo.lock +3701 -3637
- package/templates/next/src-tauri/Cargo.toml +36 -36
- package/templates/next/src-tauri/build.rs +3 -3
- package/templates/next/src-tauri/icons/128x128.png +0 -0
- package/templates/next/src-tauri/icons/128x128@2x.png +0 -0
- package/templates/next/src-tauri/icons/32x32.png +0 -0
- package/templates/next/src-tauri/icons/Square107x107Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square142x142Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square150x150Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square284x284Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square30x30Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square310x310Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square44x44Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square71x71Logo.png +0 -0
- package/templates/next/src-tauri/icons/Square89x89Logo.png +0 -0
- package/templates/next/src-tauri/icons/StoreLogo.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/next/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/templates/next/src-tauri/icons/icon.icns +0 -0
- package/templates/next/src-tauri/icons/icon.ico +0 -0
- package/templates/next/src-tauri/icons/icon.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
- package/templates/next/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
- package/templates/next/src-tauri/src/main.rs +19 -19
- package/templates/next/src-tauri/tauri.conf.json +79 -63
- package/templates/next/tailwind.config.js +78 -80
- package/templates/next/tsconfig.json +35 -35
- package/templates/sveltekit/.github/workflows/release.yml +108 -0
- package/templates/sveltekit/package.json +29 -29
- package/templates/sveltekit/src-tauri/Cargo.lock +268 -206
- package/templates/sveltekit/src-tauri/Cargo.toml +12 -10
- package/templates/sveltekit/src-tauri/build.rs +3 -3
- package/templates/sveltekit/src-tauri/tauri.conf.json +23 -6
- package/templates/vite/components.json +16 -0
- package/templates/vite/package.json +19 -18
- package/templates/vite/pnpm-lock.yaml +801 -696
- package/templates/vite/public/avatars/01.png +0 -0
- package/templates/vite/public/avatars/02.png +0 -0
- package/templates/vite/public/avatars/03.png +0 -0
- package/templates/vite/public/avatars/04.png +0 -0
- package/templates/vite/public/avatars/05.png +0 -0
- package/templates/vite/src/components/menu.tsx +1 -1
- package/templates/vite/src/dashboard/components/date-range-picker.tsx +2 -3
- package/templates/vite/src/dashboard/components/recent-sales.tsx +5 -1
- package/templates/vite/src/dashboard/components/search.tsx +1 -1
- package/templates/vite/src/dashboard/components/team-switcher.tsx +15 -7
- package/templates/vite/src/dashboard/components/user-nav.tsx +10 -15
- package/templates/vite/src/dashboard/page.tsx +172 -121
- package/templates/vite/src/styles/globals.css +1 -39
- package/templates/vite/src-tauri/Cargo.lock +302 -238
- package/templates/vite/src-tauri/Cargo.toml +11 -8
- package/templates/vite/src-tauri/build.rs +3 -3
- package/templates/vite/src-tauri/tauri.conf.json +79 -63
- package/templates/viteuno/.github/workflows/release.yml +108 -0
- package/templates/viteuno/.vscode/extensions.json +3 -0
- package/templates/viteuno/README.md +1 -0
- package/templates/viteuno/app-icon.png +0 -0
- package/templates/viteuno/components.json +16 -0
- package/templates/viteuno/index.html +16 -0
- package/templates/viteuno/package.json +73 -0
- package/templates/viteuno/pnpm-lock.yaml +5298 -0
- package/templates/viteuno/preset.shadcn.ts +160 -0
- package/templates/viteuno/prettier.config.cjs +34 -0
- package/templates/viteuno/public/avatars/01.png +0 -0
- package/templates/viteuno/public/avatars/02.png +0 -0
- package/templates/viteuno/public/avatars/03.png +0 -0
- package/templates/viteuno/public/avatars/04.png +0 -0
- package/templates/viteuno/public/avatars/05.png +0 -0
- package/templates/viteuno/src/App.tsx +39 -0
- package/templates/viteuno/src/assets/Inter.var.woff2 +0 -0
- package/templates/viteuno/src/components/icons.tsx +154 -0
- package/templates/viteuno/src/components/menu-mode-toggle.tsx +46 -0
- package/templates/viteuno/src/components/menu.tsx +232 -0
- package/templates/viteuno/src/components/tailwind-indicator.tsx +18 -0
- package/templates/viteuno/src/components/theme-provider.tsx +9 -0
- package/templates/viteuno/src/components/ui/accordion.tsx +60 -0
- package/templates/viteuno/src/components/ui/alert-dialog.tsx +150 -0
- package/templates/viteuno/src/components/ui/alert.tsx +61 -0
- package/templates/viteuno/src/components/ui/aspect-ratio.tsx +7 -0
- package/templates/viteuno/src/components/ui/avatar.tsx +50 -0
- package/templates/viteuno/src/components/ui/badge.tsx +36 -0
- package/templates/viteuno/src/components/ui/button.tsx +51 -0
- package/templates/viteuno/src/components/ui/calendar.tsx +64 -0
- package/templates/viteuno/src/components/ui/card.tsx +81 -0
- package/templates/viteuno/src/components/ui/checkbox.tsx +30 -0
- package/templates/viteuno/src/components/ui/collapsible.tsx +11 -0
- package/templates/viteuno/src/components/ui/command.tsx +155 -0
- package/templates/viteuno/src/components/ui/context-menu.tsx +200 -0
- package/templates/viteuno/src/components/ui/dialog.tsx +128 -0
- package/templates/viteuno/src/components/ui/dropdown-menu.tsx +200 -0
- package/templates/viteuno/src/components/ui/hover-card.tsx +29 -0
- package/templates/viteuno/src/components/ui/index.ts +0 -0
- package/templates/viteuno/src/components/ui/input.tsx +27 -0
- package/templates/viteuno/src/components/ui/label.tsx +26 -0
- package/templates/viteuno/src/components/ui/menubar.tsx +236 -0
- package/templates/viteuno/src/components/ui/navigation-menu.tsx +130 -0
- package/templates/viteuno/src/components/ui/popover.tsx +31 -0
- package/templates/viteuno/src/components/ui/progress.tsx +28 -0
- package/templates/viteuno/src/components/ui/radio-group.tsx +44 -0
- package/templates/viteuno/src/components/ui/scroll-area.tsx +48 -0
- package/templates/viteuno/src/components/ui/select.tsx +120 -0
- package/templates/viteuno/src/components/ui/separator.tsx +31 -0
- package/templates/viteuno/src/components/ui/sheet.tsx +230 -0
- package/templates/viteuno/src/components/ui/skeleton.tsx +17 -0
- package/templates/viteuno/src/components/ui/slider.tsx +28 -0
- package/templates/viteuno/src/components/ui/switch.tsx +29 -0
- package/templates/viteuno/src/components/ui/table.tsx +114 -0
- package/templates/viteuno/src/components/ui/tabs.tsx +55 -0
- package/templates/viteuno/src/components/ui/textarea.tsx +26 -0
- package/templates/viteuno/src/components/ui/toast.tsx +129 -0
- package/templates/viteuno/src/components/ui/toaster.tsx +35 -0
- package/templates/viteuno/src/components/ui/toggle.tsx +45 -0
- package/templates/viteuno/src/components/ui/tooltip.tsx +30 -0
- package/templates/viteuno/src/components/ui/use-toast.ts +191 -0
- package/templates/{next/src/components/examples/calendar → viteuno/src/dashboard/components}/date-range-picker.tsx +5 -4
- package/templates/viteuno/src/dashboard/components/main-nav.tsx +38 -0
- package/templates/viteuno/src/dashboard/components/overview.tsx +78 -0
- package/templates/viteuno/src/dashboard/components/recent-sales.tsx +67 -0
- package/templates/viteuno/src/dashboard/components/search.tsx +13 -0
- package/templates/viteuno/src/dashboard/components/team-switcher.tsx +205 -0
- package/templates/viteuno/src/dashboard/components/user-nav.tsx +67 -0
- package/templates/viteuno/src/dashboard/page.tsx +140 -0
- package/templates/viteuno/src/lib/utils.ts +19 -0
- package/templates/viteuno/src/main.tsx +14 -0
- package/templates/viteuno/src/styles/globals.css +4 -0
- package/templates/viteuno/src/vite-env.d.ts +1 -0
- package/templates/viteuno/src-tauri/Cargo.lock +3701 -0
- package/templates/viteuno/src-tauri/Cargo.toml +36 -0
- package/templates/viteuno/src-tauri/build.rs +3 -0
- package/templates/viteuno/src-tauri/icons/128x128.png +0 -0
- package/templates/viteuno/src-tauri/icons/128x128@2x.png +0 -0
- package/templates/viteuno/src-tauri/icons/32x32.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square107x107Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square142x142Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square150x150Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square284x284Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square30x30Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square310x310Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square44x44Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square71x71Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/Square89x89Logo.png +0 -0
- package/templates/viteuno/src-tauri/icons/StoreLogo.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/viteuno/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/templates/viteuno/src-tauri/icons/icon.icns +0 -0
- package/templates/viteuno/src-tauri/icons/icon.ico +0 -0
- package/templates/viteuno/src-tauri/icons/icon.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
- package/templates/viteuno/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
- package/templates/viteuno/src-tauri/src/main.rs +16 -0
- package/templates/viteuno/src-tauri/tauri.conf.json +79 -0
- package/templates/viteuno/tsconfig.json +26 -0
- package/templates/viteuno/tsconfig.node.json +9 -0
- package/templates/viteuno/uno.config.ts +111 -0
- package/templates/viteuno/vite.config.ts +33 -0
- package/templates/next/src/app/examples/cards/styles.css +0 -63
- package/templates/next/src/app/examples/music/styles.css +0 -65
- package/templates/next/src/app/examples/playground/components/icons.tsx +0 -153
- package/templates/next/src/app/examples/playground/styles.css +0 -65
- package/templates/next/src/components/examples/.eslintrc.json +0 -6
- package/templates/next/src/components/examples/accordion/demo.tsx +0 -32
- package/templates/next/src/components/examples/alert/demo.tsx +0 -15
- package/templates/next/src/components/examples/alert/destructive.tsx +0 -15
- package/templates/next/src/components/examples/alert-dialog/demo.tsx +0 -35
- package/templates/next/src/components/examples/aspect-ratio/demo.tsx +0 -16
- package/templates/next/src/components/examples/avatar/demo.tsx +0 -10
- package/templates/next/src/components/examples/badge/demo.tsx +0 -5
- package/templates/next/src/components/examples/badge/destructive.tsx +0 -5
- package/templates/next/src/components/examples/badge/outline.tsx +0 -5
- package/templates/next/src/components/examples/badge/secondary.tsx +0 -5
- package/templates/next/src/components/examples/button/as-child.tsx +0 -10
- package/templates/next/src/components/examples/button/demo.tsx +0 -5
- package/templates/next/src/components/examples/button/destructive.tsx +0 -5
- package/templates/next/src/components/examples/button/ghost.tsx +0 -5
- package/templates/next/src/components/examples/button/link.tsx +0 -5
- package/templates/next/src/components/examples/button/loading.tsx +0 -12
- package/templates/next/src/components/examples/button/outline.tsx +0 -5
- package/templates/next/src/components/examples/button/secondary.tsx +0 -5
- package/templates/next/src/components/examples/button/with-icon.tsx +0 -11
- package/templates/next/src/components/examples/calendar/date-picker.tsx +0 -43
- package/templates/next/src/components/examples/calendar/demo.tsx +0 -18
- package/templates/next/src/components/examples/calendar/react-hook-form.tsx +0 -101
- package/templates/next/src/components/examples/calendar/with-presets.tsx +0 -62
- package/templates/next/src/components/examples/card/demo.tsx +0 -79
- package/templates/next/src/components/examples/card/with-form.tsx +0 -59
- package/templates/next/src/components/examples/checkbox/demo.tsx +0 -17
- package/templates/next/src/components/examples/checkbox/disabled.tsx +0 -15
- package/templates/next/src/components/examples/checkbox/react-hook-form-multiple.tsx +0 -127
- package/templates/next/src/components/examples/checkbox/react-hook-form-single.tsx +0 -72
- package/templates/next/src/components/examples/checkbox/with-text.tsx +0 -22
- package/templates/next/src/components/examples/collapsible/demo.tsx +0 -46
- package/templates/next/src/components/examples/combobox/demo.tsx +0 -90
- package/templates/next/src/components/examples/combobox/dropdown-menu.tsx +0 -110
- package/templates/next/src/components/examples/combobox/popover.tsx +0 -124
- package/templates/next/src/components/examples/combobox/react-hook-form.tsx +0 -135
- package/templates/next/src/components/examples/command/combobox.tsx +0 -90
- package/templates/next/src/components/examples/command/demo.tsx +0 -62
- package/templates/next/src/components/examples/command/dialog.tsx +0 -86
- package/templates/next/src/components/examples/command/dropdown-menu.tsx +0 -110
- package/templates/next/src/components/examples/command/popover.tsx +0 -124
- package/templates/next/src/components/examples/context-menu/demo.tsx +0 -67
- package/templates/next/src/components/examples/data-table/columns.tsx +0 -110
- package/templates/next/src/components/examples/data-table/data-table.tsx +0 -185
- package/templates/next/src/components/examples/data-table/demo.tsx +0 -41
- package/templates/next/src/components/examples/date-picker/demo.tsx +0 -43
- package/templates/next/src/components/examples/date-picker/react-hook-form.tsx +0 -101
- package/templates/next/src/components/examples/date-picker/with-presets.tsx +0 -62
- package/templates/next/src/components/examples/dialog/demo.tsx +0 -47
- package/templates/next/src/components/examples/dropdown-menu/checkboxes.tsx +0 -53
- package/templates/next/src/components/examples/dropdown-menu/demo.tsx +0 -122
- package/templates/next/src/components/examples/dropdown-menu/radio-group.tsx +0 -37
- package/templates/next/src/components/examples/hover-card/demo.tsx +0 -39
- package/templates/next/src/components/examples/index.tsx +0 -213
- package/templates/next/src/components/examples/input/demo.tsx +0 -5
- package/templates/next/src/components/examples/input/disabled.tsx +0 -5
- package/templates/next/src/components/examples/input/file.tsx +0 -11
- package/templates/next/src/components/examples/input/react-hook-form.tsx +0 -65
- package/templates/next/src/components/examples/input/with-button.tsx +0 -11
- package/templates/next/src/components/examples/input/with-label.tsx +0 -11
- package/templates/next/src/components/examples/input/with-text.tsx +0 -12
- package/templates/next/src/components/examples/label/demo.tsx +0 -13
- package/templates/next/src/components/examples/menubar/demo.tsx +0 -107
- package/templates/next/src/components/examples/navigation-menu/demo.tsx +0 -144
- package/templates/next/src/components/examples/popover/demo.tsx +0 -67
- package/templates/next/src/components/examples/progress/demo.tsx +0 -16
- package/templates/next/src/components/examples/radio-group/demo.tsx +0 -21
- package/templates/next/src/components/examples/radio-group/react-hook-form.tsx +0 -88
- package/templates/next/src/components/examples/scroll-area/demo.tsx +0 -26
- package/templates/next/src/components/examples/select/demo.tsx +0 -31
- package/templates/next/src/components/examples/select/react-hook-form.tsx +0 -83
- package/templates/next/src/components/examples/separator/demo.tsx +0 -22
- package/templates/next/src/components/examples/sheet/demo.tsx +0 -47
- package/templates/next/src/components/examples/sheet/position.tsx +0 -75
- package/templates/next/src/components/examples/sheet/size.tsx +0 -75
- package/templates/next/src/components/examples/skeleton/demo.tsx +0 -13
- package/templates/next/src/components/examples/slider/demo.tsx +0 -16
- package/templates/next/src/components/examples/switch/demo.tsx +0 -11
- package/templates/next/src/components/examples/switch/react-hook-form.tsx +0 -101
- package/templates/next/src/components/examples/table/demo.tsx +0 -80
- package/templates/next/src/components/examples/tabs/demo.tsx +0 -69
- package/templates/next/src/components/examples/textarea/demo.tsx +0 -5
- package/templates/next/src/components/examples/textarea/disabled.tsx +0 -5
- package/templates/next/src/components/examples/textarea/react-hook-form.tsx +0 -77
- package/templates/next/src/components/examples/textarea/with-button.tsx +0 -11
- package/templates/next/src/components/examples/textarea/with-label.tsx +0 -11
- package/templates/next/src/components/examples/textarea/with-text.tsx +0 -14
- package/templates/next/src/components/examples/toast/demo.tsx +0 -26
- package/templates/next/src/components/examples/toast/destructive.tsx +0 -25
- package/templates/next/src/components/examples/toast/simple.tsx +0 -21
- package/templates/next/src/components/examples/toast/with-action.tsx +0 -24
- package/templates/next/src/components/examples/toast/with-title.tsx +0 -22
- package/templates/next/src/components/examples/toggle/demo.tsx +0 -11
- package/templates/next/src/components/examples/toggle/disabled.tsx +0 -11
- package/templates/next/src/components/examples/toggle/lg.tsx +0 -11
- package/templates/next/src/components/examples/toggle/outline.tsx +0 -11
- package/templates/next/src/components/examples/toggle/sm.tsx +0 -11
- package/templates/next/src/components/examples/toggle/with-text.tsx +0 -12
- package/templates/next/src/components/examples/tooltip/demo.tsx +0 -27
- package/templates/next/src/components/examples/typography/blockquote.tsx +0 -8
- package/templates/next/src/components/examples/typography/demo.tsx +0 -119
- package/templates/next/src/components/examples/typography/h1.tsx +0 -7
- package/templates/next/src/components/examples/typography/h2.tsx +0 -7
- package/templates/next/src/components/examples/typography/h3.tsx +0 -7
- package/templates/next/src/components/examples/typography/h4.tsx +0 -7
- package/templates/next/src/components/examples/typography/inline-code.tsx +0 -7
- package/templates/next/src/components/examples/typography/large.tsx +0 -5
- package/templates/next/src/components/examples/typography/lead.tsx +0 -8
- package/templates/next/src/components/examples/typography/list.tsx +0 -9
- package/templates/next/src/components/examples/typography/muted.tsx +0 -5
- package/templates/next/src/components/examples/typography/p.tsx +0 -8
- package/templates/next/src/components/examples/typography/small.tsx +0 -5
- package/templates/next/src/components/examples/typography/table.tsx +0 -44
- package/templates/sveltekit/static/favicon.ico +0 -0
- /package/templates/next/src/components/{react-hook-form → ui}/form.tsx +0 -0
package/templates/next/README.md
CHANGED
|
@@ -1,88 +1,95 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# Tauri UI Template
|
|
4
|
-
|
|
5
|
-
Tauri UI Template is a starting point for building modern desktop applications with web technologies. Customizable UI components with [shadcn/ui](https://github.com/shadcn/ui), a lightweight and secure desktop app framework [Tauri 2](https://github.com/tauri-apps/tauri), the React-based framework [Next.js 13](https://beta.nextjs.org/docs), the utility-first CSS framework [Tailwind](https://tailwindcss.com/).
|
|
6
|
-
|
|
7
|
-
> _You can download pre-built final bundles from the [Releases](https://github.com/agmmnn/tauri-ui/releases) section._
|
|
8
|
-
|
|
9
|
-
## Getting Started
|
|
10
|
-
|
|
11
|
-
Use [create-tauri-ui](https://github.com/agmmnn/create-tauri-ui) to quickly scaffold a Tauri UI project.
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
pnpm create tauri-ui
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
│
|
|
74
|
-
├──
|
|
75
|
-
│ ├──
|
|
76
|
-
│
|
|
77
|
-
│ ├──
|
|
78
|
-
│ ├──
|
|
79
|
-
│ ├──
|
|
80
|
-
│ └──
|
|
81
|
-
├──
|
|
82
|
-
├──
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Tauri UI Template
|
|
4
|
+
|
|
5
|
+
Tauri UI Template is a starting point for building modern desktop applications with web technologies. Customizable UI components with [shadcn/ui](https://github.com/shadcn/ui), a lightweight and secure desktop app framework [Tauri 2](https://github.com/tauri-apps/tauri), the React-based framework [Next.js 13](https://beta.nextjs.org/docs), the utility-first CSS framework [Tailwind](https://tailwindcss.com/).
|
|
6
|
+
|
|
7
|
+
> _You can download pre-built final bundles from the [Releases](https://github.com/agmmnn/tauri-ui/releases) section._
|
|
8
|
+
|
|
9
|
+
## Getting Started
|
|
10
|
+
|
|
11
|
+
Use [create-tauri-ui](https://github.com/agmmnn/create-tauri-ui) to quickly scaffold a Tauri UI project.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm create tauri-ui
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary>
|
|
21
|
+
Or clone the repository
|
|
22
|
+
</summary>
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
gh repo clone agmmnn/tauri-ui
|
|
26
|
+
cd tauri-ui
|
|
27
|
+
|
|
28
|
+
pnpm i
|
|
29
|
+
pnpm tauri dev
|
|
30
|
+
pnpm tauri build
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
</details>
|
|
34
|
+
|
|
35
|
+
## Features
|
|
36
|
+
|
|
37
|
+
- Support for dark and light modes
|
|
38
|
+
- Components-based UI design
|
|
39
|
+
- A draggable titlebar with minimize, maximize, and close buttons
|
|
40
|
+
- [Radix UI](https://www.radix-ui.com/) for UI primitives
|
|
41
|
+
- [Lucide Icons](https://lucide.dev/)
|
|
42
|
+
- [Bundle size optimized](https://github.com/johnthagen/min-sized-rust) [`Cargo.toml`](/src-tauri/Cargo.toml) (.msi 2.2mb, .dmg 1.9mb, .deb 2mb)
|
|
43
|
+
- [Tauri GitHub Action](https://github.com/tauri-apps/tauri-action)
|
|
44
|
+
|
|
45
|
+

|
|
46
|
+
|
|
47
|
+
> _[Next.js](https://nextjs.org/) is used in this template to facilitate quick integration of the [`/examples`](https://github.com/shadcn/ui/tree/main/apps/www/app/examples) directory of shadcn/ui. You can also easily use shadcn/ui with the [React + Vite](https://tauri.app/v1/guides/getting-started/setup/vite/) stack and any [React router library](https://react.libhunt.com/libs/router) (optionally) in Tauri._
|
|
48
|
+
|
|
49
|
+
## Customization
|
|
50
|
+
|
|
51
|
+
The template can be customized by editing the following files:
|
|
52
|
+
|
|
53
|
+
- [src-tauri/tauri.conf.json](src-tauri/tauri.conf.json)
|
|
54
|
+
- [package.json](/package.json)
|
|
55
|
+
- [src-tauri/cargo.toml](src-tauri/Cargo.toml)
|
|
56
|
+
- To change the app icon, update `app-icon.png`, and then run `pnpm tauri icon`. This will automatically generate icon files into _src-tauri/icons_.
|
|
57
|
+
|
|
58
|
+
## Update Components
|
|
59
|
+
|
|
60
|
+
Note that **shadcn/ui** [is not a library](https://ui.shadcn.com/docs#faqs), therefore you will need to update the components manually. To do so, you can [download](https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2Fshadcn%2Fui%2Ftree%2Fmain%2Fapps%2Fwww%2Fcomponents%2Fui) the _[shadcn/ui/apps/www/components/ui](https://github.com/shadcn/ui/tree/main/apps/www/components/ui)_ directory and paste it into _[src/components/ui](/src/components/ui)_.
|
|
61
|
+
|
|
62
|
+
## Folder Structure
|
|
63
|
+
|
|
64
|
+
```js
|
|
65
|
+
.
|
|
66
|
+
├── next-env.d.ts
|
|
67
|
+
├── next.config.js //nextjs config file https://nextjs.org/docs/pages/api-reference/next-config-js
|
|
68
|
+
├── package.json
|
|
69
|
+
├── postcss.config.js
|
|
70
|
+
├── README.md
|
|
71
|
+
├── public
|
|
72
|
+
├── src //frontend src:
|
|
73
|
+
│ ├── app //next.js appdir https://nextjs.org/docs/app/building-your-application/routing
|
|
74
|
+
│ ├── assets
|
|
75
|
+
│ ├── components //from shadcn/ui
|
|
76
|
+
│ │ └── ui
|
|
77
|
+
│ ├── data
|
|
78
|
+
│ ├── hooks
|
|
79
|
+
│ ├── lib
|
|
80
|
+
│ └── styles
|
|
81
|
+
├── src-tauri //backend src:
|
|
82
|
+
│ ├── build.rs
|
|
83
|
+
│ ├── Cargo.lock
|
|
84
|
+
│ ├── Cargo.toml //https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
85
|
+
│ ├── icons //https://tauri.app/v1/guides/features/icons/
|
|
86
|
+
│ ├── src
|
|
87
|
+
│ └── tauri.conf.json //tauri config file https://next--tauri.netlify.app/next/api/config
|
|
88
|
+
├── prettier.config.js //prettier config file https://prettier.io/docs/en/configuration.html
|
|
89
|
+
├── tailwind.config.js //tailwind config file https://tailwindcss.com/docs/configuration
|
|
90
|
+
└── tsconfig.json //typescript config file https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Recommended IDE Setup
|
|
94
|
+
|
|
95
|
+
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
+
"style": "default",
|
|
4
|
+
"rsc": false,
|
|
5
|
+
"tsx": true,
|
|
6
|
+
"tailwind": {
|
|
7
|
+
"config": "tailwind.config.js",
|
|
8
|
+
"css": "src/styles/globals.css",
|
|
9
|
+
"baseColor": "slate",
|
|
10
|
+
"cssVariables": true
|
|
11
|
+
},
|
|
12
|
+
"aliases": {
|
|
13
|
+
"components": "@/components",
|
|
14
|
+
"utils": "@/lib/utils"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="next" />
|
|
2
|
-
/// <reference types="next/image-types/global" />
|
|
3
|
-
|
|
4
|
-
// NOTE: This file should not be edited
|
|
5
|
-
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
|
1
|
+
/// <reference types="next" />
|
|
2
|
+
/// <reference types="next/image-types/global" />
|
|
3
|
+
|
|
4
|
+
// NOTE: This file should not be edited
|
|
5
|
+
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
/** @type {import('next').NextConfig} */
|
|
2
|
-
|
|
3
|
-
const nextConfig = {
|
|
4
|
-
reactStrictMode: true,
|
|
5
|
-
swcMinify: true,
|
|
6
|
-
images: {
|
|
7
|
-
unoptimized: true,
|
|
8
|
-
domains: ["avatars.githubusercontent.com", "images.unsplash.com"],
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
module.exports = nextConfig
|
|
1
|
+
/** @type {import('next').NextConfig} */
|
|
2
|
+
|
|
3
|
+
const nextConfig = {
|
|
4
|
+
reactStrictMode: true,
|
|
5
|
+
swcMinify: true,
|
|
6
|
+
images: {
|
|
7
|
+
unoptimized: true,
|
|
8
|
+
domains: ["avatars.githubusercontent.com", "images.unsplash.com"],
|
|
9
|
+
},
|
|
10
|
+
output: "export",
|
|
11
|
+
distDir: "dist",
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
module.exports = nextConfig
|
|
@@ -1,82 +1,83 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tauri-ui",
|
|
3
|
-
"private": true,
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"version": "0.
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "next dev -p 1420",
|
|
8
|
-
"build": "next build",
|
|
9
|
-
"format": "npx prettier --write . --ignore-path .gitignore ",
|
|
10
|
-
"taze": "taze major -I",
|
|
11
|
-
"taze:minor": "taze minor -w",
|
|
12
|
-
"tauri": "tauri"
|
|
13
|
-
},
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"@faker-js/faker": "^8.0.
|
|
16
|
-
"@hookform/resolvers": "^3.1.
|
|
17
|
-
"@radix-ui/react-accessible-icon": "^1.0.3",
|
|
18
|
-
"@radix-ui/react-accordion": "^1.1.2",
|
|
19
|
-
"@radix-ui/react-alert-dialog": "^1.0.4",
|
|
20
|
-
"@radix-ui/react-aspect-ratio": "^1.0.3",
|
|
21
|
-
"@radix-ui/react-avatar": "^1.0.3",
|
|
22
|
-
"@radix-ui/react-checkbox": "^1.0.4",
|
|
23
|
-
"@radix-ui/react-collapsible": "^1.0.3",
|
|
24
|
-
"@radix-ui/react-context-menu": "^2.1.4",
|
|
25
|
-
"@radix-ui/react-dialog": "^1.0.4",
|
|
26
|
-
"@radix-ui/react-dropdown-menu": "^2.0.5",
|
|
27
|
-
"@radix-ui/react-hover-card": "^1.0.6",
|
|
28
|
-
"@radix-ui/react-
|
|
29
|
-
"@radix-ui/react-
|
|
30
|
-
"@radix-ui/react-
|
|
31
|
-
"@radix-ui/react-
|
|
32
|
-
"@radix-ui/react-
|
|
33
|
-
"@radix-ui/react-
|
|
34
|
-
"@radix-ui/react-
|
|
35
|
-
"@radix-ui/react-
|
|
36
|
-
"@radix-ui/react-
|
|
37
|
-
"@radix-ui/react-
|
|
38
|
-
"@radix-ui/react-
|
|
39
|
-
"@radix-ui/react-
|
|
40
|
-
"@radix-ui/react-
|
|
41
|
-
"@radix-ui/react-
|
|
42
|
-
"@radix-ui/react-
|
|
43
|
-
"@radix-ui/react-toggle
|
|
44
|
-
"@radix-ui/react-
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@tauri-apps/
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"next
|
|
57
|
-
"
|
|
58
|
-
"react
|
|
59
|
-
"react-
|
|
60
|
-
"react-
|
|
61
|
-
"react-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@types/
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"tailwindcss": "^
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "tauri-ui",
|
|
3
|
+
"private": true,
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"version": "0.2.0",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "next dev -p 1420",
|
|
8
|
+
"build": "next build",
|
|
9
|
+
"format": "npx prettier --write . --ignore-path .gitignore ",
|
|
10
|
+
"taze": "taze major -I",
|
|
11
|
+
"taze:minor": "taze minor -w",
|
|
12
|
+
"tauri": "tauri"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@faker-js/faker": "^8.0.2",
|
|
16
|
+
"@hookform/resolvers": "^3.1.1",
|
|
17
|
+
"@radix-ui/react-accessible-icon": "^1.0.3",
|
|
18
|
+
"@radix-ui/react-accordion": "^1.1.2",
|
|
19
|
+
"@radix-ui/react-alert-dialog": "^1.0.4",
|
|
20
|
+
"@radix-ui/react-aspect-ratio": "^1.0.3",
|
|
21
|
+
"@radix-ui/react-avatar": "^1.0.3",
|
|
22
|
+
"@radix-ui/react-checkbox": "^1.0.4",
|
|
23
|
+
"@radix-ui/react-collapsible": "^1.0.3",
|
|
24
|
+
"@radix-ui/react-context-menu": "^2.1.4",
|
|
25
|
+
"@radix-ui/react-dialog": "^1.0.4",
|
|
26
|
+
"@radix-ui/react-dropdown-menu": "^2.0.5",
|
|
27
|
+
"@radix-ui/react-hover-card": "^1.0.6",
|
|
28
|
+
"@radix-ui/react-icons": "^1.3.0",
|
|
29
|
+
"@radix-ui/react-label": "^2.0.2",
|
|
30
|
+
"@radix-ui/react-menubar": "^1.0.3",
|
|
31
|
+
"@radix-ui/react-navigation-menu": "^1.1.3",
|
|
32
|
+
"@radix-ui/react-popover": "^1.0.6",
|
|
33
|
+
"@radix-ui/react-progress": "^1.0.3",
|
|
34
|
+
"@radix-ui/react-radio-group": "^1.1.3",
|
|
35
|
+
"@radix-ui/react-scroll-area": "^1.0.4",
|
|
36
|
+
"@radix-ui/react-select": "^1.2.2",
|
|
37
|
+
"@radix-ui/react-separator": "^1.0.3",
|
|
38
|
+
"@radix-ui/react-slider": "^1.1.2",
|
|
39
|
+
"@radix-ui/react-slot": "^1.0.2",
|
|
40
|
+
"@radix-ui/react-switch": "^1.0.3",
|
|
41
|
+
"@radix-ui/react-tabs": "^1.0.4",
|
|
42
|
+
"@radix-ui/react-toast": "^1.1.4",
|
|
43
|
+
"@radix-ui/react-toggle": "^1.0.3",
|
|
44
|
+
"@radix-ui/react-toggle-group": "^1.0.4",
|
|
45
|
+
"@radix-ui/react-tooltip": "^1.0.6",
|
|
46
|
+
"@tailwindcss/line-clamp": "^0.4.4",
|
|
47
|
+
"@tanstack/react-table": "^8.9.3",
|
|
48
|
+
"@tauri-apps/api": "2.0.0-alpha.5",
|
|
49
|
+
"@tauri-apps/plugin-window": "2.0.0-alpha.0",
|
|
50
|
+
"class-variance-authority": "^0.6.1",
|
|
51
|
+
"clsx": "^1.2.1",
|
|
52
|
+
"cmdk": "^0.2.0",
|
|
53
|
+
"date-fns": "^2.30.0",
|
|
54
|
+
"lucide-react": "^0.259.0",
|
|
55
|
+
"nanoid": "^4.0.2",
|
|
56
|
+
"next": "^13.4.9",
|
|
57
|
+
"next-themes": "^0.2.1",
|
|
58
|
+
"react": "^18.2.0",
|
|
59
|
+
"react-day-picker": "^8.8.0",
|
|
60
|
+
"react-dom": "^18.2.0",
|
|
61
|
+
"react-hook-form": "7.44.3",
|
|
62
|
+
"react-wrap-balancer": "^1.0.0",
|
|
63
|
+
"recharts": "^2.7.2",
|
|
64
|
+
"tailwind-merge": "^1.13.2",
|
|
65
|
+
"tailwind-scrollbar": "^3.0.4",
|
|
66
|
+
"tailwindcss-animate": "^1.0.6",
|
|
67
|
+
"zod": "^3.21.4"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.0.2",
|
|
71
|
+
"@tauri-apps/cli": "2.0.0-alpha.10",
|
|
72
|
+
"@types/node": "^20.4.1",
|
|
73
|
+
"@types/react": "^18.2.14",
|
|
74
|
+
"@types/react-dom": "^18.2.6",
|
|
75
|
+
"autoprefixer": "^10.4.14",
|
|
76
|
+
"postcss": "^8.4.25",
|
|
77
|
+
"prettier": "^3.0.0",
|
|
78
|
+
"prettier-plugin-tailwindcss": "^0.3.0",
|
|
79
|
+
"tailwindcss": "^3.3.2",
|
|
80
|
+
"taze": "^0.11.2",
|
|
81
|
+
"typescript": "^5.1.6"
|
|
82
|
+
}
|
|
83
|
+
}
|