@fluentui/react-avatar
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,2 +0,2 @@ | ||
var FabricReactAvatar=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.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 a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));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=7)}([function(e,t){e.exports=React},,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return c}));var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},a="undefined"==typeof window?e:window,o=a&&a.CSPSettings&&a.CSPSettings.nonce,i=function(){var e=a.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=n({},e,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=n({},e,{registeredThemableStyles:[]}));return a.__themeState__=e,e}(),s=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,l=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function u(e){var t=l();e();var r=l();i.perf.duration+=r-t}function c(e,t){void 0===t&&(t=!1),u((function(){var r=Array.isArray(e)?e:p(e),n=i.runState,a=n.mode,o=n.buffer,s=n.flushTimer;t||1===a?(o.push(r),s||(i.runState.flushTimer=setTimeout((function(){i.runState.flushTimer=0,u((function(){var e=i.runState.buffer.slice();i.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&d(t)}))}),0))):d(r)}))}function d(e,t){i.loadStyles?i.loadStyles(f(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],r=document.createElement("style"),n=f(e),a=n.styleString,s=n.themable;r.setAttribute("data-load-themed-styles","true"),r.type="text/css",o&&r.setAttribute("nonce",o);r.appendChild(document.createTextNode(a)),i.perf.count++,t.appendChild(r);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:r},document.dispatchEvent(l);var u={styleElement:r,themableStyle:e};s?i.registeredThemableStyles.push(u):i.registeredStyles.push(u)}(e)}function f(e){var t=i.theme,r=!1;return{styleString:(e||[]).map((function(e){var n=e.theme;if(n){r=!0;var a=t?t[n]:void 0,o=e.defaultValue||"inherit";return t&&!a&&console&&!(n in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+n+'". Falling back to "'+o+'".'),a||o}return e.rawString})).join(""),themable:r}}function p(e){var t=[];if(e){for(var r=0,n=void 0;n=s.exec(e);){var a=n.index;a>r&&t.push({rawString:e.substring(r,a)}),t.push({theme:n[1],defaultValue:n[2]}),r=s.lastIndex}t.push({rawString:e.substring(r)})}return t}}).call(this,r(6))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n={},a=void 0;try{a=window}catch(e){}function o(e,t){if(void 0!==a){var r=a.__packages__=a.__packages__||{};if(!r[e]||!n[e])n[e]=t,(r[e]=r[e]||[]).push(t)}}o("@uifabric/set-version","6.0.0")},,function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r.r(t),r.d(t,"renderAvatar",(function(){return oe})),r.d(t,"useAvatar",(function(){return ie})),r.d(t,"Avatar",(function(){return tt}));var n={};r.r(n),r.d(n,"root",(function(){return Ie})),r.d(n,"image",(function(){return ke})),r.d(n,"label",(function(){return Oe})),r.d(n,"status",(function(){return De})),r.d(n,"_size_smallest",(function(){return Te})),r.d(n,"_size_smaller",(function(){return Pe})),r.d(n,"_size_small",(function(){return je})),r.d(n,"_size_large",(function(){return Ae})),r.d(n,"_size_larger",(function(){return Le})),r.d(n,"_size_largest",(function(){return Me})),r.d(n,"_square",(function(){return Re}));var a={};r.r(a),r.d(a,"root",(function(){return Ve})),r.d(a,"_state_success",(function(){return Ue})),r.d(a,"_state_info",(function(){return qe})),r.d(a,"_state_warning",(function(){return We})),r.d(a,"_state_error",(function(){return He})),r.d(a,"_size_smallest",(function(){return Ke})),r.d(a,"_size_smaller",(function(){return Ge})),r.d(a,"_size_small",(function(){return $e})),r.d(a,"_size_large",(function(){return Je})),r.d(a,"_size_larger",(function(){return Qe})),r.d(a,"_size_largest",(function(){return Xe}));var o=r(4);Object(o.a)("@fluentui/react-avatar","0.2.0"); | ||
var FabricReactAvatar=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.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 a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));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=7)}([function(e,t){e.exports=React},,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return c}));var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},a="undefined"==typeof window?e:window,o=a&&a.CSPSettings&&a.CSPSettings.nonce,i=function(){var e=a.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=n({},e,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=n({},e,{registeredThemableStyles:[]}));return a.__themeState__=e,e}(),s=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,l=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function u(e){var t=l();e();var r=l();i.perf.duration+=r-t}function c(e,t){void 0===t&&(t=!1),u((function(){var r=Array.isArray(e)?e:p(e),n=i.runState,a=n.mode,o=n.buffer,s=n.flushTimer;t||1===a?(o.push(r),s||(i.runState.flushTimer=setTimeout((function(){i.runState.flushTimer=0,u((function(){var e=i.runState.buffer.slice();i.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&d(t)}))}),0))):d(r)}))}function d(e,t){i.loadStyles?i.loadStyles(f(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],r=document.createElement("style"),n=f(e),a=n.styleString,s=n.themable;r.setAttribute("data-load-themed-styles","true"),r.type="text/css",o&&r.setAttribute("nonce",o);r.appendChild(document.createTextNode(a)),i.perf.count++,t.appendChild(r);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:r},document.dispatchEvent(l);var u={styleElement:r,themableStyle:e};s?i.registeredThemableStyles.push(u):i.registeredStyles.push(u)}(e)}function f(e){var t=i.theme,r=!1;return{styleString:(e||[]).map((function(e){var n=e.theme;if(n){r=!0;var a=t?t[n]:void 0,o=e.defaultValue||"inherit";return t&&!a&&console&&!(n in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+n+'". Falling back to "'+o+'".'),a||o}return e.rawString})).join(""),themable:r}}function p(e){var t=[];if(e){for(var r=0,n=void 0;n=s.exec(e);){var a=n.index;a>r&&t.push({rawString:e.substring(r,a)}),t.push({theme:n[1],defaultValue:n[2]}),r=s.lastIndex}t.push({rawString:e.substring(r)})}return t}}).call(this,r(6))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n={},a=void 0;try{a=window}catch(e){}function o(e,t){if(void 0!==a){var r=a.__packages__=a.__packages__||{};if(!r[e]||!n[e])n[e]=t,(r[e]=r[e]||[]).push(t)}}o("@uifabric/set-version","6.0.0")},,function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r.r(t),r.d(t,"renderAvatar",(function(){return oe})),r.d(t,"useAvatar",(function(){return ie})),r.d(t,"Avatar",(function(){return tt}));var n={};r.r(n),r.d(n,"root",(function(){return Ie})),r.d(n,"image",(function(){return ke})),r.d(n,"label",(function(){return Oe})),r.d(n,"status",(function(){return De})),r.d(n,"_size_smallest",(function(){return Te})),r.d(n,"_size_smaller",(function(){return Pe})),r.d(n,"_size_small",(function(){return je})),r.d(n,"_size_large",(function(){return Ae})),r.d(n,"_size_larger",(function(){return Le})),r.d(n,"_size_largest",(function(){return Me})),r.d(n,"_square",(function(){return Re}));var a={};r.r(a),r.d(a,"root",(function(){return Ve})),r.d(a,"_state_success",(function(){return Ue})),r.d(a,"_state_info",(function(){return qe})),r.d(a,"_state_warning",(function(){return We})),r.d(a,"_state_error",(function(){return He})),r.d(a,"_size_smallest",(function(){return Ke})),r.d(a,"_size_smaller",(function(){return Ge})),r.d(a,"_size_small",(function(){return $e})),r.d(a,"_size_large",(function(){return Je})),r.d(a,"_size_larger",(function(){return Qe})),r.d(a,"_size_largest",(function(){return Xe}));var o=r(4);Object(o.a)("@fluentui/react-avatar","0.2.1"); | ||
/*! ***************************************************************************** | ||
@@ -3,0 +3,0 @@ Copyright (c) Microsoft Corporation. All rights reserved. |
define(["require", "exports", "@uifabric/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
set_version_1.setVersion('@fluentui/react-avatar', '0.2.0'); | ||
set_version_1.setVersion('@fluentui/react-avatar', '0.2.1'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
var set_version_1 = require("@uifabric/set-version"); | ||
set_version_1.setVersion('@fluentui/react-avatar', '0.2.0'); | ||
set_version_1.setVersion('@fluentui/react-avatar', '0.2.1'); | ||
//# sourceMappingURL=version.js.map |
// Do not modify this file; it is generated as part of publish. | ||
// The checked in version is a placeholder only and will not be updated. | ||
import { setVersion } from '@uifabric/set-version'; | ||
setVersion('@fluentui/react-avatar', '0.2.0'); | ||
setVersion('@fluentui/react-avatar', '0.2.1'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@fluentui/react-avatar", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "React components for building Microsoft web experiences.", | ||
@@ -31,3 +31,3 @@ "main": "lib-commonjs/index.js", | ||
"@fluentui/react-conformance": "^0.1.0", | ||
"@fluentui/storybook": "^0.3.0", | ||
"@fluentui/storybook": "^0.3.1", | ||
"@types/enzyme": "3.10.3", | ||
@@ -41,3 +41,3 @@ "@types/enzyme-adapter-react-16": "1.0.3", | ||
"@uifabric/build": "^7.0.0", | ||
"@uifabric/jest-serializer-merge-styles": "^7.0.35", | ||
"@uifabric/jest-serializer-merge-styles": "^7.0.36", | ||
"enzyme": "~3.10.0", | ||
@@ -53,8 +53,8 @@ "enzyme-adapter-react-16": "^1.15.0", | ||
"@fluentui/accessibility": "^0.51.0", | ||
"@fluentui/react-compose": "^0.17.0", | ||
"@fluentui/react-stylesheets": "^0.1.16", | ||
"@fluentui/react-theme-provider": "^0.8.0", | ||
"@uifabric/react-hooks": "^7.9.0", | ||
"@uifabric/set-version": "^7.0.21", | ||
"@uifabric/utilities": "^7.29.0", | ||
"@fluentui/react-compose": "^0.17.1", | ||
"@fluentui/react-stylesheets": "^0.1.17", | ||
"@fluentui/react-theme-provider": "^0.8.1", | ||
"@uifabric/react-hooks": "^7.9.1", | ||
"@uifabric/set-version": "^7.0.22", | ||
"@uifabric/utilities": "^7.29.1", | ||
"tslib": "^1.10.0" | ||
@@ -61,0 +61,0 @@ }, |
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