@things-factory/styles
Advanced tools
Comparing version 3.0.0-beta.37 to 3.0.0-beta.38
@@ -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.37", | ||
"version": "3.0.0-beta.38", | ||
"browser": "src/index.js", | ||
@@ -38,3 +38,3 @@ "module": "dist/styles.js", | ||
}, | ||
"gitHead": "8df2ff5f24bb045fd8c8e5142b1045558b3e6257" | ||
"gitHead": "e89bf048504d49a03a95aef81731e46af8ec311f" | ||
} |
11751