grape-web
Advanced tools
Comparing version 0.34.0 to 0.35.0
@@ -1,2 +0,1 @@ | ||
// Setup jss plugins. | ||
'use strict'; | ||
@@ -12,2 +11,6 @@ | ||
var _jss2 = _interopRequireDefault(_jss); | ||
exports.jss = _jss2['default']; | ||
var _reactJss = require('react-jss'); | ||
@@ -17,31 +20,2 @@ | ||
var _jssExtend = require('jss-extend'); | ||
var _jssExtend2 = _interopRequireDefault(_jssExtend); | ||
var _jssNested = require('jss-nested'); | ||
var _jssNested2 = _interopRequireDefault(_jssNested); | ||
var _jssCamelCase = require('jss-camel-case'); | ||
var _jssCamelCase2 = _interopRequireDefault(_jssCamelCase); | ||
var _jssDefaultUnit = require('jss-default-unit'); | ||
var _jssDefaultUnit2 = _interopRequireDefault(_jssDefaultUnit); | ||
var _jssVendorPrefixer = require('jss-vendor-prefixer'); | ||
var _jssVendorPrefixer2 = _interopRequireDefault(_jssVendorPrefixer); | ||
var jss = (0, _jss.create)(); | ||
exports.jss = jss; | ||
var useSheet = (0, _reactJss2['default'])(jss); | ||
exports.useSheet = useSheet; | ||
jss.use((0, _jssExtend2['default'])()); | ||
jss.use((0, _jssNested2['default'])()); | ||
jss.use((0, _jssCamelCase2['default'])()); | ||
jss.use((0, _jssDefaultUnit2['default'])()); | ||
jss.use((0, _jssVendorPrefixer2['default'])()); | ||
exports['default'] = _reactJss2['default']; |
@@ -25,2 +25,4 @@ 'use strict'; | ||
var _jss2 = _interopRequireDefault(_jss); | ||
var _style = require('./style'); | ||
@@ -115,3 +117,3 @@ | ||
var _Spinner = Spinner; | ||
Spinner = (0, _jss.useSheet)(_style2['default'])(Spinner) || Spinner; | ||
Spinner = (0, _jss2['default'])(_style2['default'])(Spinner) || Spinner; | ||
return Spinner; | ||
@@ -118,0 +120,0 @@ })(_react.Component); |
{ | ||
"name": "grape-web", | ||
"version": "0.34.0", | ||
"version": "0.35.0", | ||
"dependencies": { | ||
"jss": "^5.5.2", | ||
"jss-camel-case": "^2.0.0", | ||
"jss-default-unit": "^4.0.1", | ||
"jss-extend": "^2.0.1", | ||
"jss-nested": "^2.4.0", | ||
"jss-vendor-prefixer": "^3.0.0", | ||
"lodash": "^3.10.0", | ||
"react-jss": "^3.0.1" | ||
"react-jss": "4.0.0" | ||
}, | ||
@@ -14,0 +8,0 @@ "devDependencies": { |
2
123946
1330
+ Addedhoist-non-react-statics@1.2.0(transitive)
+ Addedjss-preset-default@0.4.0(transitive)
+ Addedjss-props-sort@2.0.2(transitive)
+ Addedreact-jss@4.0.0(transitive)
- Removedjss@^5.5.2
- Removedjss-camel-case@^2.0.0
- Removedjss-default-unit@^4.0.1
- Removedjss-extend@^2.0.1
- Removedjss-nested@^2.4.0
- Removedjss-vendor-prefixer@^3.0.0
- Removedhoist-non-react-statics@1.1.0(transitive)
- Removedreact-jss@3.0.1(transitive)
Updatedreact-jss@4.0.0