Skip to content

feat: compile logical transition-property lists - #2

Merged
oe merged 6 commits into
mainfrom
feat/transition-property
Oct 3, 2026
Merged

oe merged 6 commits into
mainfrom
feat/transition-property

Conversation

@oe

@oe oe commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Logical names in transition-property were left unchanged even though the plugin compiled the related CSS declarations to physical properties. Map those names for both directions, and align static duration, delay, easing and behavior lists when one logical name expands to multiple physical properties. Preserve dynamic, inherited or unresolved function-valued shorthand timing lists with a PostCSS warning when their alignment cannot be determined.

Keep shorthand resets and declaration importance intact, and cache property mappings from both the upstream processor and our shim handlers. Existing plugin options and defaults are unchanged.

Validation: 429 tests, 162 browser cascade comparisons, 32 browser comparisons of actual transition duration/delay/easing, packed CJS/ESM/TypeScript consumers, types, library build and documentation build pass. Released in v0.7.1.

Release review adds invalid shorthand, keyword-property ambiguity, case-insensitive property names and unrelated-rule preservation regressions, with native browser timing comparisons.

@codecov

codecov Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.06%. Comparing base (b03b15e) to head (d90017c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   97.76%   98.06%   +0.29%     
==========================================
  Files           6        7       +1     
  Lines         627      722      +95     
  Branches      172      220      +48     
==========================================
+ Hits          613      708      +95     
  Misses         14       14              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@oe
oe merged commit f9b4608 into main Oct 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant