You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+30-25Lines changed: 30 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,19 @@ Since you are interested in what happens next, in case, you work for a for-profi
6
6
7
7
### Improvements
8
8
9
-
-[jss]`Styles` now supports `ClassNames`, `Props`/`Data`, and `Theme` as type parameters (eg. `Styles<Names, Data, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
10
-
-[react-jss]`withStyles` and `createUseStyles` now support `ClassNames`, `Props`, and `Theme` as type parameters (eg. `createUseStyles<Names, Props, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
11
-
-[react-jss]`useStyles` finally expects the correct argument type: a `Props` object with an optional `Theme` property (both determined from `createUseStyles`). [1460](https://github.com/cssinjs/jss/pull/1460)
9
+
-[*] 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](https://github.com/cssinjs/jss/issues/1456)
10
+
-[jss] Use `globalThis` to support secure version of JavaScript
11
+
-[jss][ts]`Styles` now supports `ClassNames`, `Props`/`Data`, and `Theme` as type parameters (eg. `Styles<Names, Data, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
12
+
called SES [1449](https://github.com/cssinjs/jss/pull/1449)
13
+
-[react-jss][ts]`withStyles` and `createUseStyles` now support `ClassNames`, `Props`, and `Theme` as type parameters (eg. `createUseStyles<Names, Props, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
14
+
-[react-jss][ts]`useStyles` finally expects the correct argument type: a `Props` object with an optional `Theme` property (both determined from `createUseStyles`). [1460](https://github.com/cssinjs/jss/pull/1460)
15
+
-[react-jss][ts] Support global TS theme definition [1453](https://github.com/cssinjs/jss/pull/1453)
16
+
-[react-jss][ts] Allow partial `classes` prop in `withStyles()`[1428](https://github.com/cssinjs/jss/issues/1428)
12
17
13
18
### Breaking Changes
14
19
15
-
-[react-jss]`Theme` is no longer the first generic type parameter for `createUseStyles`. [1460](https://github.com/cssinjs/jss/pull/1460)
16
-
- There are two main ways to tell TypeScript your `Theme`'s type without reaching over the other type parameters:
20
+
-[react-jss][ts]`Theme` is no longer the first generic type parameter for `createUseStyles`. [1460](https://github.com/cssinjs/jss/pull/1460)
21
+
- There are two main ways to tell TS your `Theme`'s type without reaching over the other type parameters:
-[jss-plugin-rule-value-function] Add warning when using a function value inside a function rule ([1285](https://github.com/cssinjs/jss/pull/1285))
117
-
-[react-jss] Typescript support for createUseStyles theme ([1294](https://github.com/cssinjs/jss/pull/1294))
122
+
-[react-jss][ts] Typescript support for createUseStyles theme ([1294](https://github.com/cssinjs/jss/pull/1294))
118
123
-[jss, react-jss] - `getDynamicStyles` utility function was originally exposed from `jss` package, but I don't think it was used externally, so I moved it to `react-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.
119
124
-[examples] Migrate examples to monorepo ([1306](https://github.com/cssinjs/jss/pull/1306))
@@ -172,7 +177,7 @@ A higher level overview of v10 release.
172
177
-[jss] Function values, function rules and observables apply plugins by default now, which means they can support all kinds of syntaxes: e.g. fallbacks, media queries, nesting, global styles.
173
178
-[jss] Houdini Typed CSSOM Values are supported now.
174
179
-[all] Each package supports ESM modules import, also possible directly from https://unpkg.com/.
175
-
-[all] Added TypeScript type definitions to this repository.
180
+
-[all][ts] Added TS type definitions to this repository.
176
181
177
182
For more details please read the rest of the changelog.
178
183
@@ -209,7 +214,7 @@ For more details please read the rest of the changelog.
209
214
210
215
### Improvements
211
216
212
-
-[react-jss] Improve TypeScript definitions and add missing definition for `createUseStyles` ([1155](https://github.com/cssinjs/jss/pull/1155))
217
+
-[react-jss][ts] Improve TS definitions and add missing definition for `createUseStyles` ([1155](https://github.com/cssinjs/jss/pull/1155))
213
218
-[jss-plugin-default-unit] Consistent usage of the CSS browser API ([1168](https://github.com/cssinjs/jss/pull/1168))
214
219
215
220
## 10.0.0-alpha.23 (2019-7-20)
@@ -263,8 +268,8 @@ For more details please read the rest of the changelog.
263
268
### Bug fixes
264
269
265
270
-[jss] After attempting to insert an invalid rule, JSS is now able to insert a valid one ([#1123](https://github.com/cssinjs/jss/pull/1123))
266
-
-[react-jss] Fix TS type optional `theming` property ([#1121](https://github.com/cssinjs/jss/pull/1121))
267
-
-[react-jss] Export useTheme in TypeScript declaration ([#1124](https://github.com/cssinjs/jss/pull/1124))
271
+
-[react-jss][ts] Fix type optional `theming` property ([#1121](https://github.com/cssinjs/jss/pull/1121))
272
+
-[react-jss][ts] Export useTheme in TS declaration ([#1124](https://github.com/cssinjs/jss/pull/1124))
268
273
269
274
## 10.0.0-alpha.17 (2019-6-7)
270
275
@@ -326,7 +331,7 @@ For more details please read the rest of the changelog.
326
331
### Improvements
327
332
328
333
-[all] All packages except of react-jss can now be used as ESM modules directly from unpkg.com ([1029](https://github.com/cssinjs/jss/pull/1029))
0 commit comments