How mits-gossau/web-components-toolbox works
Main Components of the System
a) Core Infrastructure:
• Shadow DOM Implementation (Shadow.js)
• Prototypes Layer (Anchor.js, Hover.js, Intersection.js, etc.)
• Environment Helpers
b) Component Hierarchy:
• Atoms (basic building blocks)
• Molecules (combinations of atoms)
• Organisms (complex components)
• Pages (complete layouts)
c) Supporting Systems:
• Generator System
• Documentation System
• Testing Infrastructure (e2e)
Relationships and Data Flow
Key interactions:
[Core Infrastructure] ←→ [Component Layer]
• ↑ ↑
[Supporting Systems] ←→ [External Systems]
Specific Implementation Details
a) Component Communication:
[Event System] ←→ [Controllers] ←→ [Components]
b) Shadow DOM Architecture:
[Shadow.js Base Class]
• ↓
[Component Implementation]
• ↓
[Template System]
Key Features to Highlight
• Event-driven architecture
• CSS variable system
• Template system
• Component generation workflow
• Testing infrastructure
• Shadow.js Base |
• DOM manipulation |
• Event handling |
• CSS encapsulation |