create-tauri-ui 0.3.2 → 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 +2 -2
- 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
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/** @type {import('prettier').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
endOfLine: "lf",
|
|
4
|
-
semi: false,
|
|
5
|
-
singleQuote: false,
|
|
6
|
-
tabWidth: 2,
|
|
7
|
-
trailingComma: "es5",
|
|
8
|
-
importOrder: [
|
|
9
|
-
"^(react/(.*)$)|^(react$)",
|
|
10
|
-
"^(next/(.*)$)|^(next$)",
|
|
11
|
-
"<THIRD_PARTY_MODULES>",
|
|
12
|
-
"",
|
|
13
|
-
"^types$",
|
|
14
|
-
"^@/types/(.*)$",
|
|
15
|
-
"^@/config/(.*)$",
|
|
16
|
-
"^@/lib/(.*)$",
|
|
17
|
-
"^@/hooks/(.*)$",
|
|
18
|
-
"^@/components/ui/(.*)$",
|
|
19
|
-
"^@/components/(.*)$",
|
|
20
|
-
"^@/styles/(.*)$",
|
|
21
|
-
"^@/app/(.*)$",
|
|
22
|
-
"",
|
|
23
|
-
"^[./]",
|
|
24
|
-
],
|
|
25
|
-
importOrderSeparation: false,
|
|
26
|
-
importOrderSortSpecifiers: true,
|
|
27
|
-
importOrderBuiltinModulesToTop: true,
|
|
28
|
-
importOrderParserPlugins: ["typescript", "jsx", "decorators-legacy"],
|
|
29
|
-
importOrderMergeDuplicateImports: true,
|
|
30
|
-
importOrderCombineTypeAndValueImports: true,
|
|
31
|
-
plugins: [
|
|
32
|
-
"@ianvs/prettier-plugin-sort-imports",
|
|
33
|
-
"prettier-plugin-tailwindcss",
|
|
34
|
-
],
|
|
35
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import * as React from "react"
|
|
4
|
-
|
|
5
|
-
import { cn } from "@/lib/utils"
|
|
6
|
-
import { Icons } from "@/components/icons"
|
|
7
|
-
import { Button } from "@/components/ui/button"
|
|
8
|
-
import { Input } from "@/components/ui/input"
|
|
9
|
-
import { Label } from "@/components/ui/label"
|
|
10
|
-
|
|
11
|
-
interface UserAuthFormProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
12
|
-
|
|
13
|
-
export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
|
|
14
|
-
const [isLoading, setIsLoading] = React.useState<boolean>(false)
|
|
15
|
-
|
|
16
|
-
async function onSubmit(event: React.SyntheticEvent) {
|
|
17
|
-
event.preventDefault()
|
|
18
|
-
setIsLoading(true)
|
|
19
|
-
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
setIsLoading(false)
|
|
22
|
-
}, 3000)
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return (
|
|
26
|
-
<div className={cn("grid gap-6", className)} {...props}>
|
|
27
|
-
<form onSubmit={onSubmit}>
|
|
28
|
-
<div className="grid gap-2">
|
|
29
|
-
<div className="grid gap-1">
|
|
30
|
-
<Label className="sr-only" htmlFor="email">
|
|
31
|
-
Email
|
|
32
|
-
</Label>
|
|
33
|
-
<Input
|
|
34
|
-
id="email"
|
|
35
|
-
placeholder="name@example.com"
|
|
36
|
-
type="email"
|
|
37
|
-
autoCapitalize="none"
|
|
38
|
-
autoComplete="email"
|
|
39
|
-
autoCorrect="off"
|
|
40
|
-
disabled={isLoading}
|
|
41
|
-
/>
|
|
42
|
-
</div>
|
|
43
|
-
<Button disabled={isLoading}>
|
|
44
|
-
{isLoading && (
|
|
45
|
-
<Icons.spinner className="mr-2 h-4 w-4 animate-spin" />
|
|
46
|
-
)}
|
|
47
|
-
Sign In with Email
|
|
48
|
-
</Button>
|
|
49
|
-
</div>
|
|
50
|
-
</form>
|
|
51
|
-
<div className="relative">
|
|
52
|
-
<div className="absolute inset-0 flex items-center">
|
|
53
|
-
<span className="w-full border-t" />
|
|
54
|
-
</div>
|
|
55
|
-
<div className="relative flex justify-center text-xs uppercase">
|
|
56
|
-
<span className="bg-background px-2 text-muted-foreground">
|
|
57
|
-
Or continue with
|
|
58
|
-
</span>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<Button variant="outline" type="button" disabled={isLoading}>
|
|
62
|
-
{isLoading ? (
|
|
63
|
-
<Icons.spinner className="mr-2 h-4 w-4 animate-spin" />
|
|
64
|
-
) : (
|
|
65
|
-
<Icons.gitHub className="mr-2 h-4 w-4" />
|
|
66
|
-
)}{" "}
|
|
67
|
-
Github
|
|
68
|
-
</Button>
|
|
69
|
-
</div>
|
|
70
|
-
)
|
|
71
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { Metadata } from "next"
|
|
2
|
-
import Image from "next/image"
|
|
3
|
-
import Link from "next/link"
|
|
4
|
-
|
|
5
|
-
import { cn } from "@/lib/utils"
|
|
6
|
-
import { buttonVariants } from "@/components/ui/button"
|
|
7
|
-
import { UserAuthForm } from "@/app/examples/authentication/components/user-auth-form"
|
|
8
|
-
|
|
9
|
-
export const metadata: Metadata = {
|
|
10
|
-
title: "Authentication",
|
|
11
|
-
description: "Authentication forms built using the components.",
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export default function AuthenticationPage() {
|
|
15
|
-
return (
|
|
16
|
-
<>
|
|
17
|
-
<div className="container relative h-[800px] flex-col items-center justify-center md:grid lg:max-w-none lg:grid-cols-2 lg:px-0">
|
|
18
|
-
<Link
|
|
19
|
-
href="/examples/authentication"
|
|
20
|
-
className={cn(
|
|
21
|
-
buttonVariants({ variant: "ghost" }),
|
|
22
|
-
"absolute right-4 top-4 md:right-8 md:top-8"
|
|
23
|
-
)}
|
|
24
|
-
>
|
|
25
|
-
Login
|
|
26
|
-
</Link>
|
|
27
|
-
<div className="relative h-full flex-col bg-muted p-10 text-white dark:border-r lg:flex">
|
|
28
|
-
<div className="absolute inset-0 bg-zinc-900" />
|
|
29
|
-
<div className="relative z-20 flex items-center text-lg font-medium">
|
|
30
|
-
<svg
|
|
31
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
32
|
-
viewBox="0 0 24 24"
|
|
33
|
-
fill="none"
|
|
34
|
-
stroke="currentColor"
|
|
35
|
-
strokeWidth="2"
|
|
36
|
-
strokeLinecap="round"
|
|
37
|
-
strokeLinejoin="round"
|
|
38
|
-
className="mr-2 h-6 w-6"
|
|
39
|
-
>
|
|
40
|
-
<path d="M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3" />
|
|
41
|
-
</svg>
|
|
42
|
-
Acme Inc
|
|
43
|
-
</div>
|
|
44
|
-
<div className="relative z-20 mt-auto">
|
|
45
|
-
<blockquote className="space-y-2">
|
|
46
|
-
<p className="text-lg">
|
|
47
|
-
“This library has saved me countless hours of work and
|
|
48
|
-
helped me deliver stunning designs to my clients faster than
|
|
49
|
-
ever before.”
|
|
50
|
-
</p>
|
|
51
|
-
<footer className="text-sm">Sofia Davis</footer>
|
|
52
|
-
</blockquote>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
<div className="lg:p-8">
|
|
56
|
-
<div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
|
57
|
-
<div className="flex flex-col space-y-2 text-center">
|
|
58
|
-
<h1 className="text-2xl font-semibold tracking-tight">
|
|
59
|
-
Create an account
|
|
60
|
-
</h1>
|
|
61
|
-
<p className="text-sm text-muted-foreground">
|
|
62
|
-
Enter your email below to create your account
|
|
63
|
-
</p>
|
|
64
|
-
</div>
|
|
65
|
-
<UserAuthForm />
|
|
66
|
-
<p className="px-8 text-center text-sm text-muted-foreground">
|
|
67
|
-
By clicking continue, you agree to our{" "}
|
|
68
|
-
<Link
|
|
69
|
-
href="/terms"
|
|
70
|
-
className="underline underline-offset-4 hover:text-primary"
|
|
71
|
-
>
|
|
72
|
-
Terms of Service
|
|
73
|
-
</Link>{" "}
|
|
74
|
-
and{" "}
|
|
75
|
-
<Link
|
|
76
|
-
href="/privacy"
|
|
77
|
-
className="underline underline-offset-4 hover:text-primary"
|
|
78
|
-
>
|
|
79
|
-
Privacy Policy
|
|
80
|
-
</Link>
|
|
81
|
-
.
|
|
82
|
-
</p>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
</>
|
|
87
|
-
)
|
|
88
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import { Button } from "@/components/ui/button"
|
|
4
|
-
import {
|
|
5
|
-
Card,
|
|
6
|
-
CardContent,
|
|
7
|
-
CardDescription,
|
|
8
|
-
CardFooter,
|
|
9
|
-
CardHeader,
|
|
10
|
-
CardTitle,
|
|
11
|
-
} from "@/components/ui/card"
|
|
12
|
-
import { Label } from "@/components/ui/label"
|
|
13
|
-
import { Switch } from "@/components/ui/switch"
|
|
14
|
-
|
|
15
|
-
export function DemoCookieSettings() {
|
|
16
|
-
return (
|
|
17
|
-
<Card>
|
|
18
|
-
<CardHeader>
|
|
19
|
-
<CardTitle>Cookie Settings</CardTitle>
|
|
20
|
-
<CardDescription>Manage your cookie settings here.</CardDescription>
|
|
21
|
-
</CardHeader>
|
|
22
|
-
<CardContent className="grid gap-6">
|
|
23
|
-
<div className="flex items-center justify-between space-x-2">
|
|
24
|
-
<Label htmlFor="necessary" className="flex flex-col space-y-1">
|
|
25
|
-
<span>Strictly Necessary</span>
|
|
26
|
-
<span className="font-normal leading-snug text-muted-foreground">
|
|
27
|
-
These cookies are essential in order to use the website and use
|
|
28
|
-
its features.
|
|
29
|
-
</span>
|
|
30
|
-
</Label>
|
|
31
|
-
<Switch id="necessary" defaultChecked />
|
|
32
|
-
</div>
|
|
33
|
-
<div className="flex items-center justify-between space-x-2">
|
|
34
|
-
<Label htmlFor="functional" className="flex flex-col space-y-1">
|
|
35
|
-
<span>Functional Cookies</span>
|
|
36
|
-
<span className="font-normal leading-snug text-muted-foreground">
|
|
37
|
-
These cookies allow the website to provide personalized
|
|
38
|
-
functionality.
|
|
39
|
-
</span>
|
|
40
|
-
</Label>
|
|
41
|
-
<Switch id="functional" />
|
|
42
|
-
</div>
|
|
43
|
-
<div className="flex items-center justify-between space-x-2">
|
|
44
|
-
<Label htmlFor="performance" className="flex flex-col space-y-1">
|
|
45
|
-
<span>Performance Cookies</span>
|
|
46
|
-
<span className="font-normal leading-snug text-muted-foreground">
|
|
47
|
-
These cookies help to improve the performance of the website.
|
|
48
|
-
</span>
|
|
49
|
-
</Label>
|
|
50
|
-
<Switch id="performance" />
|
|
51
|
-
</div>
|
|
52
|
-
</CardContent>
|
|
53
|
-
<CardFooter>
|
|
54
|
-
<Button variant="outline" className="w-full">
|
|
55
|
-
Save preferences
|
|
56
|
-
</Button>
|
|
57
|
-
</CardFooter>
|
|
58
|
-
</Card>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import { Icons } from "@/components/icons"
|
|
4
|
-
import { Button } from "@/components/ui/button"
|
|
5
|
-
import {
|
|
6
|
-
Card,
|
|
7
|
-
CardContent,
|
|
8
|
-
CardDescription,
|
|
9
|
-
CardFooter,
|
|
10
|
-
CardHeader,
|
|
11
|
-
CardTitle,
|
|
12
|
-
} from "@/components/ui/card"
|
|
13
|
-
import { Input } from "@/components/ui/input"
|
|
14
|
-
import { Label } from "@/components/ui/label"
|
|
15
|
-
|
|
16
|
-
export function DemoCreateAccount() {
|
|
17
|
-
return (
|
|
18
|
-
<Card>
|
|
19
|
-
<CardHeader className="space-y-1">
|
|
20
|
-
<CardTitle className="text-2xl">Create an account</CardTitle>
|
|
21
|
-
<CardDescription>
|
|
22
|
-
Enter your email below to create your account
|
|
23
|
-
</CardDescription>
|
|
24
|
-
</CardHeader>
|
|
25
|
-
<CardContent className="grid gap-4">
|
|
26
|
-
<div className="grid grid-cols-2 gap-6">
|
|
27
|
-
<Button variant="outline">
|
|
28
|
-
<Icons.gitHub className="mr-2 h-4 w-4" />
|
|
29
|
-
Github
|
|
30
|
-
</Button>
|
|
31
|
-
<Button variant="outline">
|
|
32
|
-
<Icons.google className="mr-2 h-4 w-4" />
|
|
33
|
-
Google
|
|
34
|
-
</Button>
|
|
35
|
-
</div>
|
|
36
|
-
<div className="relative">
|
|
37
|
-
<div className="absolute inset-0 flex items-center">
|
|
38
|
-
<span className="w-full border-t" />
|
|
39
|
-
</div>
|
|
40
|
-
<div className="relative flex justify-center text-xs uppercase">
|
|
41
|
-
<span className="bg-background px-2 text-muted-foreground">
|
|
42
|
-
Or continue with
|
|
43
|
-
</span>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<div className="grid gap-2">
|
|
47
|
-
<Label htmlFor="email">Email</Label>
|
|
48
|
-
<Input id="email" type="email" placeholder="m@example.com" />
|
|
49
|
-
</div>
|
|
50
|
-
<div className="grid gap-2">
|
|
51
|
-
<Label htmlFor="password">Password</Label>
|
|
52
|
-
<Input id="password" type="password" />
|
|
53
|
-
</div>
|
|
54
|
-
</CardContent>
|
|
55
|
-
<CardFooter>
|
|
56
|
-
<Button className="w-full">Create account</Button>
|
|
57
|
-
</CardFooter>
|
|
58
|
-
</Card>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import { Card, CardContent } from "@/components/ui/card"
|
|
4
|
-
import { Label } from "@/components/ui/label"
|
|
5
|
-
import DatePickerWithRange from "@/components/example/date-picker-with-range"
|
|
6
|
-
|
|
7
|
-
export function DemoDatePicker() {
|
|
8
|
-
return (
|
|
9
|
-
<Card>
|
|
10
|
-
<CardContent className="pt-6">
|
|
11
|
-
<div className="space-y-2">
|
|
12
|
-
<Label htmlFor="date" className="shrink-0">
|
|
13
|
-
Pick a date
|
|
14
|
-
</Label>
|
|
15
|
-
<DatePickerWithRange className="[&>button]:w-[260px]" />
|
|
16
|
-
</div>
|
|
17
|
-
</CardContent>
|
|
18
|
-
</Card>
|
|
19
|
-
)
|
|
20
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ChevronDownIcon,
|
|
5
|
-
CircleIcon,
|
|
6
|
-
PlusIcon,
|
|
7
|
-
StarIcon,
|
|
8
|
-
} from "@radix-ui/react-icons"
|
|
9
|
-
|
|
10
|
-
import { Button } from "@/components/ui/button"
|
|
11
|
-
import {
|
|
12
|
-
Card,
|
|
13
|
-
CardContent,
|
|
14
|
-
CardDescription,
|
|
15
|
-
CardHeader,
|
|
16
|
-
CardTitle,
|
|
17
|
-
} from "@/components/ui/card"
|
|
18
|
-
import {
|
|
19
|
-
DropdownMenu,
|
|
20
|
-
DropdownMenuCheckboxItem,
|
|
21
|
-
DropdownMenuContent,
|
|
22
|
-
DropdownMenuItem,
|
|
23
|
-
DropdownMenuLabel,
|
|
24
|
-
DropdownMenuSeparator,
|
|
25
|
-
DropdownMenuTrigger,
|
|
26
|
-
} from "@/components/ui/dropdown-menu"
|
|
27
|
-
import { Separator } from "@/components/ui/separator"
|
|
28
|
-
|
|
29
|
-
export function DemoGithub() {
|
|
30
|
-
return (
|
|
31
|
-
<Card>
|
|
32
|
-
<CardHeader className="grid grid-cols-[1fr_110px] items-start gap-4 space-y-0">
|
|
33
|
-
<div className="space-y-1">
|
|
34
|
-
<CardTitle>shadcn/ui</CardTitle>
|
|
35
|
-
<CardDescription>
|
|
36
|
-
Beautifully designed components built with Radix UI and Tailwind
|
|
37
|
-
CSS.
|
|
38
|
-
</CardDescription>
|
|
39
|
-
</div>
|
|
40
|
-
<div className="flex items-center space-x-1 rounded-md bg-secondary text-secondary-foreground">
|
|
41
|
-
<Button variant="secondary" className="px-3 shadow-none">
|
|
42
|
-
<StarIcon className="mr-2 h-4 w-4" />
|
|
43
|
-
Star
|
|
44
|
-
</Button>
|
|
45
|
-
<Separator orientation="vertical" className="h-[20px]" />
|
|
46
|
-
<DropdownMenu>
|
|
47
|
-
<DropdownMenuTrigger asChild>
|
|
48
|
-
<Button variant="secondary" className="px-2 shadow-none">
|
|
49
|
-
<ChevronDownIcon className="h-4 w-4 text-secondary-foreground" />
|
|
50
|
-
</Button>
|
|
51
|
-
</DropdownMenuTrigger>
|
|
52
|
-
<DropdownMenuContent
|
|
53
|
-
align="end"
|
|
54
|
-
alignOffset={-5}
|
|
55
|
-
className="w-[200px]"
|
|
56
|
-
forceMount
|
|
57
|
-
>
|
|
58
|
-
<DropdownMenuLabel>Suggested Lists</DropdownMenuLabel>
|
|
59
|
-
<DropdownMenuSeparator />
|
|
60
|
-
<DropdownMenuCheckboxItem checked>
|
|
61
|
-
Future Ideas
|
|
62
|
-
</DropdownMenuCheckboxItem>
|
|
63
|
-
<DropdownMenuCheckboxItem>My Stack</DropdownMenuCheckboxItem>
|
|
64
|
-
<DropdownMenuCheckboxItem>Inspiration</DropdownMenuCheckboxItem>
|
|
65
|
-
<DropdownMenuSeparator />
|
|
66
|
-
<DropdownMenuItem>
|
|
67
|
-
<PlusIcon className="mr-2 h-4 w-4" /> Create List
|
|
68
|
-
</DropdownMenuItem>
|
|
69
|
-
</DropdownMenuContent>
|
|
70
|
-
</DropdownMenu>
|
|
71
|
-
</div>
|
|
72
|
-
</CardHeader>
|
|
73
|
-
<CardContent>
|
|
74
|
-
<div className="flex space-x-4 text-sm text-muted-foreground">
|
|
75
|
-
<div className="flex items-center">
|
|
76
|
-
<CircleIcon className="mr-1 h-3 w-3 fill-sky-400 text-sky-400" />
|
|
77
|
-
TypeScript
|
|
78
|
-
</div>
|
|
79
|
-
<div className="flex items-center">
|
|
80
|
-
<StarIcon className="mr-1 h-3 w-3" />
|
|
81
|
-
20k
|
|
82
|
-
</div>
|
|
83
|
-
<div>Updated April 2023</div>
|
|
84
|
-
</div>
|
|
85
|
-
</CardContent>
|
|
86
|
-
</Card>
|
|
87
|
-
)
|
|
88
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import { BellIcon, EyeNoneIcon, PersonIcon } from "@radix-ui/react-icons"
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
Card,
|
|
7
|
-
CardContent,
|
|
8
|
-
CardDescription,
|
|
9
|
-
CardHeader,
|
|
10
|
-
CardTitle,
|
|
11
|
-
} from "@/components/ui/card"
|
|
12
|
-
|
|
13
|
-
export function DemoNotifications() {
|
|
14
|
-
return (
|
|
15
|
-
<Card>
|
|
16
|
-
<CardHeader className="pb-3">
|
|
17
|
-
<CardTitle>Notifications</CardTitle>
|
|
18
|
-
<CardDescription>
|
|
19
|
-
Choose what you want to be notified about.
|
|
20
|
-
</CardDescription>
|
|
21
|
-
</CardHeader>
|
|
22
|
-
<CardContent className="grid gap-1">
|
|
23
|
-
<div className="-mx-2 flex items-start space-x-4 rounded-md p-2 transition-all hover:bg-accent hover:text-accent-foreground">
|
|
24
|
-
<BellIcon className="mt-px h-5 w-5" />
|
|
25
|
-
<div className="space-y-1">
|
|
26
|
-
<p className="text-sm font-medium leading-none">Everything</p>
|
|
27
|
-
<p className="text-sm text-muted-foreground">
|
|
28
|
-
Email digest, mentions & all activity.
|
|
29
|
-
</p>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
<div className="-mx-2 flex items-start space-x-4 rounded-md bg-accent p-2 text-accent-foreground transition-all">
|
|
33
|
-
<PersonIcon className="mt-px h-5 w-5" />
|
|
34
|
-
<div className="space-y-1">
|
|
35
|
-
<p className="text-sm font-medium leading-none">Available</p>
|
|
36
|
-
<p className="text-sm text-muted-foreground">
|
|
37
|
-
Only mentions and comments.
|
|
38
|
-
</p>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
<div className="-mx-2 flex items-start space-x-4 rounded-md p-2 transition-all hover:bg-accent hover:text-accent-foreground">
|
|
42
|
-
<EyeNoneIcon className="mt-px h-5 w-5" />
|
|
43
|
-
<div className="space-y-1">
|
|
44
|
-
<p className="text-sm font-medium leading-none">Ignoring</p>
|
|
45
|
-
<p className="text-sm text-muted-foreground">
|
|
46
|
-
Turn off all notifications.
|
|
47
|
-
</p>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</CardContent>
|
|
51
|
-
</Card>
|
|
52
|
-
)
|
|
53
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import { Button } from "@/components/ui/button"
|
|
4
|
-
import {
|
|
5
|
-
Card,
|
|
6
|
-
CardContent,
|
|
7
|
-
CardDescription,
|
|
8
|
-
CardFooter,
|
|
9
|
-
CardHeader,
|
|
10
|
-
CardTitle,
|
|
11
|
-
} from "@/components/ui/card"
|
|
12
|
-
import { Input } from "@/components/ui/input"
|
|
13
|
-
import { Label } from "@/components/ui/label"
|
|
14
|
-
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"
|
|
15
|
-
import {
|
|
16
|
-
Select,
|
|
17
|
-
SelectContent,
|
|
18
|
-
SelectItem,
|
|
19
|
-
SelectTrigger,
|
|
20
|
-
SelectValue,
|
|
21
|
-
} from "@/components/ui/select"
|
|
22
|
-
import { Icons } from "@/components/icons"
|
|
23
|
-
|
|
24
|
-
export function DemoPaymentMethod() {
|
|
25
|
-
return (
|
|
26
|
-
<Card>
|
|
27
|
-
<CardHeader>
|
|
28
|
-
<CardTitle>Payment Method</CardTitle>
|
|
29
|
-
<CardDescription>
|
|
30
|
-
Add a new payment method to your account.
|
|
31
|
-
</CardDescription>
|
|
32
|
-
</CardHeader>
|
|
33
|
-
<CardContent className="grid gap-6">
|
|
34
|
-
<RadioGroup defaultValue="card" className="grid grid-cols-3 gap-4">
|
|
35
|
-
<Label
|
|
36
|
-
htmlFor="card"
|
|
37
|
-
className="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-popover p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
|
|
38
|
-
>
|
|
39
|
-
<RadioGroupItem value="card" id="card" className="sr-only" />
|
|
40
|
-
<svg
|
|
41
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
42
|
-
viewBox="0 0 24 24"
|
|
43
|
-
fill="none"
|
|
44
|
-
stroke="currentColor"
|
|
45
|
-
strokeLinecap="round"
|
|
46
|
-
strokeLinejoin="round"
|
|
47
|
-
strokeWidth="2"
|
|
48
|
-
className="mb-3 h-6 w-6"
|
|
49
|
-
>
|
|
50
|
-
<rect width="20" height="14" x="2" y="5" rx="2" />
|
|
51
|
-
<path d="M2 10h20" />
|
|
52
|
-
</svg>
|
|
53
|
-
Card
|
|
54
|
-
</Label>
|
|
55
|
-
<Label
|
|
56
|
-
htmlFor="paypal"
|
|
57
|
-
className="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-popover p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
|
|
58
|
-
>
|
|
59
|
-
<RadioGroupItem value="paypal" id="paypal" className="sr-only" />
|
|
60
|
-
<Icons.paypal className="mb-3 h-6 w-6" />
|
|
61
|
-
Paypal
|
|
62
|
-
</Label>
|
|
63
|
-
<Label
|
|
64
|
-
htmlFor="apple"
|
|
65
|
-
className="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-popover p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary"
|
|
66
|
-
>
|
|
67
|
-
<RadioGroupItem value="apple" id="apple" className="sr-only" />
|
|
68
|
-
<Icons.apple className="mb-3 h-6 w-6" />
|
|
69
|
-
Apple
|
|
70
|
-
</Label>
|
|
71
|
-
</RadioGroup>
|
|
72
|
-
<div className="grid gap-2">
|
|
73
|
-
<Label htmlFor="name">Name</Label>
|
|
74
|
-
<Input id="name" placeholder="First Last" />
|
|
75
|
-
</div>
|
|
76
|
-
<div className="grid gap-2">
|
|
77
|
-
<Label htmlFor="number">Card number</Label>
|
|
78
|
-
<Input id="number" placeholder="" />
|
|
79
|
-
</div>
|
|
80
|
-
<div className="grid grid-cols-3 gap-4">
|
|
81
|
-
<div className="grid gap-2">
|
|
82
|
-
<Label htmlFor="month">Expires</Label>
|
|
83
|
-
<Select>
|
|
84
|
-
<SelectTrigger id="month">
|
|
85
|
-
<SelectValue placeholder="Month" />
|
|
86
|
-
</SelectTrigger>
|
|
87
|
-
<SelectContent>
|
|
88
|
-
<SelectItem value="1">January</SelectItem>
|
|
89
|
-
<SelectItem value="2">February</SelectItem>
|
|
90
|
-
<SelectItem value="3">March</SelectItem>
|
|
91
|
-
<SelectItem value="4">April</SelectItem>
|
|
92
|
-
<SelectItem value="5">May</SelectItem>
|
|
93
|
-
<SelectItem value="6">June</SelectItem>
|
|
94
|
-
<SelectItem value="7">July</SelectItem>
|
|
95
|
-
<SelectItem value="8">August</SelectItem>
|
|
96
|
-
<SelectItem value="9">September</SelectItem>
|
|
97
|
-
<SelectItem value="10">October</SelectItem>
|
|
98
|
-
<SelectItem value="11">November</SelectItem>
|
|
99
|
-
<SelectItem value="12">December</SelectItem>
|
|
100
|
-
</SelectContent>
|
|
101
|
-
</Select>
|
|
102
|
-
</div>
|
|
103
|
-
<div className="grid gap-2">
|
|
104
|
-
<Label htmlFor="year">Year</Label>
|
|
105
|
-
<Select>
|
|
106
|
-
<SelectTrigger id="year">
|
|
107
|
-
<SelectValue placeholder="Year" />
|
|
108
|
-
</SelectTrigger>
|
|
109
|
-
<SelectContent>
|
|
110
|
-
{Array.from({ length: 10 }, (_, i) => (
|
|
111
|
-
<SelectItem key={i} value={`${new Date().getFullYear() + i}`}>
|
|
112
|
-
{new Date().getFullYear() + i}
|
|
113
|
-
</SelectItem>
|
|
114
|
-
))}
|
|
115
|
-
</SelectContent>
|
|
116
|
-
</Select>
|
|
117
|
-
</div>
|
|
118
|
-
<div className="grid gap-2">
|
|
119
|
-
<Label htmlFor="cvc">CVC</Label>
|
|
120
|
-
<Input id="cvc" placeholder="CVC" />
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</CardContent>
|
|
124
|
-
<CardFooter>
|
|
125
|
-
<Button className="w-full">Continue</Button>
|
|
126
|
-
</CardFooter>
|
|
127
|
-
</Card>
|
|
128
|
-
)
|
|
129
|
-
}
|