@uifabric/merge-styles
Advanced tools
Comparing version 7.8.7 to 7.8.8
@@ -5,2 +5,16 @@ { | ||
{ | ||
"date": "Thu, 19 Mar 2020 12:25:10 GMT", | ||
"tag": "@uifabric/merge-styles_v7.8.8", | ||
"version": "7.8.8", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "Run prettier: 120 line length, trailing commas", | ||
"author": "elcraig@microsoft.com", | ||
"commit": "b55b99b22a9972f79dd9b0c45dcb983233b2c157" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 25 Feb 2020 12:25:39 GMT", | ||
@@ -7,0 +21,0 @@ "tag": "@uifabric/merge-styles_v7.8.6", |
@@ -1,2 +0,2 @@ | ||
var MergeStyles=function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function s(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),s=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,a=o.length;i<a;i++,s++)r[s]=o[i];return r}var o,i={none:0,insertNode:1,appendChild:2},a="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),u={};try{u=window}catch(e){}var l=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=r({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(o=u.__stylesheet__)||o._lastStyleElement&&o._lastStyleElement.ownerDocument!==document){var t=u&&u.FabricConfig||{};o=u.__stylesheet__=new e(t.mergeStyles)}return o},e.prototype.setConfig=function(e){this._config=r(r({},this._config),e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case i.insertNode:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case i.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),a||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var n=this._config.cspSettings;if(n&&n.nonce&&t.setAttribute("nonce",n.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var r=this._findPlaceholderStyleTag();r?e.insertBefore(t,r.nextElementSibling):e.insertBefore(t,e.childNodes[0])}return this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=l.getInstance();function o(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)o(a.split(" "));else{var u=s.argsFromClassName(a);u?o(u):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?o(a):"object"==typeof a&&r.push(a)}}return o(e),{classes:n,objects:r}}function c(e){d!==e&&(d=e)}function p(){return void 0===d&&(d="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),d}var d=p();function v(){return{rtl:p()}}var h,y={};var g={"user-select":1};function m(e,t){var n=function(){if(!h){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;h=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return h}(),r=e[t];if(g[r]){var s=e[t+1];g[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var _,b=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function S(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=-1===b.indexOf(n)?"px":"";e[t+1]=""+r+s}}var O="left",C="right",x=((_={}).left=C,_.right=O,_),N={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function w(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var s=t[n+1];if("string"==typeof s&&s.indexOf("@noflip")>=0)t[n+1]=s.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(O)>=0)t[n]=r.replace(O,C);else if(r.indexOf(C)>=0)t[n]=r.replace(C,O);else if(String(s).indexOf(O)>=0)t[n+1]=s.replace(O,C);else if(String(s).indexOf(C)>=0)t[n+1]=s.replace(C,O);else if(x[r])t[n]=x[r];else if(N[s])t[n+1]=N[s];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(s);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(s,0)}}}function j(e){var t=e&&e["&"];return t?t.displayName:void 0}var A=/\:global\((.+?)\)/g;function k(e){if(!A.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)}),e)}function E(e,t){return e.indexOf(":global(")>=0?e.replace(A,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function T(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=l.getInstance(),s=t[n];s||(s={},t[n]=s,t.__order.push(n));for(var o=0,i=e;o<i.length;o++){var a=i[o];if("string"==typeof a){var u=r.argsFromClassName(a);u&&T(u,t,n)}else if(Array.isArray(a))T(a,t,n);else for(var f in a)if("selectors"===f){var c=a.selectors,p=function(e){if(c.hasOwnProperty(e)){var r=c[e];0===e.indexOf("@")?T([r],t,e=e+"{"+n):e.indexOf(",")>-1?k(e).split(",").map((function(e){return e.trim()})).forEach((function(e){return T([r],t,E(e,n))})):T([r],t,E(e,n))}};for(var d in c)p(d)}else void 0!==a[f]&&("margin"===f||"padding"===f?P(s,f,a[f]):s[f]=a[f])}return t}function P(e,t,n){var r="string"==typeof n?n.split(" "):[n];e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function R(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,s=0,o=t.__order;s<o.length;s++){var i=o[s];n.push(i);var a=t[i];for(var u in a)a.hasOwnProperty(u)&&void 0!==a[u]&&(r=!0,n.push(u,a[u]))}return r?n.join(""):void 0}function I(e,t){if(!t)return"";var n,r,s,o=[];for(var i in t)t.hasOwnProperty(i)&&"displayName"!==i&&void 0!==t[i]&&o.push(i,t[i]);for(var a=0;a<o.length;a+=2)s=void 0,s=(n=o)[r=a],n[r]=y[s]=y[s]||s.replace(/([A-Z])/g,"-$1").toLowerCase(),S(o,a),w(e,o,a),m(o,a);for(a=1;a<o.length;a+=4)o.splice(a,1,":",o[a],";");return o.join("")}function M(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=T(t),s=R(e,r);if(s){var o=l.getInstance(),i={className:o.classNameFromKey(s),key:s,args:t};if(!i.className){i.className=o.getClassName(j(r));for(var a=[],u=0,f=r.__order;u<f.length;u++){var c=f[u];a.push(c,I(e,r[c]))}i.rulesToInsert=a}return i}}function z(e){var t=l.getInstance(),n=e.className,r=e.key,s=e.args,o=e.rulesToInsert;if(o){for(var i=0;i<o.length;i+=2){var a=o[i+1];if(a){var u=o[i],f=(u=u.replace(/&/g,"."+e.className))+"{"+a+"}"+(0===u.indexOf("@")?"}":"");t.insertRule(f)}}t.cacheClassName(n,r,s,o)}}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return W(e,v())}function W(e,t){var n=f(e instanceof Array?e:[e]),r=n.classes,o=n.objects;return o.length&&r.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=M.apply(void 0,s([e],t));return r?(z(r),r.className):""}(t||{},o)),r.join(" ")}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},r={},o=0,i=e;o<i.length;o++){var a=i[o];if(a)for(var u in a)if(a.hasOwnProperty(u)){if("subComponentStyles"===u&&void 0!==a.subComponentStyles){var l=a.subComponentStyles;for(var f in l)l.hasOwnProperty(f)&&(r.hasOwnProperty(f)?r[f].push(l[f]):r[f]=[l[f]]);continue}var c=n[u],p=a[u];n[u]=void 0===c?p:s(Array.isArray(c)?c:[c],Array.isArray(p)?p:[p])}}if(Object.keys(r).length>0){n.subComponentStyles={};var d=n.subComponentStyles,v=function(e){if(r.hasOwnProperty(e)){var t=r[e];d[e]=function(e){return B.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var f in r)v(f)}return n}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return K(e,v())}function K(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=B.apply(void 0,e),s=[];for(var o in r)if(r.hasOwnProperty(o)){if("subComponentStyles"===o){n.subComponentStyles=r.subComponentStyles||{};continue}var i=f(r[o]),a=i.classes,u=M(t||{},{displayName:o},i.objects);s.push(u),u&&(n[o]=a.concat([u.className]).join(" "))}for(var l=0,c=s;l<c.length;l++){(u=c[l])&&z(u)}return n}function q(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],s=0,o=t;s<o.length;s++){var i=o[s];i&&r.push("function"==typeof i?i(e):i)}return 1===r.length?r[0]:r.length?B.apply(void 0,r):{}}function $(e){l.getInstance().insertRule("@font-face{"+I(v(),e)+"}",!0)}function D(e){var t=l.getInstance(),n=t.getClassName(),r=[];for(var s in e)e.hasOwnProperty(s)&&r.push(s,"{",I(v(),e[s]),"}");var o=r.join("");return t.insertRule("@keyframes "+n+"{"+o+"}",!0),t.cacheClassName(n,o,[],["keyframes",o]),n}var Z={},G=void 0;try{G=window}catch(e){}function H(e,t){if(void 0!==G){var n=G.__packages__=G.__packages__||{};if(!n[e]||!Z[e])Z[e]=t,(n[e]=n[e]||[]).push(t)}}H("@uifabric/set-version","6.0.0"),H("@uifabric/merge-styles","7.8.7"),n.d(t,"mergeStyles",(function(){return F})),n.d(t,"mergeCss",(function(){return W})),n.d(t,"mergeStyleSets",(function(){return L})),n.d(t,"mergeCssSets",(function(){return K})),n.d(t,"concatStyleSets",(function(){return B})),n.d(t,"concatStyleSetsWithProps",(function(){return q})),n.d(t,"fontFace",(function(){return $})),n.d(t,"keyframes",(function(){return D})),n.d(t,"InjectionMode",(function(){return i})),n.d(t,"Stylesheet",(function(){return l})),n.d(t,"setRTL",(function(){return c}))}]); | ||
var MergeStyles=function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function s(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),s=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,a=o.length;i<a;i++,s++)r[s]=o[i];return r}var o,i={none:0,insertNode:1,appendChild:2},a="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),u={};try{u=window}catch(e){}var l=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=r({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(o=u.__stylesheet__)||o._lastStyleElement&&o._lastStyleElement.ownerDocument!==document){var t=u&&u.FabricConfig||{};o=u.__stylesheet__=new e(t.mergeStyles)}return o},e.prototype.setConfig=function(e){this._config=r(r({},this._config),e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case i.insertNode:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case i.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),a||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var n=this._config.cspSettings;if(n&&n.nonce&&t.setAttribute("nonce",n.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var r=this._findPlaceholderStyleTag();r?e.insertBefore(t,r.nextElementSibling):e.insertBefore(t,e.childNodes[0])}return this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=l.getInstance();function o(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)o(a.split(" "));else{var u=s.argsFromClassName(a);u?o(u):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?o(a):"object"==typeof a&&r.push(a)}}return o(e),{classes:n,objects:r}}function c(e){d!==e&&(d=e)}function p(){return void 0===d&&(d="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),d}var d=p();function v(){return{rtl:p()}}var h,y={};var g={"user-select":1};function m(e,t){var n=function(){if(!h){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;h=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return h}(),r=e[t];if(g[r]){var s=e[t+1];g[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var _,b=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function S(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=-1===b.indexOf(n)?"px":"";e[t+1]=""+r+s}}var O="left",C="right",x=((_={}).left=C,_.right=O,_),N={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function w(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var s=t[n+1];if("string"==typeof s&&s.indexOf("@noflip")>=0)t[n+1]=s.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(O)>=0)t[n]=r.replace(O,C);else if(r.indexOf(C)>=0)t[n]=r.replace(C,O);else if(String(s).indexOf(O)>=0)t[n+1]=s.replace(O,C);else if(String(s).indexOf(C)>=0)t[n+1]=s.replace(C,O);else if(x[r])t[n]=x[r];else if(N[s])t[n+1]=N[s];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(s);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(s,0)}}}function j(e){var t=e&&e["&"];return t?t.displayName:void 0}var A=/\:global\((.+?)\)/g;function k(e){if(!A.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)}),e)}function E(e,t){return e.indexOf(":global(")>=0?e.replace(A,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function T(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=l.getInstance(),s=t[n];s||(s={},t[n]=s,t.__order.push(n));for(var o=0,i=e;o<i.length;o++){var a=i[o];if("string"==typeof a){var u=r.argsFromClassName(a);u&&T(u,t,n)}else if(Array.isArray(a))T(a,t,n);else for(var f in a)if("selectors"===f){var c=a.selectors,p=function(e){if(c.hasOwnProperty(e)){var r=c[e];0===e.indexOf("@")?T([r],t,e=e+"{"+n):e.indexOf(",")>-1?k(e).split(",").map((function(e){return e.trim()})).forEach((function(e){return T([r],t,E(e,n))})):T([r],t,E(e,n))}};for(var d in c)p(d)}else void 0!==a[f]&&("margin"===f||"padding"===f?P(s,f,a[f]):s[f]=a[f])}return t}function P(e,t,n){var r="string"==typeof n?n.split(" "):[n];e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function R(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,s=0,o=t.__order;s<o.length;s++){var i=o[s];n.push(i);var a=t[i];for(var u in a)a.hasOwnProperty(u)&&void 0!==a[u]&&(r=!0,n.push(u,a[u]))}return r?n.join(""):void 0}function I(e,t){if(!t)return"";var n,r,s,o=[];for(var i in t)t.hasOwnProperty(i)&&"displayName"!==i&&void 0!==t[i]&&o.push(i,t[i]);for(var a=0;a<o.length;a+=2)s=void 0,s=(n=o)[r=a],n[r]=y[s]=y[s]||s.replace(/([A-Z])/g,"-$1").toLowerCase(),S(o,a),w(e,o,a),m(o,a);for(a=1;a<o.length;a+=4)o.splice(a,1,":",o[a],";");return o.join("")}function M(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=T(t),s=R(e,r);if(s){var o=l.getInstance(),i={className:o.classNameFromKey(s),key:s,args:t};if(!i.className){i.className=o.getClassName(j(r));for(var a=[],u=0,f=r.__order;u<f.length;u++){var c=f[u];a.push(c,I(e,r[c]))}i.rulesToInsert=a}return i}}function z(e){var t=l.getInstance(),n=e.className,r=e.key,s=e.args,o=e.rulesToInsert;if(o){for(var i=0;i<o.length;i+=2){var a=o[i+1];if(a){var u=o[i],f=(u=u.replace(/&/g,"."+e.className))+"{"+a+"}"+(0===u.indexOf("@")?"}":"");t.insertRule(f)}}t.cacheClassName(n,r,s,o)}}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return W(e,v())}function W(e,t){var n=f(e instanceof Array?e:[e]),r=n.classes,o=n.objects;return o.length&&r.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=M.apply(void 0,s([e],t));return r?(z(r),r.className):""}(t||{},o)),r.join(" ")}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},r={},o=0,i=e;o<i.length;o++){var a=i[o];if(a)for(var u in a)if(a.hasOwnProperty(u)){if("subComponentStyles"===u&&void 0!==a.subComponentStyles){var l=a.subComponentStyles;for(var f in l)l.hasOwnProperty(f)&&(r.hasOwnProperty(f)?r[f].push(l[f]):r[f]=[l[f]]);continue}var c=n[u],p=a[u];n[u]=void 0===c?p:s(Array.isArray(c)?c:[c],Array.isArray(p)?p:[p])}}if(Object.keys(r).length>0){n.subComponentStyles={};var d=n.subComponentStyles,v=function(e){if(r.hasOwnProperty(e)){var t=r[e];d[e]=function(e){return B.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var f in r)v(f)}return n}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return K(e,v())}function K(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=B.apply(void 0,e),s=[];for(var o in r)if(r.hasOwnProperty(o)){if("subComponentStyles"===o){n.subComponentStyles=r.subComponentStyles||{};continue}var i=f(r[o]),a=i.classes,u=M(t||{},{displayName:o},i.objects);s.push(u),u&&(n[o]=a.concat([u.className]).join(" "))}for(var l=0,c=s;l<c.length;l++){(u=c[l])&&z(u)}return n}function q(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],s=0,o=t;s<o.length;s++){var i=o[s];i&&r.push("function"==typeof i?i(e):i)}return 1===r.length?r[0]:r.length?B.apply(void 0,r):{}}function $(e){l.getInstance().insertRule("@font-face{"+I(v(),e)+"}",!0)}function D(e){var t=l.getInstance(),n=t.getClassName(),r=[];for(var s in e)e.hasOwnProperty(s)&&r.push(s,"{",I(v(),e[s]),"}");var o=r.join("");return t.insertRule("@keyframes "+n+"{"+o+"}",!0),t.cacheClassName(n,o,[],["keyframes",o]),n}var Z={},G=void 0;try{G=window}catch(e){}function H(e,t){if(void 0!==G){var n=G.__packages__=G.__packages__||{};if(!n[e]||!Z[e])Z[e]=t,(n[e]=n[e]||[]).push(t)}}H("@uifabric/set-version","6.0.0"),H("@uifabric/merge-styles","7.8.8"),n.d(t,"mergeStyles",(function(){return F})),n.d(t,"mergeCss",(function(){return W})),n.d(t,"mergeStyleSets",(function(){return L})),n.d(t,"mergeCssSets",(function(){return K})),n.d(t,"concatStyleSets",(function(){return B})),n.d(t,"concatStyleSetsWithProps",(function(){return q})),n.d(t,"fontFace",(function(){return $})),n.d(t,"keyframes",(function(){return D})),n.d(t,"InjectionMode",(function(){return i})),n.d(t,"Stylesheet",(function(){return l})),n.d(t,"setRTL",(function(){return c}))}]); | ||
//# sourceMappingURL=merge-styles.min.js.map |
@@ -49,3 +49,3 @@ define(["require", "exports", "./Stylesheet"], function (require, exports, Stylesheet_1) { | ||
classes: classes, | ||
objects: objects | ||
objects: objects, | ||
}; | ||
@@ -52,0 +52,0 @@ } |
@@ -15,3 +15,3 @@ define(["require", "exports"], function (require, exports) { | ||
isOpera: true, | ||
isMs: true | ||
isMs: true, | ||
}; | ||
@@ -24,3 +24,3 @@ } | ||
isOpera: !!(userAgent && userAgent.indexOf('opera') > -1), | ||
isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))) | ||
isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))), | ||
}; | ||
@@ -27,0 +27,0 @@ } |
@@ -13,3 +13,3 @@ define(["require", "exports", "./Stylesheet"], function (require, exports, Stylesheet_1) { | ||
injectionMode: Stylesheet_1.InjectionMode.none, | ||
namespace: namespace | ||
namespace: namespace, | ||
}); | ||
@@ -19,3 +19,3 @@ stylesheet.reset(); | ||
html: onRender(), | ||
css: stylesheet.getRules(true) | ||
css: stylesheet.getRules(true), | ||
}; | ||
@@ -22,0 +22,0 @@ } |
@@ -18,3 +18,6 @@ define(["require", "exports"], function (require, exports) { | ||
if (_rtl === undefined) { | ||
_rtl = typeof document !== 'undefined' && !!document.documentElement && document.documentElement.getAttribute('dir') === 'rtl'; | ||
_rtl = | ||
typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'; | ||
} | ||
@@ -27,3 +30,3 @@ return _rtl; | ||
return { | ||
rtl: getRTL() | ||
rtl: getRTL(), | ||
}; | ||
@@ -30,0 +33,0 @@ } |
@@ -16,3 +16,3 @@ define(["require", "exports", "tslib"], function (require, exports, tslib_1) { | ||
*/ | ||
appendChild: 2 | ||
appendChild: 2, | ||
}; | ||
@@ -99,3 +99,3 @@ var STYLESHEET_SETTING = '__stylesheet__'; | ||
args: args, | ||
rules: rules | ||
rules: rules, | ||
}; | ||
@@ -166,3 +166,3 @@ }; | ||
Stylesheet.prototype.getRules = function (includePreservedRules) { | ||
return (includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('') + this._rulesToInsert.join(''); | ||
return ((includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('') + this._rulesToInsert.join('')); | ||
}; | ||
@@ -169,0 +169,0 @@ /** |
@@ -36,3 +36,3 @@ define(["require", "exports", "tslib", "./Stylesheet", "./transforms/kebabRules", "./transforms/prefixRules", "./transforms/provideUnits", "./transforms/rtlifyRules"], function (require, exports, tslib_1, Stylesheet_1, kebabRules_1, prefixRules_1, provideUnits_1, rtlifyRules_1) { | ||
.map(function (v) { return ":global(" + v.trim() + ")"; }) | ||
.join(', ') | ||
.join(', '), | ||
]); | ||
@@ -42,3 +42,5 @@ } | ||
// Replace the found selectors with their wrapped variants in reverse order | ||
return replacementInfo.reverse().reduce(function (selector, _a) { | ||
return replacementInfo | ||
.reverse() | ||
.reduce(function (selector, _a) { | ||
var matchIndex = _a[0], matchEndIndex = _a[1], replacement = _a[2]; | ||
@@ -192,3 +194,3 @@ var prefix = selector.slice(0, matchIndex); | ||
key: key, | ||
args: args | ||
args: args, | ||
}; | ||
@@ -195,0 +197,0 @@ if (!registration.className) { |
@@ -5,3 +5,3 @@ define(["require", "exports", "../getVendorSettings"], function (require, exports, getVendorSettings_1) { | ||
var autoPrefixNames = { | ||
'user-select': 1 | ||
'user-select': 1, | ||
}; | ||
@@ -8,0 +8,0 @@ function prefixRules(rulePairs, index) { |
@@ -14,3 +14,3 @@ define(["require", "exports"], function (require, exports) { | ||
'z-index', | ||
'zoom' | ||
'zoom', | ||
]; | ||
@@ -17,0 +17,0 @@ function provideUnits(rulePairs, index) { |
@@ -15,3 +15,3 @@ define(["require", "exports"], function (require, exports) { | ||
'sw-resize': 'se-resize', | ||
'nw-resize': 'ne-resize' | ||
'nw-resize': 'ne-resize', | ||
}; | ||
@@ -18,0 +18,0 @@ /** |
define(["require", "exports", "@uifabric/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
set_version_1.setVersion('@uifabric/merge-styles', '7.8.7'); | ||
set_version_1.setVersion('@uifabric/merge-styles', '7.8.8'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
@@ -49,3 +49,3 @@ "use strict"; | ||
classes: classes, | ||
objects: objects | ||
objects: objects, | ||
}; | ||
@@ -52,0 +52,0 @@ } |
@@ -14,3 +14,3 @@ "use strict"; | ||
isOpera: true, | ||
isMs: true | ||
isMs: true, | ||
}; | ||
@@ -23,3 +23,3 @@ } | ||
isOpera: !!(userAgent && userAgent.indexOf('opera') > -1), | ||
isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))) | ||
isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))), | ||
}; | ||
@@ -26,0 +26,0 @@ } |
@@ -13,3 +13,3 @@ "use strict"; | ||
injectionMode: Stylesheet_1.InjectionMode.none, | ||
namespace: namespace | ||
namespace: namespace, | ||
}); | ||
@@ -19,3 +19,3 @@ stylesheet.reset(); | ||
html: onRender(), | ||
css: stylesheet.getRules(true) | ||
css: stylesheet.getRules(true), | ||
}; | ||
@@ -22,0 +22,0 @@ } |
@@ -17,3 +17,6 @@ "use strict"; | ||
if (_rtl === undefined) { | ||
_rtl = typeof document !== 'undefined' && !!document.documentElement && document.documentElement.getAttribute('dir') === 'rtl'; | ||
_rtl = | ||
typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'; | ||
} | ||
@@ -26,3 +29,3 @@ return _rtl; | ||
return { | ||
rtl: getRTL() | ||
rtl: getRTL(), | ||
}; | ||
@@ -29,0 +32,0 @@ } |
@@ -16,3 +16,3 @@ "use strict"; | ||
*/ | ||
appendChild: 2 | ||
appendChild: 2, | ||
}; | ||
@@ -99,3 +99,3 @@ var STYLESHEET_SETTING = '__stylesheet__'; | ||
args: args, | ||
rules: rules | ||
rules: rules, | ||
}; | ||
@@ -166,3 +166,3 @@ }; | ||
Stylesheet.prototype.getRules = function (includePreservedRules) { | ||
return (includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('') + this._rulesToInsert.join(''); | ||
return ((includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('') + this._rulesToInsert.join('')); | ||
}; | ||
@@ -169,0 +169,0 @@ /** |
@@ -41,3 +41,3 @@ "use strict"; | ||
.map(function (v) { return ":global(" + v.trim() + ")"; }) | ||
.join(', ') | ||
.join(', '), | ||
]); | ||
@@ -47,3 +47,5 @@ } | ||
// Replace the found selectors with their wrapped variants in reverse order | ||
return replacementInfo.reverse().reduce(function (selector, _a) { | ||
return replacementInfo | ||
.reverse() | ||
.reduce(function (selector, _a) { | ||
var matchIndex = _a[0], matchEndIndex = _a[1], replacement = _a[2]; | ||
@@ -197,3 +199,3 @@ var prefix = selector.slice(0, matchIndex); | ||
key: key, | ||
args: args | ||
args: args, | ||
}; | ||
@@ -200,0 +202,0 @@ if (!registration.className) { |
@@ -5,3 +5,3 @@ "use strict"; | ||
var autoPrefixNames = { | ||
'user-select': 1 | ||
'user-select': 1, | ||
}; | ||
@@ -8,0 +8,0 @@ function prefixRules(rulePairs, index) { |
@@ -13,3 +13,3 @@ "use strict"; | ||
'z-index', | ||
'zoom' | ||
'zoom', | ||
]; | ||
@@ -16,0 +16,0 @@ function provideUnits(rulePairs, index) { |
@@ -14,3 +14,3 @@ "use strict"; | ||
'sw-resize': 'se-resize', | ||
'nw-resize': 'ne-resize' | ||
'nw-resize': 'ne-resize', | ||
}; | ||
@@ -17,0 +17,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// @uifabric/merge-styles@7.8.7 | ||
// @uifabric/merge-styles@7.8.8 | ||
// Do not modify this file, the file is generated as part of publish. The checked in version is a placeholder only. | ||
var set_version_1 = require("@uifabric/set-version"); | ||
set_version_1.setVersion('@uifabric/merge-styles', '7.8.7'); | ||
set_version_1.setVersion('@uifabric/merge-styles', '7.8.8'); | ||
//# sourceMappingURL=version.js.map |
@@ -47,5 +47,5 @@ import { Stylesheet } from './Stylesheet'; | ||
classes: classes, | ||
objects: objects | ||
objects: objects, | ||
}; | ||
} | ||
//# sourceMappingURL=extractStyleParts.js.map |
@@ -12,3 +12,3 @@ var _vendorSettings; | ||
isOpera: true, | ||
isMs: true | ||
isMs: true, | ||
}; | ||
@@ -21,3 +21,3 @@ } | ||
isOpera: !!(userAgent && userAgent.indexOf('opera') > -1), | ||
isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))) | ||
isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))), | ||
}; | ||
@@ -24,0 +24,0 @@ } |
@@ -11,3 +11,3 @@ import { InjectionMode, Stylesheet } from './Stylesheet'; | ||
injectionMode: InjectionMode.none, | ||
namespace: namespace | ||
namespace: namespace, | ||
}); | ||
@@ -17,5 +17,5 @@ stylesheet.reset(); | ||
html: onRender(), | ||
css: stylesheet.getRules(true) | ||
css: stylesheet.getRules(true), | ||
}; | ||
} | ||
//# sourceMappingURL=server.js.map |
@@ -14,3 +14,6 @@ /** | ||
if (_rtl === undefined) { | ||
_rtl = typeof document !== 'undefined' && !!document.documentElement && document.documentElement.getAttribute('dir') === 'rtl'; | ||
_rtl = | ||
typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'; | ||
} | ||
@@ -22,5 +25,5 @@ return _rtl; | ||
return { | ||
rtl: getRTL() | ||
rtl: getRTL(), | ||
}; | ||
} | ||
//# sourceMappingURL=StyleOptionsState.js.map |
@@ -14,3 +14,3 @@ import { __assign } from "tslib"; | ||
*/ | ||
appendChild: 2 | ||
appendChild: 2, | ||
}; | ||
@@ -97,3 +97,3 @@ var STYLESHEET_SETTING = '__stylesheet__'; | ||
args: args, | ||
rules: rules | ||
rules: rules, | ||
}; | ||
@@ -164,3 +164,3 @@ }; | ||
Stylesheet.prototype.getRules = function (includePreservedRules) { | ||
return (includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('') + this._rulesToInsert.join(''); | ||
return ((includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('') + this._rulesToInsert.join('')); | ||
}; | ||
@@ -167,0 +167,0 @@ /** |
@@ -39,3 +39,3 @@ import { __spreadArrays } from "tslib"; | ||
.map(function (v) { return ":global(" + v.trim() + ")"; }) | ||
.join(', ') | ||
.join(', '), | ||
]); | ||
@@ -45,3 +45,5 @@ } | ||
// Replace the found selectors with their wrapped variants in reverse order | ||
return replacementInfo.reverse().reduce(function (selector, _a) { | ||
return replacementInfo | ||
.reverse() | ||
.reduce(function (selector, _a) { | ||
var matchIndex = _a[0], matchEndIndex = _a[1], replacement = _a[2]; | ||
@@ -194,3 +196,3 @@ var prefix = selector.slice(0, matchIndex); | ||
key: key, | ||
args: args | ||
args: args, | ||
}; | ||
@@ -197,0 +199,0 @@ if (!registration.className) { |
import { getVendorSettings } from '../getVendorSettings'; | ||
var autoPrefixNames = { | ||
'user-select': 1 | ||
'user-select': 1, | ||
}; | ||
@@ -5,0 +5,0 @@ export function prefixRules(rulePairs, index) { |
@@ -11,3 +11,3 @@ var NON_PIXEL_NUMBER_PROPS = [ | ||
'z-index', | ||
'zoom' | ||
'zoom', | ||
]; | ||
@@ -14,0 +14,0 @@ export function provideUnits(rulePairs, index) { |
@@ -12,3 +12,3 @@ var _a; | ||
'sw-resize': 'se-resize', | ||
'nw-resize': 'ne-resize' | ||
'nw-resize': 'ne-resize', | ||
}; | ||
@@ -15,0 +15,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
// @uifabric/merge-styles@7.8.7 | ||
// @uifabric/merge-styles@7.8.8 | ||
// Do not modify this file, the file is generated as part of publish. The checked in version is a placeholder only. | ||
import { setVersion } from '@uifabric/set-version'; | ||
setVersion('@uifabric/merge-styles', '7.8.7'); | ||
setVersion('@uifabric/merge-styles', '7.8.8'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@uifabric/merge-styles", | ||
"version": "7.8.7", | ||
"version": "7.8.8", | ||
"description": "Style loading utilities.", | ||
@@ -33,5 +33,5 @@ "main": "lib-commonjs/index.js", | ||
"dependencies": { | ||
"@uifabric/set-version": "^7.0.6", | ||
"@uifabric/set-version": "^7.0.7", | ||
"tslib": "^1.10.0" | ||
} | ||
} |
@@ -72,3 +72,3 @@ # @uifabric/merge-styles | ||
(props: IFooProps) => ({ root: { background: props.foo } }), | ||
(props: IFooProps) => ({ root: { color: props.foo } }) | ||
(props: IFooProps) => ({ root: { color: props.foo } }), | ||
); | ||
@@ -84,3 +84,3 @@ ``` | ||
backgroundColor: 'red', | ||
left: 42 | ||
left: 42, | ||
}; | ||
@@ -109,3 +109,3 @@ ``` | ||
root: { background: 'red' }, | ||
button: { margin: 42 } | ||
button: { margin: 42 }, | ||
}; | ||
@@ -132,12 +132,12 @@ ``` | ||
root: { | ||
background: 'red' | ||
background: 'red', | ||
}, | ||
button: { | ||
backgroundColor: 'green' | ||
backgroundColor: 'green', | ||
}, | ||
buttonIcon: { | ||
margin: 10 | ||
} | ||
margin: 10, | ||
}, | ||
}); | ||
@@ -248,8 +248,8 @@ }; | ||
'@media(max-width: 600px)': { | ||
background: 'green' | ||
background: 'green', | ||
}, | ||
'@supports(display: grid)': { | ||
display: 'grid' | ||
} | ||
} | ||
display: 'grid', | ||
}, | ||
}, | ||
}); | ||
@@ -306,3 +306,3 @@ ``` | ||
root: 'Foo-root', | ||
child: 'Foo-child' | ||
child: 'Foo-child', | ||
}; | ||
@@ -318,7 +318,7 @@ | ||
[`.${classNames.root}:hover &`]: { | ||
background: 'green' | ||
} | ||
} | ||
} | ||
] | ||
background: 'green', | ||
}, | ||
}, | ||
}, | ||
], | ||
}); | ||
@@ -377,8 +377,8 @@ ``` | ||
{ | ||
background: 'red' | ||
background: 'red', | ||
}, | ||
isToggled && { | ||
background: 'green' | ||
} | ||
] | ||
background: 'green', | ||
}, | ||
], | ||
}); | ||
@@ -398,3 +398,3 @@ }; | ||
mergeStyles({ | ||
left: '42px @noflip' | ||
left: '42px @noflip', | ||
}); | ||
@@ -431,3 +431,3 @@ ``` | ||
src: `url("//cdn.com/fontface.woff2) format(woff2)`, | ||
fontWeight: 'normal' | ||
fontWeight: 'normal', | ||
}); | ||
@@ -447,7 +447,7 @@ ``` | ||
from: { | ||
opacity: 0 | ||
opacity: 0, | ||
}, | ||
to: { | ||
opacity: 1 | ||
} | ||
opacity: 1, | ||
}, | ||
}); | ||
@@ -458,4 +458,4 @@ | ||
root: { | ||
animationName: fadeIn | ||
} | ||
animationName: fadeIn, | ||
}, | ||
}); | ||
@@ -517,3 +517,3 @@ }; | ||
Stylesheet.getInstance().setConfig({ | ||
cspSettings: { nonce: 'your nonce here' } | ||
cspSettings: { nonce: 'your nonce here' }, | ||
}); | ||
@@ -527,5 +527,5 @@ ``` | ||
mergeStyles: { | ||
cspSettings: { nonce: 'your nonce here' } | ||
} | ||
cspSettings: { nonce: 'your nonce here' }, | ||
}, | ||
}; | ||
``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1269656
14696
Updated@uifabric/set-version@^7.0.7