chaincss 2.1.39 → 2.3.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.
Files changed (33) hide show
  1. package/dist/compiler/accessibility-engine.d.ts +57 -0
  2. package/dist/compiler/constraint-solver.d.ts +85 -0
  3. package/dist/compiler/css-if-transpiler.d.ts +33 -0
  4. package/dist/compiler/design-orchestrator.d.ts +119 -0
  5. package/dist/compiler/intent-api.d.ts +73 -0
  6. package/dist/compiler/intent-engine.d.ts +19 -1
  7. package/dist/compiler/layout-intelligence.d.ts +71 -0
  8. package/dist/compiler/pass-manager.d.ts +157 -0
  9. package/dist/compiler/pattern-learner.d.ts +112 -0
  10. package/dist/compiler/responsive-inference.d.ts +63 -0
  11. package/dist/compiler/scroll-timeline.d.ts +91 -0
  12. package/dist/compiler/semantic-tokens.d.ts +57 -0
  13. package/dist/compiler/source-optimizer.d.ts +109 -0
  14. package/dist/compiler/style-ir.d.ts +183 -0
  15. package/dist/index.d.ts +23 -0
  16. package/dist/index.js +4126 -2
  17. package/package.json +1 -1
  18. package/src/compiler/accessibility-engine.ts +502 -0
  19. package/src/compiler/constraint-solver.ts +407 -0
  20. package/src/compiler/css-if-transpiler.ts +117 -0
  21. package/src/compiler/design-orchestrator.ts +322 -0
  22. package/src/compiler/intent-api.ts +505 -0
  23. package/src/compiler/intent-engine.ts +291 -1
  24. package/src/compiler/layout-intelligence.ts +697 -0
  25. package/src/compiler/pass-manager.ts +657 -0
  26. package/src/compiler/pattern-learner.ts +398 -0
  27. package/src/compiler/responsive-inference.ts +415 -0
  28. package/src/compiler/scroll-timeline.ts +284 -0
  29. package/src/compiler/semantic-tokens.ts +468 -0
  30. package/src/compiler/source-optimizer.ts +541 -0
  31. package/src/compiler/style-ir.ts +495 -0
  32. package/src/index.ts +209 -0
  33. package/ROADMAP.md +0 -31
package/ROADMAP.md DELETED
@@ -1,31 +0,0 @@
1
-
2
- ## v3.0 Ideas
3
-
4
- ### 1. Predictive & Self-Healing CSS
5
- - Context-aware typo correction (not just fuzzy matching)
6
- - Intent detection: `display: "flexbox"` → maps to `display: flex` + applies defaults
7
- - Modes: strict (error), dev (auto-fix), smart (fix + log)
8
- - Builds on: suggestions.ts, explain()
9
-
10
- ### 2. Style Graph Compiler
11
- - Instead of linear compilation, build a dependency graph of styles
12
- - Dead style elimination
13
- - Automatic merging of identical rules
14
- - Predictive pre-compilation
15
- - Order-safe CSS output
16
- - Builds on: compile(), atomic optimizer
17
-
18
- ### 3. Unit-Aware Math Engine
19
- - Full CSS expression evaluator
20
- - `add("10px", "2rem")` → resolves units → optimized calc()
21
- - `fluidType(14, 20)` → responsive clamp()
22
- - Context-aware scaling
23
- - Builds on: helpers.ts
24
-
25
- ### 4. IDE Intelligence Layer (VS Code Extension)
26
- - Real-time invalid property detection
27
- - Shorthand translation hints
28
- - Animation suggestion
29
- - Breakpoint inference
30
- - Style conflict detection
31
- - Builds on: suggestions.ts