@uifabric/merge-styles
Advanced tools
Comparing version 7.5.0 to 7.5.1
@@ -5,3 +5,17 @@ { | ||
{ | ||
"date": "Mon, 26 Aug 2019 12:29:30 GMT", | ||
"date": "Wed, 04 Sep 2019 04:07:02 GMT", | ||
"tag": "@uifabric/merge-styles_v7.5.1", | ||
"version": "7.5.1", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "fix version file", | ||
"author": "kchau@microsoft.com", | ||
"commit": "fbccfaf91bfe3c77d95c614ac2cb69b7c9e1dad1" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Mon, 26 Aug 2019 12:30:49 GMT", | ||
"tag": "@uifabric/merge-styles_v7.5.0", | ||
@@ -8,0 +22,0 @@ "version": "7.5.0", |
# Change Log - @uifabric/merge-styles | ||
This log was last generated on Mon, 26 Aug 2019 12:29:30 GMT and should not be manually modified. | ||
This log was last generated on Wed, 04 Sep 2019 04:07:02 GMT and should not be manually modified. | ||
## 7.5.1 | ||
Wed, 04 Sep 2019 04:07:02 GMT | ||
### Patches | ||
- fix version file (kchau@microsoft.com) | ||
## 7.5.0 | ||
Mon, 26 Aug 2019 12:29:30 GMT | ||
Mon, 26 Aug 2019 12:30:49 GMT | ||
@@ -8,0 +14,0 @@ ### Minor changes |
@@ -1,2 +0,2 @@ | ||
var MergeStyles=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};var o,i={none:0,insertNode:1,appendChild:2},s="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),a={};try{a=window}catch(e){}var l,f=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=n({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(o=a.__stylesheet__)||o._lastStyleElement&&o._lastStyleElement.ownerDocument!==document){var t=a&&a.FabricConfig||{};o=a.__stylesheet__=new e(t.mergeStyles)}return o},e.prototype.setConfig=function(e){this._config=n({},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,r,n){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:r,rules:n}},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 r=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(this._config.injectionMode){case i.insertNode:var n=r.sheet;try{n.insertRule(e,n.cssRules.length)}catch(e){}break;case i.appendChild:r.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(),s||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 r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var n=this._findPlaceholderStyleTag();n?e.insertBefore(t,n.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}(),u={MozOsxFontSmoothing:"-moz-osx-font-smoothing",MsHighContrastAdjust:"-ms-high-contrast-adjust",WebkitFontSmoothing:"-webkit-font-smoothing",WebkitOverflowScrolling:"-webkit-overflow-scrolling",WebkitTapHighlightColor:"-webkit-tap-highlight-color",alignContent:"align-content",alignItems:"align-items",alignSelf:"align-self",animation:"animation",animationDelay:"animation-delay",animationDirection:"animation-direction",animationDuration:"animation-duration",animationFillMode:"animation-fill-mode",animationIterationCount:"animation-iteration-count",animationName:"animation-name",animationTimingFunction:"animation-timing-function",background:"background",backgroundClip:"background-clip",backgroundColor:"background-color",backgroundImage:"background-image",backgroundPosition:"background-position",border:"border",borderBottom:"border-bottom",borderBottomColor:"border-bottom-color",borderBottomStyle:"border-bottom-style",borderBottomWidth:"border-bottom-width",borderCollapse:"border-collapse",borderColor:"border-color",borderLeft:"border-left",borderRadius:"border-radius",borderRight:"border-right",borderStyle:"border-style",borderTop:"border-top",borderTopColor:"border-top-color",borderTopLeftRadius:"border-top-left-radius",borderTopRightRadius:"border-top-right-radius",borderTopStyle:"border-top-style",borderTopWidth:"border-top-width",borderWidth:"border-width",bordercolor:"bordercolor",bottom:"bottom",boxShadow:"box-shadow",boxSizing:"box-sizing",clear:"clear",color:"color",content:"content",cursor:"cursor",display:"display",fill:"fill",flex:"flex",flexBasis:"flex-basis",flexDirection:"flex-direction",flexGrow:"flex-grow",flexShrink:"flex-shrink",flexWrap:"flex-wrap",float:"float",font:"font",fontFamily:"font-family",fontSize:"font-size",fontStyle:"font-style",fontWeight:"font-weight",height:"height",justifyContent:"justify-content",left:"left",lineHeight:"line-height",listStyle:"list-style",listStyleType:"list-style-type",marginBottom:"margin-bottom",marginLeft:"margin-left",marginRight:"margin-right",marginTop:"margin-top",maxHeight:"max-height",maxWidth:"max-width",minHeight:"min-height",minWidth:"min-width",mozOsxFontSmoothing:"moz-osx-font-smoothing",objectFit:"object-fit",opacity:"opacity",order:"order",outline:"outline",outlineColor:"outline-color",outlineOffset:"outline-offset",overflow:"overflow",overflowWrap:"overflow-wrap",overflowX:"overflow-x",overflowY:"overflow-y",paddingBottom:"padding-bottom",paddingLeft:"padding-left",paddingRight:"padding-right",paddingTop:"padding-top",perspective:"perspective",pointerEvents:"pointer-events",position:"position",resize:"resize",right:"right",speak:"speak",src:"src",tableLayout:"table-layout",textAlign:"text-align",textDecoration:"text-decoration",textOverflow:"text-overflow",textTransform:"text-transform",top:"top",transform:"transform",transformOrigin:"transform-origin",transition:"transition",transitionDelay:"transition-delay",transitionDuration:"transition-duration",transitionProperty:"transition-property",transitionTimingFunction:"transition-timing-function",userSelect:"user-select",verticalAlign:"vertical-align",visibility:"visibility",webkitFontSmoothing:"webkit-font-smoothing",whiteSpace:"white-space",width:"width",wordBreak:"word-break",wordWrap:"word-wrap",zIndex:"z-index"};var c={"user-select":1};function d(e,t){var r=function(){if(!l){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,r=t?t.userAgent.toLowerCase():void 0;l=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.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 l}(),n=e[t];if(c[n]){var o=e[t+1];c[n]&&(r.isWebkit&&e.push("-webkit-"+n,o),r.isMoz&&e.push("-moz-"+n,o),r.isMs&&e.push("-ms-"+n,o),r.isOpera&&e.push("-o-"+n,o))}}var p,g=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function m(e,t){var r=e[t],n=e[t+1];if("number"==typeof n){var o=-1===g.indexOf(r)?"px":"";e[t+1]=""+n+o}}var h="left",y="right",v="@noflip",b=((p={})[h]=y,p[y]=h,p),_={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},x=S();function w(e){x!==e&&(f.getInstance().resetKeys(),x=e)}function S(){return void 0===x&&(x="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),x}function k(e,t){if(S()){var r=e[t];if(!r)return;var n=e[t+1];if("string"==typeof n&&n.indexOf(v)>=0)e[t+1]=n.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(h)>=0)e[t]=r.replace(h,y);else if(r.indexOf(y)>=0)e[t]=r.replace(y,h);else if(String(n).indexOf(h)>=0)e[t+1]=n.replace(h,y);else if(String(n).indexOf(y)>=0)e[t+1]=n.replace(y,h);else if(b[r])e[t]=b[r];else if(_[n])e[t+1]=_[n];else switch(r){case"margin":case"padding":e[t+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}(n);break;case"box-shadow":e[t+1]=function(e,t){var r=e.split(" "),n=parseInt(r[t],10);return r[0]=r[0].replace(String(n),String(-1*n)),r.join(" ")}(n,0)}}}var C="displayName";var O=/\:global\((.+?)\)/g;function N(e){if(!O.test(e))return e;for(var t=[],r=/\:global\((.+?)\)/g,n=null;n=r.exec(e);)n[1].indexOf(",")>-1&&t.push([n.index,n.index+n[0].length,n[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var r=t[0],n=t[1],o=t[2];return e.slice(0,r)+o+e.slice(n)},e)}function T(e,t){return e.indexOf(":global(")>=0?e.replace(O,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function j(e,t,r){var n="string"==typeof r?r.split(" "):[r];e[t+"Top"]=n[0],e[t+"Right"]=n[1]||n[0],e[t+"Bottom"]=n[2]||n[0],e[t+"Left"]=n[3]||n[1]||n[0]}function A(e){if(!e)return"";var t,r,n,o=[];for(var i in e)e.hasOwnProperty(i)&&i!==C&&void 0!==e[i]&&o.push(i,e[i]);for(var s=0;s<o.length;s+=2)n=void 0,n=(t=o)[r=s],t[r]=u[n]=u[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase(),m(o,s),k(o,s),d(o,s);for(s=1;s<o.length;s+=4)o.splice(s,1,":",o[s],";");return o.join("")}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=function e(t,r,n){void 0===r&&(r={__order:[]}),void 0===n&&(n="&");var o=f.getInstance(),i=r[n];i||(i={},r[n]=i,r.__order.push(n));for(var s=0,a=t;s<a.length;s++){var l=a[s];if("string"==typeof l){var u=o.argsFromClassName(l);u&&e(u,r,n)}else if(Array.isArray(l))e(l,r,n);else for(var c in l)if("selectors"===c){var d=l.selectors,p=function(t){if(d.hasOwnProperty(t)){var o=d[t];0===t.indexOf("@")?e([o],r,t=t+"{"+n):t.indexOf(",")>-1?N(t).split(",").map(function(e){return e.trim()}).forEach(function(t){return e([o],r,T(t,n))}):e([o],r,T(t,n))}};for(var g in d)p(g)}else void 0!==l[c]&&("margin"===c||"padding"===c?j(i,c,l[c]):i[c]=l[c])}return r}(e),n=function(e){for(var t=[],r=!1,n=0,o=e.__order;n<o.length;n++){var i=o[n];t.push(i);var s=e[i];for(var a in s)s.hasOwnProperty(a)&&void 0!==s[a]&&(r=!0,t.push(a,s[a]))}return r?t.join(""):void 0}(r);if(n){var o=f.getInstance(),i={className:o.classNameFromKey(n),key:n,args:e};if(!i.className){i.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(r));for(var s=[],a=0,l=r.__order;a<l.length;a++){var u=l[a];s.push(u,A(r[u]))}i.rulesToInsert=s}return i}}function z(e){var t=f.getInstance(),r=e.className,n=e.key,o=e.args,i=e.rulesToInsert;if(i){for(var s=0;s<i.length;s+=2){var a=i[s+1];if(a){var l=i[s],u=(l=l.replace(/&/g,"."+e.className))+"{"+a+"}"+(0===l.indexOf("@")?"}":"");t.insertRule(u)}}t.cacheClassName(r,n,o,i)}}function E(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=[],n=[],o=f.getInstance();return function e(t){for(var i=0,s=t;i<s.length;i++){var a=s[i];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)e(a.split(" "));else{var l=o.argsFromClassName(a);l?e(l):-1===r.indexOf(a)&&r.push(a)}else Array.isArray(a)?e(a):"object"==typeof a&&n.push(a)}}(e),{classes:r,objects:n}}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=E(e),n=r.classes,o=r.objects;return o.length&&n.push(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=R.apply(void 0,e);return r?(z(r),r.className):""}(o)),n.join(" ")}function P(){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 r={},n={},o=0,i=e;o<i.length;o++){var s=i[o];if(s)for(var a in s)if(s.hasOwnProperty(a)){if("subComponentStyles"===a&&void 0!==s.subComponentStyles){var l=s.subComponentStyles;for(var f in l)l.hasOwnProperty(f)&&(n.hasOwnProperty(f)?n[f].push(l[f]):n[f]=[l[f]]);continue}var u=r[a],c=s[a];r[a]=void 0===u?c:(Array.isArray(u)?u:[u]).concat(Array.isArray(c)?c:[c])}}if(Object.keys(n).length>0){r.subComponentStyles={};var d=r.subComponentStyles,p=function(e){if(n.hasOwnProperty(e)){var t=n[e];d[e]=function(e){return P.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var f in n)p(f)}return r}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var n=P.apply(void 0,e),o=[];for(var i in n)if(n.hasOwnProperty(i)){if("subComponentStyles"===i){r.subComponentStyles=n.subComponentStyles||{};continue}var s=E(n[i]),a=s.classes,l=R({displayName:i},s.objects);o.push(l),l&&(r[i]=a.concat([l.className]).join(" "))}for(var f=0,u=o;f<u.length;f++){(l=u[f])&&z(l)}return r}function M(e){f.getInstance().insertRule("@font-face{"+A(e)+"}",!0)}function W(e){var t=f.getInstance(),r=t.getClassName(),n=[];for(var o in e)e.hasOwnProperty(o)&&n.push(o,"{",A(e[o]),"}");var i=n.join("");return t.insertRule("@keyframes "+r+"{"+i+"}",!0),t.cacheClassName(r,i,[],["keyframes",i]),r}var B={},L=void 0;try{L=window}catch(e){}function D(e,t){if(void 0!==L){var r=L.__packages__=L.__packages__||{};if(!r[e]||!B[e])B[e]=t,(r[e]=r[e]||[]).push(t)}}D("@uifabric/set-version","6.0.0"),D("@uifabric/merge-styles","6.17.4"),r.d(t,"mergeStyles",function(){return I}),r.d(t,"mergeStyleSets",function(){return F}),r.d(t,"concatStyleSets",function(){return P}),r.d(t,"fontFace",function(){return M}),r.d(t,"keyframes",function(){return W}),r.d(t,"InjectionMode",function(){return i}),r.d(t,"Stylesheet",function(){return f}),r.d(t,"setRTL",function(){return w})}]); | ||
var MergeStyles=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};var o,i={none:0,insertNode:1,appendChild:2},s="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),a={};try{a=window}catch(e){}var l,f=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=n({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(o=a.__stylesheet__)||o._lastStyleElement&&o._lastStyleElement.ownerDocument!==document){var t=a&&a.FabricConfig||{};o=a.__stylesheet__=new e(t.mergeStyles)}return o},e.prototype.setConfig=function(e){this._config=n({},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,r,n){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:r,rules:n}},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 r=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(this._config.injectionMode){case i.insertNode:var n=r.sheet;try{n.insertRule(e,n.cssRules.length)}catch(e){}break;case i.appendChild:r.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(),s||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 r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var n=this._findPlaceholderStyleTag();n?e.insertBefore(t,n.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}(),u={MozOsxFontSmoothing:"-moz-osx-font-smoothing",MsHighContrastAdjust:"-ms-high-contrast-adjust",WebkitFontSmoothing:"-webkit-font-smoothing",WebkitOverflowScrolling:"-webkit-overflow-scrolling",WebkitTapHighlightColor:"-webkit-tap-highlight-color",alignContent:"align-content",alignItems:"align-items",alignSelf:"align-self",animation:"animation",animationDelay:"animation-delay",animationDirection:"animation-direction",animationDuration:"animation-duration",animationFillMode:"animation-fill-mode",animationIterationCount:"animation-iteration-count",animationName:"animation-name",animationTimingFunction:"animation-timing-function",background:"background",backgroundClip:"background-clip",backgroundColor:"background-color",backgroundImage:"background-image",backgroundPosition:"background-position",border:"border",borderBottom:"border-bottom",borderBottomColor:"border-bottom-color",borderBottomStyle:"border-bottom-style",borderBottomWidth:"border-bottom-width",borderCollapse:"border-collapse",borderColor:"border-color",borderLeft:"border-left",borderRadius:"border-radius",borderRight:"border-right",borderStyle:"border-style",borderTop:"border-top",borderTopColor:"border-top-color",borderTopLeftRadius:"border-top-left-radius",borderTopRightRadius:"border-top-right-radius",borderTopStyle:"border-top-style",borderTopWidth:"border-top-width",borderWidth:"border-width",bordercolor:"bordercolor",bottom:"bottom",boxShadow:"box-shadow",boxSizing:"box-sizing",clear:"clear",color:"color",content:"content",cursor:"cursor",display:"display",fill:"fill",flex:"flex",flexBasis:"flex-basis",flexDirection:"flex-direction",flexGrow:"flex-grow",flexShrink:"flex-shrink",flexWrap:"flex-wrap",float:"float",font:"font",fontFamily:"font-family",fontSize:"font-size",fontStyle:"font-style",fontWeight:"font-weight",height:"height",justifyContent:"justify-content",left:"left",lineHeight:"line-height",listStyle:"list-style",listStyleType:"list-style-type",marginBottom:"margin-bottom",marginLeft:"margin-left",marginRight:"margin-right",marginTop:"margin-top",maxHeight:"max-height",maxWidth:"max-width",minHeight:"min-height",minWidth:"min-width",mozOsxFontSmoothing:"moz-osx-font-smoothing",objectFit:"object-fit",opacity:"opacity",order:"order",outline:"outline",outlineColor:"outline-color",outlineOffset:"outline-offset",overflow:"overflow",overflowWrap:"overflow-wrap",overflowX:"overflow-x",overflowY:"overflow-y",paddingBottom:"padding-bottom",paddingLeft:"padding-left",paddingRight:"padding-right",paddingTop:"padding-top",perspective:"perspective",pointerEvents:"pointer-events",position:"position",resize:"resize",right:"right",speak:"speak",src:"src",tableLayout:"table-layout",textAlign:"text-align",textDecoration:"text-decoration",textOverflow:"text-overflow",textTransform:"text-transform",top:"top",transform:"transform",transformOrigin:"transform-origin",transition:"transition",transitionDelay:"transition-delay",transitionDuration:"transition-duration",transitionProperty:"transition-property",transitionTimingFunction:"transition-timing-function",userSelect:"user-select",verticalAlign:"vertical-align",visibility:"visibility",webkitFontSmoothing:"webkit-font-smoothing",whiteSpace:"white-space",width:"width",wordBreak:"word-break",wordWrap:"word-wrap",zIndex:"z-index"};var c={"user-select":1};function d(e,t){var r=function(){if(!l){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,r=t?t.userAgent.toLowerCase():void 0;l=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.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 l}(),n=e[t];if(c[n]){var o=e[t+1];c[n]&&(r.isWebkit&&e.push("-webkit-"+n,o),r.isMoz&&e.push("-moz-"+n,o),r.isMs&&e.push("-ms-"+n,o),r.isOpera&&e.push("-o-"+n,o))}}var p,g=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function m(e,t){var r=e[t],n=e[t+1];if("number"==typeof n){var o=-1===g.indexOf(r)?"px":"";e[t+1]=""+n+o}}var h="left",y="right",v="@noflip",b=((p={})[h]=y,p[y]=h,p),_={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},x=S();function w(e){x!==e&&(f.getInstance().resetKeys(),x=e)}function S(){return void 0===x&&(x="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),x}function k(e,t){if(S()){var r=e[t];if(!r)return;var n=e[t+1];if("string"==typeof n&&n.indexOf(v)>=0)e[t+1]=n.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(h)>=0)e[t]=r.replace(h,y);else if(r.indexOf(y)>=0)e[t]=r.replace(y,h);else if(String(n).indexOf(h)>=0)e[t+1]=n.replace(h,y);else if(String(n).indexOf(y)>=0)e[t+1]=n.replace(y,h);else if(b[r])e[t]=b[r];else if(_[n])e[t+1]=_[n];else switch(r){case"margin":case"padding":e[t+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}(n);break;case"box-shadow":e[t+1]=function(e,t){var r=e.split(" "),n=parseInt(r[t],10);return r[0]=r[0].replace(String(n),String(-1*n)),r.join(" ")}(n,0)}}}var C="displayName";var O=/\:global\((.+?)\)/g;function N(e){if(!O.test(e))return e;for(var t=[],r=/\:global\((.+?)\)/g,n=null;n=r.exec(e);)n[1].indexOf(",")>-1&&t.push([n.index,n.index+n[0].length,n[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var r=t[0],n=t[1],o=t[2];return e.slice(0,r)+o+e.slice(n)},e)}function T(e,t){return e.indexOf(":global(")>=0?e.replace(O,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function j(e,t,r){var n="string"==typeof r?r.split(" "):[r];e[t+"Top"]=n[0],e[t+"Right"]=n[1]||n[0],e[t+"Bottom"]=n[2]||n[0],e[t+"Left"]=n[3]||n[1]||n[0]}function A(e){if(!e)return"";var t,r,n,o=[];for(var i in e)e.hasOwnProperty(i)&&i!==C&&void 0!==e[i]&&o.push(i,e[i]);for(var s=0;s<o.length;s+=2)n=void 0,n=(t=o)[r=s],t[r]=u[n]=u[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase(),m(o,s),k(o,s),d(o,s);for(s=1;s<o.length;s+=4)o.splice(s,1,":",o[s],";");return o.join("")}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=function e(t,r,n){void 0===r&&(r={__order:[]}),void 0===n&&(n="&");var o=f.getInstance(),i=r[n];i||(i={},r[n]=i,r.__order.push(n));for(var s=0,a=t;s<a.length;s++){var l=a[s];if("string"==typeof l){var u=o.argsFromClassName(l);u&&e(u,r,n)}else if(Array.isArray(l))e(l,r,n);else for(var c in l)if("selectors"===c){var d=l.selectors,p=function(t){if(d.hasOwnProperty(t)){var o=d[t];0===t.indexOf("@")?e([o],r,t=t+"{"+n):t.indexOf(",")>-1?N(t).split(",").map(function(e){return e.trim()}).forEach(function(t){return e([o],r,T(t,n))}):e([o],r,T(t,n))}};for(var g in d)p(g)}else void 0!==l[c]&&("margin"===c||"padding"===c?j(i,c,l[c]):i[c]=l[c])}return r}(e),n=function(e){for(var t=[],r=!1,n=0,o=e.__order;n<o.length;n++){var i=o[n];t.push(i);var s=e[i];for(var a in s)s.hasOwnProperty(a)&&void 0!==s[a]&&(r=!0,t.push(a,s[a]))}return r?t.join(""):void 0}(r);if(n){var o=f.getInstance(),i={className:o.classNameFromKey(n),key:n,args:e};if(!i.className){i.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(r));for(var s=[],a=0,l=r.__order;a<l.length;a++){var u=l[a];s.push(u,A(r[u]))}i.rulesToInsert=s}return i}}function z(e){var t=f.getInstance(),r=e.className,n=e.key,o=e.args,i=e.rulesToInsert;if(i){for(var s=0;s<i.length;s+=2){var a=i[s+1];if(a){var l=i[s],u=(l=l.replace(/&/g,"."+e.className))+"{"+a+"}"+(0===l.indexOf("@")?"}":"");t.insertRule(u)}}t.cacheClassName(r,n,o,i)}}function E(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=[],n=[],o=f.getInstance();return function e(t){for(var i=0,s=t;i<s.length;i++){var a=s[i];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)e(a.split(" "));else{var l=o.argsFromClassName(a);l?e(l):-1===r.indexOf(a)&&r.push(a)}else Array.isArray(a)?e(a):"object"==typeof a&&n.push(a)}}(e),{classes:r,objects:n}}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=E(e),n=r.classes,o=r.objects;return o.length&&n.push(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=R.apply(void 0,e);return r?(z(r),r.className):""}(o)),n.join(" ")}function P(){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 r={},n={},o=0,i=e;o<i.length;o++){var s=i[o];if(s)for(var a in s)if(s.hasOwnProperty(a)){if("subComponentStyles"===a&&void 0!==s.subComponentStyles){var l=s.subComponentStyles;for(var f in l)l.hasOwnProperty(f)&&(n.hasOwnProperty(f)?n[f].push(l[f]):n[f]=[l[f]]);continue}var u=r[a],c=s[a];r[a]=void 0===u?c:(Array.isArray(u)?u:[u]).concat(Array.isArray(c)?c:[c])}}if(Object.keys(n).length>0){r.subComponentStyles={};var d=r.subComponentStyles,p=function(e){if(n.hasOwnProperty(e)){var t=n[e];d[e]=function(e){return P.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var f in n)p(f)}return r}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var n=P.apply(void 0,e),o=[];for(var i in n)if(n.hasOwnProperty(i)){if("subComponentStyles"===i){r.subComponentStyles=n.subComponentStyles||{};continue}var s=E(n[i]),a=s.classes,l=R({displayName:i},s.objects);o.push(l),l&&(r[i]=a.concat([l.className]).join(" "))}for(var f=0,u=o;f<u.length;f++){(l=u[f])&&z(l)}return r}function M(e){f.getInstance().insertRule("@font-face{"+A(e)+"}",!0)}function W(e){var t=f.getInstance(),r=t.getClassName(),n=[];for(var o in e)e.hasOwnProperty(o)&&n.push(o,"{",A(e[o]),"}");var i=n.join("");return t.insertRule("@keyframes "+r+"{"+i+"}",!0),t.cacheClassName(r,i,[],["keyframes",i]),r}var B={},L=void 0;try{L=window}catch(e){}function D(e,t){if(void 0!==L){var r=L.__packages__=L.__packages__||{};if(!r[e]||!B[e])B[e]=t,(r[e]=r[e]||[]).push(t)}}D("@uifabric/set-version","6.0.0"),D("@uifabric/merge-styles","7.5.1"),r.d(t,"mergeStyles",function(){return I}),r.d(t,"mergeStyleSets",function(){return F}),r.d(t,"concatStyleSets",function(){return P}),r.d(t,"fontFace",function(){return M}),r.d(t,"keyframes",function(){return W}),r.d(t,"InjectionMode",function(){return i}),r.d(t,"Stylesheet",function(){return f}),r.d(t,"setRTL",function(){return w})}]); | ||
//# sourceMappingURL=merge-styles.min.js.map |
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', '6.17.4'); | ||
set_version_1.setVersion('@uifabric/merge-styles', '7.5.1'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// @uifabric/merge-styles@6.17.4 | ||
// @uifabric/merge-styles@7.5.1 | ||
// 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', '6.17.4'); | ||
set_version_1.setVersion('@uifabric/merge-styles', '7.5.1'); | ||
//# sourceMappingURL=version.js.map |
@@ -1,5 +0,5 @@ | ||
// @uifabric/merge-styles@6.17.4 | ||
// @uifabric/merge-styles@7.5.1 | ||
// 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', '6.17.4'); | ||
setVersion('@uifabric/merge-styles', '7.5.1'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@uifabric/merge-styles", | ||
"version": "7.5.0", | ||
"version": "7.5.1", | ||
"description": "Style loading utilities.", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
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
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
1231885
14336