Merged
Conversation
…ues with the Box paddings when 0 and fix their borders when 0
This commit introduces reusable utility functions and improves style management throughout the codebase. Components like Baseline, Box, Guide, Padder, Spacer, Layout, and Stack now utilize shared logic for style overrides, layout handling, and measurement calculations, reducing redundancy and improving maintainability.
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.
This pull request includes several updates to improve React 19 compatibility, update documentation, and refine the build and configuration settings. The most important changes are summarized below:
React 19 Compatibility:
README.mdto reflect React 19 requirements and features, including the newusehook and streamlined context API. [1] [2] [3] [4] [5] [6] [7]package.jsonto set React 19 as a peer dependency. [1] [2]Documentation Updates:
CHANGELOG.mdfor version 2.0.2, detailing the changes for React 19 compatibility and other improvements.README.mdto include new import instructions, theme system options, and browser support details. [1] [2] [3] [4] [5] [6] [7]Configuration and Build Improvements:
alias.config.tsby adjusting the alias paths to better reflect the project structure.package.jsonscripts for a more streamlined build and test process, and updated dependencies to their latest versions. [1] [2] [3] [4] [5]Removed Redundant Configurations:
.fleet/settings.json.These changes collectively enhance the project's compatibility with React 19, improve documentation clarity, and streamline the build and configuration processes.