-
-
Notifications
You must be signed in to change notification settings - Fork 24
Stacks v4.0.0 (with Unistyles v3) #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Guyyssss, please I can't wait for this to get released! |
|
@Code-Victor you can already use it by installing the beta, as stated in the post, |
|
😭 |
|
Hello, thanks for the awesome library! Is there a roadmap to plan the migration to support the new unistyles? |
|
@mobily LTGM? |
|
🚀 Excited to see this update! Been waiting for the new Unistyles support — really looking forward to trying it out. Curious though, why such a long wait for this release? Thanks for pushing it forward 🙌 |
|
any update? |
|
bye bye |
This PR brings a major update to Stacks. It's using
Unistyles v3now, and you'll need at leastReact Native v0.76.0to get started. SinceUnistyles v3is still in beta, this new version ofStacksis also in beta for the time being. Once Unistyles gets to a stable version, I'll release a stable version of Stacks too.To grab the beta version of Stacks, just run the following command:
What's New
BoxNew props have been added:
outlineColoroutlineStyleoutlineWidthoutlineOffsetpointerEventsopacityoverflowThe
outline*props are available only if you useRN v0.77.0at least.Columns/ColumnI've cleaned things up by removing a bunch of props from both components. Here's what's gone:
backgroundColorborderRadiusborderTopLeftRadiusborderTopRightRadiusborderBottomLeftRadiusborderBottomRightRadiusborderWidthborderTopWidthborderRightWidthborderBottomWidthborderLeftWidthborderColorAlso, the following new props are not included:
outlineColoroutlineStyleoutlineWidthoutlineOffsetSo instead of using your components like this:
You should switch to this format:
I'm super excited about this release, a new version of Unistyles looks fantastic! If you run into any bugs or have ideas on how we can make things better, I'd love to hear from you.