jss-isolate
Advanced tools
Comparing version 0.1.0 to 1.0.0
@@ -88,3 +88,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var setSelector = debounce(function (rule, selectors) { | ||
return rule.selector = selectors.join(',\n'); | ||
rule.selector = selectors.join(',\n'); | ||
}); | ||
@@ -138,4 +138,4 @@ | ||
'caption-side': 'top', | ||
'cursor': 'auto', | ||
'direction': 'ltr', | ||
cursor: 'auto', | ||
direction: 'ltr', | ||
'empty-cells': 'show', | ||
@@ -149,3 +149,3 @@ 'font-family': 'serif', | ||
'line-height': 'normal', | ||
'hyphens': 'none', | ||
hyphens: 'none', | ||
'letter-spacing': 'normal', | ||
@@ -159,5 +159,5 @@ 'list-style': 'disc outside none', | ||
'text-transform': 'none', | ||
'visibility': 'visible', | ||
visibility: 'visible', | ||
'white-space': 'normal', | ||
'widows': '2', | ||
widows: '2', | ||
'word-spacing': 'normal' | ||
@@ -164,0 +164,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.jssIsolate=t():e.jssIsolate=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=void 0,o=void 0,n=[];return function(r){if("regular"===r.type&&r.options.sheet!==t&&r.options.sheet.options.isolate!==!1&&(!r.options.parent||"keyframe"!==r.options.parent.type)){if(r.style&&r.style.isolate===!1)return void delete r.style.isolate;if(!t&&r.options.jss){t=r.options.jss.createStyleSheet({},{link:!0,meta:"jss-isolate"});var s=e.reset?i({},a["default"],e.reset):a["default"];o=t.addRule("reset",s),t.attach()}-1===n.indexOf(r.selector)&&n.push(r.selector),u(o,n)}}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};t["default"]=r;var s=o(1),a=n(s),l=function(e){var t=void 0;return function(){for(var o=arguments.length,n=Array(o),r=0;o>r;r++)n[r]=arguments[r];clearTimeout(t),t=setTimeout(function(){return e.apply(void 0,n)})}},u=l(function(e,t){return e.selector=t.join(",\n")})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={"border-collapse":"separate","border-spacing":"0","caption-side":"top",cursor:"auto",direction:"ltr","empty-cells":"show","font-family":"serif","font-size":"medium","font-style":"normal","font-variant":"normal","font-weight":"normal","font-stretch":"normal","line-height":"normal",hyphens:"none","letter-spacing":"normal","list-style":"disc outside none","tab-size":"8","text-align":"left","text-align-last":"auto","text-indent":"0","text-shadow":"none","text-transform":"none",visibility:"visible","white-space":"normal",widows:"2","word-spacing":"normal"}}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.jssIsolate=t():e.jssIsolate=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=void 0,o=void 0,n=[];return function(r){if("regular"===r.type&&r.options.sheet!==t&&r.options.sheet.options.isolate!==!1&&(!r.options.parent||"keyframe"!==r.options.parent.type)){if(r.style&&r.style.isolate===!1)return void delete r.style.isolate;if(!t&&r.options.jss){t=r.options.jss.createStyleSheet({},{link:!0,meta:"jss-isolate"});var s=e.reset?i({},a["default"],e.reset):a["default"];o=t.addRule("reset",s),t.attach()}n.indexOf(r.selector)===-1&&n.push(r.selector),u(o,n)}}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};t["default"]=r;var s=o(1),a=n(s),l=function(e){var t=void 0;return function(){for(var o=arguments.length,n=Array(o),r=0;r<o;r++)n[r]=arguments[r];clearTimeout(t),t=setTimeout(function(){return e.apply(void 0,n)})}},u=l(function(e,t){e.selector=t.join(",\n")})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={"border-collapse":"separate","border-spacing":"0","caption-side":"top",cursor:"auto",direction:"ltr","empty-cells":"show","font-family":"serif","font-size":"medium","font-style":"normal","font-variant":"normal","font-weight":"normal","font-stretch":"normal","line-height":"normal",hyphens:"none","letter-spacing":"normal","list-style":"disc outside none","tab-size":"8","text-align":"left","text-align-last":"auto","text-indent":"0","text-shadow":"none","text-transform":"none",visibility:"visible","white-space":"normal",widows:"2","word-spacing":"normal"}}])}); |
@@ -0,3 +1,8 @@ | ||
## 1.0.0 / 2016-08-01 | ||
- update to jss 5 | ||
- update dev deps | ||
## 0.1.0 / 2016-04-08 | ||
- First plugin release. Let the Party BigInt! |
@@ -32,3 +32,3 @@ 'use strict'; | ||
var setSelector = debounce(function (rule, selectors) { | ||
return rule.selector = selectors.join(',\n'); | ||
rule.selector = selectors.join(',\n'); | ||
}); | ||
@@ -35,0 +35,0 @@ |
@@ -10,4 +10,4 @@ 'use strict'; | ||
'caption-side': 'top', | ||
'cursor': 'auto', | ||
'direction': 'ltr', | ||
cursor: 'auto', | ||
direction: 'ltr', | ||
'empty-cells': 'show', | ||
@@ -21,3 +21,3 @@ 'font-family': 'serif', | ||
'line-height': 'normal', | ||
'hyphens': 'none', | ||
hyphens: 'none', | ||
'letter-spacing': 'normal', | ||
@@ -31,6 +31,6 @@ 'list-style': 'disc outside none', | ||
'text-transform': 'none', | ||
'visibility': 'visible', | ||
visibility: 'visible', | ||
'white-space': 'normal', | ||
'widows': '2', | ||
widows: '2', | ||
'word-spacing': 'normal' | ||
}; |
{ | ||
"name": "jss-isolate", | ||
"description": "True rules isolation through automatic inheritable properties reset.", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"author": { | ||
@@ -37,20 +37,21 @@ "name": "Maksim Koretskiy", | ||
"babel-core": "^6.5.1", | ||
"babel-eslint": "^5.0.0-beta9", | ||
"babel-loader": "^6.2.2", | ||
"babel-preset-es2015": "^6.5.0", | ||
"babel-eslint": "^6.1.2", | ||
"babel-loader": "^6.2.4", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"eslint": "^1.10.3", | ||
"eslint-plugin-react": "^3.16.1", | ||
"eslint-config-airbnb": "0.1.0", | ||
"eslint-config-jss": "0.2.0", | ||
"jss": ">=3.4.0 < 4.0.0", | ||
"eslint": "^2.8.0", | ||
"eslint-config-airbnb": "^8.0.0", | ||
"eslint-config-jss": "^1.1.0", | ||
"eslint-plugin-import": "^1.12.0", | ||
"eslint-plugin-jsx-a11y": "^1.5.5", | ||
"eslint-plugin-react": "^5.0.1", | ||
"jss": "^5.2.0", | ||
"opener": "^1.4.1", | ||
"qunitjs": "jquery/qunit#1.20.0", | ||
"rimraf": "^2.4.3", | ||
"webpack": "^1.11.0" | ||
"qunitjs": "^1.21.0", | ||
"rimraf": "^2.5.4", | ||
"webpack": "^1.13.1" | ||
}, | ||
"peerDependencies": { | ||
"jss": ">=3.0.0 < 4.0.0" | ||
}, | ||
"dependencies": {} | ||
"jss": "^5.2.0" | ||
} | ||
} |
@@ -12,7 +12,8 @@ ![JSS logo](https://avatars1.githubusercontent.com/u/9503099?v=3&s=60) | ||
[Demo](http://jsstyles.github.io/examples/index.html#plugin-jss-isolate) - | ||
[JSS](https://github.com/jsstyles/jss) | ||
[Demo](http://cssinjs.github.io/examples/index.html#plugin-jss-isolate) - | ||
[JSS](https://github.com/cssinjs/jss) | ||
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/jsstyles/jss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/cssinjs/lobby) | ||
## Usage example | ||
@@ -19,0 +20,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
93
15436
17