UNPKG

react-css-components

Version:

Define styled React components using CSS based module format

44 lines (28 loc) 801 B
## 0.3.1 * [FIX] Fix compilation for CSS with separate (unnested) pseudoclasses. * [FIX] Fix compilation for CSS placed within media queries. ## 0.3.0 * [BREAKING] Component spec format changed from using `.` as a delimiter between module and export name to `?`. Update: Label { base: mylib.Label; color: red; } To: Label { base: mylib?Label; color: red; } ## 0.2.0 * [FEATURE] When specifying `base` for a styled component it is treated as an import specification if it doesn't represent an HTML tag name. For example: Label { base: mylib/Label; color: red; } Will generate a CSS class and inject it to component imported from `mylib/Label` module. ## 0.1.0 * [FEATURE] Initial release.