Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ied/badge

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ied/badge - npm Package Compare versions

Comparing version 1.0.0-beta.6 to 1.0.0-beta.7

2

dist/bundle.js

@@ -1,2 +0,2 @@

!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("react"),require("@ied/color"),require("@ied/icon"),require("styled-components"));else if("function"==typeof define&&define.amd)define(["react","@ied/color","@ied/icon","styled-components"],n);else{var t="object"==typeof exports?n(require("react"),require("@ied/color"),require("@ied/icon"),require("styled-components")):n(e.react,e["@ied/color"],e["@ied/icon"],e["styled-components"]);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}("undefined"!=typeof self?self:this,function(e,n,t,r){return function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var t={};return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get: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,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=0)}([function(e,n,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(this,arguments)}function i(e,n){var t=[],r=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(r=(u=c.next()).done)&&(t.push(u.value),!n||t.length!==n);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return t}function u(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return i(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=r(t(1)),a=t(2),l=r(t(3)),f=t(4),s=function(e){var n=e.firstName,t=e.lastName,r=e.icon;e.small;if(n&&t){var i=u(n,1),s=i[0],d=u(t,1),p=d[0],y=(0,a.getColorFromString)("".concat(n).concat(t));return c.default.createElement(f.Container,o({},e,{color:y}),"".concat(s).concat(p))}return c.default.createElement(f.Container,e,c.default.createElement(l.default,null,r||"people"))},d=s;n.default=d},function(n,t){n.exports=e},function(e,t){e.exports=n},function(e,n){e.exports=t},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Container=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(t(5)),o=function(e,n){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}(["\n font-family: Open sans, sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: white;\n background-color: ",";\n width: ",";\n height: ",";\n font-size: ",";\n ",";\n"],["\n font-family: Open sans, sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: white;\n background-color: ",";\n width: ",";\n height: ",";\n font-size: ",";\n ",";\n"]),i=r.default.div(o,function(e){return e.color||"grey"},function(e){return e.small?"30px":"40px"},function(e){return e.small?"30px":"40px"},function(e){return e.small?"13px":"16px"},function(e){return e.small&&"\n i{\n font-size: 16px;\n }\n "});n.Container=i},function(e,n){e.exports=r}])});
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("react"),require("@ied/color"),require("@ied/icon"),require("styled-components"));else if("function"==typeof define&&define.amd)define(["react","@ied/color","@ied/icon","styled-components"],n);else{var t="object"==typeof exports?n(require("react"),require("@ied/color"),require("@ied/icon"),require("styled-components")):n(e.react,e["@ied/color"],e["@ied/icon"],e["styled-components"]);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}("undefined"!=typeof self?self:this,function(e,n,t,r){return function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var t={};return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get: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,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=0)}([function(e,n,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(this,arguments)}function i(e,n){var t=[],r=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(r=(u=c.next()).done)&&(t.push(u.value),!n||t.length!==n);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return t}function u(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return i(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=r(t(1)),a=t(2),l=r(t(3)),f=t(4),s=function(e){var n=e.firstName,t=e.lastName,r=e.icon;e.small;if(n&&t){var i=u(n,1),s=i[0],d=u(t,1),p=d[0],y=(0,a.getColorFromString)("".concat(n).concat(t));return c.default.createElement(f.Container,o({},e,{color:y}),"".concat(s.toUpperCase()).concat(p.toUpperCase()))}return c.default.createElement(f.Container,e,c.default.createElement(l.default,null,r||"people"))},d=s;n.default=d},function(n,t){n.exports=e},function(e,t){e.exports=n},function(e,n){e.exports=t},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Container=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(t(5)),o=function(e,n){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}(["\n font-family: Open sans, sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: white;\n background-color: ",";\n width: ",";\n height: ",";\n font-size: ",";\n ",";\n"],["\n font-family: Open sans, sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: white;\n background-color: ",";\n width: ",";\n height: ",";\n font-size: ",";\n ",";\n"]),i=r.default.div(o,function(e){return e.color||"grey"},function(e){return e.small?"30px":"40px"},function(e){return e.small?"30px":"40px"},function(e){return e.small?"13px":"16px"},function(e){return e.small&&"\n i{\n font-size: 16px;\n }\n "});n.Container=i},function(e,n){e.exports=r}])});
//# sourceMappingURL=bundle.js.map
{
"name": "@ied/badge",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"main": "dist/bundle.js",

@@ -5,0 +5,0 @@ "author": "Didier Franc",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc