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.
- package/dist/compiler/accessibility-engine.d.ts +57 -0
- package/dist/compiler/constraint-solver.d.ts +85 -0
- package/dist/compiler/css-if-transpiler.d.ts +33 -0
- package/dist/compiler/design-orchestrator.d.ts +119 -0
- package/dist/compiler/intent-api.d.ts +73 -0
- package/dist/compiler/intent-engine.d.ts +19 -1
- package/dist/compiler/layout-intelligence.d.ts +71 -0
- package/dist/compiler/pass-manager.d.ts +157 -0
- package/dist/compiler/pattern-learner.d.ts +112 -0
- package/dist/compiler/responsive-inference.d.ts +63 -0
- package/dist/compiler/scroll-timeline.d.ts +91 -0
- package/dist/compiler/semantic-tokens.d.ts +57 -0
- package/dist/compiler/source-optimizer.d.ts +109 -0
- package/dist/compiler/style-ir.d.ts +183 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +4126 -2
- package/package.json +1 -1
- package/src/compiler/accessibility-engine.ts +502 -0
- package/src/compiler/constraint-solver.ts +407 -0
- package/src/compiler/css-if-transpiler.ts +117 -0
- package/src/compiler/design-orchestrator.ts +322 -0
- package/src/compiler/intent-api.ts +505 -0
- package/src/compiler/intent-engine.ts +291 -1
- package/src/compiler/layout-intelligence.ts +697 -0
- package/src/compiler/pass-manager.ts +657 -0
- package/src/compiler/pattern-learner.ts +398 -0
- package/src/compiler/responsive-inference.ts +415 -0
- package/src/compiler/scroll-timeline.ts +284 -0
- package/src/compiler/semantic-tokens.ts +468 -0
- package/src/compiler/source-optimizer.ts +541 -0
- package/src/compiler/style-ir.ts +495 -0
- package/src/index.ts +209 -0
- 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
|