@almadar/cli 1.0.6 → 1.0.8
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/package.json +6 -6
- package/shells/python-shell/.dockerignore +0 -50
- package/shells/python-shell/.env.example +0 -55
- package/shells/python-shell/Dockerfile +0 -56
- package/shells/python-shell/README.md +0 -253
- package/shells/python-shell/cloudbuild.yaml +0 -76
- package/shells/python-shell/docker-compose.yaml +0 -57
- package/shells/python-shell/pyproject.toml +0 -28
- package/shells/python-shell/scripts/deploy.sh +0 -108
- package/shells/python-shell/scripts/setup-secrets.sh +0 -104
- package/shells/python-shell/src/orbital_app/__init__.py +0 -8
- package/shells/python-shell/src/orbital_app/core/__init__.py +0 -40
- package/shells/python-shell/src/orbital_app/core/bindings.py +0 -75
- package/shells/python-shell/src/orbital_app/core/effect_executor.py +0 -196
- package/shells/python-shell/src/orbital_app/core/event_bus.py +0 -119
- package/shells/python-shell/src/orbital_app/core/event_router.py +0 -38
- package/shells/python-shell/src/orbital_app/core/firebase.py +0 -112
- package/shells/python-shell/src/orbital_app/core/repository.py +0 -257
- package/shells/python-shell/src/orbital_app/core/settings.py +0 -74
- package/shells/python-shell/src/orbital_app/core/websocket.py +0 -202
- package/shells/python-shell/src/orbital_app/main.py +0 -108
- package/shells/python-shell/src/orbital_app/middleware/__init__.py +0 -18
- package/shells/python-shell/src/orbital_app/middleware/auth.py +0 -126
- package/shells/python-shell/src/orbital_app/nn/__init__.py +0 -28
- package/shells/python-shell/src/orbital_app/nn/constraints.py +0 -104
- package/shells/python-shell/src/orbital_app/nn/forward.py +0 -34
- package/shells/python-shell/src/orbital_app/nn/training.py +0 -101
- package/shells/python-shell/src/orbital_app/tensor/__init__.py +0 -46
- package/shells/python-shell/src/orbital_app/tensor/contracts.py +0 -112
- package/shells/python-shell/src/orbital_app/tensor/ops.py +0 -196
- package/shells/python-shell/tests/conftest.py +0 -63
- package/shells/python-shell/tests/test_effect_executor.py +0 -197
- package/shells/python-shell/tests/test_event_bus.py +0 -194
- package/shells/python-shell/tests/test_generated_traits.py +0 -268
- package/shells/python-shell/tests/test_integration.py +0 -347
- package/shells/python-shell/tests/test_nn_builder.py +0 -113
- package/shells/python-shell/tests/test_nn_constraints.py +0 -187
- package/shells/python-shell/tests/test_nn_forward.py +0 -98
- package/shells/python-shell/tests/test_nn_training.py +0 -130
- package/shells/python-shell/tests/test_repository.py +0 -151
- package/shells/python-shell/tests/test_tensor_contracts.py +0 -168
- package/shells/python-shell/tests/test_tensor_ops.py +0 -260
- package/shells/typescript-shell/.env.example +0 -30
- package/shells/typescript-shell/.firebaserc.template +0 -14
- package/shells/typescript-shell/.prettierrc +0 -7
- package/shells/typescript-shell/Dockerfile +0 -0
- package/shells/typescript-shell/apphosting.yaml.template +0 -0
- package/shells/typescript-shell/firebase.json.template +0 -0
- package/shells/typescript-shell/firestore.indexes.json +0 -4
- package/shells/typescript-shell/firestore.rules.template +0 -0
- package/shells/typescript-shell/infra/aws/alb.tf +0 -0
- package/shells/typescript-shell/infra/aws/cloudfront.tf +0 -0
- package/shells/typescript-shell/infra/aws/ecs.tf +0 -0
- package/shells/typescript-shell/infra/aws/main.tf +0 -0
- package/shells/typescript-shell/infra/aws/rds.tf +0 -0
- package/shells/typescript-shell/infra/docker/Dockerfile.client +0 -0
- package/shells/typescript-shell/infra/docker/Dockerfile.server +0 -0
- package/shells/typescript-shell/infra/docker/docker-compose.prod.yml +0 -45
- package/shells/typescript-shell/infra/docker/docker-compose.yml +0 -57
- package/shells/typescript-shell/infra/docker/nginx.conf +0 -0
- package/shells/typescript-shell/infra/main.tf +0 -0
- package/shells/typescript-shell/infra/terraform/aws/alb.tf +0 -0
- package/shells/typescript-shell/infra/terraform/aws/cloudfront.tf +0 -0
- package/shells/typescript-shell/infra/terraform/aws/ecs.tf +0 -0
- package/shells/typescript-shell/infra/terraform/aws/main.tf +0 -0
- package/shells/typescript-shell/infra/terraform/aws/rds.tf +0 -0
- package/shells/typescript-shell/infra/terraform/main.tf +0 -0
- package/shells/typescript-shell/infra/terraform/variables.tf +0 -0
- package/shells/typescript-shell/infra/variables.tf +0 -0
- package/shells/typescript-shell/package-lock.json +0 -15210
- package/shells/typescript-shell/package.json +0 -64
- package/shells/typescript-shell/packages/client/.env.example +0 -30
- package/shells/typescript-shell/packages/client/index.html +0 -13
- package/shells/typescript-shell/packages/client/package.json +0 -52
- package/shells/typescript-shell/packages/client/postcss.config.js +0 -6
- package/shells/typescript-shell/packages/client/src/App.tsx +0 -56
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/CreditExpirationAlert.stories.tsx +0 -75
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/CreditExpirationAlert.tsx +0 -157
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/CreditMeter.stories.tsx +0 -155
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/CreditMeter.tsx +0 -370
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/ExerciseVideoLink.stories.tsx +0 -50
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/ExerciseVideoLink.tsx +0 -143
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/ShareableLinkGenerator.stories.tsx +0 -54
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/ShareableLinkGenerator.tsx +0 -210
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/atoms/index.ts +0 -4
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/index.ts +0 -83
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/BodyMeasurementInput.stories.tsx +0 -117
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/BodyMeasurementInput.tsx +0 -343
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/DailyProgressInput.stories.tsx +0 -82
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/DailyProgressInput.tsx +0 -345
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/GroupSessionCard.stories.tsx +0 -155
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/GroupSessionCard.tsx +0 -319
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/LiftTracker.stories.tsx +0 -110
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/LiftTracker.tsx +0 -395
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/MealPlanCard.stories.tsx +0 -132
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/MealPlanCard.tsx +0 -394
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/NutritionSummary.stories.tsx +0 -127
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/NutritionSummary.tsx +0 -360
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/ProgressChart.stories.tsx +0 -119
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/ProgressChart.tsx +0 -377
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/SpecialExerciseCard.stories.tsx +0 -115
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/SpecialExerciseCard.tsx +0 -294
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/TraineeCard.stories.tsx +0 -139
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/TraineeCard.tsx +0 -306
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/WorkoutPlanCard.stories.tsx +0 -140
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/WorkoutPlanCard.tsx +0 -379
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/molecules/index.ts +0 -10
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/AIAnalysisPanel.stories.tsx +0 -171
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/AIAnalysisPanel.tsx +0 -257
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/KinesiologyExamForm.stories.tsx +0 -157
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/KinesiologyExamForm.tsx +0 -383
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/SessionScheduler.stories.tsx +0 -249
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/SessionScheduler.tsx +0 -637
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/TraineeComparison.stories.tsx +0 -221
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/TraineeComparison.tsx +0 -438
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/WeeklyCalendar.stories.tsx +0 -208
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/WeeklyCalendar.tsx +0 -380
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/organisms/index.ts +0 -5
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/CreditsTemplate.stories.tsx +0 -243
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/CreditsTemplate.tsx +0 -496
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/FitnessTemplate.stories.tsx +0 -237
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/FitnessTemplate.tsx +0 -457
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/MealPlanDetailTemplate.stories.tsx +0 -184
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/MealPlanDetailTemplate.tsx +0 -414
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/MealPlansTemplate.stories.tsx +0 -198
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/MealPlansTemplate.tsx +0 -296
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/ProgressTemplate.stories.tsx +0 -242
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/ProgressTemplate.tsx +0 -497
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/ScheduleTemplate.stories.tsx +0 -267
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/ScheduleTemplate.tsx +0 -424
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/SessionDetailTemplate.stories.tsx +0 -214
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/SessionDetailTemplate.tsx +0 -518
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/SessionsTemplate.stories.tsx +0 -207
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/SessionsTemplate.tsx +0 -508
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/TraineeDetailTemplate.stories.tsx +0 -178
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/TraineeDetailTemplate.tsx +0 -396
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/TraineesTemplate.stories.tsx +0 -168
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/TraineesTemplate.tsx +0 -429
- package/shells/typescript-shell/packages/client/src/clients/blaz-kelemnc/templates/index.ts +0 -44
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/atoms/LawReferenceBadge.stories.tsx +0 -78
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/atoms/LawReferenceBadge.tsx +0 -87
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/atoms/PhaseIndicator.stories.tsx +0 -91
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/atoms/PhaseIndicator.tsx +0 -142
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/atoms/index.ts +0 -8
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/index.ts +0 -79
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-001-uvod.json +0 -361
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-001-uvod.ts +0 -361
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-002-podjetje.json +0 -115
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-002-podjetje.ts +0 -115
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-003-udelezenci.json +0 -78
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-003-udelezenci.ts +0 -78
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-004-izbira-podrocja.json +0 -85
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-004-izbira-podrocja.ts +0 -94
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-005-trgovina.json +0 -1056
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-005-trgovina.ts +0 -1056
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-006-ugotovitve.json +0 -128
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-006-ugotovitve.ts +0 -128
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-007-odlocbe.json +0 -136
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-007-odlocbe.ts +0 -136
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-008-pripombe.json +0 -148
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-008-pripombe.ts +0 -148
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-009-zakljucek.json +0 -207
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T-009-zakljucek.ts +0 -207
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T2-1-oznacevanje-cen.json +0 -1265
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/configs/tabs/T2-1-oznacevanje-cen.ts +0 -1265
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/index.ts +0 -137
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/CardSelector.stories.tsx +0 -128
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/CardSelector.tsx +0 -174
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ComplianceSummary.stories.tsx +0 -115
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ComplianceSummary.tsx +0 -263
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ConditionalField.tsx +0 -254
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/DocumentPreview.tsx +0 -249
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/EntitySearch.tsx +0 -290
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/InspectionTimeline.stories.tsx +0 -138
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/InspectionTimeline.tsx +0 -253
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ObjectionRecorder.tsx +0 -213
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ParticipantList.stories.tsx +0 -86
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ParticipantList.tsx +0 -227
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/PhotoAttachment.tsx +0 -276
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ProgressHeader.stories.tsx +0 -89
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/ProgressHeader.tsx +0 -157
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/RepeatableFormSection.tsx +0 -189
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/RuleCheckItem.stories.tsx +0 -118
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/RuleCheckItem.tsx +0 -237
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/molecules/index.ts +0 -18
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/organisms/FloatingActionMenu.stories.tsx +0 -75
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/organisms/FloatingActionMenu.tsx +0 -197
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/organisms/SignatureCapture.stories.tsx +0 -96
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/organisms/SignatureCapture.tsx +0 -278
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/organisms/index.ts +0 -8
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/CompaniesTemplate.stories.tsx +0 -107
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/CompaniesTemplate.tsx +0 -266
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionFormDemoTemplate.stories.tsx +0 -607
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionFormDemoTemplate.tsx +0 -1428
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionProcessTemplate.stories.tsx +0 -713
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionProcessTemplate.tsx +0 -1582
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionWizardTemplate.stories.tsx +0 -174
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionWizardTemplate.tsx +0 -264
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionsTemplate.stories.tsx +0 -129
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectionsTemplate.tsx +0 -287
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectorsTemplate.stories.tsx +0 -94
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/InspectorsTemplate.tsx +0 -255
- package/shells/typescript-shell/packages/client/src/clients/inspection-system/templates/index.ts +0 -47
- package/shells/typescript-shell/packages/client/src/clients/kflow/atoms/MindMapConnections.stories.tsx +0 -82
- package/shells/typescript-shell/packages/client/src/clients/kflow/atoms/MindMapConnections.tsx +0 -75
- package/shells/typescript-shell/packages/client/src/clients/kflow/atoms/index.ts +0 -2
- package/shells/typescript-shell/packages/client/src/clients/kflow/index.ts +0 -96
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/ConceptMetaTags.stories.tsx +0 -64
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/ConceptMetaTags.tsx +0 -77
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/GraphLegend.stories.tsx +0 -100
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/GraphLegend.tsx +0 -120
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/LayerNavigator.stories.tsx +0 -109
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/LayerNavigator.tsx +0 -157
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/LearningGoalDisplay.stories.tsx +0 -62
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/LearningGoalDisplay.tsx +0 -138
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/MindMapHeader.tsx +0 -47
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/MindMapNode.stories.tsx +0 -212
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/MindMapNode.tsx +0 -294
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/NoteContent.stories.tsx +0 -98
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/NoteContent.tsx +0 -163
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/NoteListItem.stories.tsx +0 -196
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/NoteListItem.tsx +0 -239
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/QuizBlock.tsx +0 -3
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/StreamingDisplay.stories.tsx +0 -132
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/StreamingDisplay.tsx +0 -232
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/index.ts +0 -28
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/ActivationBlock.stories.tsx +0 -71
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/ActivationBlock.tsx +0 -127
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/BloomQuizBlock.stories.tsx +0 -154
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/BloomQuizBlock.tsx +0 -232
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/ConnectionBlock.stories.tsx +0 -57
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/ConnectionBlock.tsx +0 -60
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/QuizBlock.tsx +0 -138
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/ReflectionBlock.stories.tsx +0 -90
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/ReflectionBlock.tsx +0 -151
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/learning/index.ts +0 -14
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/markdown/CodeBlock.stories.tsx +0 -188
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/markdown/CodeBlock.tsx +0 -165
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/markdown/MarkdownContent.stories.tsx +0 -160
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/markdown/MarkdownContent.tsx +0 -131
- package/shells/typescript-shell/packages/client/src/clients/kflow/molecules/markdown/index.ts +0 -5
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/ConceptCard.stories.tsx +0 -155
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/ConceptCard.tsx +0 -301
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/FlashCard.stories.tsx +0 -105
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/FlashCard.tsx +0 -200
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/FlashCardStack.stories.tsx +0 -97
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/FlashCardStack.tsx +0 -163
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/FlashCardsDisplay.tsx +0 -236
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/ForceDirectedGraph.stories.tsx +0 -230
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/ForceDirectedGraph.tsx +0 -488
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/MindMapCanvas.stories.tsx +0 -256
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/MindMapCanvas.tsx +0 -185
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/NoteList.stories.tsx +0 -178
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/NoteList.tsx +0 -209
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/SegmentRenderer.stories.tsx +0 -238
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/SegmentRenderer.tsx +0 -196
- package/shells/typescript-shell/packages/client/src/clients/kflow/organisms/index.ts +0 -18
- package/shells/typescript-shell/packages/client/src/clients/kflow/patterns/component-mapping.json +0 -122
- package/shells/typescript-shell/packages/client/src/clients/kflow/patterns/event-contracts.json +0 -145
- package/shells/typescript-shell/packages/client/src/clients/kflow/patterns/index.ts +0 -46
- package/shells/typescript-shell/packages/client/src/clients/kflow/templates/ConceptDetailTemplate.stories.tsx +0 -148
- package/shells/typescript-shell/packages/client/src/clients/kflow/templates/ConceptDetailTemplate.tsx +0 -266
- package/shells/typescript-shell/packages/client/src/clients/kflow/templates/KnowledgeGraphTemplate.stories.tsx +0 -215
- package/shells/typescript-shell/packages/client/src/clients/kflow/templates/KnowledgeGraphTemplate.tsx +0 -302
- package/shells/typescript-shell/packages/client/src/clients/kflow/templates/LessonTemplate.stories.tsx +0 -161
- package/shells/typescript-shell/packages/client/src/clients/kflow/templates/LessonTemplate.tsx +0 -264
- package/shells/typescript-shell/packages/client/src/clients/kflow/templates/index.ts +0 -4
- package/shells/typescript-shell/packages/client/src/clients/kflow/types/index.ts +0 -9
- package/shells/typescript-shell/packages/client/src/clients/kflow/types/mindMapTypes.ts +0 -13
- package/shells/typescript-shell/packages/client/src/clients/kflow/utils/index.ts +0 -6
- package/shells/typescript-shell/packages/client/src/clients/kflow/utils/parseLessonSegments.ts +0 -191
- package/shells/typescript-shell/packages/client/src/clients/winning-11/atoms/CareIndicator.tsx +0 -113
- package/shells/typescript-shell/packages/client/src/clients/winning-11/atoms/GrowthMeter.tsx +0 -216
- package/shells/typescript-shell/packages/client/src/clients/winning-11/atoms/SeasonIndicator.tsx +0 -140
- package/shells/typescript-shell/packages/client/src/clients/winning-11/atoms/TrustMeter.tsx +0 -221
- package/shells/typescript-shell/packages/client/src/clients/winning-11/atoms/index.ts +0 -15
- package/shells/typescript-shell/packages/client/src/clients/winning-11/index.ts +0 -159
- package/shells/typescript-shell/packages/client/src/clients/winning-11/molecules/HarvestCard.tsx +0 -254
- package/shells/typescript-shell/packages/client/src/clients/winning-11/molecules/PlantCard.tsx +0 -412
- package/shells/typescript-shell/packages/client/src/clients/winning-11/molecules/WeatherWidget.tsx +0 -229
- package/shells/typescript-shell/packages/client/src/clients/winning-11/molecules/index.ts +0 -12
- package/shells/typescript-shell/packages/client/src/clients/winning-11/organisms/GardenView.tsx +0 -344
- package/shells/typescript-shell/packages/client/src/clients/winning-11/organisms/index.ts +0 -6
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/AdminDashboardTemplate.tsx +0 -423
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/AssessmentTemplate.tsx +0 -409
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/ConnectionsTemplate.tsx +0 -465
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/GraphIntelligenceTemplate.tsx +0 -388
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/InvitesTemplate.tsx +0 -359
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/ProjectDetailTemplate.tsx +0 -483
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/ProjectsTemplate.tsx +0 -474
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/RelationshipGardenTemplate.tsx +0 -198
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/SeedNetworkTemplate.tsx +0 -410
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/SuggestionsTemplate.tsx +0 -352
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/TeamDetailTemplate.tsx +0 -494
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/TeamMembersTemplate.tsx +0 -427
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/TeamsTemplate.tsx +0 -424
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/TrustIntelligenceTemplate.tsx +0 -312
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/UserProfileTemplate.tsx +0 -308
- package/shells/typescript-shell/packages/client/src/clients/winning-11/templates/UsersTemplate.tsx +0 -303
- package/shells/typescript-shell/packages/client/src/components/atoms/Avatar.tsx +0 -226
- package/shells/typescript-shell/packages/client/src/components/atoms/Badge.tsx +0 -79
- package/shells/typescript-shell/packages/client/src/components/atoms/Box.tsx +0 -262
- package/shells/typescript-shell/packages/client/src/components/atoms/Button.tsx +0 -150
- package/shells/typescript-shell/packages/client/src/components/atoms/Card.tsx +0 -151
- package/shells/typescript-shell/packages/client/src/components/atoms/Center.tsx +0 -67
- package/shells/typescript-shell/packages/client/src/components/atoms/Checkbox.tsx +0 -46
- package/shells/typescript-shell/packages/client/src/components/atoms/ConditionalWrapper.tsx +0 -139
- package/shells/typescript-shell/packages/client/src/components/atoms/Divider.tsx +0 -102
- package/shells/typescript-shell/packages/client/src/components/atoms/Icon.tsx +0 -224
- package/shells/typescript-shell/packages/client/src/components/atoms/Input.tsx +0 -192
- package/shells/typescript-shell/packages/client/src/components/atoms/Label.tsx +0 -26
- package/shells/typescript-shell/packages/client/src/components/atoms/LawReferenceTooltip.tsx +0 -190
- package/shells/typescript-shell/packages/client/src/components/atoms/Overlay.tsx +0 -37
- package/shells/typescript-shell/packages/client/src/components/atoms/ProgressBar.tsx +0 -256
- package/shells/typescript-shell/packages/client/src/components/atoms/Radio.tsx +0 -164
- package/shells/typescript-shell/packages/client/src/components/atoms/Select.tsx +0 -62
- package/shells/typescript-shell/packages/client/src/components/atoms/Spacer.tsx +0 -68
- package/shells/typescript-shell/packages/client/src/components/atoms/Spinner.tsx +0 -32
- package/shells/typescript-shell/packages/client/src/components/atoms/Stack.tsx +0 -151
- package/shells/typescript-shell/packages/client/src/components/atoms/Switch.tsx +0 -91
- package/shells/typescript-shell/packages/client/src/components/atoms/TextHighlight.tsx +0 -111
- package/shells/typescript-shell/packages/client/src/components/atoms/Textarea.tsx +0 -32
- package/shells/typescript-shell/packages/client/src/components/atoms/ThemeSelector.tsx +0 -128
- package/shells/typescript-shell/packages/client/src/components/atoms/ThemeToggle.tsx +0 -91
- package/shells/typescript-shell/packages/client/src/components/atoms/Typography.tsx +0 -207
- package/shells/typescript-shell/packages/client/src/components/atoms/game/ControlButton.tsx +0 -118
- package/shells/typescript-shell/packages/client/src/components/atoms/game/HealthBar.tsx +0 -93
- package/shells/typescript-shell/packages/client/src/components/atoms/game/ScoreDisplay.tsx +0 -86
- package/shells/typescript-shell/packages/client/src/components/atoms/game/Sprite.tsx +0 -188
- package/shells/typescript-shell/packages/client/src/components/atoms/game/index.ts +0 -12
- package/shells/typescript-shell/packages/client/src/components/atoms/index.ts +0 -88
- package/shells/typescript-shell/packages/client/src/components/index.ts +0 -4
- package/shells/typescript-shell/packages/client/src/components/molecules/Accordion.tsx +0 -223
- package/shells/typescript-shell/packages/client/src/components/molecules/Alert.tsx +0 -117
- package/shells/typescript-shell/packages/client/src/components/molecules/Breadcrumb.tsx +0 -159
- package/shells/typescript-shell/packages/client/src/components/molecules/ButtonGroup.tsx +0 -226
- package/shells/typescript-shell/packages/client/src/components/molecules/Card.tsx +0 -135
- package/shells/typescript-shell/packages/client/src/components/molecules/Container.tsx +0 -78
- package/shells/typescript-shell/packages/client/src/components/molecules/Drawer.tsx +0 -254
- package/shells/typescript-shell/packages/client/src/components/molecules/EmptyState.tsx +0 -132
- package/shells/typescript-shell/packages/client/src/components/molecules/ErrorState.tsx +0 -48
- package/shells/typescript-shell/packages/client/src/components/molecules/FilterGroup.tsx +0 -529
- package/shells/typescript-shell/packages/client/src/components/molecules/Flex.tsx +0 -131
- package/shells/typescript-shell/packages/client/src/components/molecules/FloatingActionButton.tsx +0 -264
- package/shells/typescript-shell/packages/client/src/components/molecules/FormField.tsx +0 -48
- package/shells/typescript-shell/packages/client/src/components/molecules/FormSectionHeader.tsx +0 -139
- package/shells/typescript-shell/packages/client/src/components/molecules/Grid.tsx +0 -194
- package/shells/typescript-shell/packages/client/src/components/molecules/InputGroup.tsx +0 -109
- package/shells/typescript-shell/packages/client/src/components/molecules/LoadingState.tsx +0 -39
- package/shells/typescript-shell/packages/client/src/components/molecules/Menu.tsx +0 -266
- package/shells/typescript-shell/packages/client/src/components/molecules/Modal.tsx +0 -171
- package/shells/typescript-shell/packages/client/src/components/molecules/Pagination.tsx +0 -254
- package/shells/typescript-shell/packages/client/src/components/molecules/Popover.tsx +0 -201
- package/shells/typescript-shell/packages/client/src/components/molecules/RelationSelect.tsx +0 -328
- package/shells/typescript-shell/packages/client/src/components/molecules/RepeatableFormSection.tsx +0 -236
- package/shells/typescript-shell/packages/client/src/components/molecules/SearchInput.tsx +0 -196
- package/shells/typescript-shell/packages/client/src/components/molecules/SidePanel.tsx +0 -116
- package/shells/typescript-shell/packages/client/src/components/molecules/SimpleGrid.tsx +0 -90
- package/shells/typescript-shell/packages/client/src/components/molecules/Tabs.tsx +0 -208
- package/shells/typescript-shell/packages/client/src/components/molecules/Toast.tsx +0 -154
- package/shells/typescript-shell/packages/client/src/components/molecules/Tooltip.tsx +0 -172
- package/shells/typescript-shell/packages/client/src/components/molecules/ViolationAlert.tsx +0 -253
- package/shells/typescript-shell/packages/client/src/components/molecules/WizardNavigation.tsx +0 -166
- package/shells/typescript-shell/packages/client/src/components/molecules/WizardProgress.tsx +0 -140
- package/shells/typescript-shell/packages/client/src/components/molecules/game/ActionButtons.tsx +0 -148
- package/shells/typescript-shell/packages/client/src/components/molecules/game/DPad.tsx +0 -98
- package/shells/typescript-shell/packages/client/src/components/molecules/game/StatBadge.tsx +0 -104
- package/shells/typescript-shell/packages/client/src/components/molecules/game/index.ts +0 -11
- package/shells/typescript-shell/packages/client/src/components/molecules/index.ts +0 -36
- package/shells/typescript-shell/packages/client/src/components/organisms/CardGrid.tsx +0 -479
- package/shells/typescript-shell/packages/client/src/components/organisms/ComponentPatterns.tsx +0 -1000
- package/shells/typescript-shell/packages/client/src/components/organisms/ConfirmDialog.tsx +0 -165
- package/shells/typescript-shell/packages/client/src/components/organisms/CustomPattern.tsx +0 -479
- package/shells/typescript-shell/packages/client/src/components/organisms/DataTable.tsx +0 -816
- package/shells/typescript-shell/packages/client/src/components/organisms/DetailPanel.tsx +0 -626
- package/shells/typescript-shell/packages/client/src/components/organisms/DrawerSlot.tsx +0 -86
- package/shells/typescript-shell/packages/client/src/components/organisms/Form.tsx +0 -968
- package/shells/typescript-shell/packages/client/src/components/organisms/FormSection.tsx +0 -168
- package/shells/typescript-shell/packages/client/src/components/organisms/Header.tsx +0 -263
- package/shells/typescript-shell/packages/client/src/components/organisms/LayoutPatterns.tsx +0 -325
- package/shells/typescript-shell/packages/client/src/components/organisms/List.tsx +0 -838
- package/shells/typescript-shell/packages/client/src/components/organisms/MasterDetail.tsx +0 -85
- package/shells/typescript-shell/packages/client/src/components/organisms/ModalSlot.tsx +0 -81
- package/shells/typescript-shell/packages/client/src/components/organisms/Navigation.tsx +0 -157
- package/shells/typescript-shell/packages/client/src/components/organisms/OrbitalVisualization.tsx +0 -480
- package/shells/typescript-shell/packages/client/src/components/organisms/PageHeader.tsx +0 -244
- package/shells/typescript-shell/packages/client/src/components/organisms/Section.tsx +0 -131
- package/shells/typescript-shell/packages/client/src/components/organisms/Sidebar.tsx +0 -270
- package/shells/typescript-shell/packages/client/src/components/organisms/Split.tsx +0 -121
- package/shells/typescript-shell/packages/client/src/components/organisms/StatCard.tsx +0 -360
- package/shells/typescript-shell/packages/client/src/components/organisms/Table.tsx +0 -394
- package/shells/typescript-shell/packages/client/src/components/organisms/ToastSlot.tsx +0 -106
- package/shells/typescript-shell/packages/client/src/components/organisms/UISlotRenderer.tsx +0 -647
- package/shells/typescript-shell/packages/client/src/components/organisms/WizardContainer.tsx +0 -369
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/RuntimeDebugger.css +0 -102
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/RuntimeDebugger.tsx +0 -176
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/hooks/useDebugData.ts +0 -100
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/index.ts +0 -10
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/tabs/EntitiesTab.tsx +0 -130
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/tabs/EventFlowTab.tsx +0 -135
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/tabs/GuardsPanel.tsx +0 -124
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/tabs/TicksTab.tsx +0 -100
- package/shells/typescript-shell/packages/client/src/components/organisms/debug/tabs/TraitsTab.tsx +0 -102
- package/shells/typescript-shell/packages/client/src/components/organisms/game/CollisionDetector.tsx +0 -195
- package/shells/typescript-shell/packages/client/src/components/organisms/game/DialogueBox.tsx +0 -279
- package/shells/typescript-shell/packages/client/src/components/organisms/game/GameCanvas.tsx +0 -550
- package/shells/typescript-shell/packages/client/src/components/organisms/game/GameControls.tsx +0 -173
- package/shells/typescript-shell/packages/client/src/components/organisms/game/GameHud.tsx +0 -135
- package/shells/typescript-shell/packages/client/src/components/organisms/game/GameMenu.tsx +0 -188
- package/shells/typescript-shell/packages/client/src/components/organisms/game/GameOverScreen.tsx +0 -241
- package/shells/typescript-shell/packages/client/src/components/organisms/game/GamePauseOverlay.tsx +0 -158
- package/shells/typescript-shell/packages/client/src/components/organisms/game/InputListener.tsx +0 -161
- package/shells/typescript-shell/packages/client/src/components/organisms/game/InventoryPanel.tsx +0 -230
- package/shells/typescript-shell/packages/client/src/components/organisms/game/LevelSelect.tsx +0 -236
- package/shells/typescript-shell/packages/client/src/components/organisms/game/TilemapRenderer.tsx +0 -233
- package/shells/typescript-shell/packages/client/src/components/organisms/game/index.ts +0 -28
- package/shells/typescript-shell/packages/client/src/components/organisms/index.ts +0 -83
- package/shells/typescript-shell/packages/client/src/components/organisms/layout/DashboardGrid.tsx +0 -94
- package/shells/typescript-shell/packages/client/src/components/organisms/layout/MasterDetail.tsx +0 -93
- package/shells/typescript-shell/packages/client/src/components/organisms/layout/SplitPane.tsx +0 -136
- package/shells/typescript-shell/packages/client/src/components/organisms/layout/TabbedContainer.tsx +0 -162
- package/shells/typescript-shell/packages/client/src/components/organisms/layout/index.ts +0 -10
- package/shells/typescript-shell/packages/client/src/components/templates/AuthLayout.tsx +0 -125
- package/shells/typescript-shell/packages/client/src/components/templates/CounterTemplate.tsx +0 -224
- package/shells/typescript-shell/packages/client/src/components/templates/CrudTemplate.tsx +0 -511
- package/shells/typescript-shell/packages/client/src/components/templates/DashboardLayout.tsx +0 -295
- package/shells/typescript-shell/packages/client/src/components/templates/FormTemplate.tsx +0 -328
- package/shells/typescript-shell/packages/client/src/components/templates/GameTemplate.tsx +0 -142
- package/shells/typescript-shell/packages/client/src/components/templates/GenericAppTemplate.tsx +0 -79
- package/shells/typescript-shell/packages/client/src/components/templates/ListTemplate.tsx +0 -361
- package/shells/typescript-shell/packages/client/src/components/templates/SettingsTemplate.tsx +0 -459
- package/shells/typescript-shell/packages/client/src/components/templates/index.ts +0 -54
- package/shells/typescript-shell/packages/client/src/config/firebase.ts +0 -58
- package/shells/typescript-shell/packages/client/src/context/DesignThemeContext.tsx +0 -40
- package/shells/typescript-shell/packages/client/src/context/ThemeContext.tsx +0 -321
- package/shells/typescript-shell/packages/client/src/context/UISlotContext.tsx +0 -143
- package/shells/typescript-shell/packages/client/src/context/UserContext.tsx +0 -259
- package/shells/typescript-shell/packages/client/src/context/index.ts +0 -44
- package/shells/typescript-shell/packages/client/src/evaluator/SExpressionEvaluator.ts +0 -715
- package/shells/typescript-shell/packages/client/src/evaluator/context.ts +0 -196
- package/shells/typescript-shell/packages/client/src/evaluator/index.ts +0 -52
- package/shells/typescript-shell/packages/client/src/evaluator/operators/arithmetic.ts +0 -120
- package/shells/typescript-shell/packages/client/src/evaluator/operators/collections.ts +0 -177
- package/shells/typescript-shell/packages/client/src/evaluator/operators/comparison.ts +0 -130
- package/shells/typescript-shell/packages/client/src/evaluator/operators/control.ts +0 -86
- package/shells/typescript-shell/packages/client/src/evaluator/operators/effects.ts +0 -285
- package/shells/typescript-shell/packages/client/src/evaluator/operators/index.ts +0 -69
- package/shells/typescript-shell/packages/client/src/evaluator/operators/logic.ts +0 -66
- package/shells/typescript-shell/packages/client/src/evaluator/std/array.ts +0 -657
- package/shells/typescript-shell/packages/client/src/evaluator/std/async.ts +0 -210
- package/shells/typescript-shell/packages/client/src/evaluator/std/format.ts +0 -224
- package/shells/typescript-shell/packages/client/src/evaluator/std/index.ts +0 -206
- package/shells/typescript-shell/packages/client/src/evaluator/std/math.ts +0 -219
- package/shells/typescript-shell/packages/client/src/evaluator/std/object.ts +0 -435
- package/shells/typescript-shell/packages/client/src/evaluator/std/str.ts +0 -372
- package/shells/typescript-shell/packages/client/src/evaluator/std/time.ts +0 -594
- package/shells/typescript-shell/packages/client/src/evaluator/std/validate.ts +0 -445
- package/shells/typescript-shell/packages/client/src/evaluator/types/expression.ts +0 -297
- package/shells/typescript-shell/packages/client/src/features/auth/AuthContext.tsx +0 -192
- package/shells/typescript-shell/packages/client/src/features/auth/authService.ts +0 -90
- package/shells/typescript-shell/packages/client/src/features/auth/components/Login.tsx +0 -282
- package/shells/typescript-shell/packages/client/src/features/auth/components/ProtectedRoute.tsx +0 -28
- package/shells/typescript-shell/packages/client/src/features/auth/components/UserProfile.tsx +0 -52
- package/shells/typescript-shell/packages/client/src/features/auth/components/index.ts +0 -3
- package/shells/typescript-shell/packages/client/src/features/auth/index.ts +0 -4
- package/shells/typescript-shell/packages/client/src/features/auth/types.ts +0 -33
- package/shells/typescript-shell/packages/client/src/hooks/event-bus-types.ts +0 -70
- package/shells/typescript-shell/packages/client/src/hooks/index.ts +0 -84
- package/shells/typescript-shell/packages/client/src/hooks/useEntities.ts +0 -118
- package/shells/typescript-shell/packages/client/src/hooks/useEntityData.ts +0 -288
- package/shells/typescript-shell/packages/client/src/hooks/useEntityMutations.ts +0 -258
- package/shells/typescript-shell/packages/client/src/hooks/useEventBus.ts +0 -166
- package/shells/typescript-shell/packages/client/src/hooks/useOrbitalMutations.ts +0 -234
- package/shells/typescript-shell/packages/client/src/hooks/useQuerySingleton.ts +0 -179
- package/shells/typescript-shell/packages/client/src/hooks/useUIEvents.ts +0 -228
- package/shells/typescript-shell/packages/client/src/hooks/useUISlots.ts +0 -320
- package/shells/typescript-shell/packages/client/src/index.css +0 -15
- package/shells/typescript-shell/packages/client/src/lib/api-client.ts +0 -134
- package/shells/typescript-shell/packages/client/src/lib/cn.ts +0 -10
- package/shells/typescript-shell/packages/client/src/lib/debug.ts +0 -114
- package/shells/typescript-shell/packages/client/src/lib/debugRegistry.ts +0 -108
- package/shells/typescript-shell/packages/client/src/lib/debugUtils.ts +0 -62
- package/shells/typescript-shell/packages/client/src/lib/entityDebug.ts +0 -79
- package/shells/typescript-shell/packages/client/src/lib/guardRegistry.ts +0 -79
- package/shells/typescript-shell/packages/client/src/lib/tickRegistry.ts +0 -86
- package/shells/typescript-shell/packages/client/src/lib/traitRegistry.ts +0 -84
- package/shells/typescript-shell/packages/client/src/loaders/AssetLoader.ts +0 -315
- package/shells/typescript-shell/packages/client/src/loaders/index.ts +0 -17
- package/shells/typescript-shell/packages/client/src/main.tsx +0 -24
- package/shells/typescript-shell/packages/client/src/pages/index.ts +0 -2
- package/shells/typescript-shell/packages/client/src/providers/EventBusProvider.tsx +0 -212
- package/shells/typescript-shell/packages/client/src/providers/FetchedDataProvider.tsx +0 -280
- package/shells/typescript-shell/packages/client/src/providers/OrbitalProvider.tsx +0 -136
- package/shells/typescript-shell/packages/client/src/providers/SelectionProvider.tsx +0 -232
- package/shells/typescript-shell/packages/client/src/providers/index.ts +0 -31
- package/shells/typescript-shell/packages/client/src/renderer/client-effect-executor.ts +0 -267
- package/shells/typescript-shell/packages/client/src/renderer/data-resolver.ts +0 -253
- package/shells/typescript-shell/packages/client/src/renderer/index.ts +0 -138
- package/shells/typescript-shell/packages/client/src/renderer/offline-executor.ts +0 -610
- package/shells/typescript-shell/packages/client/src/renderer/pattern-resolver.ts +0 -209
- package/shells/typescript-shell/packages/client/src/renderer/slot-definitions.ts +0 -154
- package/shells/typescript-shell/packages/client/src/renderer/types.ts +0 -214
- package/shells/typescript-shell/packages/client/src/renderer/useClientEffects.ts +0 -236
- package/shells/typescript-shell/packages/client/src/stores/entityStore.ts +0 -233
- package/shells/typescript-shell/packages/client/src/stores/filtering.ts +0 -180
- package/shells/typescript-shell/packages/client/src/stores/index.ts +0 -11
- package/shells/typescript-shell/packages/client/src/test/setup.ts +0 -126
- package/shells/typescript-shell/packages/client/src/themes/almadar.css +0 -196
- package/shells/typescript-shell/packages/client/src/themes/index.css +0 -11
- package/shells/typescript-shell/packages/client/src/themes/minimalist.css +0 -193
- package/shells/typescript-shell/packages/client/src/themes/wireframe.css +0 -188
- package/shells/typescript-shell/packages/client/src/types/__tests__/event-contracts.test.ts +0 -204
- package/shells/typescript-shell/packages/client/src/types/event-contracts.ts +0 -267
- package/shells/typescript-shell/packages/client/tailwind.config.js +0 -55
- package/shells/typescript-shell/packages/client/tsconfig.json +0 -33
- package/shells/typescript-shell/packages/client/tsconfig.node.json +0 -12
- package/shells/typescript-shell/packages/client/vite.config.d.ts +0 -3
- package/shells/typescript-shell/packages/client/vite.config.d.ts.map +0 -1
- package/shells/typescript-shell/packages/client/vite.config.js +0 -43
- package/shells/typescript-shell/packages/client/vite.config.js.map +0 -1
- package/shells/typescript-shell/packages/client/vite.config.ts +0 -48
- package/shells/typescript-shell/packages/server/.env.development +0 -8
- package/shells/typescript-shell/packages/server/.env.example +0 -22
- package/shells/typescript-shell/packages/server/package.json +0 -41
- package/shells/typescript-shell/packages/server/src/__tests__/integration.test.ts +0 -23
- package/shells/typescript-shell/packages/server/src/app.ts +0 -53
- package/shells/typescript-shell/packages/server/src/features/.gitkeep +0 -10
- package/shells/typescript-shell/packages/server/src/index.ts +0 -60
- package/shells/typescript-shell/packages/server/src/integrators/INTEGRATORS.md +0 -357
- package/shells/typescript-shell/packages/server/src/integrators/__tests__/registry.test.ts +0 -419
- package/shells/typescript-shell/packages/server/src/integrators/__tests__/types.test.ts +0 -382
- package/shells/typescript-shell/packages/server/src/integrators/__tests__/youtube.closed-circuit.test.ts +0 -454
- package/shells/typescript-shell/packages/server/src/integrators/__tests__/youtube.test.ts +0 -519
- package/shells/typescript-shell/packages/server/src/integrators/index.ts +0 -67
- package/shells/typescript-shell/packages/server/src/integrators/llm.ts +0 -585
- package/shells/typescript-shell/packages/server/src/integrators/registry.ts +0 -318
- package/shells/typescript-shell/packages/server/src/integrators/types.ts +0 -248
- package/shells/typescript-shell/packages/server/src/integrators/youtube.ts +0 -614
- package/shells/typescript-shell/packages/server/src/lib/db.ts +0 -130
- package/shells/typescript-shell/packages/server/src/lib/env.ts +0 -47
- package/shells/typescript-shell/packages/server/src/lib/eventBus.ts +0 -80
- package/shells/typescript-shell/packages/server/src/lib/index.ts +0 -10
- package/shells/typescript-shell/packages/server/src/lib/logger.ts +0 -48
- package/shells/typescript-shell/packages/server/src/lib/websocket.ts +0 -161
- package/shells/typescript-shell/packages/server/src/middleware/authenticateFirebase.ts +0 -29
- package/shells/typescript-shell/packages/server/src/middleware/errorHandler.ts +0 -135
- package/shells/typescript-shell/packages/server/src/middleware/index.ts +0 -15
- package/shells/typescript-shell/packages/server/src/middleware/validation.ts +0 -77
- package/shells/typescript-shell/packages/server/src/routes/__tests__/orbitals.e2e.test.ts +0 -405
- package/shells/typescript-shell/packages/server/src/routes/features/.gitkeep +0 -0
- package/shells/typescript-shell/packages/server/src/routes/index.ts +0 -11
- package/shells/typescript-shell/packages/server/src/routes/orbitals.ts +0 -138
- package/shells/typescript-shell/packages/server/src/routes/register.ts +0 -19
- package/shells/typescript-shell/packages/server/src/routes.ts +0 -58
- package/shells/typescript-shell/packages/server/src/seedMockData.ts +0 -27
- package/shells/typescript-shell/packages/server/src/services/DataService.ts +0 -402
- package/shells/typescript-shell/packages/server/src/services/MockDataService.ts +0 -347
- package/shells/typescript-shell/packages/server/src/services/index.ts +0 -8
- package/shells/typescript-shell/packages/server/src/types/express.d.ts +0 -13
- package/shells/typescript-shell/packages/server/src/utils/index.ts +0 -9
- package/shells/typescript-shell/packages/server/src/utils/queryFilters.ts +0 -231
- package/shells/typescript-shell/packages/server/tsconfig.json +0 -28
- package/shells/typescript-shell/packages/shared/package.json +0 -22
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/atom-demo.test.ts +0 -61
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/container-demo.test.ts +0 -43
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/content-item.test.ts +0 -55
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/game-state.test.ts +0 -67
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/layout-demo.test.ts +0 -43
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/modal-item.test.ts +0 -49
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/molecule-demo.test.ts +0 -55
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/nav-item.test.ts +0 -55
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/product.test.ts +0 -78
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/project.test.ts +0 -85
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/searchable-item.test.ts +0 -61
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/state-demo.test.ts +0 -43
- package/shells/typescript-shell/packages/shared/src/__tests__/entities/wizard-data.test.ts +0 -61
- package/shells/typescript-shell/packages/shared/src/evaluator/SExpressionEvaluator.ts +0 -715
- package/shells/typescript-shell/packages/shared/src/evaluator/context.ts +0 -196
- package/shells/typescript-shell/packages/shared/src/evaluator/index.ts +0 -52
- package/shells/typescript-shell/packages/shared/src/evaluator/operators/arithmetic.ts +0 -120
- package/shells/typescript-shell/packages/shared/src/evaluator/operators/collections.ts +0 -177
- package/shells/typescript-shell/packages/shared/src/evaluator/operators/comparison.ts +0 -130
- package/shells/typescript-shell/packages/shared/src/evaluator/operators/control.ts +0 -86
- package/shells/typescript-shell/packages/shared/src/evaluator/operators/effects.ts +0 -285
- package/shells/typescript-shell/packages/shared/src/evaluator/operators/index.ts +0 -69
- package/shells/typescript-shell/packages/shared/src/evaluator/operators/logic.ts +0 -66
- package/shells/typescript-shell/packages/shared/src/evaluator/std/array.ts +0 -657
- package/shells/typescript-shell/packages/shared/src/evaluator/std/async.ts +0 -210
- package/shells/typescript-shell/packages/shared/src/evaluator/std/format.ts +0 -224
- package/shells/typescript-shell/packages/shared/src/evaluator/std/index.ts +0 -206
- package/shells/typescript-shell/packages/shared/src/evaluator/std/math.ts +0 -219
- package/shells/typescript-shell/packages/shared/src/evaluator/std/object.ts +0 -435
- package/shells/typescript-shell/packages/shared/src/evaluator/std/str.ts +0 -372
- package/shells/typescript-shell/packages/shared/src/evaluator/std/time.ts +0 -594
- package/shells/typescript-shell/packages/shared/src/evaluator/std/validate.ts +0 -445
- package/shells/typescript-shell/packages/shared/src/evaluator/types/expression.ts +0 -297
- package/shells/typescript-shell/packages/shared/src/index.ts +0 -12
- package/shells/typescript-shell/packages/shared/src/schemas/entities.ts +0 -13
- package/shells/typescript-shell/packages/shared/src/types/entities.ts +0 -321
- package/shells/typescript-shell/packages/shared/src/types/events.ts +0 -82
- package/shells/typescript-shell/packages/shared/tsconfig.json +0 -16
- package/shells/typescript-shell/tests/setup.ts +0 -22
- package/shells/typescript-shell/tsconfig.base.json +0 -21
- package/shells/typescript-shell/tsconfig.json +0 -13
- package/shells/typescript-shell/vitest.config.ts +0 -54
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export { Button, type ButtonProps } from "./Button";
|
|
2
|
-
export { Input, type InputProps } from "./Input";
|
|
3
|
-
export { Label, type LabelProps } from "./Label";
|
|
4
|
-
export { Textarea, type TextareaProps } from "./Textarea";
|
|
5
|
-
export { Select, type SelectProps, type SelectOption } from "./Select";
|
|
6
|
-
export { Checkbox, type CheckboxProps } from "./Checkbox";
|
|
7
|
-
export {
|
|
8
|
-
Card,
|
|
9
|
-
CardHeader,
|
|
10
|
-
CardTitle,
|
|
11
|
-
CardContent,
|
|
12
|
-
CardBody,
|
|
13
|
-
CardFooter,
|
|
14
|
-
type CardProps,
|
|
15
|
-
} from "./Card";
|
|
16
|
-
export { Badge, type BadgeProps } from "./Badge";
|
|
17
|
-
export { Spinner, type SpinnerProps } from "./Spinner";
|
|
18
|
-
|
|
19
|
-
// Migrated atoms
|
|
20
|
-
export {
|
|
21
|
-
Avatar,
|
|
22
|
-
type AvatarProps,
|
|
23
|
-
type AvatarSize,
|
|
24
|
-
type AvatarStatus,
|
|
25
|
-
} from "./Avatar";
|
|
26
|
-
export {
|
|
27
|
-
Box,
|
|
28
|
-
type BoxProps,
|
|
29
|
-
type BoxPadding,
|
|
30
|
-
type BoxMargin,
|
|
31
|
-
type BoxBg,
|
|
32
|
-
type BoxRounded,
|
|
33
|
-
type BoxShadow,
|
|
34
|
-
} from "./Box";
|
|
35
|
-
export { Center, type CenterProps } from "./Center";
|
|
36
|
-
export { Divider, type DividerProps, type DividerOrientation } from "./Divider";
|
|
37
|
-
export {
|
|
38
|
-
Icon,
|
|
39
|
-
type IconProps,
|
|
40
|
-
type IconSize,
|
|
41
|
-
type IconAnimation,
|
|
42
|
-
} from "./Icon";
|
|
43
|
-
export {
|
|
44
|
-
ProgressBar,
|
|
45
|
-
type ProgressBarProps,
|
|
46
|
-
type ProgressBarVariant,
|
|
47
|
-
type ProgressBarColor,
|
|
48
|
-
} from "./ProgressBar";
|
|
49
|
-
export { Radio, type RadioProps } from "./Radio";
|
|
50
|
-
export { Switch, type SwitchProps } from "./Switch";
|
|
51
|
-
export { Spacer, type SpacerProps, type SpacerSize } from "./Spacer";
|
|
52
|
-
export {
|
|
53
|
-
Stack,
|
|
54
|
-
VStack,
|
|
55
|
-
HStack,
|
|
56
|
-
type StackProps,
|
|
57
|
-
type VStackProps,
|
|
58
|
-
type HStackProps,
|
|
59
|
-
type StackDirection,
|
|
60
|
-
type StackGap,
|
|
61
|
-
type StackAlign,
|
|
62
|
-
type StackJustify,
|
|
63
|
-
} from "./Stack";
|
|
64
|
-
export {
|
|
65
|
-
TextHighlight,
|
|
66
|
-
type TextHighlightProps,
|
|
67
|
-
type HighlightType,
|
|
68
|
-
} from "./TextHighlight";
|
|
69
|
-
export {
|
|
70
|
-
Typography,
|
|
71
|
-
type TypographyProps,
|
|
72
|
-
type TypographyVariant,
|
|
73
|
-
} from "./Typography";
|
|
74
|
-
export { ThemeToggle, type ThemeToggleProps } from "./ThemeToggle";
|
|
75
|
-
export { ThemeSelector } from "./ThemeSelector";
|
|
76
|
-
export { Overlay, type OverlayProps } from "./Overlay";
|
|
77
|
-
|
|
78
|
-
// Inspection form components
|
|
79
|
-
export {
|
|
80
|
-
ConditionalWrapper,
|
|
81
|
-
type ConditionalWrapperProps,
|
|
82
|
-
type ConditionalContext,
|
|
83
|
-
} from "./ConditionalWrapper";
|
|
84
|
-
export {
|
|
85
|
-
LawReferenceTooltip,
|
|
86
|
-
type LawReferenceTooltipProps,
|
|
87
|
-
type LawReference,
|
|
88
|
-
} from "./LawReferenceTooltip";
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Accordion Molecule Component
|
|
3
|
-
*
|
|
4
|
-
* A collapsible content component with single or multiple open items.
|
|
5
|
-
* Uses Button, Icon, Typography, and Divider atoms.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React, { useState } from "react";
|
|
9
|
-
import { ChevronDown } from "lucide-react";
|
|
10
|
-
|
|
11
|
-
import { Icon } from "../atoms/Icon";
|
|
12
|
-
import { Typography } from "../atoms/Typography";
|
|
13
|
-
|
|
14
|
-
import { cn } from "../../lib/cn";
|
|
15
|
-
|
|
16
|
-
export interface AccordionItem {
|
|
17
|
-
/**
|
|
18
|
-
* Item ID (auto-generated from header/title if not provided)
|
|
19
|
-
*/
|
|
20
|
-
id?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Item header/title
|
|
24
|
-
*/
|
|
25
|
-
header?: React.ReactNode;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Alias for header (pattern compatibility)
|
|
29
|
-
*/
|
|
30
|
-
title?: React.ReactNode;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Item content
|
|
34
|
-
*/
|
|
35
|
-
content: React.ReactNode;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Disable item
|
|
39
|
-
*/
|
|
40
|
-
disabled?: boolean;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Default open state
|
|
44
|
-
*/
|
|
45
|
-
defaultOpen?: boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface AccordionProps {
|
|
49
|
-
/**
|
|
50
|
-
* Accordion items
|
|
51
|
-
*/
|
|
52
|
-
items: AccordionItem[];
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Allow multiple items open at once
|
|
56
|
-
* @default false
|
|
57
|
-
*/
|
|
58
|
-
multiple?: boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Default open items (IDs)
|
|
62
|
-
*/
|
|
63
|
-
defaultOpenItems?: string[];
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Default open items by index (pattern compatibility)
|
|
67
|
-
*/
|
|
68
|
-
defaultOpen?: number[];
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Controlled open items (IDs)
|
|
72
|
-
*/
|
|
73
|
-
openItems?: string[];
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Callback when item opens/closes
|
|
77
|
-
*/
|
|
78
|
-
onItemToggle?: (itemId: string, isOpen: boolean) => void;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Additional CSS classes
|
|
82
|
-
*/
|
|
83
|
-
className?: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// Helper to generate ID from header/title content
|
|
87
|
-
function generateItemId(item: AccordionItem, index: number): string {
|
|
88
|
-
if (item.id) return item.id;
|
|
89
|
-
const headerText = item.header ?? item.title;
|
|
90
|
-
if (typeof headerText === "string") {
|
|
91
|
-
return `accordion-${headerText.toLowerCase().replace(/\s+/g, "-")}-${index}`;
|
|
92
|
-
}
|
|
93
|
-
return `accordion-item-${index}`;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Normalize item to ensure id and header are set
|
|
97
|
-
function normalizeItem(
|
|
98
|
-
item: AccordionItem,
|
|
99
|
-
index: number,
|
|
100
|
-
): AccordionItem & { id: string; header: React.ReactNode } {
|
|
101
|
-
return {
|
|
102
|
-
...item,
|
|
103
|
-
id: generateItemId(item, index),
|
|
104
|
-
header: item.header ?? item.title ?? "",
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export const Accordion: React.FC<AccordionProps> = ({
|
|
109
|
-
items,
|
|
110
|
-
multiple = false,
|
|
111
|
-
defaultOpenItems,
|
|
112
|
-
defaultOpen,
|
|
113
|
-
openItems: controlledOpenItems,
|
|
114
|
-
onItemToggle,
|
|
115
|
-
className,
|
|
116
|
-
}) => {
|
|
117
|
-
// Normalize items to ensure id and header are always present
|
|
118
|
-
const normalizedItems = items.map((item, index) =>
|
|
119
|
-
normalizeItem(item, index),
|
|
120
|
-
);
|
|
121
|
-
|
|
122
|
-
// Resolve default open items - prefer defaultOpenItems (string IDs), fall back to defaultOpen (indices)
|
|
123
|
-
const resolveDefaultOpen = (): string[] => {
|
|
124
|
-
if (defaultOpenItems) return defaultOpenItems;
|
|
125
|
-
if (defaultOpen) {
|
|
126
|
-
return defaultOpen
|
|
127
|
-
.filter((index) => index >= 0 && index < normalizedItems.length)
|
|
128
|
-
.map((index) => normalizedItems[index].id);
|
|
129
|
-
}
|
|
130
|
-
return normalizedItems
|
|
131
|
-
.filter((item) => item.defaultOpen)
|
|
132
|
-
.map((item) => item.id);
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
const [internalOpenItems, setInternalOpenItems] = useState<Set<string>>(
|
|
136
|
-
new Set(resolveDefaultOpen()),
|
|
137
|
-
);
|
|
138
|
-
|
|
139
|
-
const openItemsSet = controlledOpenItems
|
|
140
|
-
? new Set(controlledOpenItems)
|
|
141
|
-
: internalOpenItems;
|
|
142
|
-
|
|
143
|
-
const handleToggle = (itemId: string) => {
|
|
144
|
-
const isOpen = openItemsSet.has(itemId);
|
|
145
|
-
const newOpenItems = new Set(openItemsSet);
|
|
146
|
-
|
|
147
|
-
if (isOpen) {
|
|
148
|
-
newOpenItems.delete(itemId);
|
|
149
|
-
} else {
|
|
150
|
-
if (!multiple) {
|
|
151
|
-
newOpenItems.clear();
|
|
152
|
-
}
|
|
153
|
-
newOpenItems.add(itemId);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
if (controlledOpenItems === undefined) {
|
|
157
|
-
setInternalOpenItems(newOpenItems);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
onItemToggle?.(itemId, !isOpen);
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
return (
|
|
164
|
-
<div className={cn("w-full", className)}>
|
|
165
|
-
{normalizedItems.map((item, index) => {
|
|
166
|
-
const isOpen = openItemsSet.has(item.id);
|
|
167
|
-
const isDisabled = item.disabled;
|
|
168
|
-
|
|
169
|
-
return (
|
|
170
|
-
<div key={item.id} className={index > 0 ? "mt-2" : ""}>
|
|
171
|
-
<div className="border-2 border-[var(--color-border)] overflow-hidden">
|
|
172
|
-
<button
|
|
173
|
-
type="button"
|
|
174
|
-
onClick={() => !isDisabled && handleToggle(item.id)}
|
|
175
|
-
disabled={isDisabled}
|
|
176
|
-
className={cn(
|
|
177
|
-
"w-full flex items-center justify-between px-4 py-3",
|
|
178
|
-
"bg-[var(--color-card)]",
|
|
179
|
-
"hover:bg-[var(--color-muted)]",
|
|
180
|
-
"transition-colors duration-200",
|
|
181
|
-
"focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-inset",
|
|
182
|
-
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
183
|
-
isOpen && "bg-[var(--color-muted)] font-bold",
|
|
184
|
-
)}
|
|
185
|
-
aria-expanded={isOpen}
|
|
186
|
-
aria-controls={`accordion-content-${item.id}`}
|
|
187
|
-
>
|
|
188
|
-
<div className="flex-1 text-left">
|
|
189
|
-
{typeof item.header === "string" ? (
|
|
190
|
-
<Typography variant="body" weight="medium">
|
|
191
|
-
{item.header}
|
|
192
|
-
</Typography>
|
|
193
|
-
) : (
|
|
194
|
-
item.header
|
|
195
|
-
)}
|
|
196
|
-
</div>
|
|
197
|
-
<Icon
|
|
198
|
-
icon={ChevronDown}
|
|
199
|
-
size="sm"
|
|
200
|
-
className={cn(
|
|
201
|
-
"transition-transform duration-200",
|
|
202
|
-
isOpen && "transform rotate-180",
|
|
203
|
-
)}
|
|
204
|
-
/>
|
|
205
|
-
</button>
|
|
206
|
-
|
|
207
|
-
{isOpen && (
|
|
208
|
-
<div
|
|
209
|
-
id={`accordion-content-${item.id}`}
|
|
210
|
-
className="px-4 py-3 bg-[var(--color-card)] border-t-2 border-[var(--color-border)]"
|
|
211
|
-
>
|
|
212
|
-
{item.content}
|
|
213
|
-
</div>
|
|
214
|
-
)}
|
|
215
|
-
</div>
|
|
216
|
-
</div>
|
|
217
|
-
);
|
|
218
|
-
})}
|
|
219
|
-
</div>
|
|
220
|
-
);
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
Accordion.displayName = "Accordion";
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Alert Molecule Component
|
|
3
|
-
*
|
|
4
|
-
* A component for displaying alert messages with different variants and actions.
|
|
5
|
-
* Uses theme-aware CSS variables for styling.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { X, AlertCircle, CheckCircle, AlertTriangle, Info } from "lucide-react";
|
|
10
|
-
import { cn } from "../../lib/cn";
|
|
11
|
-
import { Box } from "../atoms/Box";
|
|
12
|
-
import { Icon } from "../atoms/Icon";
|
|
13
|
-
import { Typography } from "../atoms/Typography";
|
|
14
|
-
|
|
15
|
-
export type AlertVariant = "info" | "success" | "warning" | "error";
|
|
16
|
-
|
|
17
|
-
export interface AlertProps {
|
|
18
|
-
/** Alert content (children or message) */
|
|
19
|
-
children?: React.ReactNode;
|
|
20
|
-
/** Alert message (alias for children) */
|
|
21
|
-
message?: string;
|
|
22
|
-
variant?: AlertVariant;
|
|
23
|
-
title?: string;
|
|
24
|
-
dismissible?: boolean;
|
|
25
|
-
onDismiss?: () => void;
|
|
26
|
-
onClose?: () => void;
|
|
27
|
-
actions?: React.ReactNode;
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
const variantBorderClasses: Record<AlertVariant, string> = {
|
|
32
|
-
info: "border-[var(--color-info)]",
|
|
33
|
-
success: "border-[var(--color-success)]",
|
|
34
|
-
warning: "border-[var(--color-warning)]",
|
|
35
|
-
error: "border-[var(--color-error)]",
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
const variantIconColors: Record<AlertVariant, string> = {
|
|
39
|
-
info: "text-[var(--color-info)]",
|
|
40
|
-
success: "text-[var(--color-success)]",
|
|
41
|
-
warning: "text-[var(--color-warning)]",
|
|
42
|
-
error: "text-[var(--color-error)]",
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
const iconMap: Record<AlertVariant, typeof Info> = {
|
|
46
|
-
info: Info,
|
|
47
|
-
success: CheckCircle,
|
|
48
|
-
warning: AlertTriangle,
|
|
49
|
-
error: AlertCircle,
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export const Alert: React.FC<AlertProps> = ({
|
|
53
|
-
children,
|
|
54
|
-
message,
|
|
55
|
-
variant = "info",
|
|
56
|
-
title,
|
|
57
|
-
dismissible = false,
|
|
58
|
-
onDismiss,
|
|
59
|
-
onClose,
|
|
60
|
-
actions,
|
|
61
|
-
className,
|
|
62
|
-
}) => {
|
|
63
|
-
const handleDismiss = onDismiss || onClose;
|
|
64
|
-
// Use message if provided, else children
|
|
65
|
-
const content = children ?? message;
|
|
66
|
-
|
|
67
|
-
return (
|
|
68
|
-
<Box
|
|
69
|
-
bg="surface"
|
|
70
|
-
border
|
|
71
|
-
shadow="sm"
|
|
72
|
-
padding="md"
|
|
73
|
-
rounded="sm"
|
|
74
|
-
className={cn(variantBorderClasses[variant], className)}
|
|
75
|
-
role="alert"
|
|
76
|
-
>
|
|
77
|
-
<div className="flex items-start gap-3">
|
|
78
|
-
{/* Icon */}
|
|
79
|
-
<div className="flex-shrink-0 mt-0.5">
|
|
80
|
-
<Icon
|
|
81
|
-
icon={iconMap[variant]}
|
|
82
|
-
size="md"
|
|
83
|
-
className={variantIconColors[variant]}
|
|
84
|
-
/>
|
|
85
|
-
</div>
|
|
86
|
-
|
|
87
|
-
{/* Content */}
|
|
88
|
-
<div className="flex-1 min-w-0">
|
|
89
|
-
{title && (
|
|
90
|
-
<Typography variant="h6" className="mb-1">
|
|
91
|
-
{title}
|
|
92
|
-
</Typography>
|
|
93
|
-
)}
|
|
94
|
-
<Typography variant="body2">{content}</Typography>
|
|
95
|
-
{actions && <div className="mt-3 flex gap-2">{actions}</div>}
|
|
96
|
-
</div>
|
|
97
|
-
|
|
98
|
-
{/* Dismiss Button */}
|
|
99
|
-
{(dismissible || handleDismiss) && (
|
|
100
|
-
<button
|
|
101
|
-
type="button"
|
|
102
|
-
onClick={handleDismiss}
|
|
103
|
-
className={cn(
|
|
104
|
-
"flex-shrink-0 p-1 transition-colors rounded-[var(--radius-sm)]",
|
|
105
|
-
"hover:bg-[var(--color-muted)]",
|
|
106
|
-
)}
|
|
107
|
-
aria-label="Dismiss alert"
|
|
108
|
-
>
|
|
109
|
-
<Icon icon={X} size="sm" />
|
|
110
|
-
</button>
|
|
111
|
-
)}
|
|
112
|
-
</div>
|
|
113
|
-
</Box>
|
|
114
|
-
);
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
Alert.displayName = "Alert";
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Breadcrumb Molecule Component
|
|
3
|
-
*
|
|
4
|
-
* A breadcrumb navigation component with separators and icons.
|
|
5
|
-
* Uses Button, Icon, and Typography atoms.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { ChevronRight } from "lucide-react";
|
|
10
|
-
import type { LucideIcon } from "lucide-react";
|
|
11
|
-
|
|
12
|
-
import { Icon } from "../atoms/Icon";
|
|
13
|
-
import { Typography } from "../atoms/Typography";
|
|
14
|
-
import { cn } from "../../lib/cn";
|
|
15
|
-
|
|
16
|
-
export interface BreadcrumbItem {
|
|
17
|
-
/**
|
|
18
|
-
* Item label
|
|
19
|
-
*/
|
|
20
|
-
label: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Item href (if provided, renders as link)
|
|
24
|
-
*/
|
|
25
|
-
href?: string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Item path (alias for href, for schema compatibility)
|
|
29
|
-
*/
|
|
30
|
-
path?: string;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Item icon
|
|
34
|
-
*/
|
|
35
|
-
icon?: LucideIcon;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Click handler (if href not provided)
|
|
39
|
-
*/
|
|
40
|
-
onClick?: () => void;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Is current page
|
|
44
|
-
*/
|
|
45
|
-
isCurrent?: boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface BreadcrumbProps {
|
|
49
|
-
/**
|
|
50
|
-
* Breadcrumb items
|
|
51
|
-
*/
|
|
52
|
-
items: BreadcrumbItem[];
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Separator icon
|
|
56
|
-
*/
|
|
57
|
-
separator?: LucideIcon;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Maximum items to show (truncates with ellipsis)
|
|
61
|
-
*/
|
|
62
|
-
maxItems?: number;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Additional CSS classes
|
|
66
|
-
*/
|
|
67
|
-
className?: string;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export const Breadcrumb: React.FC<BreadcrumbProps> = ({
|
|
71
|
-
items,
|
|
72
|
-
separator = ChevronRight,
|
|
73
|
-
maxItems,
|
|
74
|
-
className,
|
|
75
|
-
}) => {
|
|
76
|
-
const displayItems =
|
|
77
|
-
maxItems && items.length > maxItems
|
|
78
|
-
? [
|
|
79
|
-
...items.slice(0, 1),
|
|
80
|
-
{ label: "...", isCurrent: false } as BreadcrumbItem,
|
|
81
|
-
...items.slice(-maxItems + 1),
|
|
82
|
-
]
|
|
83
|
-
: items;
|
|
84
|
-
|
|
85
|
-
return (
|
|
86
|
-
<nav
|
|
87
|
-
aria-label="Breadcrumb"
|
|
88
|
-
className={cn("flex items-center gap-2", className)}
|
|
89
|
-
>
|
|
90
|
-
<ol className="flex items-center gap-2">
|
|
91
|
-
{displayItems.map((item, index) => {
|
|
92
|
-
const isLast = index === displayItems.length - 1;
|
|
93
|
-
const isEllipsis = item.label === "...";
|
|
94
|
-
|
|
95
|
-
return (
|
|
96
|
-
<li key={index} className="flex items-center gap-2">
|
|
97
|
-
{isEllipsis ? (
|
|
98
|
-
<Typography variant="small" color="muted">
|
|
99
|
-
{item.label}
|
|
100
|
-
</Typography>
|
|
101
|
-
) : item.href || item.path ? (
|
|
102
|
-
<a
|
|
103
|
-
href={item.href || item.path}
|
|
104
|
-
className={cn(
|
|
105
|
-
"flex items-center gap-1.5 transition-colors",
|
|
106
|
-
isLast
|
|
107
|
-
? "text-[var(--color-foreground)] font-bold"
|
|
108
|
-
: "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
|
|
109
|
-
)}
|
|
110
|
-
aria-current={isLast ? "page" : undefined}
|
|
111
|
-
>
|
|
112
|
-
{item.icon && <Icon icon={item.icon} size="sm" />}
|
|
113
|
-
<Typography
|
|
114
|
-
variant="small"
|
|
115
|
-
weight={isLast ? "medium" : "normal"}
|
|
116
|
-
>
|
|
117
|
-
{item.label}
|
|
118
|
-
</Typography>
|
|
119
|
-
</a>
|
|
120
|
-
) : (
|
|
121
|
-
<button
|
|
122
|
-
type="button"
|
|
123
|
-
onClick={item.onClick}
|
|
124
|
-
className={cn(
|
|
125
|
-
"flex items-center gap-1.5 transition-colors",
|
|
126
|
-
"focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-2",
|
|
127
|
-
isLast
|
|
128
|
-
? "text-[var(--color-foreground)] font-bold cursor-default"
|
|
129
|
-
: "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
|
|
130
|
-
)}
|
|
131
|
-
aria-current={isLast ? "page" : undefined}
|
|
132
|
-
disabled={isLast}
|
|
133
|
-
>
|
|
134
|
-
{item.icon && <Icon icon={item.icon} size="sm" />}
|
|
135
|
-
<Typography
|
|
136
|
-
variant="small"
|
|
137
|
-
weight={isLast ? "medium" : "normal"}
|
|
138
|
-
>
|
|
139
|
-
{item.label}
|
|
140
|
-
</Typography>
|
|
141
|
-
</button>
|
|
142
|
-
)}
|
|
143
|
-
|
|
144
|
-
{!isLast && (
|
|
145
|
-
<Icon
|
|
146
|
-
icon={separator}
|
|
147
|
-
size="sm"
|
|
148
|
-
className="text-[var(--color-muted-foreground)]"
|
|
149
|
-
/>
|
|
150
|
-
)}
|
|
151
|
-
</li>
|
|
152
|
-
);
|
|
153
|
-
})}
|
|
154
|
-
</ol>
|
|
155
|
-
</nav>
|
|
156
|
-
);
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
Breadcrumb.displayName = "Breadcrumb";
|