vibefast-cli 1.3.0 → 1.3.1
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 +30 -95
- package/dist/__tests__/recipes.test.js +8 -9
- package/dist/__tests__/recipes.test.js.map +1 -1
- package/dist/commands/add.d.ts.map +1 -1
- package/dist/commands/add.js +271 -125
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/checklist.d.ts.map +1 -1
- package/dist/commands/checklist.js +85 -44
- package/dist/commands/checklist.js.map +1 -1
- package/dist/commands/health.d.ts.map +1 -1
- package/dist/commands/health.js +13 -4
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +118 -26
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/migrate.d.ts +3 -0
- package/dist/commands/migrate.d.ts.map +1 -0
- package/dist/commands/migrate.js +202 -0
- package/dist/commands/migrate.js.map +1 -0
- package/dist/commands/remove.d.ts.map +1 -1
- package/dist/commands/remove.js +61 -3
- package/dist/commands/remove.js.map +1 -1
- package/dist/core/auth.d.ts.map +1 -1
- package/dist/core/auth.js +20 -18
- package/dist/core/auth.js.map +1 -1
- package/dist/core/codemod.d.ts +33 -0
- package/dist/core/codemod.d.ts.map +1 -1
- package/dist/core/codemod.js +116 -0
- package/dist/core/codemod.js.map +1 -1
- package/dist/core/detect.d.ts.map +1 -1
- package/dist/core/detect.js +24 -7
- package/dist/core/detect.js.map +1 -1
- package/dist/core/journal.d.ts +1 -0
- package/dist/core/journal.d.ts.map +1 -1
- package/dist/core/journal.js.map +1 -1
- package/dist/core/recipes.d.ts.map +1 -1
- package/dist/core/recipes.js +25 -7
- package/dist/core/recipes.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/docs/architecture.md +50 -0
- package/docs/commands.md +78 -0
- package/docs/contributing.md +27 -0
- package/docs/quickstart.md +50 -0
- package/docs/recipes.md +57 -0
- package/docs/troubleshooting.md +31 -0
- package/package.json +2 -2
- package/recipes/0/apps/native/src/components/advanced-ui/timeline/demo.tsx +445 -0
- package/recipes/0/apps/native/src/components/advanced-ui/timeline/timeline-view.tsx +355 -0
- package/recipes/0/apps/native/src/components/advanced-ui/timeline/types.ts +31 -0
- package/recipes/0/recipe.json +18 -0
- package/recipes/animated-chip/apps/native/src/components/advanced-ui/chip/demo.tsx +2 -1
- package/recipes/animated-chip/recipe.json +5 -2
- package/recipes/animated-chip-native@latest.zip +0 -0
- package/recipes/animated-chip@latest.zip +0 -0
- package/recipes/animated-switch/apps/native/src/components/advanced-ui/switch/demo.tsx +1 -1
- package/recipes/animated-switch/recipe.json +5 -2
- package/recipes/animated-switch-native@latest.zip +0 -0
- package/recipes/animated-switch@latest.zip +0 -0
- package/recipes/audio-recorder/apps/native/src/features/audio-recorder/components/audio-recorder.tsx +2 -1
- package/recipes/audio-recorder/apps/native/src/features/audio-recorder/demo/with-recording-list-demo.tsx +2 -2
- package/recipes/audio-recorder/recipe.json +7 -2
- package/recipes/audio-recorder-native@latest.zip +0 -0
- package/recipes/audio-recorder-supabase/apps/native/src/features/audio-recorder/components/audio-recorder.tsx +2 -1
- package/recipes/audio-recorder-supabase/apps/native/src/features/audio-recorder/demo/with-recording-list-demo.tsx +2 -1
- package/recipes/audio-recorder-supabase/recipe.json +12 -33
- package/recipes/audio-recorder-supabase-native@latest.zip +0 -0
- package/recipes/audio-recorder-supabase@latest.zip +0 -0
- package/recipes/audio-recorder@latest.zip +0 -0
- package/recipes/charts/apps/native/src/app/charts/index.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/bar-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/candlestick-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/column-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/doughnut-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/line-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/radar-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/stacked-bar-chart.tsx +3 -1
- package/recipes/charts/recipe.json +13 -4
- package/recipes/charts-native@latest.zip +0 -0
- package/recipes/charts@latest.zip +0 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-markdown.tsx +86 -86
- package/recipes/chatbot/apps/native/src/features/chatbot/components/markdown/code-block.tsx +4 -4
- package/recipes/chatbot/recipe.json +3 -40
- package/recipes/chatbot-native@latest.zip +0 -0
- package/recipes/chatbot-supabase/apps/native/src/features/chatbot/components/chat-markdown.tsx +4 -1
- package/recipes/chatbot-supabase/apps/native/src/features/chatbot/components/markdown/code-block.tsx +86 -53
- package/recipes/chatbot-supabase/recipe.json +3 -69
- package/recipes/chatbot-supabase-native@latest.zip +0 -0
- package/recipes/chatbot-supabase@latest.zip +0 -0
- package/recipes/chatbot@latest.zip +0 -0
- package/recipes/glowing-button/recipe.json +6 -2
- package/recipes/glowing-button-native@latest.zip +0 -0
- package/recipes/glowing-button@latest.zip +0 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/_layout.tsx +5 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/analysis-options.tsx +50 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/camera.tsx +2 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/index.tsx +50 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/loading.tsx +50 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/results.tsx +2 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/trait-details.tsx +3 -0
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/analysis-options-screen.tsx +2 -2
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/camera.tsx +72 -65
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/image-capture-screen.tsx +65 -47
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/loading-screen.tsx +43 -2
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/loading.tsx +34 -1
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/hooks/use-image-analysis.ts +83 -2
- package/recipes/image-analysis/recipe.json +11 -19
- package/recipes/image-analysis-native@latest.zip +0 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/_layout.tsx +5 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/analysis-options.tsx +50 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/camera.tsx +2 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/index.tsx +50 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/loading.tsx +50 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/results.tsx +2 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/trait-details.tsx +3 -0
- package/recipes/image-analysis-supabase/recipe.json +10 -70
- package/recipes/image-analysis-supabase-native@latest.zip +0 -0
- package/recipes/image-analysis-supabase@latest.zip +0 -0
- package/recipes/image-analysis@latest.zip +0 -0
- package/recipes/image-analyzer/apps/native/src/app/(root)/(protected)/image-analyzer/index.tsx +2 -0
- package/recipes/image-generator/apps/native/src/app/image-generator/gallery.tsx +3 -0
- package/recipes/image-generator/apps/native/src/app/image-generator/index.tsx +3 -0
- package/recipes/image-generator/recipe.json +8 -18
- package/recipes/image-generator-native@latest.zip +0 -0
- package/recipes/image-generator-supabase/recipe.json +6 -62
- package/recipes/image-generator-supabase-native@latest.zip +0 -0
- package/recipes/image-generator-supabase@latest.zip +0 -0
- package/recipes/image-generator@latest.zip +0 -0
- package/recipes/ios-widget/recipe.json +18 -119
- package/recipes/ios-widget-native@latest.zip +0 -0
- package/recipes/ios-widget@latest.zip +0 -0
- package/recipes/number-stepper/apps/native/src/components/advanced-ui/stepper/demo.tsx +1 -1
- package/recipes/number-stepper/recipe.json +5 -2
- package/recipes/number-stepper-native@latest.zip +0 -0
- package/recipes/number-stepper@latest.zip +0 -0
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/interactive-onboarding.tsx +11 -18
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/ai-tone-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/currency-step.tsx +9 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-ai-step.tsx +8 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-chatbot-step.tsx +6 -5
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-manual-step.tsx +4 -3
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-scan-step.tsx +6 -5
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/main-reason-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/notification-step.tsx +7 -6
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/overspend-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/personalizing-step.tsx +8 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/rating-step.tsx +6 -5
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/reminder-step.tsx +5 -6
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/safety-step.tsx +5 -4
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/struggle-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/welcome-step.tsx +7 -6
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/ui/onboarding-header.tsx +4 -3
- package/recipes/onboarding/recipe.json +9 -6
- package/recipes/onboarding-native@latest.zip +0 -0
- package/recipes/onboarding@latest.zip +0 -0
- package/recipes/payments/apps/native/src/app/paywall/index.tsx +74 -0
- package/recipes/payments/apps/native/src/app/paywall/local.tsx +25 -0
- package/recipes/payments/apps/native/src/app/paywall/remote.tsx +23 -0
- package/recipes/payments/packages/backend/convex/payments.ts +21 -3
- package/recipes/payments/recipe.json +14 -34
- package/recipes/payments-native@latest.zip +0 -0
- package/recipes/payments-supabase/apps/native/src/app/paywall/index.tsx +74 -0
- package/recipes/payments-supabase/apps/native/src/app/paywall/local.tsx +25 -0
- package/recipes/payments-supabase/apps/native/src/app/paywall/remote.tsx +23 -0
- package/recipes/payments-supabase/recipe.json +16 -44
- package/recipes/payments-supabase-native@latest.zip +0 -0
- package/recipes/payments-supabase@latest.zip +0 -0
- package/recipes/payments@latest.zip +0 -0
- package/recipes/posthog/apps/native/src/components/analytics/navigation-tracker.tsx +14 -0
- package/recipes/posthog/apps/native/src/lib/hooks/use-navigation-analytics.ts +44 -0
- package/recipes/posthog/apps/native/src/providers/posthog-provider.tsx +51 -0
- package/recipes/posthog/recipe.json +60 -0
- package/recipes/posthog-native@latest.zip +0 -0
- package/recipes/progress-circle/apps/native/src/components/advanced-ui/progress-bars/progress-circle-page.tsx +1 -1
- package/recipes/progress-circle/recipe.json +5 -2
- package/recipes/progress-circle-native@latest.zip +0 -0
- package/recipes/progress-circle@latest.zip +0 -0
- package/recipes/quiz/apps/native/src/app/quiz/index.tsx +47 -0
- package/recipes/quiz/recipe.json +9 -6
- package/recipes/quiz-native@latest.zip +0 -0
- package/recipes/quiz@latest.zip +0 -0
- package/recipes/screen-kits/apps/native/src/app/screen-kits/_layout.tsx +12 -0
- package/recipes/screen-kits/apps/native/src/app/screen-kits/index.tsx +114 -0
- package/recipes/screen-kits/apps/native/src/features/screen-kits/index.ts +1 -0
- package/recipes/screen-kits/apps/native/src/features/screen-kits/types.ts +28 -0
- package/recipes/screen-kits/recipe.json +26 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/_layout.tsx +12 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/home.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/index.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson-complete.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson-fail.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/skill-tree.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/duo-button.tsx +174 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/skill-button.tsx +186 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/xp-header.tsx +115 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/constants.ts +89 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/index.ts +3 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/home-screen.tsx +225 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-complete-screen.tsx +485 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-fail-screen.tsx +105 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-screen.tsx +384 -0
- package/recipes/screen-kits-duolingo/recipe.json +58 -0
- package/recipes/screen-kits-duolingo-native@latest.zip +0 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/_layout.tsx +45 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/asset-detail.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/notifications.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/receive.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/send.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/swap.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/wallet.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/ActionButtons.tsx +78 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/AssetRow.tsx +94 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/BalanceCard.tsx +118 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/constants.ts +85 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/asset-detail.tsx +378 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/notifications.tsx +210 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/receive-modal.tsx +317 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/send-modal.tsx +420 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/swap-modal.tsx +363 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/wallet-dashboard.tsx +281 -0
- package/recipes/screen-kits-finance/recipe.json +46 -0
- package/recipes/screen-kits-finance-native@latest.zip +0 -0
- package/recipes/screen-kits-fitness/apps/native/assets/sounds/timer-beep.wav +0 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/_layout.tsx +10 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/index.tsx +6 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/timer.tsx +3 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/workout.tsx +3 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/timer-components.tsx +500 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/timer-settings-modal.tsx +352 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/workout-card.tsx +105 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/constants.ts +189 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/hooks/use-timer.ts +307 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/index.ts +1 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/screens/timer-screen.tsx +278 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/screens/workout-dashboard.tsx +350 -0
- package/recipes/screen-kits-fitness/recipe.json +63 -0
- package/recipes/screen-kits-fitness-native@latest.zip +0 -0
- package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/habits.tsx +1 -0
- package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/kanban.tsx +1 -0
- package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/routes.ts +4 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/AddTaskModal.tsx +246 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/DraggableTaskCard.tsx +92 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/KanbanColumn.tsx +238 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/TaskCard.tsx +144 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/add-habit-modal.tsx +271 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/constants.ts +295 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/kanban-utils.ts +62 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/screens/habit-tracker.tsx +1160 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/screens/kanban-board.tsx +432 -0
- package/recipes/screen-kits-habits/recipe.json +52 -0
- package/recipes/screen-kits-habits-native@latest.zip +0 -0
- package/recipes/screen-kits-native@latest.zip +0 -0
- package/recipes/sentry/apps/native/src/providers/sentry-provider.tsx +64 -0
- package/recipes/sentry/recipe.json +39 -0
- package/recipes/sentry-native@latest.zip +0 -0
- package/recipes/swipe-slider/apps/native/src/components/advanced-ui/sliders/swipe-slider-page.tsx +1 -1
- package/recipes/swipe-slider/recipe.json +5 -2
- package/recipes/swipe-slider-native@latest.zip +0 -0
- package/recipes/swipe-slider@latest.zip +0 -0
- package/recipes/timeline/apps/native/src/components/advanced-ui/timeline/demo.tsx +2 -1
- package/recipes/timeline/recipe.json +5 -2
- package/recipes/timeline-native@latest.zip +0 -0
- package/recipes/timeline@latest.zip +0 -0
- package/recipes/tracker-app/apps/native/src/app/tracker-app/index.tsx +1 -0
- package/recipes/tracker-app/recipe.json +10 -7
- package/recipes/tracker-app-native@latest.zip +0 -0
- package/recipes/tracker-app@latest.zip +0 -0
- package/recipes/upload-all.sh +8 -31
- package/recipes/voice-bot/apps/native/src/app/voice-bot/index.tsx +56 -0
- package/recipes/voice-bot/recipe.json +31 -7
- package/recipes/voice-bot-native@latest.zip +0 -0
- package/recipes/voice-bot@latest.zip +0 -0
- package/recipes/wake-word/apps/native/src/app/{(root)/(protected)/test-wake-word.tsx → test-wake-word.tsx} +43 -4
- package/recipes/wake-word/recipe.json +16 -26
- package/recipes/wake-word-native@latest.zip +0 -0
- package/recipes/wake-word@latest.zip +0 -0
- package/scripts/create-advanced-ui-recipes.sh +46 -19
- package/scripts/create-recipes.mjs +471 -117
- package/scripts/package-recipes.mjs +76 -0
- package/scripts/publish-all.sh +6 -2
- package/CHANGELOG.md +0 -198
- package/docs/archive/AUTO-DETECT-DEPS.md +0 -607
- package/docs/archive/FINAL-PACKAGE-STRATEGY.md +0 -583
- package/docs/archive/FINAL-SIMPLE-PLAN.md +0 -487
- package/docs/archive/FINAL-STATUS.md +0 -144
- package/docs/archive/FLOW-DIAGRAM.md +0 -1629
- package/docs/archive/GOTCHAS-AND-RISKS.md +0 -801
- package/docs/archive/IMPLEMENTATION-PLAN.md +0 -1360
- package/docs/archive/PLAN.md +0 -453
- package/docs/archive/PRODUCTION-READINESS.md +0 -684
- package/docs/archive/PRODUCTION-TEST-RESULTS.md +0 -465
- package/docs/archive/SIMPLIFIED-PLAN.md +0 -578
- package/docs/archive/STATUS.md +0 -199
- package/docs/archive/SUCCESS.md +0 -259
- package/docs/archive/TEST-SUMMARY.md +0 -261
- package/docs/archive/TESTING-CHECKLIST.md +0 -450
- package/docs/archive/USER-MODIFICATIONS.md +0 -448
- package/docs/decisions.md +0 -55
- package/docs/manual-testing.md +0 -91
- package/docs/next-steps.md +0 -12
- package/recipes/README.md +0 -156
- package/recipes/audio-recorder-supabase/packages/backend/src/services/recordings.ts +0 -369
- package/recipes/chatbot/apps/native/src/api-client/chatbot.ts +0 -83
- package/recipes/chatbot/packages/backend/convex/agents.ts +0 -115
- package/recipes/chatbot/packages/backend/convex/tools/index.ts +0 -18
- package/recipes/chatbot/packages/backend/convex/tools/knowledgeRetrieval.ts +0 -97
- package/recipes/chatbot/packages/backend/convex/tools/tavilySearch.ts +0 -83
- package/recipes/chatbot/packages/backend/convex/tools/userProfile.ts +0 -72
- package/recipes/chatbot-supabase/apps/native/src/api-client/supabase/chatbot.ts +0 -515
- package/recipes/chatbot-supabase/packages/backend/src/services/conversations.ts +0 -243
- package/recipes/chatbot-supabase/packages/backend/src/services/messages.ts +0 -327
- package/recipes/image-analysis/apps/native/src/api-client/image-analyzer.ts +0 -62
- package/recipes/image-analysis-supabase/packages/backend/src/services/image-analyses.ts +0 -132
- package/recipes/image-generator/apps/native/src/api-client/image-generator.ts +0 -34
- package/recipes/payments/apps/native/src/api-client/payments.ts +0 -44
- package/recipes/payments-supabase/packages/backend/src/services/payments.ts +0 -201
- package/recipes/posthog.json +0 -47
- package/recipes/revenuecat.json +0 -43
- package/recipes/sentry.json +0 -47
- package/recipes/wake-word/apps/native/assets/vosk-model/README.md +0 -103
- package/recipes/wake-word/apps/native/scripts/download-vosk-model.mjs +0 -127
- /package/recipes/{audio-recorder/apps/native/src/app/(root)/(protected) → audio-recorder-supabase/apps/native/src/app}/audio-recorder/index.tsx +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/AppIntent.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-60x60@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-60x60@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-76x76@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-76x76@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-83.5x83.5@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/CalorieTrackerWidget.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/HabitTrackerWidget.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Info.plist +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/WidgetLiveActivity.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/expo-target.config.js +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/generated.entitlements +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/index.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/widgets.swift +0 -0
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import { Ionicons } from '@expo/vector-icons';
|
|
2
|
+
import React, { useEffect, useMemo } from 'react';
|
|
3
|
+
import {
|
|
4
|
+
Dimensions,
|
|
5
|
+
StyleSheet,
|
|
6
|
+
TouchableOpacity,
|
|
7
|
+
View,
|
|
8
|
+
type ViewStyle,
|
|
9
|
+
} from 'react-native';
|
|
10
|
+
import Animated, {
|
|
11
|
+
Easing,
|
|
12
|
+
FadeIn,
|
|
13
|
+
FadeInDown,
|
|
14
|
+
FadeInUp,
|
|
15
|
+
FadeOut,
|
|
16
|
+
useAnimatedStyle,
|
|
17
|
+
useSharedValue,
|
|
18
|
+
withDelay,
|
|
19
|
+
withTiming,
|
|
20
|
+
ZoomIn,
|
|
21
|
+
} from 'react-native-reanimated';
|
|
22
|
+
import Svg, { Circle } from 'react-native-svg';
|
|
23
|
+
|
|
24
|
+
import { Text } from '@/components/ui';
|
|
25
|
+
import {
|
|
26
|
+
FITNESS_COLORS,
|
|
27
|
+
TIMER_PRESETS,
|
|
28
|
+
type Exercise,
|
|
29
|
+
type TimerMode,
|
|
30
|
+
} from '../constants';
|
|
31
|
+
|
|
32
|
+
const { width } = Dimensions.get('window');
|
|
33
|
+
const AnimatedCircle = Animated.createAnimatedComponent(Circle);
|
|
34
|
+
|
|
35
|
+
// Confetti particle for completion celebration
|
|
36
|
+
export function ConfettiParticle({
|
|
37
|
+
x,
|
|
38
|
+
color,
|
|
39
|
+
delay: particleDelay,
|
|
40
|
+
}: {
|
|
41
|
+
x: number;
|
|
42
|
+
color: string;
|
|
43
|
+
delay: number;
|
|
44
|
+
}) {
|
|
45
|
+
const translateY = useSharedValue(0);
|
|
46
|
+
const translateX = useSharedValue(0);
|
|
47
|
+
const rotate = useSharedValue(0);
|
|
48
|
+
const opacity = useSharedValue(1);
|
|
49
|
+
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
translateY.value = withDelay(
|
|
52
|
+
particleDelay,
|
|
53
|
+
withTiming(-150, { duration: 1200, easing: Easing.out(Easing.cubic) }),
|
|
54
|
+
);
|
|
55
|
+
translateX.value = withDelay(
|
|
56
|
+
particleDelay,
|
|
57
|
+
withTiming((Math.random() - 0.5) * 200, { duration: 1200 }),
|
|
58
|
+
);
|
|
59
|
+
rotate.value = withDelay(
|
|
60
|
+
particleDelay,
|
|
61
|
+
withTiming(360 * (Math.random() > 0.5 ? 1 : -1) * 2, { duration: 1200 }),
|
|
62
|
+
);
|
|
63
|
+
opacity.value = withDelay(
|
|
64
|
+
particleDelay + 600,
|
|
65
|
+
withTiming(0, { duration: 600 }),
|
|
66
|
+
);
|
|
67
|
+
}, [particleDelay, opacity, rotate, translateX, translateY]);
|
|
68
|
+
|
|
69
|
+
const animatedStyle = useAnimatedStyle(() => {
|
|
70
|
+
'worklet';
|
|
71
|
+
const tX = translateX.value + x;
|
|
72
|
+
const tY = translateY.value;
|
|
73
|
+
const rot = `${rotate.value}deg`;
|
|
74
|
+
return {
|
|
75
|
+
transform: [
|
|
76
|
+
{ translateX: tX },
|
|
77
|
+
{ translateY: tY },
|
|
78
|
+
{ rotate: rot },
|
|
79
|
+
] as ViewStyle['transform'],
|
|
80
|
+
opacity: opacity.value,
|
|
81
|
+
};
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<Animated.View
|
|
86
|
+
style={[
|
|
87
|
+
styles.confettiParticle,
|
|
88
|
+
{ backgroundColor: color },
|
|
89
|
+
animatedStyle as ViewStyle,
|
|
90
|
+
]}
|
|
91
|
+
/>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Completion celebration overlay
|
|
96
|
+
export function CompletionCelebration({
|
|
97
|
+
onDismiss,
|
|
98
|
+
}: {
|
|
99
|
+
onDismiss: () => void;
|
|
100
|
+
}) {
|
|
101
|
+
const confettiColors = [
|
|
102
|
+
FITNESS_COLORS.primary,
|
|
103
|
+
FITNESS_COLORS.ring1,
|
|
104
|
+
FITNESS_COLORS.ring2,
|
|
105
|
+
'#FFD700',
|
|
106
|
+
'#FF6B6B',
|
|
107
|
+
'#4ECDC4',
|
|
108
|
+
];
|
|
109
|
+
|
|
110
|
+
const particles = useMemo(
|
|
111
|
+
() =>
|
|
112
|
+
Array.from({ length: 30 }, (_, i) => ({
|
|
113
|
+
id: i,
|
|
114
|
+
x: (Math.random() - 0.5) * width,
|
|
115
|
+
color: confettiColors[i % confettiColors.length],
|
|
116
|
+
delay: Math.random() * 300,
|
|
117
|
+
})),
|
|
118
|
+
[],
|
|
119
|
+
);
|
|
120
|
+
|
|
121
|
+
return (
|
|
122
|
+
<Animated.View
|
|
123
|
+
entering={FadeIn.duration(300)}
|
|
124
|
+
exiting={FadeOut.duration(300)}
|
|
125
|
+
style={styles.celebrationOverlay}
|
|
126
|
+
>
|
|
127
|
+
<View style={styles.confettiContainer}>
|
|
128
|
+
{particles.map((p) => (
|
|
129
|
+
<ConfettiParticle
|
|
130
|
+
key={p.id}
|
|
131
|
+
x={p.x}
|
|
132
|
+
color={p.color}
|
|
133
|
+
delay={p.delay}
|
|
134
|
+
/>
|
|
135
|
+
))}
|
|
136
|
+
</View>
|
|
137
|
+
|
|
138
|
+
<Animated.View entering={ZoomIn.springify().delay(200)}>
|
|
139
|
+
<View style={styles.trophyContainer}>
|
|
140
|
+
<Ionicons name="trophy" size={80} color="#FFD700" />
|
|
141
|
+
</View>
|
|
142
|
+
<Text style={styles.celebrationTitle}>Workout Complete!</Text>
|
|
143
|
+
<Text style={styles.celebrationSubtitle}>
|
|
144
|
+
Great job pushing through!
|
|
145
|
+
</Text>
|
|
146
|
+
</Animated.View>
|
|
147
|
+
|
|
148
|
+
<Animated.View entering={FadeInUp.delay(600)}>
|
|
149
|
+
<TouchableOpacity style={styles.doneButton} onPress={onDismiss}>
|
|
150
|
+
<Text style={styles.doneButtonText}>Done</Text>
|
|
151
|
+
</TouchableOpacity>
|
|
152
|
+
</Animated.View>
|
|
153
|
+
</Animated.View>
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Exercise queue preview
|
|
158
|
+
export function ExerciseQueue({
|
|
159
|
+
exercises,
|
|
160
|
+
currentIndex,
|
|
161
|
+
}: {
|
|
162
|
+
exercises: Exercise[];
|
|
163
|
+
currentIndex: number;
|
|
164
|
+
}) {
|
|
165
|
+
const upcomingExercises = exercises.slice(currentIndex + 1, currentIndex + 3);
|
|
166
|
+
|
|
167
|
+
if (upcomingExercises.length === 0) return null;
|
|
168
|
+
|
|
169
|
+
return (
|
|
170
|
+
<Animated.View
|
|
171
|
+
entering={FadeInDown.delay(300)}
|
|
172
|
+
style={styles.queueContainer}
|
|
173
|
+
>
|
|
174
|
+
<Text style={styles.queueTitle}>Up Next</Text>
|
|
175
|
+
{upcomingExercises.map((exercise, index) => (
|
|
176
|
+
<Animated.View
|
|
177
|
+
key={exercise.id}
|
|
178
|
+
entering={FadeInDown.delay(400 + index * 100)}
|
|
179
|
+
style={styles.queueItem}
|
|
180
|
+
>
|
|
181
|
+
<View style={styles.queueIcon}>
|
|
182
|
+
<Ionicons
|
|
183
|
+
name={exercise.icon}
|
|
184
|
+
size={16}
|
|
185
|
+
color={FITNESS_COLORS.textMuted}
|
|
186
|
+
/>
|
|
187
|
+
</View>
|
|
188
|
+
<Text style={styles.queueName}>{exercise.name}</Text>
|
|
189
|
+
<Text style={styles.queueDuration}>{exercise.duration}s</Text>
|
|
190
|
+
</Animated.View>
|
|
191
|
+
))}
|
|
192
|
+
</Animated.View>
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// Mode selector pill
|
|
197
|
+
export function ModeSelector({
|
|
198
|
+
currentMode,
|
|
199
|
+
onPress,
|
|
200
|
+
}: {
|
|
201
|
+
currentMode: TimerMode;
|
|
202
|
+
onPress: () => void;
|
|
203
|
+
}) {
|
|
204
|
+
const preset = TIMER_PRESETS.find((p) => p.mode === currentMode);
|
|
205
|
+
|
|
206
|
+
return (
|
|
207
|
+
<TouchableOpacity style={styles.modePill} onPress={onPress}>
|
|
208
|
+
<Ionicons
|
|
209
|
+
name={preset?.icon || 'timer-outline'}
|
|
210
|
+
size={16}
|
|
211
|
+
color={FITNESS_COLORS.primary}
|
|
212
|
+
/>
|
|
213
|
+
<Text style={styles.modePillText}>{preset?.name || 'Timer'}</Text>
|
|
214
|
+
<Ionicons
|
|
215
|
+
name="chevron-down"
|
|
216
|
+
size={14}
|
|
217
|
+
color={FITNESS_COLORS.textMuted}
|
|
218
|
+
/>
|
|
219
|
+
</TouchableOpacity>
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// Timer Display Component
|
|
224
|
+
export function TimerDisplay({
|
|
225
|
+
CIRCLE_SIZE,
|
|
226
|
+
R,
|
|
227
|
+
circumference,
|
|
228
|
+
animatedContainerStyle,
|
|
229
|
+
animatedCircleProps,
|
|
230
|
+
countdownStyle,
|
|
231
|
+
timeLeft,
|
|
232
|
+
formatTime,
|
|
233
|
+
activeColor,
|
|
234
|
+
phaseLabel,
|
|
235
|
+
}: {
|
|
236
|
+
CIRCLE_SIZE: number;
|
|
237
|
+
R: number;
|
|
238
|
+
circumference: number;
|
|
239
|
+
animatedContainerStyle: any;
|
|
240
|
+
animatedCircleProps: any;
|
|
241
|
+
countdownStyle: any;
|
|
242
|
+
timeLeft: number;
|
|
243
|
+
formatTime: (s: number) => string;
|
|
244
|
+
activeColor: string;
|
|
245
|
+
phaseLabel: string;
|
|
246
|
+
}) {
|
|
247
|
+
return (
|
|
248
|
+
<View style={styles.timerContainer}>
|
|
249
|
+
<View style={styles.ringContainer}>
|
|
250
|
+
<Animated.View style={[styles.ringPulse, animatedContainerStyle]}>
|
|
251
|
+
<Svg width={CIRCLE_SIZE} height={CIRCLE_SIZE}>
|
|
252
|
+
<Circle
|
|
253
|
+
cx={CIRCLE_SIZE / 2}
|
|
254
|
+
cy={CIRCLE_SIZE / 2}
|
|
255
|
+
r={R}
|
|
256
|
+
stroke={FITNESS_COLORS.card}
|
|
257
|
+
strokeWidth={20}
|
|
258
|
+
fill="transparent"
|
|
259
|
+
/>
|
|
260
|
+
<AnimatedCircle
|
|
261
|
+
cx={CIRCLE_SIZE / 2}
|
|
262
|
+
cy={CIRCLE_SIZE / 2}
|
|
263
|
+
r={R}
|
|
264
|
+
strokeWidth={20}
|
|
265
|
+
fill="transparent"
|
|
266
|
+
strokeDasharray={circumference}
|
|
267
|
+
animatedProps={animatedCircleProps}
|
|
268
|
+
strokeLinecap="round"
|
|
269
|
+
rotation={-90}
|
|
270
|
+
origin={`${CIRCLE_SIZE / 2}, ${CIRCLE_SIZE / 2}`}
|
|
271
|
+
/>
|
|
272
|
+
</Svg>
|
|
273
|
+
</Animated.View>
|
|
274
|
+
|
|
275
|
+
<Animated.View style={countdownStyle}>
|
|
276
|
+
<Text style={[styles.timeText, { color: activeColor }]}>
|
|
277
|
+
{formatTime(timeLeft)}
|
|
278
|
+
</Text>
|
|
279
|
+
</Animated.View>
|
|
280
|
+
<Text style={[styles.phaseLabel, { color: activeColor }]}>
|
|
281
|
+
{phaseLabel}
|
|
282
|
+
</Text>
|
|
283
|
+
</View>
|
|
284
|
+
</View>
|
|
285
|
+
);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// Timer Controls Component
|
|
289
|
+
export function TimerControls({
|
|
290
|
+
isPlaying,
|
|
291
|
+
activeColor,
|
|
292
|
+
onToggle,
|
|
293
|
+
onSkipForward,
|
|
294
|
+
onSkipBackward,
|
|
295
|
+
}: {
|
|
296
|
+
isPlaying: boolean;
|
|
297
|
+
activeColor: string;
|
|
298
|
+
onToggle: () => void;
|
|
299
|
+
onSkipForward: () => void;
|
|
300
|
+
onSkipBackward: () => void;
|
|
301
|
+
}) {
|
|
302
|
+
return (
|
|
303
|
+
<View style={styles.controls}>
|
|
304
|
+
<TouchableOpacity onPress={onSkipBackward} style={styles.secondaryButton}>
|
|
305
|
+
<Ionicons name="refresh" size={24} color={FITNESS_COLORS.textMuted} />
|
|
306
|
+
</TouchableOpacity>
|
|
307
|
+
|
|
308
|
+
<TouchableOpacity
|
|
309
|
+
onPress={onToggle}
|
|
310
|
+
style={[styles.primaryButton, { backgroundColor: activeColor }]}
|
|
311
|
+
>
|
|
312
|
+
<Ionicons
|
|
313
|
+
name={isPlaying ? 'pause' : 'play'}
|
|
314
|
+
size={40}
|
|
315
|
+
color={FITNESS_COLORS.background}
|
|
316
|
+
/>
|
|
317
|
+
</TouchableOpacity>
|
|
318
|
+
|
|
319
|
+
<TouchableOpacity onPress={onSkipForward} style={styles.secondaryButton}>
|
|
320
|
+
<Ionicons
|
|
321
|
+
name="play-skip-forward"
|
|
322
|
+
size={24}
|
|
323
|
+
color={FITNESS_COLORS.textMuted}
|
|
324
|
+
/>
|
|
325
|
+
</TouchableOpacity>
|
|
326
|
+
</View>
|
|
327
|
+
);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
const styles = StyleSheet.create({
|
|
331
|
+
confettiParticle: {
|
|
332
|
+
position: 'absolute',
|
|
333
|
+
width: 12,
|
|
334
|
+
height: 12,
|
|
335
|
+
borderRadius: 3,
|
|
336
|
+
},
|
|
337
|
+
celebrationOverlay: {
|
|
338
|
+
...StyleSheet.absoluteFillObject,
|
|
339
|
+
backgroundColor: `${FITNESS_COLORS.background}F5`,
|
|
340
|
+
alignItems: 'center',
|
|
341
|
+
justifyContent: 'center',
|
|
342
|
+
zIndex: 100,
|
|
343
|
+
},
|
|
344
|
+
confettiContainer: {
|
|
345
|
+
position: 'absolute',
|
|
346
|
+
top: '40%',
|
|
347
|
+
alignItems: 'center',
|
|
348
|
+
justifyContent: 'center',
|
|
349
|
+
},
|
|
350
|
+
trophyContainer: {
|
|
351
|
+
width: 140,
|
|
352
|
+
height: 140,
|
|
353
|
+
borderRadius: 70,
|
|
354
|
+
backgroundColor: '#FFD70015',
|
|
355
|
+
alignItems: 'center',
|
|
356
|
+
justifyContent: 'center',
|
|
357
|
+
alignSelf: 'center',
|
|
358
|
+
marginBottom: 24,
|
|
359
|
+
},
|
|
360
|
+
celebrationTitle: {
|
|
361
|
+
color: FITNESS_COLORS.text,
|
|
362
|
+
fontSize: 32,
|
|
363
|
+
lineHeight: 42,
|
|
364
|
+
fontWeight: '900',
|
|
365
|
+
textAlign: 'center',
|
|
366
|
+
marginVertical: 8,
|
|
367
|
+
},
|
|
368
|
+
celebrationSubtitle: {
|
|
369
|
+
color: FITNESS_COLORS.textMuted,
|
|
370
|
+
fontSize: 16,
|
|
371
|
+
fontWeight: '500',
|
|
372
|
+
textAlign: 'center',
|
|
373
|
+
},
|
|
374
|
+
doneButton: {
|
|
375
|
+
marginTop: 48,
|
|
376
|
+
backgroundColor: FITNESS_COLORS.primary,
|
|
377
|
+
paddingHorizontal: 48,
|
|
378
|
+
paddingVertical: 16,
|
|
379
|
+
borderRadius: 28,
|
|
380
|
+
},
|
|
381
|
+
doneButtonText: {
|
|
382
|
+
color: FITNESS_COLORS.background,
|
|
383
|
+
fontSize: 18,
|
|
384
|
+
fontWeight: '800',
|
|
385
|
+
},
|
|
386
|
+
queueContainer: {
|
|
387
|
+
backgroundColor: FITNESS_COLORS.card,
|
|
388
|
+
borderRadius: 20,
|
|
389
|
+
padding: 16,
|
|
390
|
+
marginBottom: 24,
|
|
391
|
+
borderWidth: 1,
|
|
392
|
+
borderColor: '#27272a',
|
|
393
|
+
},
|
|
394
|
+
queueTitle: {
|
|
395
|
+
color: FITNESS_COLORS.textMuted,
|
|
396
|
+
fontSize: 11,
|
|
397
|
+
fontWeight: '700',
|
|
398
|
+
letterSpacing: 1.5,
|
|
399
|
+
textTransform: 'uppercase',
|
|
400
|
+
marginBottom: 12,
|
|
401
|
+
},
|
|
402
|
+
queueItem: {
|
|
403
|
+
flexDirection: 'row',
|
|
404
|
+
alignItems: 'center',
|
|
405
|
+
paddingVertical: 8,
|
|
406
|
+
},
|
|
407
|
+
queueIcon: {
|
|
408
|
+
width: 32,
|
|
409
|
+
height: 32,
|
|
410
|
+
borderRadius: 10,
|
|
411
|
+
backgroundColor: '#27272a',
|
|
412
|
+
alignItems: 'center',
|
|
413
|
+
justifyContent: 'center',
|
|
414
|
+
marginRight: 12,
|
|
415
|
+
},
|
|
416
|
+
queueName: {
|
|
417
|
+
color: FITNESS_COLORS.text,
|
|
418
|
+
fontSize: 15,
|
|
419
|
+
fontWeight: '600',
|
|
420
|
+
flex: 1,
|
|
421
|
+
},
|
|
422
|
+
queueDuration: {
|
|
423
|
+
color: FITNESS_COLORS.textMuted,
|
|
424
|
+
fontSize: 13,
|
|
425
|
+
fontWeight: '600',
|
|
426
|
+
},
|
|
427
|
+
modePill: {
|
|
428
|
+
flexDirection: 'row',
|
|
429
|
+
alignItems: 'center',
|
|
430
|
+
gap: 6,
|
|
431
|
+
backgroundColor: FITNESS_COLORS.card,
|
|
432
|
+
paddingHorizontal: 16,
|
|
433
|
+
paddingVertical: 10,
|
|
434
|
+
borderRadius: 20,
|
|
435
|
+
borderWidth: 1,
|
|
436
|
+
borderColor: '#27272a',
|
|
437
|
+
},
|
|
438
|
+
modePillText: {
|
|
439
|
+
color: FITNESS_COLORS.text,
|
|
440
|
+
fontWeight: '700',
|
|
441
|
+
fontSize: 14,
|
|
442
|
+
},
|
|
443
|
+
timerContainer: {
|
|
444
|
+
flex: 1,
|
|
445
|
+
alignItems: 'center',
|
|
446
|
+
justifyContent: 'center',
|
|
447
|
+
},
|
|
448
|
+
ringContainer: {
|
|
449
|
+
width: width * 0.66,
|
|
450
|
+
height: width * 0.66,
|
|
451
|
+
alignItems: 'center',
|
|
452
|
+
justifyContent: 'center',
|
|
453
|
+
},
|
|
454
|
+
ringPulse: {
|
|
455
|
+
...StyleSheet.absoluteFillObject,
|
|
456
|
+
alignItems: 'center',
|
|
457
|
+
justifyContent: 'center',
|
|
458
|
+
},
|
|
459
|
+
timeText: {
|
|
460
|
+
fontSize: 58,
|
|
461
|
+
lineHeight: 80,
|
|
462
|
+
fontWeight: '900',
|
|
463
|
+
fontVariant: ['tabular-nums'],
|
|
464
|
+
},
|
|
465
|
+
phaseLabel: {
|
|
466
|
+
fontSize: 15,
|
|
467
|
+
fontWeight: '700',
|
|
468
|
+
letterSpacing: 4,
|
|
469
|
+
marginTop: 8,
|
|
470
|
+
},
|
|
471
|
+
controls: {
|
|
472
|
+
flexDirection: 'row',
|
|
473
|
+
alignItems: 'center',
|
|
474
|
+
justifyContent: 'center',
|
|
475
|
+
gap: 32,
|
|
476
|
+
marginBottom: 16,
|
|
477
|
+
},
|
|
478
|
+
secondaryButton: {
|
|
479
|
+
width: 64,
|
|
480
|
+
height: 64,
|
|
481
|
+
borderRadius: 32,
|
|
482
|
+
backgroundColor: FITNESS_COLORS.card,
|
|
483
|
+
alignItems: 'center',
|
|
484
|
+
justifyContent: 'center',
|
|
485
|
+
borderWidth: 1,
|
|
486
|
+
borderColor: '#27272a',
|
|
487
|
+
},
|
|
488
|
+
primaryButton: {
|
|
489
|
+
width: 88,
|
|
490
|
+
height: 88,
|
|
491
|
+
borderRadius: 44,
|
|
492
|
+
alignItems: 'center',
|
|
493
|
+
justifyContent: 'center',
|
|
494
|
+
shadowColor: FITNESS_COLORS.primary,
|
|
495
|
+
shadowOffset: { width: 0, height: 4 },
|
|
496
|
+
shadowOpacity: 0.3,
|
|
497
|
+
shadowRadius: 12,
|
|
498
|
+
elevation: 8,
|
|
499
|
+
},
|
|
500
|
+
});
|