Skip to content

Conversation

@marklawlor
Copy link
Contributor

No description provided.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@marklawlor marklawlor marked this pull request as ready for review October 10, 2025 07:09
Copilot AI review requested due to automatic review settings October 10, 2025 07:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a critical bug related to lightningcss@1.30.2 by adding a warning to prevent compilation failures. It also introduces native style mapping functionality and updates test expectations to reflect changes in style merging behavior.

  • Adds version check and warning for problematic lightningcss@1.30.2
  • Implements native style mapping feature with new nativeStyleMapping function
  • Updates style merging logic to handle native style mappings and target configurations

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/compiler/lightningcss-loader.ts Adds version detection and warning for lightningcss@1.30.2
src/native/styles/index.ts Implements native style mapping function and updates merge logic
src/native/react/useNativeCss.ts Adds nativeStyleMapping support to config generation
src/tests/native/specificity.test.tsx Updates test expectations from arrays to single objects
src/tests/native/container-queries.test.tsx Updates test expectations from arrays to single objects
example/src/App.tsx Adds Button component for testing purposes

@marklawlor marklawlor force-pushed the 10-10-fix_add_warning_for_lightningcss_1.30.2 branch from bd3fea7 to 784a1f4 Compare October 11, 2025 04:50
marklawlor and others added 2 commits October 11, 2025 14:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@marklawlor marklawlor changed the title fix: add warning for lightningcss@1.30.2 fix: nativeStyleMapping Oct 11, 2025
@marklawlor marklawlor enabled auto-merge (squash) October 11, 2025 04:53
@marklawlor marklawlor merged commit 7cd11a8 into main Oct 11, 2025
7 checks passed
@marklawlor marklawlor deleted the 10-10-fix_add_warning_for_lightningcss_1.30.2 branch October 11, 2025 04:53
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.

2 participants