Skip to content

Releases: jacobp100/cssta

0.9.2

03 Oct 20:11
Compare
Choose a tag to compare

New Features

  • Viewport units (vw, vh etc.)
  • Adds cssta.mixin—work in progress mixins

Fixes

  • Fixes to and from in keyframes (previously incorrectly start and end)

0.9.1

30 Sep 19:42
Compare
Choose a tag to compare

New Features

  • Added support for @media (prefers-color-scheme: dark) in React Native 0.60+
  • Optimisations on how styles are allocated

0.9

30 Sep 19:40
Compare
Choose a tag to compare
0.9

Breaking

  • We now only support React Native
  • This only runs via babel plugin
  • React Native now restricts ${} interpolation to values only (previously only done under optimisation)

New Features

  • Support for @media queries
  • Babel 7 compatibility
  • Babel macros compatibility
  • Forwards the ref of every component
  • Transitions and animations on React Native can now be written with the longhand props (transition-duration etc.)

0.8

12 Sep 20:04
Compare
Choose a tag to compare
0.8

Breaking

Nothing!

Public

  • Tested on React 16 and updated peer dependencies
  • Fix remaining use of React.PropTypes to use prop-types package

Internal

  • Updated flow typing

0.7

16 Jun 10:39
Compare
Choose a tag to compare
0.7

Breaking

  • We no longer automatically insert &, you must now add this when using [@propSelectors]

Public

  • Updated to use prop-types package over React.PropTypes

Internal

  • Improved flow typing

Accidentally Unreleased Notes from 0.6

Breaking

  • [reactProp = "selectors"] must now be written as [@reactProp = "selectors"]
    • You can now use regular attribute selectors under web

Public

  • Significant performance improvements when using CSS custom properties in React Native

Internal

  • Refactored native enhancers to handle pre-processed data
  • Allow overwriting existing CSS chunks babel-plugin to allow for future hot reloading support

v0.5.0

23 Mar 08:52
Compare
Choose a tag to compare

Public

  • New docs
  • Native animations via @keyframes and animation
  • Allow custom properties as arguments for native transition (and animation)
  • Performance improvements

Internal

  • Added Flow
  • Massive cleanups to babel plugin code
  • Unified static and dynamic components
  • Altered generation of CSS files to assist with hot module reloading in the future