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

@contentful/f36-icon

Package Overview
Dependencies
Maintainers
103
Versions
419
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-icon - npm Package Compare versions

Comparing version 4.0.1-next-v4-5449.2133 to 4.0.1-next-v4-5566.2134

2

dist/main.js

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

var e=s(require("@babel/runtime/helpers/extends")),t=require("react"),i=s(t),{forwardRef:r}=t,{cx:o,css:n}=require("emotion"),a=s(require("@contentful/f36-tokens")),{Box:l}=require("@contentful/f36-core");function c(e,t,i,r){Object.defineProperty(e,t,{get:i,set:r,enumerable:!0,configurable:!0})}function s(e){return e&&e.__esModule?e.default:e}c(module.exports,"generateIcon",(()=>u)),c(module.exports,"Icon",(()=>m));const d={large:{height:"32px",width:"32px"},medium:{height:"24px",width:"24px"},small:{height:"18px",width:"18px"},tiny:{height:"16px",width:"16px"}},h={muted:a.colorTextLight,negative:a.colorNegative,positive:a.colorPositive,primary:a.colorBlueBase,secondary:a.colorContrastMid,warning:a.colorWarning,white:a.colorWhite},m=r((({as:t,children:r,className:a,variant:c="primary",size:s="small",testId:m="cf-ui-icon",trimmed:u,viewBox:p="0 0 24 24",...x},f)=>{const g={className:o(n({fill:h[c],height:d[s].height,width:u?"auto":d[s].width},""),a),ref:f,testId:m};return t?i.createElement(l,e({display:"inline-block"},x,g,{as:t})):i.createElement(l,e({height:"1em",viewBox:p,width:"1em",display:"inline-block"},x,{as:"svg"},g),r)}));function u({name:t,path:o,props:n,trimmed:a,viewBox:l}){const c=r((function(t,r){return i.createElement(m,e({viewBox:l},n,t,{ref:r,trimmed:a}),o)}));return t&&(c.displayName=t),c}
var e=s(require("@babel/runtime/helpers/extends")),t=require("react"),i=s(t),{forwardRef:r}=t,{css:o,cx:n}=require("emotion"),a=s(require("@contentful/f36-tokens")),{Box:l}=require("@contentful/f36-core");function c(e,t,i,r){Object.defineProperty(e,t,{get:i,set:r,enumerable:!0,configurable:!0})}function s(e){return e&&e.__esModule?e.default:e}c(module.exports,"generateIcon",(()=>u)),c(module.exports,"Icon",(()=>m));const d={large:{height:"32px",width:"32px"},medium:{height:"24px",width:"24px"},small:{height:"18px",width:"18px"},tiny:{height:"16px",width:"16px"}},h={muted:a.colorTextLight,negative:a.colorNegative,positive:a.colorPositive,primary:a.colorBlueBase,secondary:a.colorContrastMid,warning:a.colorWarning,white:a.colorWhite},m=r((({as:t,children:r,className:a,variant:c="primary",size:s="small",testId:m="cf-ui-icon",trimmed:u,viewBox:p="0 0 24 24",...x},f)=>{const g={className:n(o({fill:h[c],height:d[s].height,width:u?"auto":d[s].width},""),a),ref:f,testId:m};return t?i.createElement(l,e({display:"inline-block"},x,g,{as:t})):i.createElement(l,e({height:"1em",viewBox:p,width:"1em",display:"inline-block"},x,{as:"svg"},g),r)}));function u({name:t,path:o,props:n,trimmed:a,viewBox:l}){const c=r((function(t,r){return i.createElement(m,e({viewBox:l},n,t,{ref:r,trimmed:a}),o)}));return t&&(c.displayName=t),c}
//# sourceMappingURL=main.js.map
{
"name": "@contentful/f36-icon",
"version": "4.0.1-next-v4-5449.2133+dd4b07ea",
"version": "4.0.1-next-v4-5566.2134+9f149b09",
"description": "Forma 36: Icon component",

@@ -11,4 +11,4 @@ "license": "MIT",

"@babel/runtime": "^7.6.2",
"@contentful/f36-core": "4.0.1-next-v4-5449.2133+dd4b07ea",
"@contentful/f36-tokens": "4.0.1-next-v4-5449.2133+dd4b07ea",
"@contentful/f36-core": "4.0.1-next-v4-5566.2134+9f149b09",
"@contentful/f36-tokens": "4.0.1-next-v4-5566.2134+9f149b09",
"emotion": "^10.0.17"

@@ -39,3 +39,3 @@ },

},
"gitHead": "dd4b07ea039b1a6c6c4faa95c3e9fda1aca3ff02"
"gitHead": "9f149b09d11c5b8f7293df140458e6020dc8090d"
}
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