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

@contentful/f36-icon

Package Overview
Dependencies
Maintainers
104
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-7604.2322 to 4.0.1-next-v4-7654.2323

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,{css:n,cx:a}=require("emotion"),o=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",(()=>p)),c(module.exports,"Icon",(()=>h));const u={large:{height:"32px",width:"32px"},medium:{height:"24px",width:"24px"},small:{height:"18px",width:"18px"},tiny:{height:"16px",width:"16px"}},d={muted:o.gray600,negative:o.colorNegative,positive:o.colorPositive,primary:o.blue600,secondary:o.gray900,warning:o.colorWarning,white:o.colorWhite};function m({as:t,children:r,className:o,variant:c="primary",size:s="small",testId:m="cf-ui-icon",trimmed:h,viewBox:p="0 0 24 24",...f},g){const x={className:a(n({fill:d[c],height:u[s].height,width:h?"auto":u[s].width},""),o),ref:g,testId:m},w=(e=>{const t=e["aria-label"],i=e["aria-labelledby"];return t||i?{}:{"aria-hidden":!0}})(f);return t?i.createElement(l,e({display:"inline-block"},w,f,x,{as:t})):i.createElement(l,e({viewBox:p,display:"inline-block"},w,f,{as:"svg"},x),r)}const h=r(m);function p({name:t,path:r,props:n,trimmed:a,viewBox:o}){const l=function(t){return i.createElement(h,e({viewBox:o},n,t,{trimmed:a}),r)};return t&&(l.displayName=t),l}
var e=s(require("@babel/runtime/helpers/extends")),t=require("react"),i=s(t),{forwardRef:r}=t,{cx:n,css:a}=require("emotion"),o=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",(()=>p)),c(module.exports,"Icon",(()=>h));const u={large:{height:"32px",width:"32px"},medium:{height:"24px",width:"24px"},small:{height:"18px",width:"18px"},tiny:{height:"16px",width:"16px"}},d={muted:o.gray600,negative:o.colorNegative,positive:o.colorPositive,primary:o.blue600,secondary:o.gray900,warning:o.colorWarning,white:o.colorWhite};function m({as:t,children:r,className:o,variant:c="primary",size:s="small",testId:m="cf-ui-icon",trimmed:h,viewBox:p="0 0 24 24",...f},g){const x={className:n(a({fill:d[c],height:u[s].height,width:h?"auto":u[s].width},""),o),ref:g,testId:m},w=(e=>{const t=e["aria-label"],i=e["aria-labelledby"];return t||i?{}:{"aria-hidden":!0}})(f);return t?i.createElement(l,e({display:"inline-block"},w,f,x,{as:t})):i.createElement(l,e({viewBox:p,display:"inline-block"},w,f,{as:"svg"},x),r)}const h=r(m);function p({name:t,path:r,props:n,trimmed:a,viewBox:o}){const l=function(t){return i.createElement(h,e({viewBox:o},n,t,{trimmed:a}),r)};return t&&(l.displayName=t),l}
//# sourceMappingURL=main.js.map

@@ -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};function m({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)}const c=i(m);function h({name:i,path:r,props:a,trimmed:o,viewBox:n}){const s=function(i){return t.createElement(c,e({viewBox:n},a,i,{trimmed:o}),r)};return i&&(s.displayName=i),s}export{h as generateIcon,c 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};function m({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)}const c=i(m);function h({name:i,path:r,props:a,trimmed:o,viewBox:n}){const s=function(i){return t.createElement(c,e({viewBox:n},a,i,{trimmed:o}),r)};return i&&(s.displayName=i),s}export{h as generateIcon,c as Icon};
//# sourceMappingURL=module.js.map
{
"name": "@contentful/f36-icon",
"version": "4.0.1-next-v4-7604.2322+0bee7360",
"version": "4.0.1-next-v4-7654.2323+5e3338fc",
"description": "Forma 36: Icon component",

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

"@babel/runtime": "^7.6.2",
"@contentful/f36-core": "4.0.1-next-v4-7604.2322+0bee7360",
"@contentful/f36-tokens": "4.0.1-next-v4-7604.2322+0bee7360",
"@contentful/f36-core": "4.0.1-next-v4-7654.2323+5e3338fc",
"@contentful/f36-tokens": "4.0.1-next-v4-7654.2323+5e3338fc",
"emotion": "^10.0.17"

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

},
"gitHead": "0bee7360d2456674a913f221d51a3b08d75a14bb"
"gitHead": "5e3338fc23ded26814ba368fdc22d2332ff427ee"
}
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