Skip to content

Releases: cssinjs/jss

v10.0.0-alpha.23

20 Jul 21:25
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.23 Pre-release
Pre-release

Bug fixes

  • [react-jss] Update dynamic nested rules need (#1144)
  • [react-jss] withStyles shouldn't attach() on SSR (#1149, #1157)

Improvements

  • [jss] Improve treeshaking for webpack by not using global. (#1153)

v10.0.0-alpha.22

02 Jul 15:47
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.22 Pre-release
Pre-release

Breaking Changes

  • [jss] SheetsRegistry.toString(options) will now return all sheets by default, no matter detached or attached. You can specify which one you want by using the option registry.toString({attached: true}) (1140)

Bug fixes

  • [react-jss] SSR for the hooks based API will now work with the registry as expected (1140)
  • [react-jss] When id options passed to JssProvider, we need to create a new generateId function (#1147)

Improvements

  • [react-jss] Document id prop for JssProvider, add "Class name generator options" to the docs. (#1147)
  • [react-jss] Use component name or displayName as a class name prefix also in production by default (#1147)

v10.0.0-alpha.21

22 Jun 12:46
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.21 Pre-release
Pre-release

Bug fixes

  • [jss-plugin-vendor-prefixer] Upgrade css-vendor package to v2.0.5 (#1142)
  • [css-jss] Slows down in benchmark after 10k rules (#1137)

v10.0.0-alpha.20

17 Jun 14:52
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.20 Pre-release
Pre-release

Bug Fixes

  • [react-jss] Experimental styled API got some fixes and many more tests (#1118)

v10.0.0-alpha.18

14 Jun 14:45
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.18 Pre-release
Pre-release

Features

  • [react-jss] New experimental styled API (undocumented intentionally)(#1094)
  • [react-jss] JSX pragma for css prop (undocumented intentionally)(#1130)
  • [css-jss] New experimental css() API (undocumented intentionally)(#1129)

Bug fixes

  • [jss] After attempting to insert an invalid rule, JSS is now able to insert a valid one (#1123)
  • [react-jss] Fix TS type optional theming property (#1121)
  • [react-jss] Export useTheme in TypeScript declaration (#1124)

v10.0.0-alpha.17

07 Jun 17:39
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.17 Pre-release
Pre-release

Features

  • [react-jss] New hooks based API is out. HOC based API is deprecated. It will stay in v10 but will be removed in v11. (#1089)

Breaking Changes

  • [jss] Add option for opt-in minification of class names. (#1075)

Bug fixes

  • [jss-plugin-expand] Fix attributes spread for border-bottom, border-top, border-left and border-right (#1083)
  • [jss-plugin-props-sort] Fix sorting in Node 11 (#1084)
  • [jss] Fix escaping keyframes names (#1100)

v10.0.0-alpha.16

24 Mar 11:14
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.16 Pre-release
Pre-release

Bug fixes

  • [jss-plugin-camel-case] Fix some IE 11 regression (#1065)
  • [jss-vendor-prefixer] Fix value prefixing, in particular position: sticky (#1068)

v10.0.0-alpha.14

17 Mar 16:16
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.14 Pre-release
Pre-release

Improvements

  • [jss] Add support for multiple referenced keyframes (#1063)

Bug fixes

  • [jss] Fix SSR aggregation regression (#1064)

v10.0.0-alpha.13

13 Mar 10:49
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.13 Pre-release
Pre-release

Bug fixes

  • [react-jss] Replace spaces inside the display name with hyphens (#1049)

Improvements

  • [jss] Remove VirtualRenderer and the option virtual: true. Now to simulate a non-browser environment, pass create({Renderer: null}) when creating a Jss instance.
  • [react-jss] Add dynamic rules to the static sheet (#1048)

v10.0.0-alpha.12

27 Feb 22:50
@kof kof
Compare
Choose a tag to compare
v10.0.0-alpha.12 Pre-release
Pre-release

Bug fixes

  • [jss] Fix using function values with scoped keyframes (#1043)
  • [jss] Fix removing styles from function rules (#1046)