noecosystem-design 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +12 -0
- package/.github/CODEOWNERS +10 -0
- package/.github/dependabot.yml +12 -0
- package/.github/pull_request_template.md +17 -0
- package/.github/workflows/ci.yml +173 -0
- package/.github/workflows/security.yml +40 -0
- package/.mcp.json +8 -0
- package/.node-version +1 -0
- package/AGENTS.md +62 -0
- package/CONTRIBUTING.md +9 -0
- package/README.md +48 -0
- package/SECURITY.md +7 -0
- package/apps/showcase/index.html +28 -0
- package/apps/showcase/package.json +30 -0
- package/apps/showcase/src/app.css +8 -0
- package/apps/showcase/src/app.tsx +10 -0
- package/apps/showcase/src/catalog/agent-composer-preview.tsx +17 -0
- package/apps/showcase/src/catalog/catalog-index.tsx +2676 -0
- package/apps/showcase/src/catalog/catalog-shell.browser.test.tsx +73 -0
- package/apps/showcase/src/catalog/catalog-shell.tsx +506 -0
- package/apps/showcase/src/main.tsx +17 -0
- package/apps/showcase/tsconfig.json +11 -0
- package/apps/showcase/vite.config.ts +15 -0
- package/apps/storybook/.storybook/main.ts +21 -0
- package/apps/storybook/.storybook/preview.tsx +87 -0
- package/apps/storybook/.storybook/vitest.setup.ts +26 -0
- package/apps/storybook/README.md +5 -0
- package/apps/storybook/package.json +31 -0
- package/apps/storybook/stories/AgentStates.stories.tsx +72 -0
- package/apps/storybook/stories/Bidi.stories.tsx +31 -0
- package/apps/storybook/stories/Button.stories.tsx +19 -0
- package/apps/storybook/stories/Surfaces.stories.tsx +28 -0
- package/apps/storybook/stories/catalog/about-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/activity-feed.stories.tsx +50 -0
- package/apps/storybook/stories/catalog/activity-gauge.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/agent-composer.stories.tsx +49 -0
- package/apps/storybook/stories/catalog/agent-message.stories.tsx +37 -0
- package/apps/storybook/stories/catalog/agent-plan.stories.tsx +35 -0
- package/apps/storybook/stories/catalog/agent-workspace.stories.tsx +60 -0
- package/apps/storybook/stories/catalog/alert.stories.tsx +41 -0
- package/apps/storybook/stories/catalog/app-frame.stories.tsx +47 -0
- package/apps/storybook/stories/catalog/approval-request.stories.tsx +30 -0
- package/apps/storybook/stories/catalog/avatar.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/badge-group.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/badge.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/banner.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/bidi-text.stories.tsx +47 -0
- package/apps/storybook/stories/catalog/blog-index-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/blog-post-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/blog-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/bottom-navigation.stories.tsx +27 -0
- package/apps/storybook/stories/catalog/button-group.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/button.stories.tsx +27 -0
- package/apps/storybook/stories/catalog/calendar.stories.tsx +47 -0
- package/apps/storybook/stories/catalog/card.stories.tsx +40 -0
- package/apps/storybook/stories/catalog/careers-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/carousel.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/chart-frame.stories.tsx +34 -0
- package/apps/storybook/stories/catalog/chart.stories.tsx +43 -0
- package/apps/storybook/stories/catalog/checkbox.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/code-and-terminal.stories.tsx +39 -0
- package/apps/storybook/stories/catalog/color-picker.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/command-menu.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/contact-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/contact-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/content-divider.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/content-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/context-menu.stories.tsx +66 -0
- package/apps/storybook/stories/catalog/credit-card.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/cta-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/dashboard-01.stories.tsx +28 -0
- package/apps/storybook/stories/catalog/dashboard-02.stories.tsx +28 -0
- package/apps/storybook/stories/catalog/dashboard-shell.stories.tsx +65 -0
- package/apps/storybook/stories/catalog/data-list.stories.tsx +37 -0
- package/apps/storybook/stories/catalog/data-table.stories.tsx +51 -0
- package/apps/storybook/stories/catalog/date-picker.stories.tsx +31 -0
- package/apps/storybook/stories/catalog/dialog.stories.tsx +68 -0
- package/apps/storybook/stories/catalog/direction-provider.stories.tsx +36 -0
- package/apps/storybook/stories/catalog/drawer.stories.tsx +58 -0
- package/apps/storybook/stories/catalog/dropdown.stories.tsx +67 -0
- package/apps/storybook/stories/catalog/email-template.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/empty-state.stories.tsx +19 -0
- package/apps/storybook/stories/catalog/error-state.stories.tsx +19 -0
- package/apps/storybook/stories/catalog/fab.stories.tsx +22 -0
- package/apps/storybook/stories/catalog/faq-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/faq-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/feature-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/featured-icon.stories.tsx +45 -0
- package/apps/storybook/stories/catalog/field.stories.tsx +35 -0
- package/apps/storybook/stories/catalog/file-uploader.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/filter-bar.stories.tsx +33 -0
- package/apps/storybook/stories/catalog/footer.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/forgot-password-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/gradient-picker.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/header-navigation.stories.tsx +46 -0
- package/apps/storybook/stories/catalog/hero-header.stories.tsx +36 -0
- package/apps/storybook/stories/catalog/icon-system.stories.tsx +48 -0
- package/apps/storybook/stories/catalog/illustration.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/image-picker.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/informational-page-01.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/informational-page-02.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/inline-cta.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/input.stories.tsx +21 -0
- package/apps/storybook/stories/catalog/landing-page.stories.tsx +28 -0
- package/apps/storybook/stories/catalog/legal-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/login-page.stories.tsx +42 -0
- package/apps/storybook/stories/catalog/marketing-404-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/marketing-header.stories.tsx +35 -0
- package/apps/storybook/stories/catalog/menu.stories.tsx +46 -0
- package/apps/storybook/stories/catalog/messaging.stories.tsx +33 -0
- package/apps/storybook/stories/catalog/metric-card.stories.tsx +20 -0
- package/apps/storybook/stories/catalog/metrics-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/mobile-screen.stories.tsx +56 -0
- package/apps/storybook/stories/catalog/multi-select.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/newsletter.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/not-found.stories.tsx +30 -0
- package/apps/storybook/stories/catalog/notification.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/page-header.stories.tsx +37 -0
- package/apps/storybook/stories/catalog/pagination.stories.tsx +27 -0
- package/apps/storybook/stories/catalog/pie-chart.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/pricing-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/pricing-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/progress-indicator.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/progress-steps.stories.tsx +33 -0
- package/apps/storybook/stories/catalog/qr-code.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/radar-chart.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/radio-group.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/rating.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/rich-text-editor.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/run-inspector.stories.tsx +23 -0
- package/apps/storybook/stories/catalog/section-footer.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/section-header.stories.tsx +31 -0
- package/apps/storybook/stories/catalog/select.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/settings-01.stories.tsx +24 -0
- package/apps/storybook/stories/catalog/settings-02.stories.tsx +24 -0
- package/apps/storybook/stories/catalog/settings-page.stories.tsx +48 -0
- package/apps/storybook/stories/catalog/sidebar-navigation.stories.tsx +40 -0
- package/apps/storybook/stories/catalog/sign-in-form.stories.tsx +28 -0
- package/apps/storybook/stories/catalog/sign-up-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/skeleton.stories.tsx +21 -0
- package/apps/storybook/stories/catalog/slider.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/social-button.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/social-proof.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/spinner.stories.tsx +15 -0
- package/apps/storybook/stories/catalog/store-button.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/tabs.stories.tsx +38 -0
- package/apps/storybook/stories/catalog/tags.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/team-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/team-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/testimonial-section.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/textarea.stories.tsx +22 -0
- package/apps/storybook/stories/catalog/toggle.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/tool-call.stories.tsx +40 -0
- package/apps/storybook/stories/catalog/tooltip.stories.tsx +30 -0
- package/apps/storybook/stories/catalog/tree-view.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/utility-button.stories.tsx +60 -0
- package/apps/storybook/stories/catalog/verification-code.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/verification-page.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/video-player.stories.tsx +18 -0
- package/apps/storybook/stories/catalog/workflow-canvas.stories.tsx +45 -0
- package/apps/storybook/stories/catalog/workflow-node.stories.tsx +24 -0
- package/apps/storybook/vitest.config.ts +39 -0
- package/apps/web/README.md +13 -0
- package/apps/web/app.js +483 -0
- package/apps/web/favicon.svg +6 -0
- package/apps/web/index.html +205 -0
- package/apps/web/styles.css +1823 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/README-FIRST.txt +20 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/SHA256SUMS.txt +11 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-delivery-metadata.json +25 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-evidence.zip +0 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-execution-report.md +60 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-manifest.json +106 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-source.tar.gz +0 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-source.zip +0 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system.bundle +0 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-evidence-index.html +38 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-verification-status.txt +15 -0
- package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-visual-contact-sheet.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/README.txt +13 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/browser-console.json +4 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/layout-audit.json +4 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/review/contact-sheet.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-1024.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-1280.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-390.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-768.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-1024.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-1280.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-390.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-768.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-1024.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-1280.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-390.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-768.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-1024.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-1280.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-390.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-768.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-pseudo-ltr-1024.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-pseudo-rtl-1024.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/consumer-en-light-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/consumer-fa-dark-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/dashboard-en-light-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/dashboard-fa-dark-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/workflow-en-light-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/workflow-fa-dark-1440.png +0 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots-manifest.json +203 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/verification-result.json +165 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/verification-result.txt +32 -0
- package/artifacts/original-delivery/noe-design-system-evidence/evidence/visual-index.html +1 -0
- package/artifacts/original-delivery/noe-design-system-evidence/noe-delivery-metadata.json +25 -0
- package/artifacts/original-delivery/noe-design-system-evidence/noe-design-system-execution-report.md +60 -0
- package/artifacts/original-delivery/noe-design-system-evidence/noe-design-system-manifest.json +106 -0
- package/artifacts/original-delivery/noe-design-system-evidence/noe-verification-status.txt +15 -0
- package/artifacts/original-delivery/noe-design-system.bundle +0 -0
- package/artifacts/original-delivery/source-evidence/verification-result.json +165 -0
- package/artifacts/original-delivery/source-evidence/verification-result.txt +32 -0
- package/artifacts/registry-consumer-report.json +153 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Black.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Bold.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-DemiBold.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-ExtraBlack.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-ExtraBold.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Heavy.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Light.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Medium.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Regular.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Thin.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-UltraLight.woff +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Black.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Bold.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-DemiBold.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-ExtraBlack.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-ExtraBold.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Heavy.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Light.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Medium.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Regular.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Thin.woff2 +0 -0
- package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-UltraLight.woff2 +0 -0
- package/biome.json +170 -0
- package/components.json +23 -0
- package/docs/adr/0001-semantic-foundation.md +5 -0
- package/docs/adr/0002-locale-direction.md +5 -0
- package/docs/adr/0003-registry-mcp.md +5 -0
- package/docs/adr/0004-testing-evidence.md +5 -0
- package/docs/adr/0005-noe-package-namespace.md +9 -0
- package/docs/adr/0006-icons8-icon-policy.md +9 -0
- package/docs/adr/0007-registry-publication-contract.md +9 -0
- package/docs/adr/0008-capability-library-adapter-boundaries.md +16 -0
- package/docs/adr/0009-calendar-system-jalali.md +29 -0
- package/docs/adr/0010-canonical-manifest-ownership.md +29 -0
- package/docs/adr/0011-palette-graphite-governance.md +27 -0
- package/docs/adr/0012-persian-font-gating.md +25 -0
- package/docs/adr/0013-cinematic-token-exception.md +32 -0
- package/docs/design-system/README.md +16 -0
- package/docs/design-system/accessibility.md +20 -0
- package/docs/design-system/agent-guide.md +11 -0
- package/docs/design-system/agentic-ui.md +21 -0
- package/docs/design-system/architecture.md +40 -0
- package/docs/design-system/brand.md +59 -0
- package/docs/design-system/ci-cd.md +46 -0
- package/docs/design-system/components.md +88 -0
- package/docs/design-system/contributing.md +7 -0
- package/docs/design-system/foundations.md +40 -0
- package/docs/design-system/i18n.md +24 -0
- package/docs/design-system/inventory.md +389 -0
- package/docs/design-system/mcp.md +7 -0
- package/docs/design-system/motion.md +7 -0
- package/docs/design-system/noe-brand-audit.md +33 -0
- package/docs/design-system/registry.md +16 -0
- package/docs/design-system/rtl.md +27 -0
- package/docs/design-system/security.md +16 -0
- package/docs/design-system/testing.md +39 -0
- package/docs/design-system/tokens.md +38 -0
- package/docs/design-system/visual-qa.md +10 -0
- package/docs/superpowers/plans/2026-08-25-noe-design-system-development-ready.md +833 -0
- package/docs/superpowers/plans/2026-08-26-noe-complete-catalog.md +422 -0
- package/docs/superpowers/specs/2026-08-25-noe-design-system-development-ready-design.md +260 -0
- package/docs/superpowers/specs/2026-08-26-noe-complete-catalog-design.md +187 -0
- package/llms.txt +20 -0
- package/package.json +68 -0
- package/packages/ai-ui/package.json +15 -0
- package/packages/ai-ui/src/activity-feed.tsx +60 -0
- package/packages/ai-ui/src/agent-composer.tsx +54 -0
- package/packages/ai-ui/src/agent-message.tsx +50 -0
- package/packages/ai-ui/src/agent-plan.tsx +69 -0
- package/packages/ai-ui/src/agent-workspace.tsx +63 -0
- package/packages/ai-ui/src/approval-request.tsx +93 -0
- package/packages/ai-ui/src/index.ts +8 -0
- package/packages/ai-ui/src/run-inspector.tsx +54 -0
- package/packages/ai-ui/src/tool-call.tsx +71 -0
- package/packages/data-ui/package.json +16 -0
- package/packages/data-ui/src/activity-gauge.tsx +38 -0
- package/packages/data-ui/src/chart-frame.tsx +41 -0
- package/packages/data-ui/src/chart.tsx +131 -0
- package/packages/data-ui/src/dashboard-01.tsx +39 -0
- package/packages/data-ui/src/dashboard-02.tsx +33 -0
- package/packages/data-ui/src/dashboard-shell.tsx +56 -0
- package/packages/data-ui/src/data-table.tsx +99 -0
- package/packages/data-ui/src/filter-bar.tsx +28 -0
- package/packages/data-ui/src/index.ts +12 -0
- package/packages/data-ui/src/metric-card.tsx +43 -0
- package/packages/data-ui/src/pagination.tsx +67 -0
- package/packages/data-ui/src/pie-chart.tsx +38 -0
- package/packages/data-ui/src/radar-chart.tsx +38 -0
- package/packages/design-tokens/package.json +23 -0
- package/packages/design-tokens/src/base.css +255 -0
- package/packages/design-tokens/src/fonts/IRANYekanXFaNum-Bold.woff2 +0 -0
- package/packages/design-tokens/src/fonts/IRANYekanXFaNum-DemiBold.woff2 +0 -0
- package/packages/design-tokens/src/fonts/IRANYekanXFaNum-Medium.woff2 +0 -0
- package/packages/design-tokens/src/fonts/IRANYekanXFaNum-Regular.woff2 +0 -0
- package/packages/design-tokens/src/fonts/IRANYekanXVF.ttf +0 -0
- package/packages/design-tokens/src/fonts/README.md +13 -0
- package/packages/design-tokens/src/fonts.css +49 -0
- package/packages/design-tokens/src/index.test.ts +36 -0
- package/packages/design-tokens/src/index.ts +5 -0
- package/packages/design-tokens/src/palette.ts +27 -0
- package/packages/design-tokens/src/tailwind.css +3 -0
- package/packages/design-tokens/src/theme.css +67 -0
- package/packages/design-tokens/src/tokens.css +251 -0
- package/packages/design-tokens/src/tokens.json +275 -0
- package/packages/design-tokens/src/tokens.mjs +276 -0
- package/packages/i18n/package.json +13 -0
- package/packages/i18n/src/index.ts +17 -0
- package/packages/i18n/src/messages/en.json +116 -0
- package/packages/i18n/src/messages/fa.json +116 -0
- package/packages/i18n/src/runtime.d.mts +42 -0
- package/packages/i18n/src/runtime.mjs +113 -0
- package/packages/i18n/src/translate.test.ts +50 -0
- package/packages/i18n/src/translate.ts +29 -0
- package/packages/icons/package.json +12 -0
- package/packages/icons/src/adapters.tsx +167 -0
- package/packages/icons/src/index.tsx +103 -0
- package/packages/registry/README.md +7 -0
- package/packages/registry/catalog-index.json +1345 -0
- package/packages/registry/component-audit.json +1038 -0
- package/packages/registry/coss-adoption.json +281 -0
- package/packages/registry/docs-index.json +1881 -0
- package/packages/registry/manifest.json +11081 -0
- package/packages/registry/manifest.schema.json +135 -0
- package/packages/registry/package.json +10 -0
- package/packages/registry/r/activity-feed.json +67 -0
- package/packages/registry/r/agent-composer.json +79 -0
- package/packages/registry/r/agent-message.json +72 -0
- package/packages/registry/r/agent-plan.json +67 -0
- package/packages/registry/r/agent-workspace.json +67 -0
- package/packages/registry/r/alert.json +68 -0
- package/packages/registry/r/app-frame.json +67 -0
- package/packages/registry/r/approval-request.json +84 -0
- package/packages/registry/r/badge.json +68 -0
- package/packages/registry/r/bidi-text.json +70 -0
- package/packages/registry/r/bottom-navigation.json +67 -0
- package/packages/registry/r/button.json +83 -0
- package/packages/registry/r/calendar.json +97 -0
- package/packages/registry/r/card.json +67 -0
- package/packages/registry/r/chart-frame.json +67 -0
- package/packages/registry/r/chart.json +67 -0
- package/packages/registry/r/code-block.json +67 -0
- package/packages/registry/r/context-menu.json +81 -0
- package/packages/registry/r/dashboard-01.json +86 -0
- package/packages/registry/r/dashboard-02.json +84 -0
- package/packages/registry/r/dashboard-shell.json +67 -0
- package/packages/registry/r/data-list.json +67 -0
- package/packages/registry/r/data-table.json +72 -0
- package/packages/registry/r/date-picker.json +117 -0
- package/packages/registry/r/dialog.json +84 -0
- package/packages/registry/r/direction-provider.json +54 -0
- package/packages/registry/r/drawer.json +80 -0
- package/packages/registry/r/dropdown.json +78 -0
- package/packages/registry/r/empty-state.json +67 -0
- package/packages/registry/r/error-state.json +67 -0
- package/packages/registry/r/fab.json +80 -0
- package/packages/registry/r/featured-icon.json +71 -0
- package/packages/registry/r/filter-bar.json +69 -0
- package/packages/registry/r/gradient-picker.json +62 -0
- package/packages/registry/r/header-navigation.json +67 -0
- package/packages/registry/r/hero-header.json +63 -0
- package/packages/registry/r/icon-system.json +59 -0
- package/packages/registry/r/image-picker.json +62 -0
- package/packages/registry/r/inline-cta.json +73 -0
- package/packages/registry/r/input.json +73 -0
- package/packages/registry/r/landing-page.json +70 -0
- package/packages/registry/r/login-page.json +71 -0
- package/packages/registry/r/marketing-header.json +63 -0
- package/packages/registry/r/menu.json +74 -0
- package/packages/registry/r/messaging.json +69 -0
- package/packages/registry/r/metric-card.json +67 -0
- package/packages/registry/r/mobile-screen.json +67 -0
- package/packages/registry/r/not-found.json +63 -0
- package/packages/registry/r/page-header.json +67 -0
- package/packages/registry/r/pagination.json +91 -0
- package/packages/registry/r/progress-steps.json +69 -0
- package/packages/registry/r/run-inspector.json +72 -0
- package/packages/registry/r/section-header.json +67 -0
- package/packages/registry/r/settings-01.json +94 -0
- package/packages/registry/r/settings-02.json +99 -0
- package/packages/registry/r/settings-page.json +67 -0
- package/packages/registry/r/sidebar-navigation.json +67 -0
- package/packages/registry/r/sign-in-form.json +89 -0
- package/packages/registry/r/skeleton.json +67 -0
- package/packages/registry/r/spinner.json +67 -0
- package/packages/registry/r/tabs.json +69 -0
- package/packages/registry/r/textarea.json +73 -0
- package/packages/registry/r/tool-call.json +72 -0
- package/packages/registry/r/tooltip.json +73 -0
- package/packages/registry/r/utility-button.json +83 -0
- package/packages/registry/r/workflow-canvas.json +67 -0
- package/packages/registry/r/workflow-node.json +72 -0
- package/packages/registry/r-planned-backup/about-page.json +14 -0
- package/packages/registry/r-planned-backup/activity-gauge.json +14 -0
- package/packages/registry/r-planned-backup/avatar.json +14 -0
- package/packages/registry/r-planned-backup/badge-group.json +14 -0
- package/packages/registry/r-planned-backup/banner.json +14 -0
- package/packages/registry/r-planned-backup/blog-index-page.json +14 -0
- package/packages/registry/r-planned-backup/blog-post-page.json +14 -0
- package/packages/registry/r-planned-backup/blog-section.json +14 -0
- package/packages/registry/r-planned-backup/button-group.json +14 -0
- package/packages/registry/r-planned-backup/careers-section.json +14 -0
- package/packages/registry/r-planned-backup/carousel.json +14 -0
- package/packages/registry/r-planned-backup/checkbox.json +14 -0
- package/packages/registry/r-planned-backup/color-picker.json +14 -0
- package/packages/registry/r-planned-backup/command-menu.json +14 -0
- package/packages/registry/r-planned-backup/contact-page.json +14 -0
- package/packages/registry/r-planned-backup/contact-section.json +14 -0
- package/packages/registry/r-planned-backup/content-divider.json +14 -0
- package/packages/registry/r-planned-backup/content-section.json +14 -0
- package/packages/registry/r-planned-backup/credit-card.json +14 -0
- package/packages/registry/r-planned-backup/cta-section.json +14 -0
- package/packages/registry/r-planned-backup/email-template.json +14 -0
- package/packages/registry/r-planned-backup/faq-page.json +14 -0
- package/packages/registry/r-planned-backup/faq-section.json +14 -0
- package/packages/registry/r-planned-backup/feature-section.json +14 -0
- package/packages/registry/r-planned-backup/file-uploader.json +14 -0
- package/packages/registry/r-planned-backup/footer.json +14 -0
- package/packages/registry/r-planned-backup/forgot-password-page.json +14 -0
- package/packages/registry/r-planned-backup/illustration.json +14 -0
- package/packages/registry/r-planned-backup/informational-page-01.json +14 -0
- package/packages/registry/r-planned-backup/informational-page-02.json +14 -0
- package/packages/registry/r-planned-backup/legal-page.json +14 -0
- package/packages/registry/r-planned-backup/marketing-404-page.json +14 -0
- package/packages/registry/r-planned-backup/metrics-section.json +14 -0
- package/packages/registry/r-planned-backup/multi-select.json +14 -0
- package/packages/registry/r-planned-backup/newsletter.json +14 -0
- package/packages/registry/r-planned-backup/notification.json +14 -0
- package/packages/registry/r-planned-backup/pie-chart.json +14 -0
- package/packages/registry/r-planned-backup/pricing-page.json +14 -0
- package/packages/registry/r-planned-backup/pricing-section.json +14 -0
- package/packages/registry/r-planned-backup/progress-indicator.json +14 -0
- package/packages/registry/r-planned-backup/qr-code.json +14 -0
- package/packages/registry/r-planned-backup/radar-chart.json +14 -0
- package/packages/registry/r-planned-backup/radio-group.json +14 -0
- package/packages/registry/r-planned-backup/rating.json +14 -0
- package/packages/registry/r-planned-backup/rich-text-editor.json +14 -0
- package/packages/registry/r-planned-backup/section-footer.json +14 -0
- package/packages/registry/r-planned-backup/select.json +14 -0
- package/packages/registry/r-planned-backup/sign-up-page.json +14 -0
- package/packages/registry/r-planned-backup/slider.json +14 -0
- package/packages/registry/r-planned-backup/social-button.json +14 -0
- package/packages/registry/r-planned-backup/social-proof.json +14 -0
- package/packages/registry/r-planned-backup/store-button.json +14 -0
- package/packages/registry/r-planned-backup/tags.json +14 -0
- package/packages/registry/r-planned-backup/team-page.json +14 -0
- package/packages/registry/r-planned-backup/team-section.json +14 -0
- package/packages/registry/r-planned-backup/testimonial-section.json +14 -0
- package/packages/registry/r-planned-backup/toggle.json +14 -0
- package/packages/registry/r-planned-backup/tree-view.json +14 -0
- package/packages/registry/r-planned-backup/verification-code.json +14 -0
- package/packages/registry/r-planned-backup/verification-page.json +14 -0
- package/packages/registry/r-planned-backup/video-player.json +14 -0
- package/packages/registry/registry.json +1997 -0
- package/packages/registry/search-index.json +3942 -0
- package/packages/testing/package.json +9 -0
- package/packages/testing/src/index.mjs +10 -0
- package/packages/ui/package.json +26 -0
- package/packages/ui/src/about-page.tsx +19 -0
- package/packages/ui/src/alert.tsx +67 -0
- package/packages/ui/src/app-frame.tsx +63 -0
- package/packages/ui/src/avatar.tsx +19 -0
- package/packages/ui/src/badge-group.tsx +19 -0
- package/packages/ui/src/badge.tsx +35 -0
- package/packages/ui/src/banner.tsx +19 -0
- package/packages/ui/src/bidi.tsx +80 -0
- package/packages/ui/src/blog-index-page.tsx +19 -0
- package/packages/ui/src/blog-post-page.tsx +19 -0
- package/packages/ui/src/blog-section.tsx +19 -0
- package/packages/ui/src/bottom-navigation.tsx +60 -0
- package/packages/ui/src/button-group.tsx +19 -0
- package/packages/ui/src/button.browser.test.tsx +38 -0
- package/packages/ui/src/button.tsx +81 -0
- package/packages/ui/src/calendar-system.test.ts +103 -0
- package/packages/ui/src/calendar-system.ts +120 -0
- package/packages/ui/src/calendar.browser.test.tsx +52 -0
- package/packages/ui/src/calendar.tsx +339 -0
- package/packages/ui/src/card.tsx +63 -0
- package/packages/ui/src/careers-section.tsx +19 -0
- package/packages/ui/src/carousel.tsx +19 -0
- package/packages/ui/src/checkbox.tsx +17 -0
- package/packages/ui/src/cinematic/cinematic.css +2020 -0
- package/packages/ui/src/cinematic/ecosystem-motion-showcase.tsx +265 -0
- package/packages/ui/src/cinematic/ecosystem-sphere.tsx +627 -0
- package/packages/ui/src/cinematic/index.ts +5 -0
- package/packages/ui/src/cinematic/kinetic-experience.tsx +207 -0
- package/packages/ui/src/cinematic/portfolio.ts +132 -0
- package/packages/ui/src/cinematic/system-anatomy.tsx +173 -0
- package/packages/ui/src/code.tsx +119 -0
- package/packages/ui/src/color-picker.tsx +22 -0
- package/packages/ui/src/command-menu.tsx +19 -0
- package/packages/ui/src/contact-page.tsx +19 -0
- package/packages/ui/src/contact-section.tsx +19 -0
- package/packages/ui/src/content-divider.tsx +19 -0
- package/packages/ui/src/content-section.tsx +19 -0
- package/packages/ui/src/context-menu.tsx +208 -0
- package/packages/ui/src/credit-card.tsx +19 -0
- package/packages/ui/src/cta-section.tsx +19 -0
- package/packages/ui/src/data-list.tsx +81 -0
- package/packages/ui/src/date-picker.browser.test.tsx +48 -0
- package/packages/ui/src/date-picker.tsx +248 -0
- package/packages/ui/src/dialog.browser.test.tsx +32 -0
- package/packages/ui/src/dialog.tsx +144 -0
- package/packages/ui/src/direction.tsx +46 -0
- package/packages/ui/src/drawer.tsx +179 -0
- package/packages/ui/src/dropdown.tsx +200 -0
- package/packages/ui/src/email-template.tsx +19 -0
- package/packages/ui/src/empty-state.tsx +43 -0
- package/packages/ui/src/error-state.tsx +44 -0
- package/packages/ui/src/fab.tsx +32 -0
- package/packages/ui/src/faq-page.tsx +19 -0
- package/packages/ui/src/faq-section.tsx +19 -0
- package/packages/ui/src/feature-section.tsx +19 -0
- package/packages/ui/src/featured-icon.tsx +63 -0
- package/packages/ui/src/field.browser.test.tsx +33 -0
- package/packages/ui/src/field.tsx +117 -0
- package/packages/ui/src/file-uploader.tsx +19 -0
- package/packages/ui/src/footer.tsx +19 -0
- package/packages/ui/src/forgot-password-page.tsx +19 -0
- package/packages/ui/src/gradient-picker.tsx +65 -0
- package/packages/ui/src/header-navigation.tsx +71 -0
- package/packages/ui/src/hero-header.tsx +57 -0
- package/packages/ui/src/illustration.tsx +19 -0
- package/packages/ui/src/image-picker.tsx +56 -0
- package/packages/ui/src/index.ts +110 -0
- package/packages/ui/src/informational-page-01.tsx +19 -0
- package/packages/ui/src/informational-page-02.tsx +19 -0
- package/packages/ui/src/inline-cta.tsx +29 -0
- package/packages/ui/src/input.tsx +44 -0
- package/packages/ui/src/landing-page.tsx +56 -0
- package/packages/ui/src/legal-page.tsx +19 -0
- package/packages/ui/src/lib/cn.ts +6 -0
- package/packages/ui/src/lib/i18n-messages.ts +40 -0
- package/packages/ui/src/login-page.tsx +78 -0
- package/packages/ui/src/marketing-404-page.tsx +19 -0
- package/packages/ui/src/marketing-header.tsx +53 -0
- package/packages/ui/src/menu.tsx +220 -0
- package/packages/ui/src/messaging.tsx +62 -0
- package/packages/ui/src/metrics-section.tsx +19 -0
- package/packages/ui/src/mobile-screen.tsx +37 -0
- package/packages/ui/src/multi-select.tsx +16 -0
- package/packages/ui/src/newsletter.tsx +19 -0
- package/packages/ui/src/not-found.tsx +60 -0
- package/packages/ui/src/notification.tsx +19 -0
- package/packages/ui/src/page-header.tsx +80 -0
- package/packages/ui/src/pricing-page.tsx +19 -0
- package/packages/ui/src/pricing-section.tsx +19 -0
- package/packages/ui/src/progress-indicator.tsx +19 -0
- package/packages/ui/src/progress-steps.tsx +85 -0
- package/packages/ui/src/qr-code.tsx +19 -0
- package/packages/ui/src/radio-group.tsx +26 -0
- package/packages/ui/src/rating.tsx +19 -0
- package/packages/ui/src/rich-text-editor.tsx +18 -0
- package/packages/ui/src/section-footer.tsx +19 -0
- package/packages/ui/src/section-header.tsx +37 -0
- package/packages/ui/src/select.tsx +27 -0
- package/packages/ui/src/settings-01.tsx +49 -0
- package/packages/ui/src/settings-02.tsx +58 -0
- package/packages/ui/src/settings-page.tsx +62 -0
- package/packages/ui/src/sidebar-navigation.tsx +77 -0
- package/packages/ui/src/sign-in-form.tsx +60 -0
- package/packages/ui/src/sign-up-page.tsx +19 -0
- package/packages/ui/src/skeleton.tsx +14 -0
- package/packages/ui/src/slider.tsx +13 -0
- package/packages/ui/src/social-button.tsx +19 -0
- package/packages/ui/src/social-proof.tsx +19 -0
- package/packages/ui/src/spinner.tsx +26 -0
- package/packages/ui/src/store-button.tsx +19 -0
- package/packages/ui/src/tabs.browser.test.tsx +33 -0
- package/packages/ui/src/tabs.tsx +175 -0
- package/packages/ui/src/tags.tsx +11 -0
- package/packages/ui/src/team-page.tsx +19 -0
- package/packages/ui/src/team-section.tsx +19 -0
- package/packages/ui/src/testimonial-section.tsx +19 -0
- package/packages/ui/src/textarea.tsx +45 -0
- package/packages/ui/src/theme-provider.browser.test.tsx +90 -0
- package/packages/ui/src/theme-provider.tsx +417 -0
- package/packages/ui/src/theme-toggle.tsx +107 -0
- package/packages/ui/src/toggle.tsx +34 -0
- package/packages/ui/src/tooltip.tsx +50 -0
- package/packages/ui/src/tree-view.tsx +19 -0
- package/packages/ui/src/utility-button.tsx +33 -0
- package/packages/ui/src/utils.ts +13 -0
- package/packages/ui/src/verification-code.tsx +27 -0
- package/packages/ui/src/verification-page.tsx +19 -0
- package/packages/ui/src/video-player.tsx +19 -0
- package/packages/workflow-ui/package.json +15 -0
- package/packages/workflow-ui/src/index.ts +2 -0
- package/packages/workflow-ui/src/workflow-canvas.tsx +51 -0
- package/packages/workflow-ui/src/workflow-node.tsx +61 -0
- package/playwright.config.ts +58 -0
- package/pnpm-workspace.yaml +5 -0
- package/registry.json +216 -0
- package/scripts/build-static.mjs +68 -0
- package/scripts/capture-visuals.py +106 -0
- package/scripts/capture-visuals.sh +10 -0
- package/scripts/create-visual-index.mjs +16 -0
- package/scripts/enrich-registry-payloads.mjs +83 -0
- package/scripts/fix-noe-imports.mjs +134 -0
- package/scripts/fix-registry-closure.mjs +110 -0
- package/scripts/fix-registry-deps-cleanup.mjs +149 -0
- package/scripts/fix-relative-for-registry.mjs +103 -0
- package/scripts/generate-design-tokens.mjs +134 -0
- package/scripts/generate-inventory.mjs +62 -0
- package/scripts/generate-manifest.mjs +1149 -0
- package/scripts/generate-phase4.mjs +875 -0
- package/scripts/validate-manifest.mjs +477 -0
- package/scripts/validate-pngs.mjs +31 -0
- package/scripts/verify-registry-consumer.mjs +319 -0
- package/scripts/verify-registry-dependencies.mjs +162 -0
- package/scripts/verify.mjs +316 -0
- package/tests/catalog-audit.test.mjs +156 -0
- package/tests/e2e/capture-visuals.mjs +34 -0
- package/tests/e2e/catalog-typography.spec.ts +110 -0
- package/tests/e2e/catalog.spec.ts +68 -0
- package/tests/e2e/direction.spec.ts +60 -0
- package/tests/e2e/responsive.spec.ts +30 -0
- package/tests/e2e/surfaces.spec.ts +51 -0
- package/tests/i18n.test.mjs +36 -0
- package/tests/icons.test.mjs +21 -0
- package/tests/registry-publication.test.mjs +88 -0
- package/tests/registry.test.mjs +51 -0
- package/tests/rtl.test.mjs +21 -0
- package/tests/static-app.test.mjs +49 -0
- package/tests/tokens.test.mjs +24 -0
- package/tests/workspace.test.mjs +25 -0
- package/tsconfig.base.json +69 -0
- package/tsconfig.json +27 -0
- package/tsconfig.verify.json +19 -0
- package/types/offline-react.d.ts +73 -0
- package/vitest.config.ts +91 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
// Token exception — cinematic accent values for timeline (--timeline-accent)
|
|
4
|
+
// Owner: @noe/design-tokens, Reason: timeline accent is canvas/timeline signal, uses primitive mint/cyan hex because CSS var is set via inline style for JS-driven active index; values track primitive palette (mint-100 #98e8cf, cyan-400 #55d6ff)
|
|
5
|
+
// Review: 2027-08-28, Affected: cinematic/kinetic-experience.tsx, Test: visual regression
|
|
6
|
+
|
|
7
|
+
import type { CSSProperties, MouseEvent as ReactMouseEvent } from 'react';
|
|
8
|
+
import { useEffect, useState } from 'react';
|
|
9
|
+
import './cinematic.css';
|
|
10
|
+
|
|
11
|
+
export type KineticSection = { id: string; label: string };
|
|
12
|
+
|
|
13
|
+
export function KineticExperience({ sections }: { sections: KineticSection[] }) {
|
|
14
|
+
const [active, setActive] = useState(sections[0]?.id || 'top');
|
|
15
|
+
const activeIndex = Math.max(
|
|
16
|
+
0,
|
|
17
|
+
sections.findIndex((section) => section.id === active),
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const root = document.documentElement;
|
|
22
|
+
const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)');
|
|
23
|
+
const revealTargets = Array.from(document.querySelectorAll<HTMLElement>('[data-motion]'));
|
|
24
|
+
const sectionTargets = sections
|
|
25
|
+
.map((section) => document.getElementById(section.id))
|
|
26
|
+
.filter((section): section is HTMLElement => Boolean(section));
|
|
27
|
+
|
|
28
|
+
let pointerFrame = 0;
|
|
29
|
+
let scrollFrame = 0;
|
|
30
|
+
let hashFrame = 0;
|
|
31
|
+
let hashTimer = 0 as unknown as number;
|
|
32
|
+
let heroObserver: IntersectionObserver | null = null;
|
|
33
|
+
root.classList.add('kinetic-enhanced');
|
|
34
|
+
|
|
35
|
+
const revealObserver = new IntersectionObserver(
|
|
36
|
+
(entries, observer) => {
|
|
37
|
+
entries.forEach((entry) => {
|
|
38
|
+
if (!entry.isIntersecting) return;
|
|
39
|
+
entry.target.classList.add('is-motion-visible');
|
|
40
|
+
observer.unobserve(entry.target);
|
|
41
|
+
});
|
|
42
|
+
},
|
|
43
|
+
{ rootMargin: '0px 0px -10%', threshold: 0.08 },
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
revealTargets.forEach((target) => {
|
|
47
|
+
if (reducedMotion.matches || target.getBoundingClientRect().top < window.innerHeight * 0.92)
|
|
48
|
+
target.classList.add('is-motion-visible');
|
|
49
|
+
else revealObserver.observe(target);
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
const sectionObserver = new IntersectionObserver(
|
|
53
|
+
(entries) => {
|
|
54
|
+
const visible = entries
|
|
55
|
+
.filter((e) => e.isIntersecting)
|
|
56
|
+
.sort((a, b) => b.intersectionRatio - a.intersectionRatio)[0];
|
|
57
|
+
if (visible && (visible.target as HTMLElement).id)
|
|
58
|
+
setActive((visible.target as HTMLElement).id);
|
|
59
|
+
},
|
|
60
|
+
{ rootMargin: '-32% 0px -52%', threshold: [0, 0.15, 0.45] },
|
|
61
|
+
);
|
|
62
|
+
sectionTargets.forEach((target) => sectionObserver.observe(target));
|
|
63
|
+
|
|
64
|
+
const updateScroll = () => {
|
|
65
|
+
scrollFrame = 0;
|
|
66
|
+
const range = Math.max(1, document.documentElement.scrollHeight - window.innerHeight);
|
|
67
|
+
root.style.setProperty(
|
|
68
|
+
'--kinetic-scroll',
|
|
69
|
+
String(Math.min(1, Math.max(0, window.scrollY / range))),
|
|
70
|
+
);
|
|
71
|
+
const hero = document.getElementById('top');
|
|
72
|
+
if (hero) {
|
|
73
|
+
const heroRect = hero.getBoundingClientRect();
|
|
74
|
+
const heroRange = Math.max(1, hero.offsetHeight - window.innerHeight);
|
|
75
|
+
const heroProgress = reducedMotion.matches
|
|
76
|
+
? 0
|
|
77
|
+
: Math.min(1, Math.max(0, -heroRect.top / heroRange));
|
|
78
|
+
const heroPhase = Math.min(2, Math.floor(Math.min(0.9999, heroProgress) * 3));
|
|
79
|
+
root.style.setProperty('--hero-progress', heroProgress.toFixed(4));
|
|
80
|
+
hero.dataset.heroPhase = String(heroPhase);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
const onScroll = () => {
|
|
84
|
+
if (!scrollFrame) scrollFrame = window.requestAnimationFrame(updateScroll);
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
const finePointer = window.matchMedia('(pointer: fine)').matches;
|
|
88
|
+
const onPointerMove = (event: PointerEvent) => {
|
|
89
|
+
if (!finePointer || reducedMotion.matches || pointerFrame) return;
|
|
90
|
+
pointerFrame = window.requestAnimationFrame(() => {
|
|
91
|
+
pointerFrame = 0;
|
|
92
|
+
root.style.setProperty('--kinetic-x', `${event.clientX}px`);
|
|
93
|
+
root.style.setProperty('--kinetic-y', `${event.clientY}px`);
|
|
94
|
+
root.style.setProperty(
|
|
95
|
+
'--kinetic-shift-x',
|
|
96
|
+
`${(event.clientX / window.innerWidth - 0.5) * 14}px`,
|
|
97
|
+
);
|
|
98
|
+
root.style.setProperty(
|
|
99
|
+
'--kinetic-shift-y',
|
|
100
|
+
`${(event.clientY / window.innerHeight - 0.5) * 14}px`,
|
|
101
|
+
);
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
updateScroll();
|
|
106
|
+
const hero = document.getElementById('top');
|
|
107
|
+
if (hero) {
|
|
108
|
+
heroObserver = new IntersectionObserver(
|
|
109
|
+
(entries) => {
|
|
110
|
+
const entry = entries[0];
|
|
111
|
+
hero.dataset.heroMotion = entry?.isIntersecting ? 'active' : 'paused';
|
|
112
|
+
},
|
|
113
|
+
{ rootMargin: '12% 0px' },
|
|
114
|
+
);
|
|
115
|
+
heroObserver.observe(hero);
|
|
116
|
+
}
|
|
117
|
+
const alignHashTarget = () => {
|
|
118
|
+
const targetId = decodeURIComponent(window.location.hash.slice(1));
|
|
119
|
+
if (!sections.some((section) => section.id === targetId)) return;
|
|
120
|
+
if (hashTimer) window.clearTimeout(hashTimer);
|
|
121
|
+
if (hashFrame) window.cancelAnimationFrame(hashFrame);
|
|
122
|
+
hashTimer = window.setTimeout(() => {
|
|
123
|
+
const target = document.getElementById(targetId);
|
|
124
|
+
if (!target) return;
|
|
125
|
+
hashFrame = window.requestAnimationFrame(() => {
|
|
126
|
+
window.scrollTo({ top: target.offsetTop + 2, behavior: 'auto' });
|
|
127
|
+
});
|
|
128
|
+
}, 80) as unknown as number;
|
|
129
|
+
};
|
|
130
|
+
alignHashTarget();
|
|
131
|
+
window.addEventListener('scroll', onScroll, { passive: true });
|
|
132
|
+
window.addEventListener('pointermove', onPointerMove, { passive: true });
|
|
133
|
+
window.addEventListener('hashchange', alignHashTarget);
|
|
134
|
+
reducedMotion.addEventListener('change', updateScroll);
|
|
135
|
+
|
|
136
|
+
return () => {
|
|
137
|
+
root.classList.remove('kinetic-enhanced');
|
|
138
|
+
revealObserver.disconnect();
|
|
139
|
+
sectionObserver.disconnect();
|
|
140
|
+
heroObserver?.disconnect();
|
|
141
|
+
window.removeEventListener('scroll', onScroll);
|
|
142
|
+
window.removeEventListener('pointermove', onPointerMove);
|
|
143
|
+
window.removeEventListener('hashchange', alignHashTarget);
|
|
144
|
+
reducedMotion.removeEventListener('change', updateScroll);
|
|
145
|
+
if (pointerFrame) window.cancelAnimationFrame(pointerFrame);
|
|
146
|
+
if (scrollFrame) window.cancelAnimationFrame(scrollFrame);
|
|
147
|
+
if (hashFrame) window.cancelAnimationFrame(hashFrame);
|
|
148
|
+
if (hashTimer) window.clearTimeout(hashTimer);
|
|
149
|
+
};
|
|
150
|
+
}, [sections]);
|
|
151
|
+
|
|
152
|
+
const goToSection = (event: ReactMouseEvent<HTMLAnchorElement>, id: string) => {
|
|
153
|
+
const target = document.getElementById(id);
|
|
154
|
+
if (!target) return;
|
|
155
|
+
event.preventDefault();
|
|
156
|
+
window.history.pushState(null, '', `#${id}`);
|
|
157
|
+
window.scrollTo({
|
|
158
|
+
top: target.offsetTop + 2,
|
|
159
|
+
behavior: window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth',
|
|
160
|
+
});
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
return (
|
|
164
|
+
<>
|
|
165
|
+
<aside
|
|
166
|
+
className="kinetic-timeline"
|
|
167
|
+
aria-label="Page sections"
|
|
168
|
+
style={
|
|
169
|
+
{
|
|
170
|
+
'--active-index': activeIndex,
|
|
171
|
+
'--section-count': Math.max(1, sections.length),
|
|
172
|
+
'--timeline-accent':
|
|
173
|
+
['#98e8cf', '#55d6ff', '#98e8cf', '#98e8cf'][activeIndex] || '#98e8cf',
|
|
174
|
+
} as CSSProperties
|
|
175
|
+
}
|
|
176
|
+
>
|
|
177
|
+
<div className="kinetic-timeline-readout" aria-hidden="true">
|
|
178
|
+
<span>{String(activeIndex + 1).padStart(2, '0')}</span>
|
|
179
|
+
<strong>{sections[activeIndex]?.label || 'System'}</strong>
|
|
180
|
+
</div>
|
|
181
|
+
<nav>
|
|
182
|
+
{sections.map((section) => (
|
|
183
|
+
<a
|
|
184
|
+
key={section.id}
|
|
185
|
+
className={active === section.id ? 'is-active' : ''}
|
|
186
|
+
href={`#${section.id}`}
|
|
187
|
+
onClick={(event) => goToSection(event, section.id)}
|
|
188
|
+
aria-label={`Go to ${section.label}`}
|
|
189
|
+
aria-current={active === section.id ? 'location' : undefined}
|
|
190
|
+
>
|
|
191
|
+
<i aria-hidden="true" />
|
|
192
|
+
<em>{section.label}</em>
|
|
193
|
+
</a>
|
|
194
|
+
))}
|
|
195
|
+
</nav>
|
|
196
|
+
<div className="kinetic-timeline-progress" aria-hidden="true">
|
|
197
|
+
<i />
|
|
198
|
+
</div>
|
|
199
|
+
</aside>
|
|
200
|
+
<div className="kinetic-signal" aria-hidden="true">
|
|
201
|
+
<i /> Scroll-directed system
|
|
202
|
+
</div>
|
|
203
|
+
</>
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export default KineticExperience;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
export type PortfolioNodeStatus = 'live' | 'capability';
|
|
2
|
+
|
|
3
|
+
export type PortfolioNode = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
layer: string;
|
|
7
|
+
summary: string;
|
|
8
|
+
status: PortfolioNodeStatus;
|
|
9
|
+
href?: string;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
order?: number;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const PUBLIC_PORTFOLIO_CORE = {
|
|
15
|
+
name: 'NOEcosystem',
|
|
16
|
+
layer: 'Operating Ecosystem',
|
|
17
|
+
} as const;
|
|
18
|
+
|
|
19
|
+
export const PUBLIC_PORTFOLIO_NODES: readonly PortfolioNode[] = [
|
|
20
|
+
{
|
|
21
|
+
id: 'nocloud',
|
|
22
|
+
name: 'NOCloud',
|
|
23
|
+
layer: 'Cloud Engineering',
|
|
24
|
+
summary: 'Cloud engineering capabilities for shared digital foundations.',
|
|
25
|
+
status: 'capability',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: 'noassure',
|
|
29
|
+
name: 'NOAssure',
|
|
30
|
+
layer: 'Trust & Assurance',
|
|
31
|
+
summary: 'Trust and assurance capabilities across the operating ecosystem.',
|
|
32
|
+
status: 'capability',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: 'nodata',
|
|
36
|
+
name: 'NOData',
|
|
37
|
+
layer: 'Data & Integration',
|
|
38
|
+
summary: 'Shared data and integration capabilities for connected services.',
|
|
39
|
+
status: 'capability',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: 'nochain',
|
|
43
|
+
name: 'NOChain',
|
|
44
|
+
layer: 'Ledger & Blockchain',
|
|
45
|
+
summary: 'Ledger and blockchain capabilities for verifiable coordination.',
|
|
46
|
+
status: 'capability',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'norchestration',
|
|
50
|
+
name: 'NOrchestration',
|
|
51
|
+
layer: 'Enterprise Orchestration',
|
|
52
|
+
summary: 'Enterprise orchestration for connected capabilities and workflows.',
|
|
53
|
+
status: 'capability',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'nosist',
|
|
57
|
+
name: 'NOsist',
|
|
58
|
+
layer: 'AI Foundation',
|
|
59
|
+
summary: 'A shared AI foundation for products, teams, and experiences.',
|
|
60
|
+
status: 'capability',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 'nopartner',
|
|
64
|
+
name: 'NOPartner',
|
|
65
|
+
layer: 'Partner Ecosystem',
|
|
66
|
+
summary: 'Partner ecosystem capabilities for coordinated participation.',
|
|
67
|
+
status: 'capability',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: 'norbit',
|
|
71
|
+
name: 'NOrbit',
|
|
72
|
+
layer: 'Unified Superapp',
|
|
73
|
+
summary: 'A unified superapp experience built on shared foundations.',
|
|
74
|
+
status: 'capability',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: 'norganization',
|
|
78
|
+
name: 'NOrganization',
|
|
79
|
+
layer: 'HR & Organization',
|
|
80
|
+
summary: 'Connected people, structure, and organizational operations.',
|
|
81
|
+
status: 'capability',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
id: 'nofinix',
|
|
85
|
+
name: 'NOFinix',
|
|
86
|
+
layer: 'Finance & Control',
|
|
87
|
+
summary: 'Financial visibility, governance, and control across the ecosystem.',
|
|
88
|
+
status: 'capability',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: 'nobank',
|
|
92
|
+
name: 'NOBank',
|
|
93
|
+
layer: 'Digital Banking',
|
|
94
|
+
summary: 'Digital banking capabilities for connected financial experiences.',
|
|
95
|
+
status: 'capability',
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: 'noceo',
|
|
99
|
+
name: 'NOCEO',
|
|
100
|
+
layer: 'Executive Intelligence',
|
|
101
|
+
summary: 'Decision intelligence for connected executive workflows.',
|
|
102
|
+
status: 'capability',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: 'notradex',
|
|
106
|
+
name: 'NOTradex',
|
|
107
|
+
layer: 'Advisory & Trading',
|
|
108
|
+
summary: 'Connected advisory and trading capabilities.',
|
|
109
|
+
status: 'capability',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
id: 'nocvc',
|
|
113
|
+
name: 'NOCVC',
|
|
114
|
+
layer: 'Venture Studio',
|
|
115
|
+
summary: 'A venture studio for shaping and accelerating new businesses.',
|
|
116
|
+
status: 'capability',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: 'nobazi',
|
|
120
|
+
name: 'NOBazi',
|
|
121
|
+
layer: 'Loyalty & Gamification',
|
|
122
|
+
summary: 'Loyalty and gamification capabilities for sustained engagement.',
|
|
123
|
+
status: 'capability',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: 'nofit',
|
|
127
|
+
name: 'NOFit',
|
|
128
|
+
layer: 'Health & Fitness',
|
|
129
|
+
summary: 'Connected health and fitness experiences.',
|
|
130
|
+
status: 'capability',
|
|
131
|
+
},
|
|
132
|
+
] as const;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import type { CSSProperties } from 'react';
|
|
4
|
+
import { useEffect, useRef, useState } from 'react';
|
|
5
|
+
import './cinematic.css';
|
|
6
|
+
|
|
7
|
+
const chapters = [
|
|
8
|
+
{
|
|
9
|
+
number: '01',
|
|
10
|
+
label: 'Foundation',
|
|
11
|
+
title: 'Shared by design.',
|
|
12
|
+
body: 'Identity, trust, data, and reusable capabilities form one dependable foundation beneath every experience.',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
number: '02',
|
|
16
|
+
label: 'Orchestration',
|
|
17
|
+
title: 'Connected with intent.',
|
|
18
|
+
body: 'Each capability stays focused while orchestration moves signals and services only where they are needed.',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
number: '03',
|
|
22
|
+
label: 'Experience',
|
|
23
|
+
title: 'Clear at the surface.',
|
|
24
|
+
body: 'A sophisticated system meets people through calm, coherent, and distinctly useful experiences.',
|
|
25
|
+
},
|
|
26
|
+
] as const;
|
|
27
|
+
|
|
28
|
+
export interface SystemAnatomyProps {
|
|
29
|
+
id?: string;
|
|
30
|
+
className?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function SystemAnatomy({ id = 'idea', className }: SystemAnatomyProps) {
|
|
34
|
+
const rootRef = useRef<HTMLElement>(null);
|
|
35
|
+
const frameRef = useRef(0);
|
|
36
|
+
const [chapter, setChapter] = useState(0);
|
|
37
|
+
const [showAllChapters, setShowAllChapters] = useState(false);
|
|
38
|
+
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
const root = rootRef.current;
|
|
41
|
+
if (!root) return;
|
|
42
|
+
const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)');
|
|
43
|
+
const syncMotionPreference = () => setShowAllChapters(reducedMotion.matches);
|
|
44
|
+
syncMotionPreference();
|
|
45
|
+
reducedMotion.addEventListener('change', syncMotionPreference);
|
|
46
|
+
|
|
47
|
+
const update = () => {
|
|
48
|
+
frameRef.current = 0;
|
|
49
|
+
if (reducedMotion.matches) {
|
|
50
|
+
root.style.setProperty('--anatomy-progress', '1');
|
|
51
|
+
setChapter(chapters.length - 1);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const rect = root.getBoundingClientRect();
|
|
55
|
+
const scrollable = Math.max(1, root.offsetHeight - window.innerHeight);
|
|
56
|
+
const progress = Math.max(0, Math.min(1, -rect.top / scrollable));
|
|
57
|
+
root.style.setProperty('--anatomy-progress', progress.toFixed(4));
|
|
58
|
+
setChapter(Math.min(chapters.length - 1, Math.floor(progress * chapters.length)));
|
|
59
|
+
};
|
|
60
|
+
const onScroll = () => {
|
|
61
|
+
if (!frameRef.current) frameRef.current = window.requestAnimationFrame(update);
|
|
62
|
+
};
|
|
63
|
+
update();
|
|
64
|
+
window.addEventListener('scroll', onScroll, { passive: true });
|
|
65
|
+
window.addEventListener('resize', onScroll, { passive: true });
|
|
66
|
+
return () => {
|
|
67
|
+
window.removeEventListener('scroll', onScroll);
|
|
68
|
+
window.removeEventListener('resize', onScroll);
|
|
69
|
+
reducedMotion.removeEventListener('change', syncMotionPreference);
|
|
70
|
+
if (frameRef.current) window.cancelAnimationFrame(frameRef.current);
|
|
71
|
+
};
|
|
72
|
+
}, []);
|
|
73
|
+
|
|
74
|
+
return (
|
|
75
|
+
<section
|
|
76
|
+
className={className ? `system-anatomy ${className}` : 'system-anatomy'}
|
|
77
|
+
id={id}
|
|
78
|
+
ref={rootRef}
|
|
79
|
+
data-anatomy-chapter={chapter}
|
|
80
|
+
>
|
|
81
|
+
<div className="anatomy-sticky">
|
|
82
|
+
<div className="anatomy-copy">
|
|
83
|
+
<div
|
|
84
|
+
aria-hidden="true"
|
|
85
|
+
style={{
|
|
86
|
+
width: 'clamp(160px, 16vw, 230px)',
|
|
87
|
+
height: 'auto',
|
|
88
|
+
marginBottom: '2.5rem',
|
|
89
|
+
fontWeight: 800,
|
|
90
|
+
letterSpacing: '-0.05em',
|
|
91
|
+
fontSize: '1.25rem',
|
|
92
|
+
color: 'var(--noe-canvas-copy)',
|
|
93
|
+
}}
|
|
94
|
+
>
|
|
95
|
+
NOECOSYSTEM
|
|
96
|
+
</div>
|
|
97
|
+
<p>One system. Built deliberately.</p>
|
|
98
|
+
<h2>A shared core. Distinct experiences.</h2>
|
|
99
|
+
<div className="anatomy-chapters" aria-live="polite">
|
|
100
|
+
{chapters.map((item, index) => (
|
|
101
|
+
<article
|
|
102
|
+
className={chapter === index ? 'is-active' : ''}
|
|
103
|
+
aria-hidden={!showAllChapters && chapter !== index}
|
|
104
|
+
key={item.number}
|
|
105
|
+
>
|
|
106
|
+
<span>
|
|
107
|
+
{item.number} / {item.label}
|
|
108
|
+
</span>
|
|
109
|
+
<h3>{item.title}</h3>
|
|
110
|
+
<p>{item.body}</p>
|
|
111
|
+
</article>
|
|
112
|
+
))}
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<div className="anatomy-machine" aria-hidden="true">
|
|
117
|
+
<div className="anatomy-ruler ruler-top">
|
|
118
|
+
{Array.from({ length: 32 }, (_, i) => (
|
|
119
|
+
<i key={i} />
|
|
120
|
+
))}
|
|
121
|
+
</div>
|
|
122
|
+
<div className="anatomy-ruler ruler-side">
|
|
123
|
+
{Array.from({ length: 22 }, (_, i) => (
|
|
124
|
+
<i key={i} />
|
|
125
|
+
))}
|
|
126
|
+
</div>
|
|
127
|
+
<div className="machine-halo halo-one" />
|
|
128
|
+
<div className="machine-halo halo-two" />
|
|
129
|
+
<div className="machine-layer layer-foundation">
|
|
130
|
+
<span>FOUNDATION</span>
|
|
131
|
+
<i>01</i>
|
|
132
|
+
</div>
|
|
133
|
+
<div className="machine-layer layer-connection">
|
|
134
|
+
<span>ORCHESTRATION</span>
|
|
135
|
+
<i>02</i>
|
|
136
|
+
</div>
|
|
137
|
+
<div className="machine-layer layer-experience">
|
|
138
|
+
<span>EXPERIENCE</span>
|
|
139
|
+
<i>03</i>
|
|
140
|
+
</div>
|
|
141
|
+
<div className="machine-core">
|
|
142
|
+
<span aria-hidden="true" style={{ fontWeight: 800, fontSize: '1rem' }}>
|
|
143
|
+
NO
|
|
144
|
+
</span>
|
|
145
|
+
</div>
|
|
146
|
+
<div className="machine-leader leader-a">
|
|
147
|
+
<span>SHARED CORE</span>
|
|
148
|
+
</div>
|
|
149
|
+
<div className="machine-leader leader-b">
|
|
150
|
+
<span>LIVE SIGNAL</span>
|
|
151
|
+
</div>
|
|
152
|
+
<div className="machine-leader leader-c">
|
|
153
|
+
<span>CONNECTED OUTPUT</span>
|
|
154
|
+
</div>
|
|
155
|
+
<i className="machine-packet packet-one" />
|
|
156
|
+
<i className="machine-packet packet-two" />
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<div className="anatomy-footer">
|
|
160
|
+
<span>EXPLODED VIEW / NO–001</span>
|
|
161
|
+
<div className="anatomy-progress">
|
|
162
|
+
<i style={{ '--anatomy-step': chapter + 1 } as CSSProperties} />
|
|
163
|
+
</div>
|
|
164
|
+
<span>
|
|
165
|
+
{String(Math.round(((chapter + 1) / chapters.length) * 100)).padStart(3, '0')}%
|
|
166
|
+
</span>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
</section>
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export default SystemAnatomy;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
|
|
3
|
+
import { cn } from './lib/cn';
|
|
4
|
+
|
|
5
|
+
export function InlineCode({
|
|
6
|
+
children,
|
|
7
|
+
className,
|
|
8
|
+
}: {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}) {
|
|
12
|
+
return (
|
|
13
|
+
<code
|
|
14
|
+
className={cn(
|
|
15
|
+
'rounded-sm border border-border bg-muted px-1.5 py-0.5 font-mono text-[0.85em] text-foreground',
|
|
16
|
+
className,
|
|
17
|
+
)}
|
|
18
|
+
data-slot="inline-code"
|
|
19
|
+
dir="ltr"
|
|
20
|
+
>
|
|
21
|
+
{children}
|
|
22
|
+
</code>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function CodeBlock({
|
|
27
|
+
code,
|
|
28
|
+
language,
|
|
29
|
+
label,
|
|
30
|
+
className,
|
|
31
|
+
}: {
|
|
32
|
+
code: string;
|
|
33
|
+
language?: string;
|
|
34
|
+
label?: React.ReactNode;
|
|
35
|
+
className?: string;
|
|
36
|
+
}) {
|
|
37
|
+
const caption = label ?? language;
|
|
38
|
+
return (
|
|
39
|
+
<figure
|
|
40
|
+
className={cn(
|
|
41
|
+
'overflow-hidden rounded-lg border border-border bg-surface-sunken text-sm',
|
|
42
|
+
className,
|
|
43
|
+
)}
|
|
44
|
+
data-slot="code-block"
|
|
45
|
+
dir="ltr"
|
|
46
|
+
>
|
|
47
|
+
{caption ? (
|
|
48
|
+
<figcaption className="flex items-center justify-between gap-2 border-b border-border bg-surface-raised px-4 py-2 font-mono text-xs text-muted-foreground">
|
|
49
|
+
{caption}
|
|
50
|
+
</figcaption>
|
|
51
|
+
) : null}
|
|
52
|
+
<pre className="overflow-x-auto p-4 leading-relaxed">
|
|
53
|
+
<code className="font-mono text-foreground" data-language={language}>
|
|
54
|
+
{code}
|
|
55
|
+
</code>
|
|
56
|
+
</pre>
|
|
57
|
+
</figure>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface TerminalLine {
|
|
62
|
+
id?: React.Key;
|
|
63
|
+
stream?: 'stdout' | 'stderr';
|
|
64
|
+
value: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function Terminal({
|
|
68
|
+
lines,
|
|
69
|
+
label,
|
|
70
|
+
className,
|
|
71
|
+
}: {
|
|
72
|
+
lines: readonly TerminalLine[];
|
|
73
|
+
label: string;
|
|
74
|
+
className?: string;
|
|
75
|
+
}) {
|
|
76
|
+
const occurrences = new Map<string, number>();
|
|
77
|
+
const keyedLines = lines.map((line) => {
|
|
78
|
+
const contentKey = `${line.stream ?? 'stdout'}:${line.value}`;
|
|
79
|
+
const occurrence = (occurrences.get(contentKey) ?? 0) + 1;
|
|
80
|
+
occurrences.set(contentKey, occurrence);
|
|
81
|
+
return { ...line, key: line.id ?? `${contentKey}:${occurrence}` };
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<section
|
|
86
|
+
aria-label={label}
|
|
87
|
+
className={cn(
|
|
88
|
+
'overflow-hidden rounded-lg border border-border-strong bg-foreground text-background',
|
|
89
|
+
className,
|
|
90
|
+
)}
|
|
91
|
+
data-slot="terminal"
|
|
92
|
+
dir="ltr"
|
|
93
|
+
>
|
|
94
|
+
<div
|
|
95
|
+
aria-hidden="true"
|
|
96
|
+
className="flex items-center gap-1.5 border-b border-background/10 px-4 py-2.5"
|
|
97
|
+
data-slot="terminal-bar"
|
|
98
|
+
>
|
|
99
|
+
<span className="size-2.5 rounded-pill bg-destructive/70" />
|
|
100
|
+
<span className="size-2.5 rounded-pill bg-warning/70" />
|
|
101
|
+
<span className="size-2.5 rounded-pill bg-success/70" />
|
|
102
|
+
</div>
|
|
103
|
+
<pre className="overflow-x-auto p-4 font-mono text-xs leading-relaxed">
|
|
104
|
+
{keyedLines.map((line) => (
|
|
105
|
+
<span
|
|
106
|
+
className={cn(
|
|
107
|
+
'block',
|
|
108
|
+
line.stream === 'stderr' ? 'text-destructive' : 'text-background/90',
|
|
109
|
+
)}
|
|
110
|
+
data-stream={line.stream ?? 'stdout'}
|
|
111
|
+
key={line.key}
|
|
112
|
+
>
|
|
113
|
+
{line.value}
|
|
114
|
+
</span>
|
|
115
|
+
))}
|
|
116
|
+
</pre>
|
|
117
|
+
</section>
|
|
118
|
+
);
|
|
119
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { cn } from './lib/cn';
|
|
3
|
+
|
|
4
|
+
// Default example value uses the semantic accent token (mint-500) — not a raw product color.
|
|
5
|
+
// Input type=color requires a hex for the native picker; the displayed hex is derived from the token.
|
|
6
|
+
const DEFAULT_ACCENT_HEX = '#0b6f6b'; // primitive mint-500 / semantic accent — keep in sync with tokens.json
|
|
7
|
+
|
|
8
|
+
export function ColorPicker({ className, ...props }: React.ComponentProps<'div'>) {
|
|
9
|
+
return (
|
|
10
|
+
<div className={cn('flex items-center gap-2', className)} data-slot="color-picker" {...props}>
|
|
11
|
+
<input
|
|
12
|
+
type="color"
|
|
13
|
+
aria-label="Color picker"
|
|
14
|
+
className="size-8 rounded-md border border-border"
|
|
15
|
+
defaultValue={DEFAULT_ACCENT_HEX}
|
|
16
|
+
/>
|
|
17
|
+
<span className="text-sm text-muted-foreground" style={{ color: 'var(--noe-color-accent)' }}>
|
|
18
|
+
{DEFAULT_ACCENT_HEX}
|
|
19
|
+
</span>
|
|
20
|
+
</div>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { cn } from './lib/cn';
|
|
3
|
+
export interface CommandMenuProps extends React.ComponentProps<'div'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export function CommandMenu({ className, children, ...props }: CommandMenuProps) {
|
|
7
|
+
return (
|
|
8
|
+
<div
|
|
9
|
+
className={cn(
|
|
10
|
+
'rounded-md border border-border bg-surface-raised p-4 text-sm text-foreground',
|
|
11
|
+
className,
|
|
12
|
+
)}
|
|
13
|
+
data-slot="command-menu"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
{children ?? 'Command Menu'}
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { cn } from './lib/cn';
|
|
3
|
+
export interface ContactPageProps extends React.ComponentProps<'div'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export function ContactPage({ className, children, ...props }: ContactPageProps) {
|
|
7
|
+
return (
|
|
8
|
+
<div
|
|
9
|
+
className={cn(
|
|
10
|
+
'rounded-md border border-border bg-surface-raised p-4 text-sm text-foreground',
|
|
11
|
+
className,
|
|
12
|
+
)}
|
|
13
|
+
data-slot="contact-page"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
{children ?? 'Contact Page'}
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
}
|