File tree 6 files changed +38
-32
lines changed
6 files changed +38
-32
lines changed Original file line number Diff line number Diff line change
1
+ ## Next
2
+
3
+ ### Bug fixes
4
+
5
+ - [ jss-plugin-camel-case] Fix some IE 11 regression ([ #1065 ] ( https://github.com/cssinjs/jss/pull/1065 ) )
6
+
1
7
## 10.0.0-alpha.14 (2019-3-17)
2
8
3
9
### Improvements
Original file line number Diff line number Diff line change 1
1
{
2
2
"dist/jss-plugin-camel-case.js" : {
3
- "bundled" : 2383 ,
4
- "minified" : 856 ,
5
- "gzipped" : 486
3
+ "bundled" : 2389 ,
4
+ "minified" : 858 ,
5
+ "gzipped" : 488
6
6
},
7
7
"dist/jss-plugin-camel-case.min.js" : {
8
- "bundled" : 2383 ,
9
- "minified" : 856 ,
10
- "gzipped" : 486
8
+ "bundled" : 2389 ,
9
+ "minified" : 858 ,
10
+ "gzipped" : 488
11
11
},
12
12
"dist/jss-plugin-camel-case.cjs.js" : {
13
- "bundled" : 1703 ,
14
- "minified" : 735 ,
15
- "gzipped" : 393
13
+ "bundled" : 1709 ,
14
+ "minified" : 737 ,
15
+ "gzipped" : 398
16
16
},
17
17
"dist/jss-plugin-camel-case.esm.js" : {
18
- "bundled" : 1485 ,
19
- "minified" : 563 ,
20
- "gzipped" : 307 ,
18
+ "bundled" : 1491 ,
19
+ "minified" : 565 ,
20
+ "gzipped" : 309 ,
21
21
"treeshaked" : {
22
22
"rollup" : {
23
23
"code" : 29 ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function convertCase(style) {
12
12
const converted = { }
13
13
14
14
for ( const prop in style ) {
15
- const key = prop . startsWith ( '--' ) ? prop : hyphenate ( prop )
15
+ const key = prop . indexOf ( '--' ) === 0 ? prop : hyphenate ( prop )
16
16
17
17
converted [ key ] = style [ prop ]
18
18
}
@@ -44,7 +44,7 @@ export default function camelCase(): Plugin {
44
44
}
45
45
46
46
function onChangeValue ( value , prop , rule ) {
47
- if ( prop . startsWith ( '--' ) ) {
47
+ if ( prop . indexOf ( '--' ) === 0 ) {
48
48
return value
49
49
}
50
50
Original file line number Diff line number Diff line change 1
1
{
2
2
"dist/jss-preset-default.js" : {
3
- "bundled" : 53800 ,
4
- "minified" : 19104 ,
5
- "gzipped" : 6356
3
+ "bundled" : 53806 ,
4
+ "minified" : 19106 ,
5
+ "gzipped" : 6354
6
6
},
7
7
"dist/jss-preset-default.min.js" : {
8
- "bundled" : 53046 ,
9
- "minified" : 18645 ,
10
- "gzipped" : 6144
8
+ "bundled" : 53052 ,
9
+ "minified" : 18647 ,
10
+ "gzipped" : 6142
11
11
},
12
12
"dist/jss-preset-default.cjs.js" : {
13
13
"bundled" : 1329 ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"dist/jss-starter-kit.js" : {
3
- "bundled" : 69342 ,
4
- "minified" : 29117 ,
5
- "gzipped" : 8981
3
+ "bundled" : 69348 ,
4
+ "minified" : 29119 ,
5
+ "gzipped" : 8978
6
6
},
7
7
"dist/jss-starter-kit.min.js" : {
8
- "bundled" : 68588 ,
9
- "minified" : 28659 ,
10
- "gzipped" : 8769
8
+ "bundled" : 68594 ,
9
+ "minified" : 28661 ,
10
+ "gzipped" : 8766
11
11
},
12
12
"dist/jss-starter-kit.cjs.js" : {
13
13
"bundled" : 2592 ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"dist/react-jss.js" : {
3
- "bundled" : 109109 ,
4
- "minified" : 36983 ,
5
- "gzipped" : 11986
3
+ "bundled" : 109115 ,
4
+ "minified" : 36985 ,
5
+ "gzipped" : 11985
6
6
},
7
7
"dist/react-jss.min.js" : {
8
- "bundled" : 84550 ,
9
- "minified" : 29718 ,
10
- "gzipped" : 9800
8
+ "bundled" : 84556 ,
9
+ "minified" : 29720 ,
10
+ "gzipped" : 9799
11
11
},
12
12
"dist/react-jss.cjs.js" : {
13
13
"bundled" : 15499 ,
You can’t perform that action at this time.
0 commit comments