Skip to content

Commit 92013e2

Browse files
author
Henri
authored
Fix react-jss exports from jss-starter-kit (#1001)
* Fix react-jss exports from jss-starter-kit * Update changelog and update size snapshot * Run prettier * Add some missing exports
1 parent c552e8e commit 92013e2

File tree

4 files changed

+27
-16
lines changed

4 files changed

+27
-16
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Next
2+
3+
### Bug fixes
4+
5+
- [jss-starter-kit] Fix react-jss exports and add missing jss exports ([#1001](https://github.com/cssinjs/jss/pull/1001))
6+
17
## 10.0.0-alpha.9 (2019-1-25)
28

39
### Bug fixes

packages/jss-starter-kit/.size-snapshot.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
22
"dist/jss-starter-kit.js": {
3-
"bundled": 81048,
4-
"minified": 32915,
5-
"gzipped": 9378
3+
"bundled": 81292,
4+
"minified": 33042,
5+
"gzipped": 9420
66
},
77
"dist/jss-starter-kit.min.js": {
8-
"bundled": 80294,
9-
"minified": 32437,
10-
"gzipped": 9166
8+
"bundled": 80538,
9+
"minified": 32564,
10+
"gzipped": 9209
1111
},
1212
"dist/jss-starter-kit.cjs.js": {
13-
"bundled": 2341,
14-
"minified": 2127,
15-
"gzipped": 689
13+
"bundled": 2583,
14+
"minified": 2327,
15+
"gzipped": 747
1616
},
1717
"dist/jss-starter-kit.esm.js": {
18-
"bundled": 1385,
19-
"minified": 1273,
20-
"gzipped": 462,
18+
"bundled": 1435,
19+
"minified": 1317,
20+
"gzipped": 470,
2121
"treeshaked": {
2222
"rollup": {
2323
"code": 792,
2424
"import_statements": 489
2525
},
2626
"webpack": {
27-
"code": 2328
27+
"code": 2364
2828
}
2929
}
3030
}

packages/jss-starter-kit/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"jss": "10.0.0-alpha.9",
4444
"jss-plugin-cache": "10.0.0-alpha.9",
4545
"jss-plugin-isolate": "10.0.0-alpha.9",
46-
"jss-preset-default": "10.0.0-alpha.9"
46+
"jss-preset-default": "10.0.0-alpha.9",
47+
"react-jss": "10.0.0-alpha.9"
4748
}
4849
}

packages/jss-starter-kit/src/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ If you'd like to use JSS in production, try including the "jss" and "jss-preset-
88

99
jss.setup(preset())
1010

11-
export {jss, preset}
11+
export {jss as default, preset}
12+
13+
export * from 'jss'
14+
export * from 'react-jss'
15+
16+
export {default as withStyles} from 'react-jss'
1217

13-
export * as reactJss from 'react-jss'
1418
export {default as functions} from 'jss-plugin-rule-value-function'
1519
export {default as observable} from 'jss-plugin-rule-value-observable'
1620
export {default as template} from 'jss-plugin-template'

0 commit comments

Comments
 (0)