jss-nested
Advanced tools
Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "jss-nested", | ||
"description": "Nested selectors plugin for jss", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"author": { | ||
@@ -28,4 +28,4 @@ "name": "Oleg Slobodskoi", | ||
"dependencies": { | ||
"jsstyles": "^1.0.0" | ||
"jsstyles": "^2.1.0" | ||
} | ||
} |
{ | ||
"name": "jss-nested", | ||
"description": "Nested selectors plugin for jss", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"author": { | ||
@@ -31,7 +31,7 @@ "name": "Oleg Slobodskoi", | ||
"xpkg": "0.2.0", | ||
"jss": "^1.0.0" | ||
"jss": "^2.1.0" | ||
}, | ||
"peerDependencies": { | ||
"jss": "^1.0.0" | ||
"jss": "^2.1.0" | ||
} | ||
} |
@@ -24,2 +24,5 @@ ## Nested selectors plugin for JSS | ||
border: '1px solid red' | ||
}, | ||
'&:hover': { | ||
background: 'blue' | ||
} | ||
@@ -26,0 +29,0 @@ } |
@@ -13,3 +13,3 @@ 'use strict' | ||
test('nesting with space', function () { | ||
var ss = new jss.StyleSheet({ | ||
var ss = jss.createStyleSheet({ | ||
a: { | ||
@@ -26,3 +26,3 @@ float: 'left', | ||
test('nesting without space', function () { | ||
var ss = new jss.StyleSheet({ | ||
var ss = jss.createStyleSheet({ | ||
a: { | ||
@@ -39,3 +39,3 @@ float: 'left', | ||
test('multi nesting', function () { | ||
var ss = new jss.StyleSheet({ | ||
var ss = jss.createStyleSheet({ | ||
a: { | ||
@@ -54,3 +54,3 @@ float: 'left', | ||
test('multi nesting in one selector', function () { | ||
var ss = new jss.StyleSheet({ | ||
var ss = jss.createStyleSheet({ | ||
a: { | ||
@@ -68,3 +68,3 @@ float: 'left', | ||
test('deep nesting', function () { | ||
var ss = new jss.StyleSheet({ | ||
var ss = jss.createStyleSheet({ | ||
a: { | ||
@@ -85,3 +85,3 @@ '&b': { | ||
test('addRules', function () { | ||
var ss = new jss.StyleSheet({ | ||
var ss = jss.createStyleSheet({ | ||
a: { | ||
@@ -109,3 +109,3 @@ height: '1px' | ||
jss.Rule.uid = 0 | ||
var ss = new jss.StyleSheet({ | ||
var ss = jss.createStyleSheet({ | ||
a: { | ||
@@ -112,0 +112,0 @@ float: 'left', |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12002
67