- Allow already injected to be reset (#380)
- Add TypeScript export for flushToStyleTag (#379)
- Make parameter typings for StyleSheet.create more typed (#375)
- Add a more explicit error message when someone tries to pass a plain object instead of a stylesheet into the css() method (#349)
- Roll up inline-style-prefixer (#364)
- Update inline-style-prefixer 5.0.4 → 5.1.0 (#373)
- Fix examples (#367)
- Use deep import for inline-style-prefixer (#363)
- Bump inline-style-prefixer 4.0.0 -> 4.0.2 (#341)
- Use code-splitting for default and no-important builds (#325)
- Expose
defaultSelectorHandlers
andinjectAndGetClassName
(#320)
- Add
minify
andflushToStyleTag
to no-important (#316)
- Expose
flushToStyleTag
(#310)
- Selector handlers now must return an array of rules. Returning a string containing multiple rules is deprecated. The fallback behavior for selector handlers that still return strings is to use media queries, which are not supported in older browsers like Internet Explorer 8, which makes this a breaking change. If you find yourself seeing this warning, you need to update your custom selector handlers to return arrays of strings instead of plain strings. This fallback will be removed entirely in a future major release.
insertRule
is now used to inject styles to the style element (#240)- New
minify()
controls the minification of style names (defaults totrue
whenprocess.env.NODE_ENV === 'production'
) (#291) - New TypeScript typings (#302)
- New
StyleSheetTestUtils.getBufferedStyles()
(#294) StyleSheetTestUtils
will be minified out in production builds (i.e. whenprocess.env.NODE_ENV === 'production'
) (#305)- Reduce bundle size impact by building with rollup instead of webpack (#281)
- Simplify output for more useful RunKit result (#244)
- Update inline-style-prefixer dependency to v4 (#297)
- Allow overriding styles to re-order the styles they override (#279)
- Minify combined class names in production builds (#248)
- Revert make string handlers use
useImportant
(f162220e3
- Minify selectors when building with
process.env.NODE_ENV === 'production'
(#246) - Make string handlers use
useImportant
(#256)
- Allow specifying styles as
Map
s to guarantee ordering (#200) - Replace murmur hash with djb2 hash. This changes all generated classNames. (#203)
- Misc. optimizations (#201, #202, #204, #205, #206, #207, #208, #213)
- Animations now support multiple animations per style (see section on Animations) (PR #167)
- Syntax extensions (see section on Advanced extensions) (PR #95)