
Sovereign Design System, Tokens & RTL/LTR Component Workbench
Interactive engineering showcase verifying `@exportica/design-tokens`, `@exportica/ui`, `@exportica/ui-public`, and `@exportica/ui-operations` across Arabic RTL and English LTR.
📌1. Executive Purpose & Role in Platform
Guarantees visual consistency, accessibility, and strict monorepo package boundaries across all 32 Exportica routes by documenting shared design tokens, typography scales, surface shells, status badges, and data tables.
🧭2. Annotated Screen Architecture Blueprint
1Sovereign Color Palette, Gold Accents & Typography Tokens
Live swatches and CSS custom properties exported from `@exportica/design-tokens`.
2Core Primitives (`@exportica/ui`) & Accessibility States
Buttons, inputs, dialogs, badges, and Decimal-formatted financial displays.
3Public Storefront vs. Dense Operations Shells
Demonstrates `@exportica/ui-public` discovery cards alongside `@exportica/ui-operations` ledgers.
4Live RTL / LTR Mirroring & Responsive Viewport Stress Test
Verifies logical CSS properties, BDI code isolation, and 390px mobile ergonomics.
⚙️3. Detailed Inside-Page Capabilities
1Sovereign Color Palette, Gold Accents & Typography Tokens
Design TokensLive swatches and CSS custom properties exported from `@exportica/design-tokens`.
2Core Primitives (`@exportica/ui`) & Accessibility States
UI PrimitivesButtons, inputs, dialogs, badges, and Decimal-formatted financial displays.
3Public Storefront vs. Dense Operations Shells
Dual SurfaceDemonstrates `@exportica/ui-public` discovery cards alongside `@exportica/ui-operations` ledgers.
4Live RTL / LTR Mirroring & Responsive Viewport Stress Test
BiDi QAVerifies logical CSS properties, BDI code isolation, and 390px mobile ergonomics.
🔄4. End-to-End Execution Workflow
Inspects canonical tokens and shared primitives in /ui-workbench/{locale}
→ Reusable UI selection
Toggles Arabic RTL and English LTR to verify layout symmetry and contrast
→ BiDi visual sign-off
Runs check-boundaries.mjs confirming API/Worker never import UI packages
→ Clean monorepo graph
🛡️ 5. Sovereign Guardrails & Security
- Backend (`apps/api`, `apps/worker`) and `@exportica/database` must never depend on UI packages.
- Frontend (`apps/web`) must never import `@exportica/database` or `@prisma/client`.
🚀 6. Quick Start & Connected Routes
- Open /ui-workbench/en to inspect tokens, primitives, and surface shells.
- Switch to /ui-workbench/ar to verify full RTL mirroring.
- Use shared components when extending any Exportica portal.