Repository navigation
feat: compile logical transition-property lists - #2
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Logical names in
transition-propertywere 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.