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

@contentful/f36-icon

Package Overview
Dependencies
Maintainers
102
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-6754.2279 to 4.0.1-next-v4-6763.2280

2

dist/module.js

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

import e from"@babel/runtime/helpers/esm/extends";import t,{forwardRef as i}from"react";import{css as r,cx as a}from"emotion";import o from"@contentful/f36-tokens";import{Box as n}from"@contentful/f36-core";const s={large:{height:"32px",width:"32px"},medium:{height:"24px",width:"24px"},small:{height:"18px",width:"18px"},tiny:{height:"16px",width:"16px"}},l={muted:o.gray600,negative:o.colorNegative,positive:o.colorPositive,primary:o.blue600,secondary:o.gray900,warning:o.colorWarning,white:o.colorWhite},m=i((({as:i,children:o,className:m,variant:c="primary",size:h="small",testId:p="cf-ui-icon",trimmed:d,viewBox:f="0 0 24 24",...x},g)=>{const u={className:a(r({fill:l[c],height:s[h].height,width:d?"auto":s[h].width},""),m),ref:g,testId:p},w=(e=>{const t=e["aria-label"],i=e["aria-labelledby"];return t||i?{}:{"aria-hidden":!0}})(x);return i?t.createElement(n,e({display:"inline-block"},w,x,u,{as:i})):t.createElement(n,e({viewBox:f,display:"inline-block"},w,x,{as:"svg"},u),o)}));function c({name:i,path:r,props:a,trimmed:o,viewBox:n}){const s=function(i){return t.createElement(m,e({viewBox:n},a,i,{trimmed:o}),r)};return i&&(s.displayName=i),s}export{c as generateIcon,m as Icon};
import e from"@babel/runtime/helpers/esm/extends";import t,{forwardRef as i}from"react";import{cx as r,css as a}from"emotion";import o from"@contentful/f36-tokens";import{Box as n}from"@contentful/f36-core";const s={large:{height:"32px",width:"32px"},medium:{height:"24px",width:"24px"},small:{height:"18px",width:"18px"},tiny:{height:"16px",width:"16px"}},l={muted:o.gray600,negative:o.colorNegative,positive:o.colorPositive,primary:o.blue600,secondary:o.gray900,warning:o.colorWarning,white:o.colorWhite},m=i((({as:i,children:o,className:m,variant:c="primary",size:h="small",testId:p="cf-ui-icon",trimmed:d,viewBox:f="0 0 24 24",...x},g)=>{const u={className:r(a({fill:l[c],height:s[h].height,width:d?"auto":s[h].width},""),m),ref:g,testId:p},w=(e=>{const t=e["aria-label"],i=e["aria-labelledby"];return t||i?{}:{"aria-hidden":!0}})(x);return i?t.createElement(n,e({display:"inline-block"},w,x,u,{as:i})):t.createElement(n,e({viewBox:f,display:"inline-block"},w,x,{as:"svg"},u),o)}));function c({name:i,path:r,props:a,trimmed:o,viewBox:n}){const s=function(i){return t.createElement(m,e({viewBox:n},a,i,{trimmed:o}),r)};return i&&(s.displayName=i),s}export{c as generateIcon,m as Icon};
//# sourceMappingURL=module.js.map
{
"name": "@contentful/f36-icon",
"version": "4.0.1-next-v4-6754.2279+d702f155",
"version": "4.0.1-next-v4-6763.2280+68ec7ca7",
"description": "Forma 36: Icon component",

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

"@babel/runtime": "^7.6.2",
"@contentful/f36-core": "4.0.1-next-v4-6754.2279+d702f155",
"@contentful/f36-tokens": "4.0.1-next-v4-6754.2279+d702f155",
"@contentful/f36-core": "4.0.1-next-v4-6763.2280+68ec7ca7",
"@contentful/f36-tokens": "4.0.1-next-v4-6763.2280+68ec7ca7",
"emotion": "^10.0.17"

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

},
"gitHead": "d702f155ce0fbb822f92e55422796f4f4c88ba0d"
"gitHead": "68ec7ca78ed6341bed0b5d20a383f1589123569f"
}
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