All Versions
49
Latest Version
Avg Release Cycle
36 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v10.6.0 Changes
๐ Improvements
- ๐ฆ [*] Define specific polyfills for specific packages that will be required and define a policy for adding polyfills. Makes sure we will notice if a polyfill is needed in a supported browser by failing the CI. 1456
- ๐ [jss] Use
globalThis
to support secure version of JavaScript called SES 1449 - ๐
[jss][ts]
Styles
now supportsClassNames
,Props
/Data
, andTheme
as type parameters (eg.Styles<Names, Data, Theme>
). 1460 - ๐
[react-jss][ts]
withStyles
andcreateUseStyles
now supportClassNames
,Props
, andTheme
as type parameters (eg.createUseStyles<Names, Props, Theme>
). 1460 - ๐
[react-jss][ts]
useStyles
finally expects the correct argument type: aProps
object with an optionalTheme
property (both determined fromcreateUseStyles
). 1460 - ๐ [react-jss][ts] Support global TS theme definition 1453
- ๐
[react-jss][ts] Allow partial
classes
prop inwithStyles()
1428
๐ฅ Breaking Changes
- ๐
[react-jss][ts]
Theme
is no longer the first generic type parameter forcreateUseStyles
. 1460- There are two main ways to tell TS your
Theme
's type without reaching over the other type parameters:
- There are two main ways to tell TS your
Using the function argument.
const useStyles = createUseStyles(theme: Theme => ({ ruleName: { /* ... */ }; }))
Using the object argument with a function. (You will only need to specify the
Theme
type once.)const useStyles = createUseStyles({ ruleName: ({theme}: {theme: Theme}) => ({ /* ... */ }) })
-
v10.5.1 Changes
-
v10.5.0 Changes
November 15, 2020๐ Bug fixes
- ๐ [jss] Restore TypeScript support for Observable styles 1402
- 0๏ธโฃ [jss-plugin-default-unit] Fix missing default unit for 0ms and 0% 1413
๐ Improvements
- ๐ [*] Improve docs 1384, 1387, 1391,
- ๐ฆ [*] Remove test files from the package 1406
- โฌ๏ธ [*] Upgrade rollup 1426
- โฌ๏ธ [*] Upgrade flow to 0.138.0 1425
- 0๏ธโฃ [jss-plugin-default-unit] aAdd gap unit 1403
- 0๏ธโฃ [jss-plugin-default-unit] Add default units to logical properties 1415
- ๐ [jss] Improve deleteRule() performance 1424
-
v10.4.0 Changes
August 14, 2020๐ Bug fixes
- ๐ [jss-plugin-extend] Fix can not extend rule name is array 1357
- ๐ [*] Fix yarn build for windows 1376
๐ Improvements
- [jss] Bump
csstype
to 3.0.2 1379 - ๐ [react-jss] TypeScript support for innerRef prop 1355
- [react-jss] TypeScript fix theme types 1349
- 0๏ธโฃ [react-jss] Add properly react default props types calculation 1353
- โฌ๏ธ [react-jss] Upgrade Theming to 3.3.0 1382
- โฌ๏ธ [*] Upgrade flowtype to 0.131.0 1382
-
v10.3.0 Changes
June 10, 2020๐ Improvements
- ๐ [jss, react-jss][ts] ts fixes, allow autocomplete for CSS rules 1352
-
v10.2.0 Changes
June 03, 2020 -
v10.1.1 Changes
March 15, 2020๐ Bug fixes
- ๐
[jss, react-jss] revert
getDynamicStyles
migration introduced in 10.1.0
- ๐
[jss, react-jss] revert
-
v10.1.0 Changes
March 15, 2020๐ Bug fixes
- [jss] Fix multiple .addRule calls with font-face (1280)
- [jss] Allow a Comment node as insertion point (1284)
๐ Improvements
- โ [jss-plugin-rule-value-function] Add warning when using a function value inside a function rule (1285)
- ๐ [react-jss][ts] Typescript support for createUseStyles theme (1294)
- ๐
[jss, react-jss] -
getDynamicStyles
utility function was originally exposed fromjss
package, but I don't think it was used externally, so I moved it toreact-jss
package and made it internal. If you have been using it as public API let me know, we will have to revert the change. - [examples] Migrate examples to monorepo (1306)
๐ Features
- 0๏ธโฃ [jss-plugin-default-unit] Allow options to pass function transforms in (1292)
-
v10.0.4 Changes
January 28, 2020