@zendeskgarden/react-avatars
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -194,3 +194,3 @@ /*! | ||
'data-garden-id': AVATARS_COMPONENT_ID, | ||
'data-garden-version': "6.0.0", | ||
'data-garden-version': "6.0.1", | ||
className: external_classnames_default()(dist_default.a['c-avatar'], (_classNames = {}, _defineProperty(_classNames, dist_default.a['c-avatar--system'], props.isSystem), _defineProperty(_classNames, dist_default.a['c-avatar--xs'], props.size === SIZE.EXTRASMALL), _defineProperty(_classNames, dist_default.a['c-avatar--sm'], props.size === SIZE.SMALL), _defineProperty(_classNames, dist_default.a['c-avatar--lg'], props.size === SIZE.LARGE), _defineProperty(_classNames, dist_default.a['is-available'], props.status === STATUS.AVAILABLE), _defineProperty(_classNames, dist_default.a['is-active'], props.status === STATUS.ACTIVE), _defineProperty(_classNames, dist_default.a['is-away'], props.status === STATUS.AWAY), _defineProperty(_classNames, dist_default.a['is-rtl'], Object(react_theming_["isRtl"])(props)), _classNames)) | ||
@@ -217,3 +217,3 @@ }; | ||
'data-garden-id': BADGE_COMPONENT_ID, | ||
'data-garden-version': "6.0.0", | ||
'data-garden-version': "6.0.1", | ||
className: dist_default.a['c-avatar__badge'] | ||
@@ -233,3 +233,3 @@ }).withConfig({ | ||
'data-garden-id': TEXT_COMPONENT_ID, | ||
'data-garden-version': "6.0.0", | ||
'data-garden-version': "6.0.1", | ||
className: dist_default.a['c-avatar__txt'] | ||
@@ -236,0 +236,0 @@ }).withConfig({ |
@@ -18,3 +18,3 @@ /*! | ||
*/ | ||
!function(){"use strict";var s={}.hasOwnProperty;function o(){for(var e=[],a=0;a<arguments.length;a++){var t=arguments[a];if(t){var r=typeof t;if("string"==r||"number"==r)e.push(t);else if(Array.isArray(t)&&t.length){var n=o.apply(null,t);n&&e.push(n)}else if("object"==r)for(var i in t)s.call(t,i)&&t[i]&&e.push(i)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(a,[]))||(e.exports=r)}()},function(e,a,t){"use strict";t.r(a);var r=t(2),c=t.n(r),n=t(1),i=t.n(n),s=t(4),o=t.n(s),l=t(5),u=t.n(l),_=t(3),d=t(0),v=t.n(d);function f(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var p="avatars.avatar",y="extrasmall",m="small",g="large",b="available",x="active",O="away",h=o.a.figure.attrs(function(e){var a;return{"data-garden-id":p,"data-garden-version":"6.0.0",className:u()(v.a["c-avatar"],(a={},f(a,v.a["c-avatar--system"],e.isSystem),f(a,v.a["c-avatar--xs"],e.size===y),f(a,v.a["c-avatar--sm"],e.size===m),f(a,v.a["c-avatar--lg"],e.size===g),f(a,v.a["is-available"],e.status===b),f(a,v.a["is-active"],e.status===x),f(a,v.a["is-away"],e.status===O),f(a,v.a["is-rtl"],Object(_.isRtl)(e)),a))}}).withConfig({displayName:"styled__StyledAvatar",componentId:"sqcyr7-0"})(["",";"],function(e){return Object(_.retrieveTheme)(p,e)});h.propTypes={isSystem:i.a.bool,size:i.a.oneOf([y,m,g]),status:i.a.oneOf([b,x,O])};var j="avatars.badge",S=o.a.figcaption.attrs({"data-garden-id":j,"data-garden-version":"6.0.0",className:v.a["c-avatar__badge"]}).withConfig({displayName:"styled__StyledBadge",componentId:"sqcyr7-1"})(["",";"],function(e){return Object(_.retrieveTheme)(j,e)}),w="avatars.text",z=o.a.span.attrs({"data-garden-id":w,"data-garden-version":"6.0.0",className:v.a["c-avatar__txt"]}).withConfig({displayName:"styled__StyledText",componentId:"sqcyr7-2"})(["",";"],function(e){return Object(_.retrieveTheme)(w,e)});function P(){return(P=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function T(e,a){if(null==e)return{};var t,r,n=function(e,a){if(null==e)return{};var t,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],0<=a.indexOf(t)||(n[t]=e[t]);return n}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],0<=a.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function q(e){var a=e.isSystem,t=e.size,r=e.status,n=e.children,i=e.badge,s=T(e,["isSystem","size","status","children","badge"]),o=r;return r===M&&void 0!==i&&(o=I),c.a.createElement(h,P({isSystem:a,size:t,status:o,"aria-live":"polite"},s),n,c.a.createElement(function(){return void 0===r||r===k?null:o===M?c.a.createElement(S,null):c.a.createElement(S,null,i)},null))}var N="extrasmall",A="small",E="large",M="available",I="active",k="away";q.propTypes={isSystem:i.a.bool,badge:i.a.node,size:i.a.oneOf([N,A,E]),status:i.a.oneOf([M,k]),children:i.a.node};var G=q,R=z;t.d(a,"Avatar",function(){return G}),t.d(a,"Text",function(){return R})}],s.c=c,s.d=function(e,a,t){s.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(a,e){if(1&e&&(a=s(a)),8&e)return a;if(4&e&&"object"==typeof a&&a&&a.__esModule)return a;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:a}),2&e&&"string"!=typeof a)for(var r in a)s.d(t,r,function(e){return a[e]}.bind(null,r));return t},s.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(a,"a",a),a},s.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},s.p="",s(s.s=6);function s(e){if(c[e])return c[e].exports;var a=c[e]={i:e,l:!1,exports:{}};return o[e].call(a.exports,a,a.exports,s),a.l=!0,a.exports}var o,c}); | ||
!function(){"use strict";var s={}.hasOwnProperty;function o(){for(var e=[],a=0;a<arguments.length;a++){var t=arguments[a];if(t){var r=typeof t;if("string"==r||"number"==r)e.push(t);else if(Array.isArray(t)&&t.length){var n=o.apply(null,t);n&&e.push(n)}else if("object"==r)for(var i in t)s.call(t,i)&&t[i]&&e.push(i)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(a,[]))||(e.exports=r)}()},function(e,a,t){"use strict";t.r(a);var r=t(2),c=t.n(r),n=t(1),i=t.n(n),s=t(4),o=t.n(s),l=t(5),u=t.n(l),_=t(3),d=t(0),v=t.n(d);function f(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var p="avatars.avatar",y="extrasmall",m="small",g="large",b="available",x="active",O="away",h=o.a.figure.attrs(function(e){var a;return{"data-garden-id":p,"data-garden-version":"6.0.1",className:u()(v.a["c-avatar"],(a={},f(a,v.a["c-avatar--system"],e.isSystem),f(a,v.a["c-avatar--xs"],e.size===y),f(a,v.a["c-avatar--sm"],e.size===m),f(a,v.a["c-avatar--lg"],e.size===g),f(a,v.a["is-available"],e.status===b),f(a,v.a["is-active"],e.status===x),f(a,v.a["is-away"],e.status===O),f(a,v.a["is-rtl"],Object(_.isRtl)(e)),a))}}).withConfig({displayName:"styled__StyledAvatar",componentId:"sqcyr7-0"})(["",";"],function(e){return Object(_.retrieveTheme)(p,e)});h.propTypes={isSystem:i.a.bool,size:i.a.oneOf([y,m,g]),status:i.a.oneOf([b,x,O])};var j="avatars.badge",S=o.a.figcaption.attrs({"data-garden-id":j,"data-garden-version":"6.0.1",className:v.a["c-avatar__badge"]}).withConfig({displayName:"styled__StyledBadge",componentId:"sqcyr7-1"})(["",";"],function(e){return Object(_.retrieveTheme)(j,e)}),w="avatars.text",z=o.a.span.attrs({"data-garden-id":w,"data-garden-version":"6.0.1",className:v.a["c-avatar__txt"]}).withConfig({displayName:"styled__StyledText",componentId:"sqcyr7-2"})(["",";"],function(e){return Object(_.retrieveTheme)(w,e)});function P(){return(P=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function T(e,a){if(null==e)return{};var t,r,n=function(e,a){if(null==e)return{};var t,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],0<=a.indexOf(t)||(n[t]=e[t]);return n}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],0<=a.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function q(e){var a=e.isSystem,t=e.size,r=e.status,n=e.children,i=e.badge,s=T(e,["isSystem","size","status","children","badge"]),o=r;return r===M&&void 0!==i&&(o=I),c.a.createElement(h,P({isSystem:a,size:t,status:o,"aria-live":"polite"},s),n,c.a.createElement(function(){return void 0===r||r===k?null:o===M?c.a.createElement(S,null):c.a.createElement(S,null,i)},null))}var N="extrasmall",A="small",E="large",M="available",I="active",k="away";q.propTypes={isSystem:i.a.bool,badge:i.a.node,size:i.a.oneOf([N,A,E]),status:i.a.oneOf([M,k]),children:i.a.node};var G=q,R=z;t.d(a,"Avatar",function(){return G}),t.d(a,"Text",function(){return R})}],s.c=c,s.d=function(e,a,t){s.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(a,e){if(1&e&&(a=s(a)),8&e)return a;if(4&e&&"object"==typeof a&&a&&a.__esModule)return a;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:a}),2&e&&"string"!=typeof a)for(var r in a)s.d(t,r,function(e){return a[e]}.bind(null,r));return t},s.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(a,"a",a),a},s.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},s.p="",s(s.s=6);function s(e){if(c[e])return c[e].exports;var a=c[e]={i:e,l:!1,exports:{}};return o[e].call(a.exports,a,a.exports,s),a.l=!0,a.exports}var o,c}); | ||
//# sourceMappingURL=bundle.min.js.map |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"main": "./dist/index.js", | ||
@@ -34,3 +34,3 @@ "files": [ | ||
"@zendeskgarden/css-avatars": "5.0.0", | ||
"@zendeskgarden/react-theming": "^6.0.0" | ||
"@zendeskgarden/react-theming": "^6.0.1" | ||
}, | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
"zendeskgarden:src": "src/index.js", | ||
"gitHead": "875fecaebf722e7bfdca5d7f765eca82701be8b7" | ||
"gitHead": "7213158d7b0e3421d292d34bcad6724ffe727b0c" | ||
} |
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