spine-framework 0.3.124 → 0.3.126
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/.framework/cli/commands/agents.ts +35 -37
- package/.framework/cli/commands/auth.ts +35 -34
- package/.framework/cli/commands/create-app.ts +104 -40
- package/.framework/cli/commands/dev.ts +104 -69
- package/.framework/cli/commands/doctor.ts +179 -69
- package/.framework/cli/commands/generate.ts +83 -143
- package/.framework/cli/commands/init.ts +72 -34
- package/.framework/cli/commands/install-app.ts +260 -125
- package/.framework/cli/commands/items.ts +33 -44
- package/.framework/cli/commands/migrate.ts +122 -40
- package/.framework/cli/commands/migrations.ts +33 -40
- package/.framework/cli/commands/pipelines.ts +31 -39
- package/.framework/cli/commands/status.ts +47 -23
- package/.framework/cli/commands/system.ts +47 -37
- package/.framework/cli/commands/test.ts +112 -68
- package/.framework/cli/commands/validate-app.ts +215 -121
- package/.framework/cli/context.ts +112 -130
- package/.framework/cli/env-loader.ts +47 -18
- package/.framework/cli/index.ts +81 -42
- package/.framework/docs/runtime-types.md +1024 -0
- package/.framework/functions/_shared/agent-runner.ts +1296 -961
- package/.framework/functions/_shared/app-manifest.ts +82 -68
- package/.framework/functions/_shared/audit.ts +135 -83
- package/.framework/functions/_shared/{cil-state.ts → cil.ts} +158 -56
- package/.framework/functions/_shared/db.ts +80 -126
- package/.framework/functions/_shared/hash-api-key.ts +63 -0
- package/.framework/functions/_shared/index.ts +224 -335
- package/.framework/functions/_shared/kb.ts +319 -0
- package/.framework/functions/_shared/llm.ts +92 -0
- package/.framework/functions/_shared/logging.ts +288 -0
- package/.framework/functions/_shared/middleware.ts +329 -365
- package/.framework/functions/_shared/outcomes.ts +36 -0
- package/.framework/functions/_shared/permissions.ts +359 -643
- package/.framework/functions/_shared/pipeline-runner.ts +243 -316
- package/.framework/functions/_shared/principal.ts +376 -468
- package/.framework/functions/_shared/resolve-credentials.ts +102 -0
- package/.framework/functions/_shared/resolve-ids.ts +188 -16
- package/.framework/functions/_shared/retry-deliveries.ts +104 -0
- package/.framework/functions/_shared/schema-utils.ts +611 -373
- package/.framework/functions/_shared/testing.ts +207 -137
- package/.framework/functions/_shared/tracing.ts +276 -0
- package/.framework/functions/_shared/trigger-engine.ts +159 -211
- package/.framework/functions/_shared/webhook-registration.ts +95 -81
- package/.framework/functions/_shared/webhook-registry.ts +153 -75
- package/.framework/functions/account-nodes.ts +31 -53
- package/.framework/functions/adapters/generic-webhook-inbound.ts +56 -0
- package/.framework/functions/adapters/generic-webhook-outbound.ts +43 -0
- package/.framework/functions/adapters/openai-outbound.ts +40 -0
- package/.framework/functions/admin-data.ts +685 -537
- package/.framework/functions/admin-funnel.ts +31 -20
- package/.framework/functions/admin-install-funnel.ts +47 -28
- package/.framework/functions/admin-signals.ts +47 -29
- package/.framework/functions/ai-agents.ts +122 -147
- package/.framework/functions/ai-interactions.ts +180 -90
- package/.framework/functions/api-keys.ts +250 -192
- package/.framework/functions/apps.ts +203 -197
- package/.framework/functions/auth.ts +98 -91
- package/.framework/functions/cil-agent-ingest.ts +773 -0
- package/.framework/functions/cil-agent.ts +592 -0
- package/.framework/functions/cil-callmap.ts +1227 -0
- package/.framework/functions/cil-config.ts +583 -0
- package/.framework/functions/cil-context.ts +445 -0
- package/.framework/functions/cil-doc.ts +1752 -0
- package/.framework/functions/cil-embeddings.ts +1202 -0
- package/.framework/functions/cil-graph.ts +585 -0
- package/.framework/functions/cil-ingest.ts +2416 -0
- package/.framework/functions/cil-pipeline.ts +318 -0
- package/.framework/functions/cil-project.ts +499 -0
- package/.framework/functions/cil-validate.ts +469 -0
- package/.framework/functions/debug-auth.ts +73 -53
- package/.framework/functions/deliveries.ts +117 -0
- package/.framework/functions/embeddings.ts +528 -516
- package/.framework/functions/eval-harness.ts +158 -106
- package/.framework/functions/integration-outbound.ts +311 -0
- package/.framework/functions/integration-routes.ts +240 -466
- package/.framework/functions/integrations.ts +132 -140
- package/.framework/functions/invites.ts +401 -201
- package/.framework/functions/item-progress.ts +113 -53
- package/.framework/functions/kb.ts +28 -0
- package/.framework/functions/logs.ts +239 -222
- package/.framework/functions/observability.ts +308 -259
- package/.framework/functions/pipeline-executions.ts +179 -235
- package/.framework/functions/pipelines.ts +163 -205
- package/.framework/functions/prompt-configs.ts +109 -156
- package/.framework/functions/roles.ts +97 -147
- package/.framework/functions/system-cron.ts +132 -218
- package/.framework/functions/system.ts +112 -52
- package/.framework/functions/tests.ts +32 -28
- package/.framework/functions/timers.ts +162 -210
- package/.framework/functions/triggers.ts +282 -346
- package/.framework/functions/types.ts +283 -400
- package/.framework/migrations/001_core_schema.sql +630 -0
- package/.framework/migrations/002_core_rls_and_functions.sql +532 -0
- package/.framework/migrations/{003_system_data.sql → 003_core_system_data.sql} +26 -153
- package/.framework/migrations/004_core_rpc_and_broker.sql +421 -0
- package/.framework/migrations/005_core_observability.sql +598 -0
- package/.framework/migrations/006_security_hardening_rls.sql +97 -0
- package/.framework/migrations/007_kb_article_list.sql +237 -0
- package/.framework/migrations/008_items_target.sql +8 -0
- package/.framework/migrations/009_roles_slug_unique.sql +11 -0
- package/.framework/public/spine.config.json +91 -0
- package/.framework/scripts/app-install-cli.ts +112 -98
- package/.framework/src/App.tsx +67 -20
- package/.framework/src/apps/admin/index.tsx +97 -27
- package/.framework/src/components/AppWrapper.tsx +50 -11
- package/.framework/src/components/CustomAppLoader.tsx +131 -22
- package/.framework/src/components/admin/AdminListPage.tsx +75 -8
- package/.framework/src/components/admin/AdminSidebar.tsx +148 -36
- package/.framework/src/components/admin/AdminStatsCard.tsx +48 -29
- package/.framework/src/components/admin/PageInstructions.tsx +49 -0
- package/.framework/src/components/admin/SortableTableHeader.tsx +49 -2
- package/.framework/src/components/app-shell/GenericAppShell.tsx +69 -11
- package/.framework/src/components/app-shell/GenericDetailPage.tsx +55 -10
- package/.framework/src/components/app-shell/GenericListPage.tsx +76 -9
- package/.framework/src/components/app-sidebar.tsx +50 -3
- package/.framework/src/components/auth/ProtectedRoute.tsx +53 -45
- package/.framework/src/components/kb/KBArticleEditor.tsx +409 -0
- package/.framework/src/components/kb/KBArticleList.tsx +557 -0
- package/.framework/src/components/layout/AppShell.tsx +54 -16
- package/.framework/src/components/layout/Header.tsx +50 -38
- package/.framework/src/components/layout/Layout.tsx +48 -32
- package/.framework/src/components/layout/Sidebar.tsx +167 -16
- package/.framework/src/components/runtime/DataDetailHeader.tsx +33 -1
- package/.framework/src/components/runtime/DataDetailPage.tsx +289 -4
- package/.framework/src/components/runtime/DataFilters.tsx +78 -1
- package/.framework/src/components/runtime/DataHeader.tsx +32 -29
- package/.framework/src/components/runtime/DataListPage.tsx +161 -2
- package/.framework/src/components/runtime/DataStats.tsx +48 -1
- package/.framework/src/components/runtime/DataTable.tsx +153 -1
- package/.framework/src/components/runtime/SchemaDetailForm.tsx +77 -46
- package/.framework/src/components/runtime/index.ts +16 -9
- package/.framework/src/components/search-form.tsx +33 -1
- package/.framework/src/components/shared/AgentView.tsx +48 -51
- package/.framework/src/components/shared/FieldRenderer.tsx +84 -67
- package/.framework/src/components/shared/InviteManager.tsx +113 -52
- package/.framework/src/components/shared/MemberList.tsx +182 -0
- package/.framework/src/components/shared/SchemaFields.tsx +96 -78
- package/.framework/src/components/ui/DataTable.tsx +86 -56
- package/.framework/src/components/ui/Form.tsx +188 -109
- package/.framework/src/components/ui/ItemCard.tsx +86 -58
- package/.framework/src/components/ui/ItemListView.tsx +88 -61
- package/.framework/src/components/ui/LoadingSpinner.tsx +52 -27
- package/.framework/src/components/ui/Modal.tsx +81 -4
- package/.framework/src/components/ui/RichTextEditor.tsx +101 -9
- package/.framework/src/components/ui/accordion.tsx +97 -5
- package/.framework/src/components/ui/alert-dialog.tsx +225 -13
- package/.framework/src/components/ui/alert.tsx +113 -6
- package/.framework/src/components/ui/aspect-ratio.tsx +49 -2
- package/.framework/src/components/ui/avatar.tsx +129 -7
- package/.framework/src/components/ui/badge.tsx +65 -3
- package/.framework/src/components/ui/breadcrumb.tsx +145 -8
- package/.framework/src/components/ui/button-group.tsx +81 -4
- package/.framework/src/components/ui/button.tsx +49 -2
- package/.framework/src/components/ui/calendar.tsx +65 -3
- package/.framework/src/components/ui/card.tsx +145 -8
- package/.framework/src/components/ui/carousel.tsx +129 -7
- package/.framework/src/components/ui/chart.tsx +161 -10
- package/.framework/src/components/ui/checkbox.tsx +49 -2
- package/.framework/src/components/ui/collapsible.tsx +81 -5
- package/.framework/src/components/ui/combobox.tsx +305 -20
- package/.framework/src/components/ui/command.tsx +177 -11
- package/.framework/src/components/ui/context-menu.tsx +273 -17
- package/.framework/src/components/ui/dialog.tsx +209 -27
- package/.framework/src/components/ui/direction.tsx +64 -4
- package/.framework/src/components/ui/drawer.tsx +193 -12
- package/.framework/src/components/ui/dropdown-menu.tsx +273 -18
- package/.framework/src/components/ui/empty.tsx +145 -9
- package/.framework/src/components/ui/field.tsx +209 -14
- package/.framework/src/components/ui/hover-card.tsx +81 -4
- package/.framework/src/components/ui/input-group.tsx +162 -10
- package/.framework/src/components/ui/input-otp.tsx +98 -5
- package/.framework/src/components/ui/input.tsx +49 -2
- package/.framework/src/components/ui/item.tsx +225 -13
- package/.framework/src/components/ui/kbd.tsx +65 -3
- package/.framework/src/components/ui/label.tsx +49 -2
- package/.framework/src/components/ui/menubar.tsx +289 -17
- package/.framework/src/components/ui/native-select.tsx +97 -5
- package/.framework/src/components/ui/navigation-menu.tsx +177 -10
- package/.framework/src/components/ui/pagination.tsx +161 -9
- package/.framework/src/components/ui/popover.tsx +145 -8
- package/.framework/src/components/ui/progress.tsx +49 -2
- package/.framework/src/components/ui/radio-group.tsx +65 -3
- package/.framework/src/components/ui/resizable.tsx +82 -4
- package/.framework/src/components/ui/scroll-area.tsx +65 -3
- package/.framework/src/components/ui/select.tsx +193 -11
- package/.framework/src/components/ui/separator.tsx +49 -2
- package/.framework/src/components/ui/sheet.tsx +193 -11
- package/.framework/src/components/ui/sidebar.tsx +481 -38
- package/.framework/src/components/ui/skeleton.tsx +49 -2
- package/.framework/src/components/ui/slider.tsx +49 -2
- package/.framework/src/components/ui/sonner.tsx +49 -2
- package/.framework/src/components/ui/spinner.tsx +49 -2
- package/.framework/src/components/ui/switch.tsx +49 -2
- package/.framework/src/components/ui/table-primitives.tsx +160 -33
- package/.framework/src/components/ui/table.tsx +161 -9
- package/.framework/src/components/ui/tabs.tsx +113 -6
- package/.framework/src/components/ui/textarea.tsx +49 -2
- package/.framework/src/components/ui/toggle-group.tsx +81 -4
- package/.framework/src/components/ui/toggle.tsx +65 -3
- package/.framework/src/components/ui/tooltip.tsx +97 -5
- package/.framework/src/contexts/AppContext.tsx +129 -45
- package/.framework/src/contexts/AuthContext.tsx +187 -144
- package/.framework/src/hooks/use-mobile.ts +48 -2
- package/.framework/src/hooks/useApi.ts +208 -159
- package/.framework/src/hooks/useAppPath.ts +32 -23
- package/.framework/src/hooks/useApps.ts +51 -20
- package/.framework/src/hooks/useEntityList.ts +32 -78
- package/.framework/src/hooks/useEntityRecord.ts +35 -96
- package/.framework/src/hooks/useForm.ts +32 -92
- package/.framework/src/hooks/useListSchema.ts +49 -78
- package/.framework/src/hooks/useSchemaRecord.ts +114 -105
- package/.framework/src/lib/api.ts +195 -116
- package/.framework/src/lib/supabase.ts +98 -64
- package/.framework/src/lib/utils.ts +287 -151
- package/.framework/src/main.tsx +49 -3
- package/.framework/src/pages/DashboardPage.tsx +52 -29
- package/.framework/src/pages/NotFoundPage.tsx +32 -10
- package/.framework/src/pages/SetupPage.tsx +32 -12
- package/.framework/src/pages/admin/AIAgentDetailPage.tsx +119 -10
- package/.framework/src/pages/admin/AIAgentsPage.tsx +48 -19
- package/.framework/src/pages/admin/APIKeyDetailPage.tsx +187 -17
- package/.framework/src/pages/admin/APIKeysPage.tsx +98 -22
- package/.framework/src/pages/admin/AlertsConfigPage.tsx +113 -26
- package/.framework/src/pages/admin/AppDetailPage.tsx +125 -8
- package/.framework/src/pages/admin/AppsPage.tsx +49 -2
- package/.framework/src/pages/admin/DeliveriesPage.tsx +196 -0
- package/.framework/src/pages/admin/DesignedPage.tsx +32 -18
- package/.framework/src/pages/admin/EmbeddingDetailPage.tsx +215 -484
- package/.framework/src/pages/admin/EmbeddingsPage.tsx +116 -319
- package/.framework/src/pages/admin/ExtendedShadcnTestPage.tsx +34 -9
- package/.framework/src/pages/admin/IncrementalShadcnTestPage.tsx +34 -9
- package/.framework/src/pages/admin/IntegratedDashboard.tsx +32 -16
- package/.framework/src/pages/admin/IntegrationDetailPage.tsx +183 -26
- package/.framework/src/pages/admin/IntegrationsPage.tsx +48 -19
- package/.framework/src/pages/admin/InvitesPage.tsx +48 -14
- package/.framework/src/pages/admin/LogsPage.tsx +422 -75
- package/.framework/src/pages/admin/MinimalShadcnTestPage.tsx +34 -9
- package/.framework/src/pages/admin/ObservabilityDashboard.tsx +113 -24
- package/.framework/src/pages/admin/PipelineDetailPage.tsx +206 -34
- package/.framework/src/pages/admin/PipelineExecutionsPage.tsx +50 -17
- package/.framework/src/pages/admin/PipelinesPage.tsx +160 -21
- package/.framework/src/pages/admin/PromptConfigDetailPage.tsx +378 -88
- package/.framework/src/pages/admin/PromptConfigsPage.tsx +125 -16
- package/.framework/src/pages/admin/ProperlyDesignedPage.tsx +49 -10
- package/.framework/src/pages/admin/RoleDetailPage.tsx +130 -10
- package/.framework/src/pages/admin/RolesPage.tsx +171 -18
- package/.framework/src/pages/admin/SelectTestPage.tsx +34 -9
- package/.framework/src/pages/admin/ShadcnTestPage.tsx +49 -11
- package/.framework/src/pages/admin/SimpleDashboard.tsx +49 -10
- package/.framework/src/pages/admin/TestRunDetailPage.tsx +49 -4
- package/.framework/src/pages/admin/TestingDashboard.tsx +98 -28
- package/.framework/src/pages/admin/TimerDetailPage.tsx +143 -33
- package/.framework/src/pages/admin/TimersPage.tsx +48 -20
- package/.framework/src/pages/admin/TriggerDetailPage.tsx +118 -30
- package/.framework/src/pages/admin/TriggersPage.tsx +64 -19
- package/.framework/src/pages/admin/TypeDetailPage.tsx +138 -15
- package/.framework/src/pages/admin/TypesPage.tsx +48 -20
- package/.framework/src/pages/admin/cil/CILAgentPage.tsx +465 -0
- package/.framework/src/pages/admin/cil/CILChunkDetailPage.tsx +787 -0
- package/.framework/src/pages/admin/cil/CILDashboardPage.tsx +699 -0
- package/.framework/src/pages/admin/cil/CILFileListPage.tsx +647 -0
- package/.framework/src/pages/admin/cil/CILGraphPage.tsx +616 -0
- package/.framework/src/pages/admin/cil/CILIngestionPage.tsx +1402 -0
- package/.framework/src/pages/admin/cil/CILProjectsPage.tsx +614 -0
- package/.framework/src/pages/admin/cil/CILSearchPage.tsx +571 -0
- package/.framework/src/pages/admin/cil/FlexiblePipelinePage.tsx +731 -0
- package/.framework/src/pages/admin/kb/KBAdminPage.tsx +64 -0
- package/.framework/src/pages/auth/AuthConfirmPage.tsx +52 -51
- package/.framework/src/pages/auth/ForgotPasswordPage.tsx +31 -22
- package/.framework/src/pages/auth/LoginPage.tsx +50 -23
- package/.framework/src/pages/auth/PendingApprovalPage.tsx +31 -15
- package/.framework/src/pages/auth/RegisterPage.tsx +281 -317
- package/.framework/src/pages/spine-framework/APIPage.tsx +33 -0
- package/.framework/src/pages/spine-framework/CLIPage.tsx +33 -0
- package/.framework/src/types/auth.ts +128 -71
- package/.framework/src/types/types.ts +373 -157
- package/custom/.devin/skills/spine-workbench-discovery/SKILL.md +39 -0
- package/custom/.devin/skills/spine-workbench-idea/SKILL.md +36 -0
- package/custom/.devin/skills/spine-workbench-implement/SKILL.md +46 -0
- package/custom/.devin/skills/spine-workbench-initiative/SKILL.md +28 -0
- package/custom/.devin/skills/spine-workbench-plan/SKILL.md +38 -0
- package/docs/README.md +9 -130
- package/netlify.toml +5 -2
- package/package.json +13 -25
- package/scripts/kb-ingest-docs.ts +203 -0
- package/spine.config.json +65 -4
- package/.framework/migrations/001_schema.sql +0 -425
- package/.framework/migrations/002_rls_and_functions.sql +0 -763
- package/.framework/migrations/004_enhancements.sql +0 -43
- package/.framework/migrations/005_auth_user_trigger.sql +0 -105
- package/.framework/migrations/006_fix_current_actor_id.sql +0 -21
- package/.framework/migrations/016_invites.sql +0 -27
- package/.framework/migrations/017_fix_get_account_apps.sql +0 -78
- package/.framework/migrations/018_apps_required_roles.sql +0 -17
- package/.framework/migrations/019_triggers_unique_constraint.sql +0 -13
- package/.framework/migrations/020_get_account_apps_role_filter.sql +0 -117
- package/.framework/migrations/021_app_domains.sql +0 -112
- package/.framework/migrations/022_route_prefix_domain_unique.sql +0 -21
- package/.framework/migrations/023_match_embeddings_rpc.sql +0 -78
- package/.framework/migrations/024_messages_account_id.sql +0 -9
- package/.framework/migrations/025_retype_threads_messages.sql +0 -240
- package/.framework/migrations/026_fix_rls_policies.sql +0 -47
- package/.framework/migrations/027_embedding_lifecycle.sql +0 -176
- package/.framework/migrations/028_fix_message_data_permissions.sql +0 -49
- package/.framework/migrations/029_tighten_support_triage_prompt.sql +0 -41
- package/.framework/migrations/030_messages_updated_by.sql +0 -6
- package/.framework/migrations/031_seed_upsert_constraints.sql +0 -35
- package/docs/APPS.md +0 -232
- package/docs/ARCHITECTURE.md +0 -246
- package/docs/INSTALL.md +0 -155
- package/docs/design-schema-spec.md +0 -1837
- package/docs/dev-guides/01-create-an-app.md +0 -183
- package/docs/dev-guides/02-create-a-function.md +0 -178
- package/docs/dev-guides/03-create-a-component.md +0 -178
- package/docs/dev-guides/04-webhook-handlers.md +0 -129
- package/docs/dev-guides/05-testing.md +0 -168
- package/docs/dev-guides/README.md +0 -40
- package/docs/npm-packages-plan.md +0 -288
- package/docs/spine-core--api-reference.md +0 -822
|
@@ -1,5 +1,37 @@
|
|
|
1
|
-
import { cn } from "@/lib/utils"
|
|
2
1
|
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// CIL[BEGIN chunk_id="skeleton_module_header_1783757774" type="module_header" identity="module_header" parent="none"]
|
|
5
|
+
// CIL[DOC-MACRO purpose="Import dependencies for Skeleton component"]
|
|
6
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Import utility function for className merging"]
|
|
7
|
+
// CIL[DOC-CONTEXT module="skeleton" layer="frontend-component" related_files="[\".framework/src/components/layout/Sidebar.tsx\",\".framework/src/components/ui/dialog.tsx\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/TypeDetailPage.tsx\",\"\\\"]"]
|
|
8
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="none" errors="none" side_effects="none"]
|
|
9
|
+
// CIL[DOC-MICRO logic_summary="Import cn utility function for className merging" notable_decisions="[]"]
|
|
10
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
11
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
12
|
+
// CIL[DOC-AUDIENCE audience="developer"]
|
|
13
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/layout/Sidebar.tsx, .framework/src/components/ui/dialog.tsx, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/TypeDetailPage.tsx, \."]
|
|
14
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
15
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
16
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
17
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
18
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
19
|
+
import { cn } from "@/lib/utils"
|
|
20
|
+
// CIL[END chunk_id="skeleton_module_header_1783757774"]
|
|
21
|
+
// CIL[BEGIN chunk_id="skeleton_skeleton_1783757774" type="function" identity="Skeleton" parent="none"]
|
|
22
|
+
// CIL[DOC-MACRO purpose="Animated skeleton placeholder component"]
|
|
23
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render loading placeholder with pulse animation"]
|
|
24
|
+
// CIL[DOC-CONTEXT module="skeleton" layer="frontend-component" related_files="[\".framework/src/components/ui/dialog.tsx\",\".framework/src/components/layout/Sidebar.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/RolesPage.tsx\",\"\\\"]"]
|
|
25
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX skeleton element" errors="none" side_effects="renders UI elements"]
|
|
26
|
+
// CIL[DOC-MICRO logic_summary="Render div with pulse animation, rounded corners, and muted background" notable_decisions="[]"]
|
|
27
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
28
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
29
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/dialog.tsx, .framework/src/components/layout/Sidebar.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/RolesPage.tsx, \."]
|
|
30
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
31
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
32
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
33
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
34
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
3
35
|
function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
|
4
36
|
return (
|
|
5
37
|
<div
|
|
@@ -9,5 +41,20 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
|
|
9
41
|
/>
|
|
10
42
|
)
|
|
11
43
|
}
|
|
12
|
-
|
|
44
|
+
// CIL[END chunk_id="skeleton_skeleton_1783757774"]
|
|
45
|
+
// CIL[BEGIN chunk_id="skeleton_export_1783757774" type="export" identity="export" parent="none"]
|
|
46
|
+
// CIL[DOC-MACRO purpose="Export Skeleton component for use in other modules"]
|
|
47
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Make Skeleton component available for import"]
|
|
48
|
+
// CIL[DOC-CONTEXT module="skeleton" layer="frontend-component" related_files="[\".framework/src/components/layout/Sidebar.tsx\",\".framework/src/pages/admin/TypeDetailPage.tsx\",\".framework/functions/_shared/principal.ts\",\"custom/apps/cortex/functions/custom_cil-embeddings.ts\",\".framework/src/components/ui/dialog.tsx\",\"\\\"]"]
|
|
49
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="Skeleton component export" errors="none" side_effects="module export"]
|
|
50
|
+
// CIL[DOC-MICRO logic_summary="Export the Skeleton component for external use" notable_decisions="[]"]
|
|
51
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
52
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
53
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/layout/Sidebar.tsx, .framework/src/pages/admin/TypeDetailPage.tsx, .framework/functions/_shared/principal.ts, custom/apps/cortex/functions/custom_cil-embeddings.ts, .framework/src/components/ui/dialog.tsx, \."]
|
|
54
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
55
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
56
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
57
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
58
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
13
59
|
export { Skeleton }
|
|
60
|
+
// CIL[END chunk_id="skeleton_export_1783757774"]
|
|
@@ -1,10 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// CIL[BEGIN chunk_id="slider_module_header_1783757774" type="module_header" identity="module_header" parent="none"]
|
|
5
|
+
// CIL[DOC-MACRO purpose="Import dependencies for Slider component"]
|
|
6
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Import React, Radix UI Slider primitive, and utility function"]
|
|
7
|
+
// CIL[DOC-CONTEXT module="slider" layer="frontend-component" related_files="[\".framework/src/components/ui/table-primitives.tsx\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/TypeDetailPage.tsx\",\"\\\"]"]
|
|
8
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="none" errors="none" side_effects="none"]
|
|
9
|
+
// CIL[DOC-MICRO logic_summary="Import React, Radix UI Slider primitive, and cn utility" notable_decisions="[]"]
|
|
10
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
11
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
12
|
+
// CIL[DOC-AUDIENCE audience="developer"]
|
|
13
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/table-primitives.tsx, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/TypeDetailPage.tsx, \."]
|
|
14
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
15
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
16
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
17
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
18
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
1
19
|
"use client"
|
|
2
20
|
|
|
3
21
|
import * as React from "react"
|
|
4
22
|
import { Slider as SliderPrimitive } from "radix-ui"
|
|
5
23
|
|
|
6
24
|
import { cn } from "@/lib/utils"
|
|
7
|
-
|
|
25
|
+
// CIL[END chunk_id="slider_module_header_1783757774"]
|
|
26
|
+
// CIL[BEGIN chunk_id="slider_slider_1783757774" type="function" identity="Slider" parent="none"]
|
|
27
|
+
// CIL[DOC-MACRO purpose="Custom slider component built on Radix UI"]
|
|
28
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render interactive slider with track, range, and thumbs"]
|
|
29
|
+
// CIL[DOC-CONTEXT module="slider" layer="frontend-component" related_files="[\".framework/src/components/ui/table-primitives.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\"custom/apps/cortex/functions/custom_cil-embeddings.ts\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"\\\"]"]
|
|
30
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX slider element" errors="none" side_effects="renders UI elements"]
|
|
31
|
+
// CIL[DOC-MICRO logic_summary="Memoize values, render Radix UI primitive with track, range, and thumbs" notable_decisions="[]"]
|
|
32
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
33
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
34
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/table-primitives.tsx, custom/apps/portal/pages/ContentPage.tsx, custom/apps/cortex/functions/custom_cil-embeddings.ts, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, \."]
|
|
35
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
36
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
37
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
38
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
39
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
8
40
|
function Slider({
|
|
9
41
|
className,
|
|
10
42
|
defaultValue,
|
|
@@ -55,5 +87,20 @@ function Slider({
|
|
|
55
87
|
</SliderPrimitive.Root>
|
|
56
88
|
)
|
|
57
89
|
}
|
|
58
|
-
|
|
90
|
+
// CIL[END chunk_id="slider_slider_1783757774"]
|
|
91
|
+
// CIL[BEGIN chunk_id="slider_export_1783757774" type="export" identity="export" parent="none"]
|
|
92
|
+
// CIL[DOC-MACRO purpose="Export Slider component for use in other modules"]
|
|
93
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Make Slider component available for import"]
|
|
94
|
+
// CIL[DOC-CONTEXT module="slider" layer="frontend-component" related_files="[\".framework/src/pages/admin/TypeDetailPage.tsx\",\".framework/functions/_shared/principal.ts\",\".framework/src/pages/admin/RolesPage.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/IntegrationsPage.tsx\",\"\\\"]"]
|
|
95
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="Slider component export" errors="none" side_effects="module export"]
|
|
96
|
+
// CIL[DOC-MICRO logic_summary="Export the Slider component for external use" notable_decisions="[]"]
|
|
97
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
98
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
99
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/pages/admin/TypeDetailPage.tsx, .framework/functions/_shared/principal.ts, .framework/src/pages/admin/RolesPage.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/IntegrationsPage.tsx, \."]
|
|
100
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
101
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
102
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
103
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
104
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
59
105
|
export { Slider }
|
|
106
|
+
// CIL[END chunk_id="slider_export_1783757774"]
|
|
@@ -1,7 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// CIL[BEGIN chunk_id="sonner_module_header_1783757774" type="module_header" identity="module_header" parent="none"]
|
|
5
|
+
// CIL[DOC-MACRO purpose="Import dependencies for toast notification component"]
|
|
6
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Import theme hook, Sonner library, and icons"]
|
|
7
|
+
// CIL[DOC-CONTEXT module="sonner" layer="frontend-component" related_files="[\".framework/src/components/ui/table-primitives.tsx\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/TypeDetailPage.tsx\",\"\\\"]"]
|
|
8
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="none" errors="none" side_effects="none"]
|
|
9
|
+
// CIL[DOC-MICRO logic_summary="Import theme hook, Sonner toast library, and Lucide React icons" notable_decisions="[]"]
|
|
10
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
11
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
12
|
+
// CIL[DOC-AUDIENCE audience="developer"]
|
|
13
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/table-primitives.tsx, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/TypeDetailPage.tsx, \."]
|
|
14
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
15
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
16
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
17
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
18
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
1
19
|
import { useTheme } from "next-themes"
|
|
2
20
|
import { Toaster as Sonner, type ToasterProps } from "sonner"
|
|
3
21
|
import { CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon, Loader2Icon } from "lucide-react"
|
|
4
|
-
|
|
22
|
+
// CIL[END chunk_id="sonner_module_header_1783757774"]
|
|
23
|
+
// CIL[BEGIN chunk_id="sonner_toaster_1783757774" type="function" identity="Toaster" parent="none"]
|
|
24
|
+
// CIL[DOC-MACRO purpose="Theme-aware toast notification component wrapper"]
|
|
25
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render Sonner toasts with theme support and custom icons"]
|
|
26
|
+
// CIL[DOC-CONTEXT module="sonner" layer="frontend-component" related_files="[\".framework/src/components/ui/table-primitives.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/RolesPage.tsx\",\"\\\"]"]
|
|
27
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX toast container" errors="none" side_effects="renders UI elements"]
|
|
28
|
+
// CIL[DOC-MICRO logic_summary="Get theme, render Sonner with theme, icons, styles, and toast options" notable_decisions="[]"]
|
|
29
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
30
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
31
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/table-primitives.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/RolesPage.tsx, \."]
|
|
32
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
33
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
34
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
35
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
36
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
5
37
|
const Toaster = ({ ...props }: ToasterProps) => {
|
|
6
38
|
const { theme = "system" } = useTheme()
|
|
7
39
|
|
|
@@ -43,5 +75,20 @@ const Toaster = ({ ...props }: ToasterProps) => {
|
|
|
43
75
|
/>
|
|
44
76
|
)
|
|
45
77
|
}
|
|
46
|
-
|
|
78
|
+
// CIL[END chunk_id="sonner_toaster_1783757774"]
|
|
79
|
+
// CIL[BEGIN chunk_id="sonner_export_1783757774" type="export" identity="export" parent="none"]
|
|
80
|
+
// CIL[DOC-MACRO purpose="Export Toaster component for use in other modules"]
|
|
81
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Make Toaster component available for import"]
|
|
82
|
+
// CIL[DOC-CONTEXT module="sonner" layer="frontend-component" related_files="[\".framework/src/pages/admin/TypeDetailPage.tsx\",\".framework/functions/_shared/principal.ts\",\".framework/src/pages/admin/RolesPage.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/IntegrationsPage.tsx\",\"\\\"]"]
|
|
83
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="Toaster component export" errors="none" side_effects="module export"]
|
|
84
|
+
// CIL[DOC-MICRO logic_summary="Export the Toaster component for external use" notable_decisions="[]"]
|
|
85
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
86
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
87
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/pages/admin/TypeDetailPage.tsx, .framework/functions/_shared/principal.ts, .framework/src/pages/admin/RolesPage.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/IntegrationsPage.tsx, \."]
|
|
88
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
89
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
90
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
91
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
92
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
47
93
|
export { Toaster }
|
|
94
|
+
// CIL[END chunk_id="sonner_export_1783757774"]
|
|
@@ -1,10 +1,57 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// CIL[BEGIN chunk_id="spinner_module_header_1783757774" type="module_header" identity="module_header" parent="none"]
|
|
5
|
+
// CIL[DOC-MACRO purpose="Import dependencies for Spinner component"]
|
|
6
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Import utility function and loading icon"]
|
|
7
|
+
// CIL[DOC-CONTEXT module="spinner" layer="frontend-component" related_files="[\".framework/src/components/layout/Sidebar.tsx\",\".framework/src/components/ui/dialog.tsx\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\"custom/apps/portal/pages/CoursesPage.tsx\",\"\\\"]"]
|
|
8
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="none" errors="none" side_effects="none"]
|
|
9
|
+
// CIL[DOC-MICRO logic_summary="Import cn utility and Loader2Icon from Lucide React" notable_decisions="[]"]
|
|
10
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
11
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
12
|
+
// CIL[DOC-AUDIENCE audience="developer"]
|
|
13
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/layout/Sidebar.tsx, .framework/src/components/ui/dialog.tsx, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, custom/apps/portal/pages/ContentPage.tsx, custom/apps/portal/pages/CoursesPage.tsx, \."]
|
|
14
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
15
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
16
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
17
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
18
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
1
19
|
import { cn } from "@/lib/utils"
|
|
2
20
|
import { Loader2Icon } from "lucide-react"
|
|
3
|
-
|
|
21
|
+
// CIL[END chunk_id="spinner_module_header_1783757774"]
|
|
22
|
+
// CIL[BEGIN chunk_id="spinner_spinner_1783757774" type="function" identity="Spinner" parent="none"]
|
|
23
|
+
// CIL[DOC-MACRO purpose="Animated loading spinner component"]
|
|
24
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render spinning loading indicator with accessibility"]
|
|
25
|
+
// CIL[DOC-CONTEXT module="spinner" layer="frontend-component" related_files="[\".framework/src/components/ui/dialog.tsx\",\".framework/src/components/layout/Sidebar.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\"custom/apps/portal/pages/CoursesPage.tsx\",\".framework/src/pages/admin/RolesPage.tsx\",\"\\\"]"]
|
|
26
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX spinner element" errors="none" side_effects="renders UI elements"]
|
|
27
|
+
// CIL[DOC-MICRO logic_summary="Render Loader2Icon with spinning animation and accessibility attributes" notable_decisions="[]"]
|
|
28
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
29
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
30
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/dialog.tsx, .framework/src/components/layout/Sidebar.tsx, custom/apps/portal/pages/ContentPage.tsx, custom/apps/portal/pages/CoursesPage.tsx, .framework/src/pages/admin/RolesPage.tsx, \."]
|
|
31
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
32
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
33
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
34
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
35
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
4
36
|
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
|
|
5
37
|
return (
|
|
6
38
|
<Loader2Icon role="status" aria-label="Loading" className={cn("size-4 animate-spin", className)} {...props} />
|
|
7
39
|
)
|
|
8
40
|
}
|
|
9
|
-
|
|
41
|
+
// CIL[END chunk_id="spinner_spinner_1783757774"]
|
|
42
|
+
// CIL[BEGIN chunk_id="spinner_export_1783757774" type="export" identity="export" parent="none"]
|
|
43
|
+
// CIL[DOC-MACRO purpose="Export Spinner component for use in other modules"]
|
|
44
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Make Spinner component available for import"]
|
|
45
|
+
// CIL[DOC-CONTEXT module="spinner" layer="frontend-component" related_files="[\".framework/src/components/layout/Sidebar.tsx\",\".framework/src/pages/admin/TypeDetailPage.tsx\",\".framework/functions/_shared/principal.ts\",\".framework/src/components/ui/dialog.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\"\\\"]"]
|
|
46
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="Spinner component export" errors="none" side_effects="module export"]
|
|
47
|
+
// CIL[DOC-MICRO logic_summary="Export the Spinner component for external use" notable_decisions="[]"]
|
|
48
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
49
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
50
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/layout/Sidebar.tsx, .framework/src/pages/admin/TypeDetailPage.tsx, .framework/functions/_shared/principal.ts, .framework/src/components/ui/dialog.tsx, custom/apps/portal/pages/ContentPage.tsx, \."]
|
|
51
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
52
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
53
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
54
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
55
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
10
56
|
export { Spinner }
|
|
57
|
+
// CIL[END chunk_id="spinner_export_1783757774"]
|
|
@@ -1,10 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// CIL[BEGIN chunk_id="switch_module_header_1783757774" type="module_header" identity="module_header" parent="none"]
|
|
5
|
+
// CIL[DOC-MACRO purpose="Import dependencies for Switch component"]
|
|
6
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Import React, Radix UI Switch primitive, and utility function"]
|
|
7
|
+
// CIL[DOC-CONTEXT module="switch" layer="frontend-component" related_files="[\".framework/src/components/ui/table-primitives.tsx\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/TypeDetailPage.tsx\",\"\\\"]"]
|
|
8
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="none" errors="none" side_effects="none"]
|
|
9
|
+
// CIL[DOC-MICRO logic_summary="Import React, Radix UI Switch primitive, and cn utility" notable_decisions="[]"]
|
|
10
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
11
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
12
|
+
// CIL[DOC-AUDIENCE audience="developer"]
|
|
13
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/table-primitives.tsx, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/TypeDetailPage.tsx, \."]
|
|
14
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
15
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
16
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
17
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
18
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
1
19
|
"use client"
|
|
2
20
|
|
|
3
21
|
import * as React from "react"
|
|
4
22
|
import { Switch as SwitchPrimitive } from "radix-ui"
|
|
5
23
|
|
|
6
24
|
import { cn } from "@/lib/utils"
|
|
7
|
-
|
|
25
|
+
// CIL[END chunk_id="switch_module_header_1783757774"]
|
|
26
|
+
// CIL[BEGIN chunk_id="switch_switch_1783757774" type="function" identity="Switch" parent="none"]
|
|
27
|
+
// CIL[DOC-MACRO purpose="Custom switch component built on Radix UI"]
|
|
28
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render interactive toggle switch with size variants"]
|
|
29
|
+
// CIL[DOC-CONTEXT module="switch" layer="frontend-component" related_files="[\".framework/src/components/ui/table-primitives.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\"custom/apps/cortex/functions/custom_cil-embeddings.ts\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"\\\"]"]
|
|
30
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX switch element" errors="none" side_effects="renders UI elements"]
|
|
31
|
+
// CIL[DOC-MICRO logic_summary="Render Radix UI primitive with size variants and styling" notable_decisions="[]"]
|
|
32
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
33
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
34
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/table-primitives.tsx, custom/apps/portal/pages/ContentPage.tsx, custom/apps/cortex/functions/custom_cil-embeddings.ts, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, \."]
|
|
35
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
36
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
37
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
38
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
39
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
8
40
|
function Switch({
|
|
9
41
|
className,
|
|
10
42
|
size = "default",
|
|
@@ -29,5 +61,20 @@ function Switch({
|
|
|
29
61
|
</SwitchPrimitive.Root>
|
|
30
62
|
)
|
|
31
63
|
}
|
|
32
|
-
|
|
64
|
+
// CIL[END chunk_id="switch_switch_1783757774"]
|
|
65
|
+
// CIL[BEGIN chunk_id="switch_export_1783757774" type="export" identity="export" parent="none"]
|
|
66
|
+
// CIL[DOC-MACRO purpose="Export Switch component for use in other modules"]
|
|
67
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Make Switch component available for import"]
|
|
68
|
+
// CIL[DOC-CONTEXT module="switch" layer="frontend-component" related_files="[\".framework/src/pages/admin/TypeDetailPage.tsx\",\".framework/functions/_shared/principal.ts\",\".framework/src/pages/admin/RolesPage.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/IntegrationsPage.tsx\",\"\\\"]"]
|
|
69
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="Switch component export" errors="none" side_effects="module export"]
|
|
70
|
+
// CIL[DOC-MICRO logic_summary="Export the Switch component for external use" notable_decisions="[]"]
|
|
71
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
72
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
73
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/pages/admin/TypeDetailPage.tsx, .framework/functions/_shared/principal.ts, .framework/src/pages/admin/RolesPage.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/IntegrationsPage.tsx, \."]
|
|
74
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
75
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
76
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
77
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
78
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
33
79
|
export { Switch }
|
|
80
|
+
// CIL[END chunk_id="switch_export_1783757774"]
|
|
@@ -1,31 +1,45 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module src/components/ui/table-primitives
|
|
3
|
-
* @audience installer
|
|
4
|
-
* @layer frontend-component
|
|
5
|
-
* @stability stable
|
|
6
|
-
*
|
|
7
|
-
* shadcn/ui Table primitives with Blue/Zinc preset theme.
|
|
8
|
-
* These are the low-level table building blocks used by the higher-level Table component.
|
|
9
|
-
*
|
|
10
|
-
* **Design System:** https://ui.shadcn.com/create?preset=b1a0RuXXE&item=preview
|
|
11
|
-
* **Style:** Mira | **Base:** Zinc | **Theme:** Blue | **Font:** Inter
|
|
12
|
-
*
|
|
13
|
-
* **Components:**
|
|
14
|
-
* - `Table` - Root table wrapper with overflow handling
|
|
15
|
-
* - `TableHeader` - Header section
|
|
16
|
-
* - `TableBody` - Body section
|
|
17
|
-
* - `TableFooter` - Footer section
|
|
18
|
-
* - `TableHead` - Individual header cell
|
|
19
|
-
* - `TableRow` - Table row
|
|
20
|
-
* - `TableCell` - Individual data cell
|
|
21
|
-
* - `TableCaption` - Table caption
|
|
22
|
-
*
|
|
23
|
-
* @seeAlso src/components/ui/Table.tsx (higher-level sortable table)
|
|
24
|
-
*/
|
|
25
1
|
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
// CIL[BEGIN chunk_id="table-primitives_module_header_1783757774" type="module_header" identity="module_header" parent="none"]
|
|
12
|
+
// CIL[DOC-MACRO purpose="Import dependencies for table primitives"]
|
|
13
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Import React and utility function"]
|
|
14
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[\".framework/migrations/015_simplify_apps_table.sql\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\".framework/src/pages/admin/TypeDetailPage.tsx\",\".framework/functions/_shared/principal.ts\",\"\\\"]"]
|
|
15
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="none" errors="none" side_effects="none"]
|
|
16
|
+
// CIL[DOC-MICRO logic_summary="Import React and cn utility function" notable_decisions="[]"]
|
|
17
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
18
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
19
|
+
// CIL[DOC-AUDIENCE audience="developer"]
|
|
20
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/migrations/015_simplify_apps_table.sql, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, .framework/src/pages/admin/TypeDetailPage.tsx, .framework/functions/_shared/principal.ts, \."]
|
|
21
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
22
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
23
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
24
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
25
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
26
26
|
import * as React from 'react'
|
|
27
27
|
import { cn } from '../../lib/utils'
|
|
28
|
-
|
|
28
|
+
// CIL[END chunk_id="table-primitives_module_header_1783757774"]
|
|
29
|
+
// CIL[BEGIN chunk_id="table-primitives_table_1783757774" type="function" identity="Table" parent="none"]
|
|
30
|
+
// CIL[DOC-MACRO purpose="Root table component with overflow handling"]
|
|
31
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table with responsive overflow wrapper"]
|
|
32
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[\".framework/src/components/ui/dialog.tsx\",\".framework/migrations/015_simplify_apps_table.sql\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/RolesPage.tsx\",\"\\\"]"]
|
|
33
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX table wrapper" errors="none" side_effects="renders UI elements"]
|
|
34
|
+
// CIL[DOC-MICRO logic_summary="Wrap table in responsive div with overflow handling" notable_decisions="[]"]
|
|
35
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
36
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
37
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/src/components/ui/dialog.tsx, .framework/migrations/015_simplify_apps_table.sql, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/RolesPage.tsx, \."]
|
|
38
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
39
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
40
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
41
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
42
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
29
43
|
const Table = React.forwardRef<
|
|
30
44
|
HTMLTableElement,
|
|
31
45
|
React.HTMLAttributes<HTMLTableElement>
|
|
@@ -39,7 +53,21 @@ const Table = React.forwardRef<
|
|
|
39
53
|
</div>
|
|
40
54
|
))
|
|
41
55
|
Table.displayName = 'Table'
|
|
42
|
-
|
|
56
|
+
// CIL[END chunk_id="table-primitives_table_1783757774"]
|
|
57
|
+
// CIL[BEGIN chunk_id="table-primitives_tableheader_1783757774" type="function" identity="TableHeader" parent="none"]
|
|
58
|
+
// CIL[DOC-MACRO purpose="Table header section component"]
|
|
59
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table header with bottom border styling"]
|
|
60
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[\".framework/migrations/015_simplify_apps_table.sql\",\".framework/src/components/ui/dialog.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\"custom/apps/cortex/pages/operations/OperationsDashboard.tsx\",\"\\\"]"]
|
|
61
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX thead element" errors="none" side_effects="renders UI elements"]
|
|
62
|
+
// CIL[DOC-MICRO logic_summary="Render thead with bottom border on rows" notable_decisions="[]"]
|
|
63
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
64
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
65
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/migrations/015_simplify_apps_table.sql, .framework/src/components/ui/dialog.tsx, custom/apps/portal/pages/ContentPage.tsx, custom/apps/cortex/pages/operations/OperationsDashboard.tsx, \."]
|
|
66
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
67
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
68
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
69
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
70
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
43
71
|
const TableHeader = React.forwardRef<
|
|
44
72
|
HTMLTableSectionElement,
|
|
45
73
|
React.HTMLAttributes<HTMLTableSectionElement>
|
|
@@ -47,7 +75,21 @@ const TableHeader = React.forwardRef<
|
|
|
47
75
|
<thead ref={ref} className={cn('[&_tr]:border-b', className)} {...props} />
|
|
48
76
|
))
|
|
49
77
|
TableHeader.displayName = 'TableHeader'
|
|
50
|
-
|
|
78
|
+
// CIL[END chunk_id="table-primitives_tableheader_1783757774"]
|
|
79
|
+
// CIL[BEGIN chunk_id="table-primitives_tablebody_1783757774" type="function" identity="TableBody" parent="none"]
|
|
80
|
+
// CIL[DOC-MACRO purpose="Table body section component"]
|
|
81
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table body with no bottom border on last row"]
|
|
82
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[\".framework/migrations/015_simplify_apps_table.sql\",\".framework/src/components/ui/dialog.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/RolesPage.tsx\",\"\\\"]"]
|
|
83
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX tbody element" errors="none" side_effects="renders UI elements"]
|
|
84
|
+
// CIL[DOC-MICRO logic_summary="Render tbody with no border on last child row" notable_decisions="[]"]
|
|
85
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
86
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
87
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/migrations/015_simplify_apps_table.sql, .framework/src/components/ui/dialog.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/RolesPage.tsx, \."]
|
|
88
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
89
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
90
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
91
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
92
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
51
93
|
const TableBody = React.forwardRef<
|
|
52
94
|
HTMLTableSectionElement,
|
|
53
95
|
React.HTMLAttributes<HTMLTableSectionElement>
|
|
@@ -59,7 +101,21 @@ const TableBody = React.forwardRef<
|
|
|
59
101
|
/>
|
|
60
102
|
))
|
|
61
103
|
TableBody.displayName = 'TableBody'
|
|
62
|
-
|
|
104
|
+
// CIL[END chunk_id="table-primitives_tablebody_1783757774"]
|
|
105
|
+
// CIL[BEGIN chunk_id="table-primitives_tablefooter_1783757774" type="function" identity="TableFooter" parent="none"]
|
|
106
|
+
// CIL[DOC-MACRO purpose="Table footer section component"]
|
|
107
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table footer with top border and muted background"]
|
|
108
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[\".framework/migrations/015_simplify_apps_table.sql\",\".framework/src/components/ui/dialog.tsx\",\"custom/apps/portal/pages/ContentPage.tsx\",\".framework/src/pages/admin/RolesPage.tsx\",\"\\\"]"]
|
|
109
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX tfoot element" errors="none" side_effects="renders UI elements"]
|
|
110
|
+
// CIL[DOC-MICRO logic_summary="Render tfoot with top border, muted background, and no border on last row" notable_decisions="[]"]
|
|
111
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
112
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
113
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: .framework/migrations/015_simplify_apps_table.sql, .framework/src/components/ui/dialog.tsx, custom/apps/portal/pages/ContentPage.tsx, .framework/src/pages/admin/RolesPage.tsx, \."]
|
|
114
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
115
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
116
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
117
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
118
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
63
119
|
const TableFooter = React.forwardRef<
|
|
64
120
|
HTMLTableSectionElement,
|
|
65
121
|
React.HTMLAttributes<HTMLTableSectionElement>
|
|
@@ -74,7 +130,21 @@ const TableFooter = React.forwardRef<
|
|
|
74
130
|
/>
|
|
75
131
|
))
|
|
76
132
|
TableFooter.displayName = 'TableFooter'
|
|
77
|
-
|
|
133
|
+
// CIL[END chunk_id="table-primitives_tablefooter_1783757774"]
|
|
134
|
+
// CIL[BEGIN chunk_id="table-primitives_tablerow_1783757774" type="function" identity="TableRow" parent="none"]
|
|
135
|
+
// CIL[DOC-MACRO purpose="Table row component with hover and selection states"]
|
|
136
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table row with interactive styling"]
|
|
137
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[]"]
|
|
138
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX tr element" errors="none" side_effects="renders UI elements"]
|
|
139
|
+
// CIL[DOC-MICRO logic_summary="Render tr with border, hover effect, and selection state styling" notable_decisions="[]"]
|
|
140
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
141
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
142
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: none."]
|
|
143
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
144
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
145
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
146
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
147
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
78
148
|
const TableRow = React.forwardRef<
|
|
79
149
|
HTMLTableRowElement,
|
|
80
150
|
React.HTMLAttributes<HTMLTableRowElement>
|
|
@@ -89,7 +159,21 @@ const TableRow = React.forwardRef<
|
|
|
89
159
|
/>
|
|
90
160
|
))
|
|
91
161
|
TableRow.displayName = 'TableRow'
|
|
92
|
-
|
|
162
|
+
// CIL[END chunk_id="table-primitives_tablerow_1783757774"]
|
|
163
|
+
// CIL[BEGIN chunk_id="table-primitives_tablehead_1783757774" type="function" identity="TableHead" parent="none"]
|
|
164
|
+
// CIL[DOC-MACRO purpose="Table header cell component"]
|
|
165
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table header cell with proper styling and checkbox handling"]
|
|
166
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[]"]
|
|
167
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX th element" errors="none" side_effects="renders UI elements"]
|
|
168
|
+
// CIL[DOC-MICRO logic_summary="Render th with height, padding, alignment, and checkbox column handling" notable_decisions="[]"]
|
|
169
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
170
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
171
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: none."]
|
|
172
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
173
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
174
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
175
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
176
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
93
177
|
const TableHead = React.forwardRef<
|
|
94
178
|
HTMLTableCellElement,
|
|
95
179
|
React.ThHTMLAttributes<HTMLTableCellElement>
|
|
@@ -104,7 +188,21 @@ const TableHead = React.forwardRef<
|
|
|
104
188
|
/>
|
|
105
189
|
))
|
|
106
190
|
TableHead.displayName = 'TableHead'
|
|
107
|
-
|
|
191
|
+
// CIL[END chunk_id="table-primitives_tablehead_1783757774"]
|
|
192
|
+
// CIL[BEGIN chunk_id="table-primitives_tablecell_1783757774" type="function" identity="TableCell" parent="none"]
|
|
193
|
+
// CIL[DOC-MACRO purpose="Table data cell component"]
|
|
194
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table data cell with proper styling and checkbox handling"]
|
|
195
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[]"]
|
|
196
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX td element" errors="none" side_effects="renders UI elements"]
|
|
197
|
+
// CIL[DOC-MICRO logic_summary="Render td with padding, alignment, and checkbox column handling" notable_decisions="[]"]
|
|
198
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
199
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
200
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: none."]
|
|
201
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
202
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
203
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
204
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
205
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
108
206
|
const TableCell = React.forwardRef<
|
|
109
207
|
HTMLTableCellElement,
|
|
110
208
|
React.TdHTMLAttributes<HTMLTableCellElement>
|
|
@@ -116,7 +214,21 @@ const TableCell = React.forwardRef<
|
|
|
116
214
|
/>
|
|
117
215
|
))
|
|
118
216
|
TableCell.displayName = 'TableCell'
|
|
119
|
-
|
|
217
|
+
// CIL[END chunk_id="table-primitives_tablecell_1783757774"]
|
|
218
|
+
// CIL[BEGIN chunk_id="table-primitives_tablecaption_1783757774" type="function" identity="TableCaption" parent="none"]
|
|
219
|
+
// CIL[DOC-MACRO purpose="Table caption component"]
|
|
220
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Render table caption with muted styling"]
|
|
221
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[]"]
|
|
222
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="JSX caption element" errors="none" side_effects="renders UI elements"]
|
|
223
|
+
// CIL[DOC-MICRO logic_summary="Render caption with top margin, small text, and muted color" notable_decisions="[]"]
|
|
224
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
225
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
226
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: none."]
|
|
227
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
228
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
229
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
230
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
231
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
120
232
|
const TableCaption = React.forwardRef<
|
|
121
233
|
HTMLTableCaptionElement,
|
|
122
234
|
React.HTMLAttributes<HTMLTableCaptionElement>
|
|
@@ -128,7 +240,21 @@ const TableCaption = React.forwardRef<
|
|
|
128
240
|
/>
|
|
129
241
|
))
|
|
130
242
|
TableCaption.displayName = 'TableCaption'
|
|
131
|
-
|
|
243
|
+
// CIL[END chunk_id="table-primitives_tablecaption_1783757774"]
|
|
244
|
+
// CIL[BEGIN chunk_id="table-primitives_export_1783757774" type="export" identity="export" parent="none"]
|
|
245
|
+
// CIL[DOC-MACRO purpose="Export all table primitive components"]
|
|
246
|
+
// CIL[DOC-RESPONSIBILITY responsibility="Make all table components available for import"]
|
|
247
|
+
// CIL[DOC-CONTEXT module="table-primitives" layer="frontend-component" related_files="[]"]
|
|
248
|
+
// CIL[DOC-CONTRACT inputs="none" outputs="All table component exports" errors="none" side_effects="module export"]
|
|
249
|
+
// CIL[DOC-MICRO logic_summary="Export all table primitive components for external use" notable_decisions="[]"]
|
|
250
|
+
// CIL[DOC-CONFIDENCE pass="second" score="0.95" flags="none"]
|
|
251
|
+
// CIL[DOC-STABILITY stability="stable"]
|
|
252
|
+
// CIL[DOC-VECTOR type="context" content="Layer: frontend-component. Direct callers: 0. Direct calls: 0. Related files: none."]
|
|
253
|
+
// CIL[DOC-VECTOR type="blast_radius" content="Direct callers: 0. Total affected: 0."]
|
|
254
|
+
// CIL[DOC-VECTOR type="configuration" content="No configuration dependencies."]
|
|
255
|
+
// CIL[DOC-VECTOR type="constraint" content="No test paths identified."]
|
|
256
|
+
// CIL[DOC-VECTOR type="implementation_pattern" content="" status="pending_human_input"]
|
|
257
|
+
// CIL[DOC-VECTOR type="user_journey" content="" status="pending_human_input"]
|
|
132
258
|
export {
|
|
133
259
|
Table,
|
|
134
260
|
TableHeader,
|
|
@@ -139,3 +265,4 @@ export {
|
|
|
139
265
|
TableCell,
|
|
140
266
|
TableCaption,
|
|
141
267
|
}
|
|
268
|
+
// CIL[END chunk_id="table-primitives_export_1783757774"]
|