@things-factory/styles
Advanced tools
Comparing version 3.0.0-beta.24 to 3.0.0-beta.25
@@ -91,3 +91,3 @@ /** | ||
found at http://polymer.github.io/PATENTS.txt | ||
*/;const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol();class r{constructor(t,e){if(e!==o)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(e?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const s=(t,...e)=>{const s=e.reduce((e,o,s)=>e+(t=>{if(t instanceof r)return t.cssText;if("number"==typeof t)return t;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${t}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(o)+t[s+1],t[0]);return new r(s,o)}; | ||
*/;const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol();class r{constructor(t,e){if(e!==o)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(e?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const s=(t,...e)=>{const s=e.reduce(((e,o,s)=>e+(t=>{if(t instanceof r)return t.cssText;if("number"==typeof t)return t;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${t}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(o)+t[s+1]),t[0]);return new r(s,o)}; | ||
/** | ||
@@ -94,0 +94,0 @@ * @license |
{ | ||
"name": "@things-factory/styles", | ||
"version": "3.0.0-beta.24", | ||
"version": "3.0.0-beta.25", | ||
"main": "src/index.js", | ||
@@ -38,3 +38,3 @@ "module": "dist/styles.js", | ||
}, | ||
"gitHead": "5c23a1733e3edd5a66596a20e01671df643b608b" | ||
"gitHead": "9b8d5472b55f798351e4bf1f3b04ac84899e63b2" | ||
} |
11750