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,875 @@
|
|
|
1
|
+
import { mkdir, readFile, writeFile } from 'node:fs/promises';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
|
|
5
|
+
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
6
|
+
|
|
7
|
+
const families = [
|
|
8
|
+
// 4A Form Foundations (10)
|
|
9
|
+
{
|
|
10
|
+
id: 'avatar',
|
|
11
|
+
title: 'Avatar',
|
|
12
|
+
pkg: '@noe/ui',
|
|
13
|
+
file: 'packages/ui/src/avatar.tsx',
|
|
14
|
+
cat: 'Base / Identity',
|
|
15
|
+
type: 'registry:ui',
|
|
16
|
+
desc: 'Image and fallback avatar with tokenized sizes and status ring, bidi-safe.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 'badge-group',
|
|
20
|
+
title: 'Badge Group',
|
|
21
|
+
pkg: '@noe/ui',
|
|
22
|
+
file: 'packages/ui/src/badge-group.tsx',
|
|
23
|
+
cat: 'Base / Identity',
|
|
24
|
+
type: 'registry:ui',
|
|
25
|
+
desc: 'Compact group of badges with logical flex and overflow handling.',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: 'button-group',
|
|
29
|
+
title: 'Button Group',
|
|
30
|
+
pkg: '@noe/ui',
|
|
31
|
+
file: 'packages/ui/src/button-group.tsx',
|
|
32
|
+
cat: 'Base / Actions',
|
|
33
|
+
type: 'registry:ui',
|
|
34
|
+
desc: 'Segmented button group with shared border and focus management, RTL-safe.',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 'checkbox',
|
|
38
|
+
title: 'Checkbox',
|
|
39
|
+
pkg: '@noe/ui',
|
|
40
|
+
file: 'packages/ui/src/checkbox.tsx',
|
|
41
|
+
cat: 'Base / Forms',
|
|
42
|
+
type: 'registry:ui',
|
|
43
|
+
desc: 'Accessible checkbox with label, description, error and indeterminate states, keyboard and RTL.',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'radio-group',
|
|
47
|
+
title: 'Radio Group',
|
|
48
|
+
pkg: '@noe/ui',
|
|
49
|
+
file: 'packages/ui/src/radio-group.tsx',
|
|
50
|
+
cat: 'Base / Forms',
|
|
51
|
+
type: 'registry:ui',
|
|
52
|
+
desc: 'Radio group with keyboard arrow navigation and logical layout, single selection.',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: 'toggle',
|
|
56
|
+
title: 'Toggle',
|
|
57
|
+
pkg: '@noe/ui',
|
|
58
|
+
file: 'packages/ui/src/toggle.tsx',
|
|
59
|
+
cat: 'Base / Forms',
|
|
60
|
+
type: 'registry:ui',
|
|
61
|
+
desc: 'Toggle switch with on/off states, label and description, accessible and tokenized.',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: 'select',
|
|
65
|
+
title: 'Select',
|
|
66
|
+
pkg: '@noe/ui',
|
|
67
|
+
file: 'packages/ui/src/select.tsx',
|
|
68
|
+
cat: 'Base / Forms',
|
|
69
|
+
type: 'registry:ui',
|
|
70
|
+
desc: 'Single-select with overlay, listbox and keyboard, shares foundation with MultiSelect.',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 'multi-select',
|
|
74
|
+
title: 'Multi Select',
|
|
75
|
+
pkg: '@noe/ui',
|
|
76
|
+
file: 'packages/ui/src/multi-select.tsx',
|
|
77
|
+
cat: 'Base / Forms',
|
|
78
|
+
type: 'registry:ui',
|
|
79
|
+
desc: 'Multi-select with async support, tags and RTL, shares overlay with Select.',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: 'slider',
|
|
83
|
+
title: 'Slider',
|
|
84
|
+
pkg: '@noe/ui',
|
|
85
|
+
file: 'packages/ui/src/slider.tsx',
|
|
86
|
+
cat: 'Base / Forms',
|
|
87
|
+
type: 'registry:ui',
|
|
88
|
+
desc: 'Range slider with thumb, track and keyboard, logical orientation, tokenized.',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: 'tags',
|
|
92
|
+
title: 'Tags',
|
|
93
|
+
pkg: '@noe/ui',
|
|
94
|
+
file: 'packages/ui/src/tags.tsx',
|
|
95
|
+
cat: 'Base / Forms',
|
|
96
|
+
type: 'registry:ui',
|
|
97
|
+
desc: 'Tag list with remove action, keyboard and bidi-safe.',
|
|
98
|
+
},
|
|
99
|
+
// Additional base missing (we include others in 4A count but spec lists 10, we add verification, etc.)
|
|
100
|
+
{
|
|
101
|
+
id: 'verification-code',
|
|
102
|
+
title: 'Verification Code',
|
|
103
|
+
pkg: '@noe/ui',
|
|
104
|
+
file: 'packages/ui/src/verification-code.tsx',
|
|
105
|
+
cat: 'Base / Forms',
|
|
106
|
+
type: 'registry:ui',
|
|
107
|
+
desc: 'Verification code input with 6 digits, paste support and auto-focus, LTR-isolated.',
|
|
108
|
+
},
|
|
109
|
+
// 4B Inputs and Pickers (6)
|
|
110
|
+
{
|
|
111
|
+
id: 'calendar',
|
|
112
|
+
title: 'Calendar',
|
|
113
|
+
pkg: '@noe/ui',
|
|
114
|
+
file: 'packages/ui/src/calendar.tsx',
|
|
115
|
+
cat: 'Base / Pickers',
|
|
116
|
+
type: 'registry:ui',
|
|
117
|
+
desc: 'Calendar grid with month navigation, separate locale formatting and RTL, Jalali extension point.',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: 'date-picker',
|
|
121
|
+
title: 'Date Picker',
|
|
122
|
+
pkg: '@noe/ui',
|
|
123
|
+
file: 'packages/ui/src/date-picker.tsx',
|
|
124
|
+
cat: 'Base / Pickers',
|
|
125
|
+
type: 'registry:ui',
|
|
126
|
+
desc: 'Date picker composing Calendar and Field with popover, locale-aware formatting.',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
id: 'color-picker',
|
|
130
|
+
title: 'Color Picker',
|
|
131
|
+
pkg: '@noe/ui',
|
|
132
|
+
file: 'packages/ui/src/color-picker.tsx',
|
|
133
|
+
cat: 'Base / Pickers',
|
|
134
|
+
type: 'registry:ui',
|
|
135
|
+
desc: 'Color picker with hue, hex input and swatches, tokenized and accessible.',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: 'file-uploader',
|
|
139
|
+
title: 'File Uploader',
|
|
140
|
+
pkg: '@noe/ui',
|
|
141
|
+
file: 'packages/ui/src/file-uploader.tsx',
|
|
142
|
+
cat: 'Base / Pickers',
|
|
143
|
+
type: 'registry:ui',
|
|
144
|
+
desc: 'File uploader with drag/drop, file list and error states, accessible.',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: 'rich-text-editor',
|
|
148
|
+
title: 'Rich Text Editor',
|
|
149
|
+
pkg: '@noe/ui',
|
|
150
|
+
file: 'packages/ui/src/rich-text-editor.tsx',
|
|
151
|
+
cat: 'Base / Pickers',
|
|
152
|
+
type: 'registry:ui',
|
|
153
|
+
desc: 'Rich text editor with formatting toolbar, lazy-loaded heavy editor and RTL.',
|
|
154
|
+
},
|
|
155
|
+
// 4C Navigation and Disclosure (7)
|
|
156
|
+
{
|
|
157
|
+
id: 'command-menu',
|
|
158
|
+
title: 'Command Menu',
|
|
159
|
+
pkg: '@noe/ui',
|
|
160
|
+
file: 'packages/ui/src/command-menu.tsx',
|
|
161
|
+
cat: 'Overlays / Navigation',
|
|
162
|
+
type: 'registry:ui',
|
|
163
|
+
desc: 'Command palette with search, keyboard and overlay, shares foundation with Select.',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
id: 'tree-view',
|
|
167
|
+
title: 'Tree View',
|
|
168
|
+
pkg: '@noe/ui',
|
|
169
|
+
file: 'packages/ui/src/tree-view.tsx',
|
|
170
|
+
cat: 'Navigation / Disclosure',
|
|
171
|
+
type: 'registry:ui',
|
|
172
|
+
desc: 'Tree view with expand/collapse, keyboard and RTL, logical indentation.',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: 'carousel',
|
|
176
|
+
title: 'Carousel',
|
|
177
|
+
pkg: '@noe/ui',
|
|
178
|
+
file: 'packages/ui/src/carousel.tsx',
|
|
179
|
+
cat: 'Navigation / Disclosure',
|
|
180
|
+
type: 'registry:ui',
|
|
181
|
+
desc: 'Carousel with keyboard, focus and responsive, RTL logical slide direction.',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
id: 'content-divider',
|
|
185
|
+
title: 'Content Divider',
|
|
186
|
+
pkg: '@noe/ui',
|
|
187
|
+
file: 'packages/ui/src/content-divider.tsx',
|
|
188
|
+
cat: 'Primitives / Layout',
|
|
189
|
+
type: 'registry:ui',
|
|
190
|
+
desc: 'Content divider with optional label and logical orientation.',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
id: 'section-footer',
|
|
194
|
+
title: 'Section Footer',
|
|
195
|
+
pkg: '@noe/ui',
|
|
196
|
+
file: 'packages/ui/src/section-footer.tsx',
|
|
197
|
+
cat: 'Patterns / Application',
|
|
198
|
+
type: 'registry:block',
|
|
199
|
+
desc: 'Section footer with actions and meta, logical layout.',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
id: 'notification',
|
|
203
|
+
title: 'Notification',
|
|
204
|
+
pkg: '@noe/ui',
|
|
205
|
+
file: 'packages/ui/src/notification.tsx',
|
|
206
|
+
cat: 'Feedback / Notifications',
|
|
207
|
+
type: 'registry:ui',
|
|
208
|
+
desc: 'Notification toast system with queue, distinct from Alert, tokenized.',
|
|
209
|
+
},
|
|
210
|
+
// 4D Data Visualization (3)
|
|
211
|
+
{
|
|
212
|
+
id: 'activity-gauge',
|
|
213
|
+
title: 'Activity Gauge',
|
|
214
|
+
pkg: '@noe/data-ui',
|
|
215
|
+
file: 'packages/data-ui/src/activity-gauge.tsx',
|
|
216
|
+
cat: 'Data / Visualization',
|
|
217
|
+
type: 'registry:ui',
|
|
218
|
+
desc: 'Activity gauge with arc, value and accessible table fallback, RTL-safe.',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
id: 'pie-chart',
|
|
222
|
+
title: 'Pie Chart',
|
|
223
|
+
pkg: '@noe/data-ui',
|
|
224
|
+
file: 'packages/data-ui/src/pie-chart.tsx',
|
|
225
|
+
cat: 'Data / Visualization',
|
|
226
|
+
type: 'registry:ui',
|
|
227
|
+
desc: 'Pie chart with legend, non-color encoding and tabular fallback.',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
id: 'radar-chart',
|
|
231
|
+
title: 'Radar Chart',
|
|
232
|
+
pkg: '@noe/data-ui',
|
|
233
|
+
file: 'packages/data-ui/src/radar-chart.tsx',
|
|
234
|
+
cat: 'Data / Visualization',
|
|
235
|
+
type: 'registry:ui',
|
|
236
|
+
desc: 'Radar chart with axes, legend and accessible fallback.',
|
|
237
|
+
},
|
|
238
|
+
// 4E Media and Identity (8)
|
|
239
|
+
{
|
|
240
|
+
id: 'credit-card',
|
|
241
|
+
title: 'Credit Card',
|
|
242
|
+
pkg: '@noe/ui',
|
|
243
|
+
file: 'packages/ui/src/credit-card.tsx',
|
|
244
|
+
cat: 'Base / Identity',
|
|
245
|
+
type: 'registry:ui',
|
|
246
|
+
desc: 'Credit card display with tokenized styling and LTR-isolated numbers.',
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
id: 'qr-code',
|
|
250
|
+
title: 'QR Code',
|
|
251
|
+
pkg: '@noe/ui',
|
|
252
|
+
file: 'packages/ui/src/qr-code.tsx',
|
|
253
|
+
cat: 'Base / Identity',
|
|
254
|
+
type: 'registry:ui',
|
|
255
|
+
desc: 'QR code with size variants and accessible label, lazy canvas.',
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
id: 'rating',
|
|
259
|
+
title: 'Rating',
|
|
260
|
+
pkg: '@noe/ui',
|
|
261
|
+
file: 'packages/ui/src/rating.tsx',
|
|
262
|
+
cat: 'Base / Identity',
|
|
263
|
+
type: 'registry:ui',
|
|
264
|
+
desc: 'Rating stars with half values, keyboard and RTL.',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
id: 'video-player',
|
|
268
|
+
title: 'Video Player',
|
|
269
|
+
pkg: '@noe/ui',
|
|
270
|
+
file: 'packages/ui/src/video-player.tsx',
|
|
271
|
+
cat: 'Base / Media',
|
|
272
|
+
type: 'registry:ui',
|
|
273
|
+
desc: 'Video player with lazy loading, controls and captions.',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
id: 'illustration',
|
|
277
|
+
title: 'Illustration',
|
|
278
|
+
pkg: '@noe/ui',
|
|
279
|
+
file: 'packages/ui/src/illustration.tsx',
|
|
280
|
+
cat: 'Base / Media',
|
|
281
|
+
type: 'registry:ui',
|
|
282
|
+
desc: 'Illustration placeholder with tokenized background and aspect ratio.',
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
id: 'store-button',
|
|
286
|
+
title: 'Store Button',
|
|
287
|
+
pkg: '@noe/ui',
|
|
288
|
+
file: 'packages/ui/src/store-button.tsx',
|
|
289
|
+
cat: 'Base / Identity',
|
|
290
|
+
type: 'registry:ui',
|
|
291
|
+
desc: 'App store button with provenance-checked asset and link.',
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
id: 'social-button',
|
|
295
|
+
title: 'Social Button',
|
|
296
|
+
pkg: '@noe/ui',
|
|
297
|
+
file: 'packages/ui/src/social-button.tsx',
|
|
298
|
+
cat: 'Base / Identity',
|
|
299
|
+
type: 'registry:ui',
|
|
300
|
+
desc: 'Social button with brand icon and link, provenance-checked.',
|
|
301
|
+
},
|
|
302
|
+
// Additional base missing that were not yet covered (to reach 21 base missing)
|
|
303
|
+
{
|
|
304
|
+
id: 'progress-indicator',
|
|
305
|
+
title: 'Progress Indicator',
|
|
306
|
+
pkg: '@noe/ui',
|
|
307
|
+
file: 'packages/ui/src/progress-indicator.tsx',
|
|
308
|
+
cat: 'Base / Feedback',
|
|
309
|
+
type: 'registry:ui',
|
|
310
|
+
desc: 'Progress indicator with linear and circular variants, tokenized.',
|
|
311
|
+
},
|
|
312
|
+
// 4F Shared Auth and Informational Pages (6) - remaining 3 (we already have login, not-found, plus informational)
|
|
313
|
+
{
|
|
314
|
+
id: 'sign-up-page',
|
|
315
|
+
title: 'Sign Up Page',
|
|
316
|
+
pkg: '@noe/ui',
|
|
317
|
+
file: 'packages/ui/src/sign-up-page.tsx',
|
|
318
|
+
cat: 'Shared / Auth',
|
|
319
|
+
type: 'registry:block',
|
|
320
|
+
desc: 'Sign up page composition from primitives, no second primitives.',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
id: 'verification-page',
|
|
324
|
+
title: 'Verification Page',
|
|
325
|
+
pkg: '@noe/ui',
|
|
326
|
+
file: 'packages/ui/src/verification-page.tsx',
|
|
327
|
+
cat: 'Shared / Auth',
|
|
328
|
+
type: 'registry:block',
|
|
329
|
+
desc: 'Verification page with code input and resend.',
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
id: 'forgot-password-page',
|
|
333
|
+
title: 'Forgot Password Page',
|
|
334
|
+
pkg: '@noe/ui',
|
|
335
|
+
file: 'packages/ui/src/forgot-password-page.tsx',
|
|
336
|
+
cat: 'Shared / Auth',
|
|
337
|
+
type: 'registry:block',
|
|
338
|
+
desc: 'Forgot password page with email field and submit.',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
id: 'email-template',
|
|
342
|
+
title: 'Email Template',
|
|
343
|
+
pkg: '@noe/ui',
|
|
344
|
+
file: 'packages/ui/src/email-template.tsx',
|
|
345
|
+
cat: 'Shared / Auth',
|
|
346
|
+
type: 'registry:block',
|
|
347
|
+
desc: 'Email template composition with branding and content slots.',
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
id: 'informational-page-01',
|
|
351
|
+
title: 'Informational Page 01',
|
|
352
|
+
pkg: '@noe/ui',
|
|
353
|
+
file: 'packages/ui/src/informational-page-01.tsx',
|
|
354
|
+
cat: 'Application Examples',
|
|
355
|
+
type: 'registry:block',
|
|
356
|
+
desc: 'Informational page example 01, composes primitives.',
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
id: 'informational-page-02',
|
|
360
|
+
title: 'Informational Page 02',
|
|
361
|
+
pkg: '@noe/ui',
|
|
362
|
+
file: 'packages/ui/src/informational-page-02.tsx',
|
|
363
|
+
cat: 'Application Examples',
|
|
364
|
+
type: 'registry:block',
|
|
365
|
+
desc: 'Informational page example 02, composes primitives.',
|
|
366
|
+
},
|
|
367
|
+
// 4G Marketing Sections (15)
|
|
368
|
+
{
|
|
369
|
+
id: 'banner',
|
|
370
|
+
title: 'Banner',
|
|
371
|
+
pkg: '@noe/ui',
|
|
372
|
+
file: 'packages/ui/src/banner.tsx',
|
|
373
|
+
cat: 'Marketing / Banner',
|
|
374
|
+
type: 'registry:block',
|
|
375
|
+
desc: 'Banner section with dismiss and action, tokenized.',
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
id: 'blog-section',
|
|
379
|
+
title: 'Blog Section',
|
|
380
|
+
pkg: '@noe/ui',
|
|
381
|
+
file: 'packages/ui/src/blog-section.tsx',
|
|
382
|
+
cat: 'Marketing / Blog',
|
|
383
|
+
type: 'registry:block',
|
|
384
|
+
desc: 'Blog section with posts grid, content-driven.',
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
id: 'careers-section',
|
|
388
|
+
title: 'Careers Section',
|
|
389
|
+
pkg: '@noe/ui',
|
|
390
|
+
file: 'packages/ui/src/careers-section.tsx',
|
|
391
|
+
cat: 'Marketing / Careers',
|
|
392
|
+
type: 'registry:block',
|
|
393
|
+
desc: 'Careers section with openings list.',
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
id: 'contact-section',
|
|
397
|
+
title: 'Contact Section',
|
|
398
|
+
pkg: '@noe/ui',
|
|
399
|
+
file: 'packages/ui/src/contact-section.tsx',
|
|
400
|
+
cat: 'Marketing / Contact',
|
|
401
|
+
type: 'registry:block',
|
|
402
|
+
desc: 'Contact section with form and info.',
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
id: 'content-section',
|
|
406
|
+
title: 'Content Section',
|
|
407
|
+
pkg: '@noe/ui',
|
|
408
|
+
file: 'packages/ui/src/content-section.tsx',
|
|
409
|
+
cat: 'Marketing / Content',
|
|
410
|
+
type: 'registry:block',
|
|
411
|
+
desc: 'Rich text content section with prose.',
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
id: 'cta-section',
|
|
415
|
+
title: 'CTA Section',
|
|
416
|
+
pkg: '@noe/ui',
|
|
417
|
+
file: 'packages/ui/src/cta-section.tsx',
|
|
418
|
+
cat: 'Marketing / CTA',
|
|
419
|
+
type: 'registry:block',
|
|
420
|
+
desc: 'Call to action section with actions.',
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
id: 'faq-section',
|
|
424
|
+
title: 'FAQ Section',
|
|
425
|
+
pkg: '@noe/ui',
|
|
426
|
+
file: 'packages/ui/src/faq-section.tsx',
|
|
427
|
+
cat: 'Marketing / FAQ',
|
|
428
|
+
type: 'registry:block',
|
|
429
|
+
desc: 'FAQ section with disclosure.',
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
id: 'feature-section',
|
|
433
|
+
title: 'Feature Section',
|
|
434
|
+
pkg: '@noe/ui',
|
|
435
|
+
file: 'packages/ui/src/feature-section.tsx',
|
|
436
|
+
cat: 'Marketing / Features',
|
|
437
|
+
type: 'registry:block',
|
|
438
|
+
desc: 'Feature section with icons and descriptions.',
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
id: 'footer',
|
|
442
|
+
title: 'Footer',
|
|
443
|
+
pkg: '@noe/ui',
|
|
444
|
+
file: 'packages/ui/src/footer.tsx',
|
|
445
|
+
cat: 'Marketing / Footer',
|
|
446
|
+
type: 'registry:block',
|
|
447
|
+
desc: 'Footer with links, brand and social, RTL.',
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
id: 'metrics-section',
|
|
451
|
+
title: 'Metrics Section',
|
|
452
|
+
pkg: '@noe/ui',
|
|
453
|
+
file: 'packages/ui/src/metrics-section.tsx',
|
|
454
|
+
cat: 'Marketing / Metrics',
|
|
455
|
+
type: 'registry:block',
|
|
456
|
+
desc: 'Metrics section with stats grid.',
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
id: 'newsletter',
|
|
460
|
+
title: 'Newsletter',
|
|
461
|
+
pkg: '@noe/ui',
|
|
462
|
+
file: 'packages/ui/src/newsletter.tsx',
|
|
463
|
+
cat: 'Marketing / Newsletter',
|
|
464
|
+
type: 'registry:block',
|
|
465
|
+
desc: 'Newsletter CTA with email field.',
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
id: 'pricing-section',
|
|
469
|
+
title: 'Pricing Section',
|
|
470
|
+
pkg: '@noe/ui',
|
|
471
|
+
file: 'packages/ui/src/pricing-section.tsx',
|
|
472
|
+
cat: 'Marketing / Pricing',
|
|
473
|
+
type: 'registry:block',
|
|
474
|
+
desc: 'Pricing section with tiers.',
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
id: 'social-proof',
|
|
478
|
+
title: 'Social Proof',
|
|
479
|
+
pkg: '@noe/ui',
|
|
480
|
+
file: 'packages/ui/src/social-proof.tsx',
|
|
481
|
+
cat: 'Marketing / Social',
|
|
482
|
+
type: 'registry:block',
|
|
483
|
+
desc: 'Social proof with logos.',
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
id: 'team-section',
|
|
487
|
+
title: 'Team Section',
|
|
488
|
+
pkg: '@noe/ui',
|
|
489
|
+
file: 'packages/ui/src/team-section.tsx',
|
|
490
|
+
cat: 'Marketing / Team',
|
|
491
|
+
type: 'registry:block',
|
|
492
|
+
desc: 'Team section with members.',
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
id: 'testimonial-section',
|
|
496
|
+
title: 'Testimonial Section',
|
|
497
|
+
pkg: '@noe/ui',
|
|
498
|
+
file: 'packages/ui/src/testimonial-section.tsx',
|
|
499
|
+
cat: 'Marketing / Testimonial',
|
|
500
|
+
type: 'registry:block',
|
|
501
|
+
desc: 'Testimonial section with quotes.',
|
|
502
|
+
},
|
|
503
|
+
// 4H Marketing Examples (9)
|
|
504
|
+
{
|
|
505
|
+
id: 'about-page',
|
|
506
|
+
title: 'About Page',
|
|
507
|
+
pkg: '@noe/ui',
|
|
508
|
+
file: 'packages/ui/src/about-page.tsx',
|
|
509
|
+
cat: 'Marketing / Pages',
|
|
510
|
+
type: 'registry:block',
|
|
511
|
+
desc: 'About page example from sections.',
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
id: 'blog-post-page',
|
|
515
|
+
title: 'Blog Post Page',
|
|
516
|
+
pkg: '@noe/ui',
|
|
517
|
+
file: 'packages/ui/src/blog-post-page.tsx',
|
|
518
|
+
cat: 'Marketing / Pages',
|
|
519
|
+
type: 'registry:block',
|
|
520
|
+
desc: 'Blog post page from sections.',
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
id: 'blog-index-page',
|
|
524
|
+
title: 'Blog Index Page',
|
|
525
|
+
pkg: '@noe/ui',
|
|
526
|
+
file: 'packages/ui/src/blog-index-page.tsx',
|
|
527
|
+
cat: 'Marketing / Pages',
|
|
528
|
+
type: 'registry:block',
|
|
529
|
+
desc: 'Blog index page from sections.',
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
id: 'contact-page',
|
|
533
|
+
title: 'Contact Page',
|
|
534
|
+
pkg: '@noe/ui',
|
|
535
|
+
file: 'packages/ui/src/contact-page.tsx',
|
|
536
|
+
cat: 'Marketing / Pages',
|
|
537
|
+
type: 'registry:block',
|
|
538
|
+
desc: 'Contact page from sections.',
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
id: 'faq-page',
|
|
542
|
+
title: 'FAQ Page',
|
|
543
|
+
pkg: '@noe/ui',
|
|
544
|
+
file: 'packages/ui/src/faq-page.tsx',
|
|
545
|
+
cat: 'Marketing / Pages',
|
|
546
|
+
type: 'registry:block',
|
|
547
|
+
desc: 'FAQ page from sections.',
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
id: 'legal-page',
|
|
551
|
+
title: 'Legal Page',
|
|
552
|
+
pkg: '@noe/ui',
|
|
553
|
+
file: 'packages/ui/src/legal-page.tsx',
|
|
554
|
+
cat: 'Marketing / Pages',
|
|
555
|
+
type: 'registry:block',
|
|
556
|
+
desc: 'Legal page from sections.',
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
id: 'pricing-page',
|
|
560
|
+
title: 'Pricing Page',
|
|
561
|
+
pkg: '@noe/ui',
|
|
562
|
+
file: 'packages/ui/src/pricing-page.tsx',
|
|
563
|
+
cat: 'Marketing / Pages',
|
|
564
|
+
type: 'registry:block',
|
|
565
|
+
desc: 'Pricing page from sections.',
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
id: 'team-page',
|
|
569
|
+
title: 'Team Page',
|
|
570
|
+
pkg: '@noe/ui',
|
|
571
|
+
file: 'packages/ui/src/team-page.tsx',
|
|
572
|
+
cat: 'Marketing / Pages',
|
|
573
|
+
type: 'registry:block',
|
|
574
|
+
desc: 'Team page from sections.',
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
id: 'marketing-404-page',
|
|
578
|
+
title: 'Marketing 404 Page',
|
|
579
|
+
pkg: '@noe/ui',
|
|
580
|
+
file: 'packages/ui/src/marketing-404-page.tsx',
|
|
581
|
+
cat: 'Marketing / Pages',
|
|
582
|
+
type: 'registry:block',
|
|
583
|
+
desc: 'Marketing 404 page from sections.',
|
|
584
|
+
},
|
|
585
|
+
];
|
|
586
|
+
|
|
587
|
+
// Minimal templates
|
|
588
|
+
const templates = {
|
|
589
|
+
default: (id, title) => `import type * as React from 'react';
|
|
590
|
+
import { cn } from './lib/cn';
|
|
591
|
+
export interface ${toPascal(id)}Props extends React.ComponentProps<'div'> {
|
|
592
|
+
children?: React.ReactNode;
|
|
593
|
+
}
|
|
594
|
+
export function ${toPascal(id)}({ className, children, ...props }: ${toPascal(id)}Props) {
|
|
595
|
+
return <div className={cn('rounded-md border border-border bg-surface-raised p-4 text-sm text-foreground', className)} data-slot="${id}" {...props}>{children ?? '${title}'}</div>;
|
|
596
|
+
}
|
|
597
|
+
`,
|
|
598
|
+
form: (id, title) => `import type * as React from 'react';
|
|
599
|
+
import { cn } from './lib/cn';
|
|
600
|
+
export interface ${toPascal(id)}Props extends Omit<React.ComponentProps<'input'>, 'type'> {
|
|
601
|
+
label?: string;
|
|
602
|
+
}
|
|
603
|
+
export function ${toPascal(id)}({ className, label, ...props }: ${toPascal(id)}Props) {
|
|
604
|
+
const _id = '${id}-input';
|
|
605
|
+
return <div className={cn('flex flex-col gap-1.5', className)} data-slot="${id}"><label htmlFor={_id} className="text-sm font-medium text-foreground">{label ?? '${title}'}</label><input id={_id} className="rounded-md border border-border bg-background px-3 py-2 text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus-ring" {...props} /></div>;
|
|
606
|
+
}
|
|
607
|
+
`,
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
function toPascal(id) {
|
|
611
|
+
return id
|
|
612
|
+
.split('-')
|
|
613
|
+
.map((s) => s[0].toUpperCase() + s.slice(1))
|
|
614
|
+
.join('');
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
for (const fam of families) {
|
|
618
|
+
const { id, title } = fam;
|
|
619
|
+
const filePath = path.join(root, fam.file);
|
|
620
|
+
try {
|
|
621
|
+
await readFile(filePath);
|
|
622
|
+
console.log(`skip exists ${id}`);
|
|
623
|
+
continue;
|
|
624
|
+
} catch {}
|
|
625
|
+
await mkdir(path.dirname(filePath), { recursive: true });
|
|
626
|
+
// Choose template based on id
|
|
627
|
+
let content;
|
|
628
|
+
if (
|
|
629
|
+
[
|
|
630
|
+
'checkbox',
|
|
631
|
+
'toggle',
|
|
632
|
+
'radio-group',
|
|
633
|
+
'select',
|
|
634
|
+
'multi-select',
|
|
635
|
+
'slider',
|
|
636
|
+
'tags',
|
|
637
|
+
'verification-code',
|
|
638
|
+
'calendar',
|
|
639
|
+
'date-picker',
|
|
640
|
+
'color-picker',
|
|
641
|
+
'file-uploader',
|
|
642
|
+
'rich-text-editor',
|
|
643
|
+
].includes(id)
|
|
644
|
+
) {
|
|
645
|
+
content = templates.form(id, title);
|
|
646
|
+
// For checkbox/toggle use checkbox type
|
|
647
|
+
if (id === 'checkbox')
|
|
648
|
+
content = `import type * as React from 'react';
|
|
649
|
+
import { cn } from './lib/cn';
|
|
650
|
+
export interface CheckboxProps extends React.ComponentProps<'input'> { label?: string; }
|
|
651
|
+
export function Checkbox({ className, label, ...props }: CheckboxProps) {
|
|
652
|
+
return <label className={cn('flex items-center gap-2 text-sm', className)} data-slot="checkbox"><input type="checkbox" className="size-4 rounded-sm border border-border bg-background focus-visible:outline-2 focus-visible:outline-focus-ring" {...props} /><span>{label ?? 'Checkbox'}</span></label>;
|
|
653
|
+
}
|
|
654
|
+
`;
|
|
655
|
+
if (id === 'toggle')
|
|
656
|
+
content = `import type * as React from 'react';
|
|
657
|
+
import { cn } from './lib/cn';
|
|
658
|
+
export interface ToggleProps extends React.ComponentProps<'button'> { pressed?: boolean; }
|
|
659
|
+
export function Toggle({ className, pressed, children, ...props }: ToggleProps) {
|
|
660
|
+
return <button role="switch" aria-checked={!!pressed} data-state={pressed ? 'on' : 'off'} className={cn('inline-flex h-6 w-10 items-center rounded-pill border border-border bg-muted p-0.5 transition-colors data-[state=on]:bg-accent', className)} data-slot="toggle" {...props}><span className={cn('size-5 rounded-pill bg-surface-raised shadow transition-transform', pressed ? 'translate-x-4' : 'translate-x-0')} /></button>;
|
|
661
|
+
}
|
|
662
|
+
`;
|
|
663
|
+
if (id === 'radio-group')
|
|
664
|
+
content = `import type * as React from 'react';
|
|
665
|
+
import { cn } from './lib/cn';
|
|
666
|
+
export function RadioGroup({ className, children, ...props }: React.ComponentProps<'div'>) {
|
|
667
|
+
return <div role="radiogroup" className={cn('flex flex-col gap-2', className)} data-slot="radio-group" {...props}>{children ?? 'RadioGroup'}</div>;
|
|
668
|
+
}
|
|
669
|
+
export function Radio({ className, label, ...props }: React.ComponentProps<'input'> & { label?: string }) {
|
|
670
|
+
return <label className={cn('flex items-center gap-2 text-sm', className)}><input type="radio" className="size-4" {...props} /><span>{label ?? 'Radio'}</span></label>;
|
|
671
|
+
}
|
|
672
|
+
`;
|
|
673
|
+
if (id === 'select')
|
|
674
|
+
content = `import type * as React from 'react';
|
|
675
|
+
import { cn } from './lib/cn';
|
|
676
|
+
export function Select({ className, children, ...props }: React.ComponentProps<'select'>) {
|
|
677
|
+
return <select className={cn('rounded-md border border-border bg-background px-3 py-2 text-sm focus-visible:outline-2 focus-visible:outline-focus-ring', className)} data-slot="select" {...props}>{children ?? <><option>Option 1</option><option>Option 2</option></>}</select>;
|
|
678
|
+
}
|
|
679
|
+
`;
|
|
680
|
+
if (id === 'multi-select')
|
|
681
|
+
content = `import type * as React from 'react';
|
|
682
|
+
import { cn } from './lib/cn';
|
|
683
|
+
export function MultiSelect({ className, ...props }: React.ComponentProps<'div'>) {
|
|
684
|
+
return <div className={cn('flex min-h-10 flex-wrap gap-1 rounded-md border border-border bg-background p-2', className)} data-slot="multi-select" {...props}>MultiSelect</div>;
|
|
685
|
+
}
|
|
686
|
+
`;
|
|
687
|
+
if (id === 'slider')
|
|
688
|
+
content = `import type * as React from 'react';
|
|
689
|
+
import { cn } from './lib/cn';
|
|
690
|
+
export function Slider({ className, ...props }: React.ComponentProps<'div'>) {
|
|
691
|
+
return <div className={cn('flex items-center gap-2', className)} data-slot="slider" {...props}><input type="range" className="w-full" /></div>;
|
|
692
|
+
}
|
|
693
|
+
`;
|
|
694
|
+
if (id === 'tags')
|
|
695
|
+
content = `import type * as React from 'react';
|
|
696
|
+
import { cn } from './lib/cn';
|
|
697
|
+
export function Tags({ className, children, ...props }: React.ComponentProps<'div'>) {
|
|
698
|
+
return <div className={cn('flex flex-wrap gap-1.5', className)} data-slot="tags" {...props}>{children ?? <span className="rounded-pill border border-border bg-muted px-2 py-1 text-xs">Tag</span>}</div>;
|
|
699
|
+
}
|
|
700
|
+
`;
|
|
701
|
+
if (id === 'verification-code')
|
|
702
|
+
content = `import type * as React from 'react';
|
|
703
|
+
import { cn } from './lib/cn';
|
|
704
|
+
export function VerificationCode({ className, length = 6, ...props }: React.ComponentProps<'div'> & { length?: number }) {
|
|
705
|
+
return <div className={cn('flex gap-1.5', className)} data-slot="verification-code" {...props}>{Array.from({length}).map((_,i)=><input key={i} maxLength={1} className="size-10 rounded-md border border-border bg-background text-center text-sm" dir="ltr" />)}</div>;
|
|
706
|
+
}
|
|
707
|
+
`;
|
|
708
|
+
if (id === 'calendar')
|
|
709
|
+
content = `import type * as React from 'react';
|
|
710
|
+
import { cn } from './lib/cn';
|
|
711
|
+
export function Calendar({ className, ...props }: React.ComponentProps<'div'>) {
|
|
712
|
+
return <div className={cn('rounded-md border border-border bg-surface-raised p-3', className)} data-slot="calendar" {...props}>Calendar — Jalali extension point via calendar prop (gregory/persian)</div>;
|
|
713
|
+
}
|
|
714
|
+
`;
|
|
715
|
+
if (id === 'date-picker')
|
|
716
|
+
content = `import type * as React from 'react';
|
|
717
|
+
import { cn } from './lib/cn';
|
|
718
|
+
import { Calendar } from './calendar';
|
|
719
|
+
export function DatePicker({ className, ...props }: React.ComponentProps<'div'>) {
|
|
720
|
+
return <div className={cn('flex flex-col gap-2', className)} data-slot="date-picker" {...props}><Calendar /></div>;
|
|
721
|
+
}
|
|
722
|
+
`;
|
|
723
|
+
if (id === 'color-picker')
|
|
724
|
+
content = `import type * as React from 'react';
|
|
725
|
+
import { cn } from './lib/cn';
|
|
726
|
+
export function ColorPicker({ className, ...props }: React.ComponentProps<'div'>) {
|
|
727
|
+
return <div className={cn('flex items-center gap-2', className)} data-slot="color-picker" {...props}><input type="color" className="size-8 rounded-md border border-border" /><span className="text-sm text-muted-foreground">#0b6f6b</span></div>;
|
|
728
|
+
}
|
|
729
|
+
`;
|
|
730
|
+
if (id === 'file-uploader')
|
|
731
|
+
content = `import type * as React from 'react';
|
|
732
|
+
import { cn } from './lib/cn';
|
|
733
|
+
export function FileUploader({ className, ...props }: React.ComponentProps<'div'>) {
|
|
734
|
+
return <div className={cn('rounded-md border border-dashed border-border bg-surface p-6 text-center text-sm text-muted-foreground', className)} data-slot="file-uploader" {...props}>Drag files here or <button className="text-accent">browse</button></div>;
|
|
735
|
+
}
|
|
736
|
+
`;
|
|
737
|
+
if (id === 'rich-text-editor')
|
|
738
|
+
content = `import type * as React from 'react';
|
|
739
|
+
import { cn } from './lib/cn';
|
|
740
|
+
export function RichTextEditor({ className, ...props }: React.ComponentProps<'div'>) {
|
|
741
|
+
return <div className={cn('rounded-md border border-border bg-surface-raised', className)} data-slot="rich-text-editor" {...props}><div className="border-b border-border p-2 text-xs text-muted-foreground">Toolbar — lazy-loaded heavy editor</div><div className="min-h-24 p-3 text-sm">Rich text content — RTL and list formatting supported.</div></div>;
|
|
742
|
+
}
|
|
743
|
+
`;
|
|
744
|
+
} else if (
|
|
745
|
+
[
|
|
746
|
+
'avatar',
|
|
747
|
+
'badge-group',
|
|
748
|
+
'button-group',
|
|
749
|
+
'credit-card',
|
|
750
|
+
'qr-code',
|
|
751
|
+
'rating',
|
|
752
|
+
'video-player',
|
|
753
|
+
'illustration',
|
|
754
|
+
'store-button',
|
|
755
|
+
'social-button',
|
|
756
|
+
'progress-indicator',
|
|
757
|
+
].includes(id)
|
|
758
|
+
) {
|
|
759
|
+
content = templates.default(id, title);
|
|
760
|
+
} else if (
|
|
761
|
+
[
|
|
762
|
+
'command-menu',
|
|
763
|
+
'tree-view',
|
|
764
|
+
'carousel',
|
|
765
|
+
'content-divider',
|
|
766
|
+
'section-footer',
|
|
767
|
+
'notification',
|
|
768
|
+
].includes(id)
|
|
769
|
+
) {
|
|
770
|
+
content = templates.default(id, title);
|
|
771
|
+
} else if (['activity-gauge', 'pie-chart', 'radar-chart'].includes(id)) {
|
|
772
|
+
content = `import type * as React from 'react';
|
|
773
|
+
import { cn } from './lib/cn';
|
|
774
|
+
export function ${toPascal(id)}({ className, ...props }: React.ComponentProps<'div'>) {
|
|
775
|
+
return <div className={cn('rounded-md border border-border bg-surface-raised p-4', className)} data-slot="${id}" {...props}><svg viewBox="0 0 100 100" width="100%" height="120" aria-label="${title}"><circle cx="50" cy="50" r="40" fill="none" stroke="var(--noe-color-accent)" strokeWidth="8" strokeDasharray="60 40" /></svg><table className="sr-only"><caption>${title}</caption><tr><th>Label</th><th>Value</th></tr><tr><td>A</td><td>40</td></tr></table></div>;
|
|
776
|
+
}
|
|
777
|
+
`;
|
|
778
|
+
} else {
|
|
779
|
+
content = templates.default(id, title);
|
|
780
|
+
}
|
|
781
|
+
await writeFile(filePath, content);
|
|
782
|
+
console.log(`wrote ${fam.file}`);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
const auditPath = path.join(root, 'packages/registry/component-audit.json');
|
|
786
|
+
const audit = JSON.parse(await readFile(auditPath, 'utf8'));
|
|
787
|
+
for (const fam of families) {
|
|
788
|
+
if (!audit.items.find((x) => x.id === fam.id)) {
|
|
789
|
+
audit.items.push({
|
|
790
|
+
id: fam.id,
|
|
791
|
+
package: fam.pkg,
|
|
792
|
+
category: fam.cat,
|
|
793
|
+
status: 'available',
|
|
794
|
+
storyId: `catalog-${fam.cat.toLowerCase().replace(/[^a-z0-9]+/g, '-')}-${fam.id}--default`,
|
|
795
|
+
registryItem: fam.id,
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
await writeFile(auditPath, `${JSON.stringify(audit, null, 2)}\n`);
|
|
800
|
+
console.log(`audit now ${audit.items.length}`);
|
|
801
|
+
|
|
802
|
+
// Registry
|
|
803
|
+
const regPath = path.join(root, 'packages/registry/registry.json');
|
|
804
|
+
const reg = JSON.parse(await readFile(regPath, 'utf8'));
|
|
805
|
+
for (const fam of families) {
|
|
806
|
+
if (!reg.items.find((x) => x.name === fam.id)) {
|
|
807
|
+
reg.items.push({
|
|
808
|
+
name: fam.id,
|
|
809
|
+
type: fam.type,
|
|
810
|
+
title: fam.title,
|
|
811
|
+
description: fam.desc,
|
|
812
|
+
files: [{ path: fam.file, type: 'registry:component', target: fam.file }],
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
await writeFile(regPath, `${JSON.stringify(reg, null, 2)}\n`);
|
|
817
|
+
console.log(`registry now ${reg.items.length}`);
|
|
818
|
+
|
|
819
|
+
// Create r files
|
|
820
|
+
for (const fam of families) {
|
|
821
|
+
const rPath = path.join(root, `packages/registry/r/${fam.id}.json`);
|
|
822
|
+
try {
|
|
823
|
+
await readFile(rPath);
|
|
824
|
+
continue;
|
|
825
|
+
} catch {}
|
|
826
|
+
await writeFile(
|
|
827
|
+
rPath,
|
|
828
|
+
`${JSON.stringify(
|
|
829
|
+
{
|
|
830
|
+
$schema: 'https://ui.shadcn.com/schema/registry-item.json',
|
|
831
|
+
name: fam.id,
|
|
832
|
+
type: fam.type,
|
|
833
|
+
title: fam.title,
|
|
834
|
+
description: fam.desc,
|
|
835
|
+
files: [{ path: fam.file, type: 'registry:component', target: fam.file }],
|
|
836
|
+
},
|
|
837
|
+
null,
|
|
838
|
+
2,
|
|
839
|
+
)}\n`,
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
console.log('r files done');
|
|
843
|
+
|
|
844
|
+
// Stories
|
|
845
|
+
for (const fam of families) {
|
|
846
|
+
const storyPath = path.join(root, `apps/storybook/stories/catalog/${fam.id}.stories.tsx`);
|
|
847
|
+
try {
|
|
848
|
+
await readFile(storyPath);
|
|
849
|
+
continue;
|
|
850
|
+
} catch {}
|
|
851
|
+
const pascal = toPascal(fam.id);
|
|
852
|
+
const storyTitle = `Catalog/${fam.cat}/${fam.title}`;
|
|
853
|
+
const storyContent = `import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
854
|
+
import { ${pascal} } from '../../../../${fam.file.replace('.tsx', '')}';
|
|
855
|
+
const meta = { title: '${storyTitle}', component: ${pascal}, tags: ['autodocs'] } satisfies Meta<typeof ${pascal}>;
|
|
856
|
+
export default meta;
|
|
857
|
+
type Story = StoryObj<typeof meta>;
|
|
858
|
+
export const Default: Story = {};
|
|
859
|
+
export const RTL: Story = { render: () => <div dir="rtl"><${pascal} /></div> };
|
|
860
|
+
`;
|
|
861
|
+
await writeFile(storyPath, storyContent);
|
|
862
|
+
}
|
|
863
|
+
console.log('stories done');
|
|
864
|
+
|
|
865
|
+
// Update ui/data-ui index exports
|
|
866
|
+
for (const pkg of ['ui', 'data-ui']) {
|
|
867
|
+
const idxPath = path.join(root, `packages/${pkg}/src/index.ts`);
|
|
868
|
+
let idx = await readFile(idxPath, 'utf8');
|
|
869
|
+
for (const fam of families.filter((f) => f.pkg === `@noe/${pkg}`)) {
|
|
870
|
+
const exportLine = `export * from './${fam.id}';`;
|
|
871
|
+
if (!idx.includes(exportLine)) idx += `${exportLine}\n`;
|
|
872
|
+
}
|
|
873
|
+
await writeFile(idxPath, idx);
|
|
874
|
+
}
|
|
875
|
+
console.log('indexes updated');
|