- Added: Typescript type definitions.
- Fixed: flex-box shorthands missing
flex-basis: auto
in some cases. - Fixed: sorting :export blocks on Node.js version 11 was not working.
- Added: support for parsing CSS modules (ICSS)
:export
blocks.
- Fixed: an error is now thrown for a
line-height
value without unit (line-height
multiplier value is not supported in React Native). - Updated:
css-to-react-native
dependency to v2.2.2 andcss
dependency to v2.2.4.
- Updated:
css-to-react-native
dependency to v2.2.1. - Added: support for more platforms in CSS media queries.
- Added: a feature flag for CSS viewport units.
- Updated:
css-to-react-native
dependency to v2.2.0. - Fixed: the parser now allows passing through CSS units that are not supported by React Native.
- Added: skip parsing of all other selector types than class selectors.
- Fixed: allow multiple parts for parsed media queries to support
OR
media queries.
- Added: transformation result now includes parsed CSS media queries under
__mediaQueries
object. This removes the need to re-parse media queries after transforming CSS.
- Added: validate that CSS Media Queries have correct syntax.
- Added: experimental support for parsing CSS Media Queries. Use
parseMediaQueries: true
to enable parsing media queries.
- Updated:
css-to-react-native
dependency to v2.1.2.
- Updated:
css-to-react-native
dependency to v2.1.1.
- Fixed: Only apply
Image
styling fix for shorthand border props with a single value.
- Fixed: Get rid of the requirement for
Symbol
by replacingfor of
loops withfor in
loops.
- Fixed:
Image
styling fix for shorthand border props.
- Fixed: Add missing
shadowOpacity
prop. - Fixed: box-shadow:support for rgb and rgba colors.
- Fixed: Support unitless values for
box-shadow
.
- Fixed: Remove array destructuring to make transpiled code ES5 compatible.
- Initial release