This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Releases: gluestack/gluestack-style
Releases · gluestack/gluestack-style
@gluestack-style/[email protected]
Fixes
- Edge case - identifiers in array expression (
a65f22d
by @ankit-tailor)
@gluestack-style/[email protected]
Fixes
- Fixed typo
compoundVariants
in global styles typings (#416 by @jono-allen) - Fixed tokenization of passing inline props (#417 by @ankit-tailor)
@gluestack-style/[email protected]
Fixes
flush()
function to return array of react elementsb8247f4
@gluestack-style/[email protected]
Fixes #409
- Added inline-base-state block to increase inline state style specificity
- Added wrapper
<div id="gs-injected" />
for injected style blocks - Prefixed style blocks with
gs-injected
to find them uniquely - Optimized first render for state prop getters
Internal changes
- Removed
toBeInjected
andsxHash
build time props, improves performance
@gluestack-style/[email protected]
Feature #409
- Added
GLUESTACK_STYLE_TARGET
environment variable to remove unwanted data from orderedResolved prop GLUESTACK_STYLE_TARGET
acceptsnative
orweb
as a value
You can add the following to your package.json scripts,
"scripts": {
"start-native": "GLUESTACK_STYLE_TARGET=native expo start -c",
"start-native-release-mode": "GLUESTACK_STYLE_TARGET=native expo start --no-dev --minify",
"start-web": "GLUESTACK_STYLE_TARGET=web expo start -c",
"android": "GLUESTACK_STYLE_TARGET=native yarn expo run:android",
"ios": "GLUESTACK_STYLE_TARGET=native yarn expo run:ios",
"web": "GLUESTACK_STYLE_TARGET=web expo start --web"
},
@gluestack-style/[email protected]
Fixes
- Passing props inside state props resolution issue
@gluestack-style/[email protected]
Fixes
- AssignmentExpression case for inline props resolution #403
@gluestack-style/[email protected]
Fixes
- Passing props dynamic values fallback for babel #397
@gluestack-style/[email protected]
@gluestack-style/[email protected]
Fixes (#397)
- Type assertion case for
styled()
params - sx prop conditional expression fallback
- Remove dynamic values from resolution of theme