create-tauri-ui 0.3.3 → 1.0.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 +188 -97
- package/assets/debug-panel/debug-events.ts.tmpl +97 -0
- package/assets/debug-panel/debug-panel.tsx.tmpl +1354 -0
- package/assets/debug-panel/tauri.ts.tmpl +53 -0
- package/assets/release.yml.tmpl +74 -0
- package/dist/index.mjs +483 -52
- package/index.js +3 -3
- package/package.json +53 -55
- package/templates/.shared/.github/workflows/release.yml +0 -112
- package/templates/.shared/src-tauri/Cargo.lock +0 -3835
- package/templates/.shared/src-tauri/Cargo.toml +0 -39
- package/templates/.shared/src-tauri/build.rs +0 -3
- 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 +0 -22
- package/templates/.shared/src-tauri/tauri.conf.json +0 -71
- package/templates/next/.env +0 -1
- package/templates/next/.github/workflows/release.yml +0 -108
- package/templates/next/.vscode/extensions.json +0 -3
- package/templates/next/LICENSE +0 -21
- package/templates/next/README.md +0 -95
- package/templates/next/app-icon.png +0 -0
- package/templates/next/components.json +0 -16
- package/templates/next/next-env.d.ts +0 -5
- package/templates/next/next.config.js +0 -14
- package/templates/next/package.json +0 -87
- package/templates/next/pnpm-lock.yaml +0 -4911
- package/templates/next/postcss.config.js +0 -6
- package/templates/next/prettier.config.js +0 -35
- package/templates/next/public/avatars/01.png +0 -0
- package/templates/next/public/avatars/02.png +0 -0
- package/templates/next/public/avatars/03.png +0 -0
- package/templates/next/public/avatars/04.png +0 -0
- package/templates/next/public/avatars/05.png +0 -0
- package/templates/next/src/app/examples/authentication/components/user-auth-form.tsx +0 -71
- package/templates/next/src/app/examples/authentication/page.tsx +0 -88
- package/templates/next/src/app/examples/cards/components/cookie-settings.tsx +0 -60
- package/templates/next/src/app/examples/cards/components/create-account.tsx +0 -60
- package/templates/next/src/app/examples/cards/components/date-picker.tsx +0 -20
- package/templates/next/src/app/examples/cards/components/github-card.tsx +0 -88
- package/templates/next/src/app/examples/cards/components/notifications.tsx +0 -53
- package/templates/next/src/app/examples/cards/components/payment-method.tsx +0 -129
- package/templates/next/src/app/examples/cards/components/report-an-issue.tsx +0 -85
- package/templates/next/src/app/examples/cards/components/share-document.tsx +0 -120
- package/templates/next/src/app/examples/cards/components/team-members.tsx +0 -149
- package/templates/next/src/app/examples/cards/page.tsx +0 -76
- package/templates/next/src/app/examples/dashboard/components/date-range-picker.tsx +0 -65
- package/templates/next/src/app/examples/dashboard/components/main-nav.tsx +0 -40
- package/templates/next/src/app/examples/dashboard/components/overview.tsx +0 -78
- package/templates/next/src/app/examples/dashboard/components/recent-sales.tsx +0 -71
- package/templates/next/src/app/examples/dashboard/components/search.tsx +0 -13
- package/templates/next/src/app/examples/dashboard/components/team-switcher.tsx +0 -213
- package/templates/next/src/app/examples/dashboard/components/user-nav.tsx +0 -62
- package/templates/next/src/app/examples/dashboard/page.tsx +0 -197
- package/templates/next/src/app/examples/forms/account/account-form.tsx +0 -219
- package/templates/next/src/app/examples/forms/account/page.tsx +0 -18
- package/templates/next/src/app/examples/forms/appearance/appearance-form.tsx +0 -164
- package/templates/next/src/app/examples/forms/appearance/page.tsx +0 -18
- package/templates/next/src/app/examples/forms/components/profile-form.tsx +0 -191
- package/templates/next/src/app/examples/forms/components/sidebar-nav.tsx +0 -44
- package/templates/next/src/app/examples/forms/display/display-form.tsx +0 -132
- package/templates/next/src/app/examples/forms/display/page.tsx +0 -17
- package/templates/next/src/app/examples/forms/layout.tsx +0 -59
- package/templates/next/src/app/examples/forms/notifications/notifications-form.tsx +0 -222
- package/templates/next/src/app/examples/forms/notifications/page.tsx +0 -17
- package/templates/next/src/app/examples/forms/page.tsx +0 -17
- package/templates/next/src/app/examples/layout.tsx +0 -7
- package/templates/next/src/app/examples/music/components/album-artwork.tsx +0 -95
- package/templates/next/src/app/examples/music/components/menu.tsx +0 -200
- package/templates/next/src/app/examples/music/components/podcast-empty-placeholder.tsx +0 -64
- package/templates/next/src/app/examples/music/components/sidebar.tsx +0 -204
- package/templates/next/src/app/examples/music/data/albums.ts +0 -71
- package/templates/next/src/app/examples/music/data/playlists.ts +0 -16
- package/templates/next/src/app/examples/music/page.tsx +0 -141
- package/templates/next/src/app/examples/playground/components/code-viewer.tsx +0 -89
- package/templates/next/src/app/examples/playground/components/maxlength-selector.tsx +0 -55
- package/templates/next/src/app/examples/playground/components/model-selector.tsx +0 -163
- package/templates/next/src/app/examples/playground/components/preset-actions.tsx +0 -122
- package/templates/next/src/app/examples/playground/components/preset-save.tsx +0 -44
- package/templates/next/src/app/examples/playground/components/preset-selector.tsx +0 -82
- package/templates/next/src/app/examples/playground/components/preset-share.tsx +0 -46
- package/templates/next/src/app/examples/playground/components/temperature-selector.tsx +0 -57
- package/templates/next/src/app/examples/playground/components/top-p-selector.tsx +0 -54
- package/templates/next/src/app/examples/playground/data/models.ts +0 -62
- package/templates/next/src/app/examples/playground/data/presets.ts +0 -47
- package/templates/next/src/app/examples/playground/page.tsx +0 -313
- package/templates/next/src/app/examples/tasks/components/columns.tsx +0 -120
- package/templates/next/src/app/examples/tasks/components/data-table-column-header.tsx +0 -71
- package/templates/next/src/app/examples/tasks/components/data-table-faceted-filter.tsx +0 -147
- package/templates/next/src/app/examples/tasks/components/data-table-pagination.tsx +0 -97
- package/templates/next/src/app/examples/tasks/components/data-table-row-actions.tsx +0 -69
- package/templates/next/src/app/examples/tasks/components/data-table-toolbar.tsx +0 -61
- package/templates/next/src/app/examples/tasks/components/data-table-view-options.tsx +0 -59
- package/templates/next/src/app/examples/tasks/components/data-table.tsx +0 -126
- package/templates/next/src/app/examples/tasks/components/user-nav.tsx +0 -62
- package/templates/next/src/app/examples/tasks/data/data.tsx +0 -71
- package/templates/next/src/app/examples/tasks/data/schema.ts +0 -13
- package/templates/next/src/app/examples/tasks/data/seed.ts +0 -20
- package/templates/next/src/app/examples/tasks/data/tasks.json +0 -702
- package/templates/next/src/app/examples/tasks/page.tsx +0 -49
- package/templates/next/src/app/layout.tsx +0 -47
- package/templates/next/src/app/page.tsx +0 -5
- package/templates/next/src/assets/Inter-VariableFont_slnt,wght.ttf +0 -0
- package/templates/next/src/assets/logo.png +0 -0
- package/templates/next/src/components/about-dialog.tsx +0 -111
- package/templates/next/src/components/example/date-picker-with-range.tsx +0 -65
- package/templates/next/src/components/examples-nav.tsx +0 -70
- package/templates/next/src/components/greeting.tsx +0 -21
- package/templates/next/src/components/icons.tsx +0 -156
- package/templates/next/src/components/menu-mode-toggle.tsx +0 -47
- package/templates/next/src/components/menu.tsx +0 -224
- package/templates/next/src/components/mode-toggle.tsx +0 -43
- package/templates/next/src/components/page-header.tsx +0 -52
- package/templates/next/src/components/style-switcher.tsx +0 -19
- package/templates/next/src/components/tailwind-indicator.tsx +0 -18
- package/templates/next/src/components/theme-provider.tsx +0 -9
- package/templates/next/src/components/ui/accordion.tsx +0 -60
- package/templates/next/src/components/ui/alert-dialog.tsx +0 -145
- package/templates/next/src/components/ui/alert.tsx +0 -59
- package/templates/next/src/components/ui/aspect-ratio.tsx +0 -7
- package/templates/next/src/components/ui/avatar.tsx +0 -50
- package/templates/next/src/components/ui/badge.tsx +0 -36
- package/templates/next/src/components/ui/button.tsx +0 -56
- package/templates/next/src/components/ui/calendar.tsx +0 -64
- package/templates/next/src/components/ui/card.tsx +0 -79
- package/templates/next/src/components/ui/checkbox.tsx +0 -30
- package/templates/next/src/components/ui/collapsible.tsx +0 -11
- package/templates/next/src/components/ui/command.tsx +0 -155
- package/templates/next/src/components/ui/context-menu.tsx +0 -200
- package/templates/next/src/components/ui/dialog.tsx +0 -123
- package/templates/next/src/components/ui/dropdown-menu.tsx +0 -200
- package/templates/next/src/components/ui/form.tsx +0 -176
- package/templates/next/src/components/ui/hover-card.tsx +0 -29
- package/templates/next/src/components/ui/input.tsx +0 -25
- package/templates/next/src/components/ui/label.tsx +0 -26
- package/templates/next/src/components/ui/menubar.tsx +0 -236
- package/templates/next/src/components/ui/navigation-menu.tsx +0 -128
- package/templates/next/src/components/ui/popover.tsx +0 -31
- package/templates/next/src/components/ui/progress.tsx +0 -28
- package/templates/next/src/components/ui/radio-group.tsx +0 -44
- package/templates/next/src/components/ui/scroll-area.tsx +0 -48
- package/templates/next/src/components/ui/select.tsx +0 -121
- package/templates/next/src/components/ui/separator.tsx +0 -31
- package/templates/next/src/components/ui/sheet.tsx +0 -144
- package/templates/next/src/components/ui/skeleton.tsx +0 -15
- package/templates/next/src/components/ui/slider.tsx +0 -28
- package/templates/next/src/components/ui/switch.tsx +0 -29
- package/templates/next/src/components/ui/table.tsx +0 -114
- package/templates/next/src/components/ui/tabs.tsx +0 -55
- package/templates/next/src/components/ui/textarea.tsx +0 -24
- package/templates/next/src/components/ui/toast.tsx +0 -127
- package/templates/next/src/components/ui/toaster.tsx +0 -35
- package/templates/next/src/components/ui/toggle.tsx +0 -45
- package/templates/next/src/components/ui/tooltip.tsx +0 -30
- package/templates/next/src/components/ui/use-toast.ts +0 -192
- package/templates/next/src/data/albums.ts +0 -71
- package/templates/next/src/data/playlists.ts +0 -16
- package/templates/next/src/hooks/use-lock-body.ts +0 -12
- package/templates/next/src/hooks/use-mounted.ts +0 -11
- package/templates/next/src/hooks/use-mutation-observer.ts +0 -20
- package/templates/next/src/lib/fonts.ts +0 -11
- package/templates/next/src/lib/utils.ts +0 -6
- package/templates/next/src/styles/globals.css +0 -88
- package/templates/next/src-tauri/Cargo.lock +0 -3835
- package/templates/next/src-tauri/Cargo.toml +0 -39
- package/templates/next/src-tauri/build.rs +0 -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 +0 -22
- package/templates/next/src-tauri/tauri.conf.json +0 -71
- package/templates/next/tailwind.config.js +0 -78
- package/templates/next/tsconfig.json +0 -35
- package/templates/sveltekit/.github/workflows/release.yml +0 -108
- package/templates/sveltekit/.prettierignore +0 -13
- package/templates/sveltekit/.prettierrc +0 -8
- package/templates/sveltekit/README.md +0 -1
- package/templates/sveltekit/app-icon.png +0 -0
- package/templates/sveltekit/package.json +0 -85
- package/templates/sveltekit/pnpm-lock.yaml +0 -4177
- package/templates/sveltekit/postcss.config.cjs +0 -13
- package/templates/sveltekit/src/app.d.ts +0 -18
- package/templates/sveltekit/src/app.html +0 -16
- package/templates/sveltekit/src/assets/Inter.var.woff2 +0 -0
- package/templates/sveltekit/src/index.test.ts +0 -7
- package/templates/sveltekit/src/lib/components/docs/TailwindIndicator.svelte +0 -10
- package/templates/sveltekit/src/lib/components/docs/charts/Bar.svelte +0 -152
- package/templates/sveltekit/src/lib/components/docs/dashboard/DashboardPage.svelte +0 -108
- package/templates/sveltekit/src/lib/components/docs/dashboard/MainNav.svelte +0 -31
- package/templates/sveltekit/src/lib/components/docs/dashboard/Overview.svelte +0 -5
- package/templates/sveltekit/src/lib/components/docs/dashboard/RecentSales.svelte +0 -61
- package/templates/sveltekit/src/lib/components/docs/dashboard/Search.svelte +0 -7
- package/templates/sveltekit/src/lib/components/docs/dashboard/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/docs/examples-nav/ExampleCodeLink.svelte +0 -19
- package/templates/sveltekit/src/lib/components/docs/examples-nav/ExamplesNav.svelte +0 -27
- package/templates/sveltekit/src/lib/components/docs/examples-nav/index.ts +0 -2
- package/templates/sveltekit/src/lib/components/docs/icons/Apple.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Aria.svelte +0 -11
- package/templates/sveltekit/src/lib/components/docs/icons/GitHub.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Google.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Logo.svelte +0 -17
- package/templates/sveltekit/src/lib/components/docs/icons/Minimize.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Npm.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/PayPal.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Pnpm.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Radix.svelte +0 -14
- package/templates/sveltekit/src/lib/components/docs/icons/RadixSvelte.svelte +0 -14
- package/templates/sveltekit/src/lib/components/docs/icons/Tailwind.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Yarn.svelte +0 -12
- package/templates/sveltekit/src/lib/components/docs/icons/index.ts +0 -78
- package/templates/sveltekit/src/lib/components/docs/index.ts +0 -6
- package/templates/sveltekit/src/lib/components/docs/light-switch/LightSwitch.svelte +0 -75
- package/templates/sveltekit/src/lib/components/docs/light-switch/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/docs/light-switch/light-switch.ts +0 -87
- package/templates/sveltekit/src/lib/components/docs/light-switch/local-storage-store.ts +0 -81
- package/templates/sveltekit/src/lib/components/ui/accordion/Accordion.svelte +0 -11
- package/templates/sveltekit/src/lib/components/ui/accordion/AccordionContent.svelte +0 -19
- package/templates/sveltekit/src/lib/components/ui/accordion/AccordionItem.svelte +0 -13
- package/templates/sveltekit/src/lib/components/ui/accordion/AccordionTrigger.svelte +0 -21
- package/templates/sveltekit/src/lib/components/ui/accordion/index.ts +0 -4
- package/templates/sveltekit/src/lib/components/ui/alert/Alert.svelte +0 -29
- package/templates/sveltekit/src/lib/components/ui/alert/AlertDescription.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/alert/AlertTitle.svelte +0 -15
- package/templates/sveltekit/src/lib/components/ui/alert/index.ts +0 -3
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogAction.svelte +0 -12
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogCancel.svelte +0 -15
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogContent.svelte +0 -22
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogDescription.svelte +0 -14
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogFooter.svelte +0 -13
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogHeader.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogOverlay.svelte +0 -15
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogPortal.svelte +0 -9
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogTitle.svelte +0 -11
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/index.ts +0 -12
- package/templates/sveltekit/src/lib/components/ui/aspect-ratio/AspectRatio.svelte +0 -13
- package/templates/sveltekit/src/lib/components/ui/aspect-ratio/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/avatar/Avatar.svelte +0 -14
- package/templates/sveltekit/src/lib/components/ui/avatar/AvatarFallback.svelte +0 -14
- package/templates/sveltekit/src/lib/components/ui/avatar/AvatarImage.svelte +0 -17
- package/templates/sveltekit/src/lib/components/ui/avatar/index.ts +0 -3
- package/templates/sveltekit/src/lib/components/ui/badge/Badge.svelte +0 -39
- package/templates/sveltekit/src/lib/components/ui/badge/index.ts +0 -21
- package/templates/sveltekit/src/lib/components/ui/button/Button.svelte +0 -47
- package/templates/sveltekit/src/lib/components/ui/button/index.ts +0 -28
- package/templates/sveltekit/src/lib/components/ui/card/Card.svelte +0 -18
- package/templates/sveltekit/src/lib/components/ui/card/CardContent.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardDescription.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardFooter.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardHeader.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardTitle.svelte +0 -16
- package/templates/sveltekit/src/lib/components/ui/card/index.ts +0 -6
- package/templates/sveltekit/src/lib/components/ui/checkbox/Checkbox.svelte +0 -23
- package/templates/sveltekit/src/lib/components/ui/checkbox/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/collapsible/index.ts +0 -7
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogContent.svelte +0 -29
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogDescription.svelte +0 -14
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogFooter.svelte +0 -13
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogHeader.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogOverlay.svelte +0 -15
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogPortal.svelte +0 -13
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogTitle.svelte +0 -14
- package/templates/sveltekit/src/lib/components/ui/dialog/index.ts +0 -12
- package/templates/sveltekit/src/lib/components/ui/hover-card/HoverCardContent.svelte +0 -24
- package/templates/sveltekit/src/lib/components/ui/hover-card/index.ts +0 -6
- package/templates/sveltekit/src/lib/components/ui/input/Input.svelte +0 -30
- package/templates/sveltekit/src/lib/components/ui/input/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/label/Label.svelte +0 -16
- package/templates/sveltekit/src/lib/components/ui/label/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/progress/Progress.svelte +0 -22
- package/templates/sveltekit/src/lib/components/ui/progress/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/radio-group/RadioGroup.svelte +0 -13
- package/templates/sveltekit/src/lib/components/ui/radio-group/RadioGroupItem.svelte +0 -23
- package/templates/sveltekit/src/lib/components/ui/radio-group/index.ts +0 -2
- package/templates/sveltekit/src/lib/components/ui/select/SelectContent.svelte +0 -26
- package/templates/sveltekit/src/lib/components/ui/select/SelectItem.svelte +0 -29
- package/templates/sveltekit/src/lib/components/ui/select/SelectLabel.svelte +0 -14
- package/templates/sveltekit/src/lib/components/ui/select/SelectSeparator.svelte +0 -9
- package/templates/sveltekit/src/lib/components/ui/select/SelectTrigger.svelte +0 -21
- package/templates/sveltekit/src/lib/components/ui/select/index.ts +0 -10
- package/templates/sveltekit/src/lib/components/ui/separator/Separator.svelte +0 -22
- package/templates/sveltekit/src/lib/components/ui/separator/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetContent.svelte +0 -27
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetDescription.svelte +0 -11
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetFooter.svelte +0 -13
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetHeader.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetOverlay.svelte +0 -15
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetPortal.svelte +0 -28
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetTitle.svelte +0 -14
- package/templates/sveltekit/src/lib/components/ui/sheet/index.ts +0 -102
- package/templates/sveltekit/src/lib/components/ui/skeleton/Skeleton.svelte +0 -8
- package/templates/sveltekit/src/lib/components/ui/skeleton/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/slider/Slider.svelte +0 -22
- package/templates/sveltekit/src/lib/components/ui/slider/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/switch/Switch.svelte +0 -32
- package/templates/sveltekit/src/lib/components/ui/switch/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/table/Table.svelte +0 -12
- package/templates/sveltekit/src/lib/components/ui/table/TableBody.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableCaption.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableCell.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableFooter.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableHead.svelte +0 -16
- package/templates/sveltekit/src/lib/components/ui/table/TableHeader.svelte +0 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableRow.svelte +0 -16
- package/templates/sveltekit/src/lib/components/ui/table/index.ts +0 -8
- package/templates/sveltekit/src/lib/components/ui/tabs/TabsContent.svelte +0 -20
- package/templates/sveltekit/src/lib/components/ui/tabs/TabsList.svelte +0 -17
- package/templates/sveltekit/src/lib/components/ui/tabs/TabsTrigger.svelte +0 -20
- package/templates/sveltekit/src/lib/components/ui/tabs/index.ts +0 -7
- package/templates/sveltekit/src/lib/components/ui/textarea/Textarea.svelte +0 -30
- package/templates/sveltekit/src/lib/components/ui/textarea/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/toggle/Toggle.svelte +0 -44
- package/templates/sveltekit/src/lib/components/ui/toggle/index.ts +0 -1
- package/templates/sveltekit/src/lib/components/ui/tooltip/TooltipContent.svelte +0 -22
- package/templates/sveltekit/src/lib/components/ui/tooltip/index.ts +0 -6
- package/templates/sveltekit/src/lib/config/components.ts +0 -306
- package/templates/sveltekit/src/lib/config/docs.ts +0 -356
- package/templates/sveltekit/src/lib/config/site.ts +0 -15
- package/templates/sveltekit/src/lib/types/docs.ts +0 -50
- package/templates/sveltekit/src/lib/types/nav.ts +0 -18
- package/templates/sveltekit/src/lib/utils.ts +0 -75
- package/templates/sveltekit/src/routes/+layout.svelte +0 -48
- package/templates/sveltekit/src/routes/+layout.ts +0 -4
- package/templates/sveltekit/src/routes/+page.svelte +0 -0
- package/templates/sveltekit/src/routes/+page.ts +0 -6
- package/templates/sveltekit/src/routes/authentication/+page.svelte +0 -57
- package/templates/sveltekit/src/routes/authentication/+page.ts +0 -7
- package/templates/sveltekit/src/routes/authentication/UserAuthForm.svelte +0 -61
- package/templates/sveltekit/src/routes/cards/+page.svelte +0 -26
- package/templates/sveltekit/src/routes/cards/+page.ts +0 -7
- package/templates/sveltekit/src/routes/cards/CookieSettings.svelte +0 -52
- package/templates/sveltekit/src/routes/cards/CreateAccount.svelte +0 -52
- package/templates/sveltekit/src/routes/cards/DemoContainer.svelte +0 -10
- package/templates/sveltekit/src/routes/cards/Notifications.svelte +0 -38
- package/templates/sveltekit/src/routes/cards/PaymentMethod.svelte +0 -110
- package/templates/sveltekit/src/routes/cards/ReportAnIssue.svelte +0 -71
- package/templates/sveltekit/src/routes/cards/ShareDocument.svelte +0 -91
- package/templates/sveltekit/src/routes/dashboard/+page.svelte +0 -5
- package/templates/sveltekit/src/routes/dashboard/+page.ts +0 -7
- package/templates/sveltekit/src/routes/forms/+page.svelte +0 -0
- package/templates/sveltekit/src/routes/music/+page.svelte +0 -0
- package/templates/sveltekit/src/routes/music/albums.ts +0 -61
- package/templates/sveltekit/src/routes/music/playlists.ts +0 -16
- package/templates/sveltekit/src/routes/playground/+page.svelte +0 -0
- package/templates/sveltekit/src/routes/tasks/+page.svelte +0 -0
- package/templates/sveltekit/src/styles/globals.css +0 -125
- package/templates/sveltekit/src/styles/mdsvex.css +0 -80
- package/templates/sveltekit/src-tauri/Cargo.lock +0 -3835
- package/templates/sveltekit/src-tauri/Cargo.toml +0 -39
- package/templates/sveltekit/src-tauri/build.rs +0 -3
- package/templates/sveltekit/src-tauri/icons/128x128.png +0 -0
- package/templates/sveltekit/src-tauri/icons/128x128@2x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/32x32.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square107x107Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square142x142Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square150x150Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square284x284Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square30x30Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square310x310Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square44x44Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square71x71Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/Square89x89Logo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/StoreLogo.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/sveltekit/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/templates/sveltekit/src-tauri/icons/icon.icns +0 -0
- package/templates/sveltekit/src-tauri/icons/icon.ico +0 -0
- package/templates/sveltekit/src-tauri/icons/icon.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
- package/templates/sveltekit/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
- package/templates/sveltekit/src-tauri/src/main.rs +0 -22
- package/templates/sveltekit/src-tauri/tauri.conf.json +0 -71
- package/templates/sveltekit/static/avatars/01.png +0 -0
- package/templates/sveltekit/static/avatars/02.png +0 -0
- package/templates/sveltekit/static/avatars/03.png +0 -0
- package/templates/sveltekit/static/avatars/04.png +0 -0
- package/templates/sveltekit/static/avatars/05.png +0 -0
- package/templates/sveltekit/static/favicon.ico +0 -0
- package/templates/sveltekit/svelte.config.js +0 -22
- package/templates/sveltekit/tailwind.config.js +0 -67
- package/templates/sveltekit/tsconfig.json +0 -13
- package/templates/sveltekit/vite.config.js +0 -12
- package/templates/vite/.github/workflows/release.yml +0 -108
- package/templates/vite/.vscode/extensions.json +0 -3
- package/templates/vite/README.md +0 -7
- package/templates/vite/app-icon.png +0 -0
- package/templates/vite/components.json +0 -16
- package/templates/vite/index.html +0 -16
- package/templates/vite/package.json +0 -83
- package/templates/vite/pnpm-lock.yaml +0 -5176
- package/templates/vite/postcss.config.js +0 -6
- package/templates/vite/prettier.config.cjs +0 -35
- 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/App.tsx +0 -39
- package/templates/vite/src/assets/Inter-VariableFont_slnt,wght.ttf +0 -0
- package/templates/vite/src/components/about-dialog.tsx +0 -101
- package/templates/vite/src/components/icons.tsx +0 -154
- package/templates/vite/src/components/menu-mode-toggle.tsx +0 -47
- package/templates/vite/src/components/menu.tsx +0 -212
- package/templates/vite/src/components/tailwind-indicator.tsx +0 -18
- package/templates/vite/src/components/theme-provider.tsx +0 -9
- package/templates/vite/src/components/ui/accordion.tsx +0 -58
- package/templates/vite/src/components/ui/alert-dialog.tsx +0 -143
- package/templates/vite/src/components/ui/alert.tsx +0 -59
- package/templates/vite/src/components/ui/aspect-ratio.tsx +0 -5
- package/templates/vite/src/components/ui/avatar.tsx +0 -48
- package/templates/vite/src/components/ui/badge.tsx +0 -36
- package/templates/vite/src/components/ui/button.tsx +0 -56
- package/templates/vite/src/components/ui/calendar.tsx +0 -62
- package/templates/vite/src/components/ui/card.tsx +0 -79
- package/templates/vite/src/components/ui/checkbox.tsx +0 -28
- package/templates/vite/src/components/ui/collapsible.tsx +0 -9
- package/templates/vite/src/components/ui/command.tsx +0 -153
- package/templates/vite/src/components/ui/context-menu.tsx +0 -198
- package/templates/vite/src/components/ui/dialog.tsx +0 -121
- package/templates/vite/src/components/ui/dropdown-menu.tsx +0 -198
- package/templates/vite/src/components/ui/form.tsx +0 -176
- package/templates/vite/src/components/ui/hover-card.tsx +0 -27
- package/templates/vite/src/components/ui/input.tsx +0 -25
- package/templates/vite/src/components/ui/label.tsx +0 -24
- package/templates/vite/src/components/ui/menubar.tsx +0 -234
- package/templates/vite/src/components/ui/navigation-menu.tsx +0 -128
- package/templates/vite/src/components/ui/popover.tsx +0 -29
- package/templates/vite/src/components/ui/progress.tsx +0 -26
- package/templates/vite/src/components/ui/radio-group.tsx +0 -42
- package/templates/vite/src/components/ui/scroll-area.tsx +0 -46
- package/templates/vite/src/components/ui/select.tsx +0 -119
- package/templates/vite/src/components/ui/separator.tsx +0 -29
- package/templates/vite/src/components/ui/sheet.tsx +0 -142
- package/templates/vite/src/components/ui/skeleton.tsx +0 -15
- package/templates/vite/src/components/ui/slider.tsx +0 -26
- package/templates/vite/src/components/ui/switch.tsx +0 -27
- package/templates/vite/src/components/ui/table.tsx +0 -114
- package/templates/vite/src/components/ui/tabs.tsx +0 -53
- package/templates/vite/src/components/ui/textarea.tsx +0 -24
- package/templates/vite/src/components/ui/toast.tsx +0 -127
- package/templates/vite/src/components/ui/toaster.tsx +0 -33
- package/templates/vite/src/components/ui/toggle.tsx +0 -43
- package/templates/vite/src/components/ui/tooltip.tsx +0 -28
- package/templates/vite/src/components/ui/use-toast.ts +0 -192
- package/templates/vite/src/dashboard/components/date-range-picker.tsx +0 -65
- package/templates/vite/src/dashboard/components/main-nav.tsx +0 -38
- package/templates/vite/src/dashboard/components/overview.tsx +0 -78
- package/templates/vite/src/dashboard/components/recent-sales.tsx +0 -71
- package/templates/vite/src/dashboard/components/search.tsx +0 -13
- package/templates/vite/src/dashboard/components/team-switcher.tsx +0 -213
- package/templates/vite/src/dashboard/components/user-nav.tsx +0 -62
- package/templates/vite/src/dashboard/page.tsx +0 -191
- package/templates/vite/src/lib/utils.ts +0 -19
- package/templates/vite/src/main.tsx +0 -10
- package/templates/vite/src/styles/globals.css +0 -88
- package/templates/vite/src/vite-env.d.ts +0 -1
- package/templates/vite/src-tauri/Cargo.lock +0 -3835
- package/templates/vite/src-tauri/Cargo.toml +0 -39
- package/templates/vite/src-tauri/build.rs +0 -3
- package/templates/vite/src-tauri/icons/128x128.png +0 -0
- package/templates/vite/src-tauri/icons/128x128@2x.png +0 -0
- package/templates/vite/src-tauri/icons/32x32.png +0 -0
- package/templates/vite/src-tauri/icons/Square107x107Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square142x142Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square150x150Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square284x284Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square30x30Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square310x310Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square44x44Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square71x71Logo.png +0 -0
- package/templates/vite/src-tauri/icons/Square89x89Logo.png +0 -0
- package/templates/vite/src-tauri/icons/StoreLogo.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/vite/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/templates/vite/src-tauri/icons/icon.icns +0 -0
- package/templates/vite/src-tauri/icons/icon.ico +0 -0
- package/templates/vite/src-tauri/icons/icon.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
- package/templates/vite/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
- package/templates/vite/src-tauri/src/main.rs +0 -22
- package/templates/vite/src-tauri/tauri.conf.json +0 -71
- package/templates/vite/tailwind.config.js +0 -78
- package/templates/vite/tsconfig.json +0 -26
- package/templates/vite/tsconfig.node.json +0 -9
- package/templates/vite/vite.config.ts +0 -33
- /package/{templates/.shared → assets}/app-icon.png +0 -0
package/README.md
CHANGED
|
@@ -1,97 +1,188 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
|
|
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
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
1
|
+
# create-tauri-ui
|
|
2
|
+
|
|
3
|
+
Create modern Tauri desktop apps with `shadcn/ui` in a few steps.
|
|
4
|
+
|
|
5
|
+
This package scaffolds a frontend with the upstream `shadcn` CLI, generates a native shell with `create-tauri-app`, and merges the result into a Tauri-ready project. It is designed to avoid maintaining a large local template directory.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
Primary commands:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm create tauri-ui@latest my-app
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bun create tauri-ui my-app
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Equivalent direct binary commands:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx create-tauri-ui@latest my-app
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
bunx create-tauri-ui@latest my-app
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Supported Templates
|
|
30
|
+
|
|
31
|
+
- `vite`
|
|
32
|
+
- `next`
|
|
33
|
+
- `start`
|
|
34
|
+
- `react-router`
|
|
35
|
+
- `astro`
|
|
36
|
+
|
|
37
|
+
## Batteries Included
|
|
38
|
+
|
|
39
|
+
Every generated project gets:
|
|
40
|
+
|
|
41
|
+
- a Tauri `src-tauri` native layer
|
|
42
|
+
- a frontend scaffold generated by the upstream `shadcn` CLI
|
|
43
|
+
- template adapters for `vite`, `next`, `start`, `react-router`, and `astro`
|
|
44
|
+
- Tauri config patches for desktop dev/build output
|
|
45
|
+
- centered desktop window defaults with a `1400x918` main window
|
|
46
|
+
- startup flash prevention by hiding the main window until the first page load finishes
|
|
47
|
+
- external link guarding so internal links stay in-app and external links open in the system browser
|
|
48
|
+
- a dev-only debug panel with Tauri runtime info, tracked invokes, runtime events, and log stream wiring
|
|
49
|
+
- desktop scroll-container defaults that disable overscroll and rubber-band scrolling
|
|
50
|
+
- desktop selection defaults with global `select-none`, an intrinsic selectable allowlist, and a `.ui-selectable` utility
|
|
51
|
+
- a branded `app-icon.png` source asset
|
|
52
|
+
|
|
53
|
+
Optional batteries:
|
|
54
|
+
|
|
55
|
+
- a starter dashboard based on `dashboard-01`
|
|
56
|
+
- a small Rust invoke example
|
|
57
|
+
- a GitHub release workflow
|
|
58
|
+
|
|
59
|
+
## Example Commands
|
|
60
|
+
|
|
61
|
+
Generate a Vite app with defaults:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npm create tauri-ui@latest my-app -- --template vite --yes
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Generate a Next.js app without the starter dashboard or workflow:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npm create tauri-ui@latest my-app -- --template next --yes --no-starter --no-workflow
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Generate an Astro app with a custom identifier:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
bun create tauri-ui my-app --template astro --identifier com.example.astroapp --yes
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## CLI Options
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
Usage: create-tauri-ui [target-dir] [options]
|
|
83
|
+
|
|
84
|
+
Options:
|
|
85
|
+
-t, --template <name> vite | next | start | react-router | astro
|
|
86
|
+
--identifier <value> set the Tauri app identifier
|
|
87
|
+
--preset <value> set the shadcn preset (default: b0)
|
|
88
|
+
--starter include the starter dashboard
|
|
89
|
+
--no-starter skip the starter dashboard
|
|
90
|
+
--invoke-example include the Rust invoke example
|
|
91
|
+
--no-invoke-example skip the Rust invoke example
|
|
92
|
+
--workflow include the GitHub release workflow
|
|
93
|
+
--no-workflow skip the GitHub release workflow
|
|
94
|
+
-f, --force overwrite an existing target directory
|
|
95
|
+
-y, --yes accept defaults
|
|
96
|
+
-h, --help display help
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## After Generation
|
|
100
|
+
|
|
101
|
+
In the generated project:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
cd my-app
|
|
105
|
+
bun install
|
|
106
|
+
bun run build
|
|
107
|
+
bun run tauri dev
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
To generate the Tauri icon set from the included source image:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
bunx tauri icon app-icon.png
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## How It Works
|
|
117
|
+
|
|
118
|
+
```text
|
|
119
|
+
prompts -> shadcn init -> create-tauri-app (temp) -> merge src-tauri -> apply framework patches -> add batteries
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The package keeps only a small local asset surface:
|
|
123
|
+
|
|
124
|
+
- `assets/app-icon.png`
|
|
125
|
+
- `assets/release.yml.tmpl`
|
|
126
|
+
|
|
127
|
+
It does not ship full frontend templates.
|
|
128
|
+
|
|
129
|
+
## Development
|
|
130
|
+
|
|
131
|
+
Run these from the monorepo root:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
bun run --cwd packages/create-tauri-ui check-types
|
|
135
|
+
bun run --cwd packages/create-tauri-ui build
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Run the local CLI build:
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
bun run --cwd packages/create-tauri-ui start -- --help
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## Testing
|
|
145
|
+
|
|
146
|
+
Quick validation:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
bun run --cwd packages/create-tauri-ui check-types
|
|
150
|
+
bun run --cwd packages/create-tauri-ui build
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
End-to-end smoke test from the monorepo root:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
rm -rf /tmp/ctui-vite
|
|
157
|
+
node packages/create-tauri-ui/index.js /tmp/ctui-vite --template vite --yes --no-workflow
|
|
158
|
+
cd /tmp/ctui-vite
|
|
159
|
+
bun install
|
|
160
|
+
bun run build
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Smoke test all templates:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
for template in vite next start react-router astro; do
|
|
167
|
+
dir="/tmp/create-tauri-ui-$template"
|
|
168
|
+
rm -rf "$dir"
|
|
169
|
+
node packages/create-tauri-ui/index.js "$dir" --template "$template" --yes --no-workflow
|
|
170
|
+
(
|
|
171
|
+
cd "$dir" &&
|
|
172
|
+
bun install &&
|
|
173
|
+
bun run build
|
|
174
|
+
) || exit 1
|
|
175
|
+
done
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Current Notes
|
|
179
|
+
|
|
180
|
+
- Bun is required in generated projects.
|
|
181
|
+
- Scaffolding into `.` is not supported yet.
|
|
182
|
+
- Vite has already been smoke-tested end to end.
|
|
183
|
+
- The other adapters are implemented, but they still need broader end-to-end verification coverage.
|
|
184
|
+
- `TanStack Start` is the highest-risk adapter and should be validated carefully after changes.
|
|
185
|
+
|
|
186
|
+
## License
|
|
187
|
+
|
|
188
|
+
MIT
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export const DEBUG_EVENT_NAME = "ctui:debug"
|
|
2
|
+
|
|
3
|
+
type SerializedError = {
|
|
4
|
+
name: string
|
|
5
|
+
message: string
|
|
6
|
+
stack?: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type ExternalLinkDebugEvent = {
|
|
10
|
+
id: string
|
|
11
|
+
kind: "external-link"
|
|
12
|
+
href: string
|
|
13
|
+
timestamp: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type InvokeDebugEvent = {
|
|
17
|
+
id: string
|
|
18
|
+
kind: "invoke"
|
|
19
|
+
command: string
|
|
20
|
+
args: unknown
|
|
21
|
+
durationMs: number
|
|
22
|
+
status: "success" | "error"
|
|
23
|
+
result?: unknown
|
|
24
|
+
error?: SerializedError
|
|
25
|
+
timestamp: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type RuntimeEventDebugEvent = {
|
|
29
|
+
id: string
|
|
30
|
+
kind: "runtime-event"
|
|
31
|
+
name: string
|
|
32
|
+
source: "window" | "tauri-event"
|
|
33
|
+
payload?: unknown
|
|
34
|
+
timestamp: string
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type LogDebugEvent = {
|
|
38
|
+
id: string
|
|
39
|
+
kind: "log"
|
|
40
|
+
level: "log" | "info" | "warn" | "error" | "debug"
|
|
41
|
+
message: string
|
|
42
|
+
timestamp: string
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type DebugEvent =
|
|
46
|
+
| ExternalLinkDebugEvent
|
|
47
|
+
| InvokeDebugEvent
|
|
48
|
+
| RuntimeEventDebugEvent
|
|
49
|
+
| LogDebugEvent
|
|
50
|
+
|
|
51
|
+
export function serializeError(error: unknown): SerializedError {
|
|
52
|
+
if (error instanceof Error) {
|
|
53
|
+
return {
|
|
54
|
+
name: error.name,
|
|
55
|
+
message: error.message,
|
|
56
|
+
stack: error.stack,
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
name: "Error",
|
|
62
|
+
message: typeof error === "string" ? error : JSON.stringify(error),
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function serializeDebugValue(value: unknown): unknown {
|
|
67
|
+
if (
|
|
68
|
+
value === null ||
|
|
69
|
+
value === undefined ||
|
|
70
|
+
typeof value === "boolean" ||
|
|
71
|
+
typeof value === "number"
|
|
72
|
+
) {
|
|
73
|
+
return value ?? null
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (typeof value === "string") {
|
|
77
|
+
return value.length > 500 ? `${value.slice(0, 500)}…` : value
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (value instanceof Error) {
|
|
81
|
+
return serializeError(value)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
try {
|
|
85
|
+
return JSON.parse(JSON.stringify(value))
|
|
86
|
+
} catch {
|
|
87
|
+
return String(value)
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function emitDebugEvent(detail: DebugEvent) {
|
|
92
|
+
if (typeof window === "undefined") {
|
|
93
|
+
return
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
window.dispatchEvent(new CustomEvent<DebugEvent>(DEBUG_EVENT_NAME, { detail }))
|
|
97
|
+
}
|