@contentful/f36-spinner
Advanced tools
Comparing version 4.0.1-next-v4-8846.2359 to 4.0.1-next-v4-8879.2361
@@ -1,2 +0,2 @@ | ||
var a,r,e,t,s=x(require("@babel/runtime/helpers/extends")),{css:n,cx:l,keyframes:m}=require("emotion"),o=require("react"),c=x(o),{forwardRef:f}=o,i=x(require("@contentful/f36-tokens")),{Box:p}=require("@contentful/f36-core");function x(a){return a&&a.__esModule?a.default:a}a=module.exports,r="Spinner",e=()=>g,Object.defineProperty(a,r,{get:e,set:t,enumerable:!0,configurable:!0});const u={large:"36px",medium:"20px",small:"14px"},d={default:i.gray700,primary:i.colorPrimary,white:i.colorWhite},g=f((({className:a,customSize:r,size:e="medium",variant:t="default",testId:o="cf-ui-spinner",...f},i)=>{const x=(()=>{const a=m({name:"2hhwgy",styles:"0%{transform:scale(1,1);}6.666667%{transform:scale(1.5,0.5);}13.333333%{transform:scale(1,1);}26.666667%{transform:scale(1,1);}33.333333%{transform:scale(1,1);}40%{transform:scale(1,1);}53.333333%{transform:scale(1,1);}60%{transform:scale(1.5,0.5);}66.666667%{transform:scale(1,1);}100%{transform:scale(1,1);}"}),r=m({name:"1b94qny",styles:"0%{transform:scale(1,1);}13.333333%{transform:scale(1,1);}20%{transform:scale(1.5,0.5);}26.666667%{transform:scale(1,1);}40%{transform:scale(1,1);}46.666667%{transform:scale(1,1);}53.333333%{transform:scale(1,1);}66.666667%{transform:scale(1,1);}73.333333%{transform:scale(1.5,0.5);}80%{transform:scale(1,1);}100%{transform:scale(1,1);}"}),e=m({name:"1q9z2j0",styles:"0%{transform:scale(1,1);}26.666667%{transform:scale(1,1);}33.333333%{transform:scale(1.5,0.5);}40%{transform:scale(1,1);}53.333333%{transform:scale(1,1);}60%{transform:scale(1,1);}66.666667%{transform:scale(1,1);}80%{transform:scale(1,1);}86.666667%{transform:scale(1.5,0.5);}93.333333%{transform:scale(1,1);}100%{transform:scale(1,1);}"}),t=m({name:"piqegj",styles:"0%{transform:translate(10px,33.528168px);}6.666667%{transform:translate(10px,41.764084px);}13.333333%{transform:translate(10px,33.528168px);}26.666667%{transform:translate(10px,-2.651608px);}33.333333%{transform:translate(10px,-4.471832px);}40%{transform:translate(10px,-2.651608px);}53.333333%{transform:translate(10px,33.528168px);}60%{transform:translate(10px,41.764084px);}66.666667%{transform:translate(10px,33.528168px);}100%{transform:translate(10px,33.528168px);}"}),s=m({name:"1tc59mm",styles:"0%{transform:translate(30px,33.528168px);}13.333333%{transform:translate(30px,33.528168px);}20%{transform:translate(30px,41.764084px);}26.666667%{transform:translate(30px,33.528168px);}40%{transform:translate(30px,-2.651608px);}46.666667%{transform:translate(30px,-4.471832px);}53.333333%{transform:translate(30px,-2.651608px);}66.666667%{transform:translate(30px,33.528168px);}73.333333%{transform:translate(30px,41.764084px);}80%{transform:translate(30px,33.528168px);}100%{transform:translate(30px,33.528168px);}"}),l=m({name:"21uo4u",styles:"0%{transform:translate(50px,33.528168px);}26.666667%{transform:translate(50px,33.528168px);}33.333333%{transform:translate(50px,41.764084px);}40%{transform:translate(50px,33.528168px);}53.333333%{transform:translate(50px,-2.651608px);}60%{transform:translate(50px,-4.471832px);}66.666667%{transform:translate(50px,-2.651608px);}80%{transform:translate(50px,33.528168px);}86.666667%{transform:translate(50px,41.764084px);}93.333333%{transform:translate(50px,33.528168px);}100%{transform:translate(50px,33.528168px);}"});return{root:a=>n({height:a.customSize?`${a.customSize}px`:void 0,verticalAlign:"middle",width:a.customSize?`${a.customSize}px`:u[a.size]},""),circle1Scale:n({animation:`${a} 1s linear infinite normal forwards;`},""),circle2Scale:n({animation:`${r} 1s linear infinite normal forwards;`},""),circle3Scale:n({animation:`${e} 1s linear infinite normal forwards;`},""),circle1Translate:n({animation:`${t} 1s linear infinite normal forwards;`},""),circle2Translate:n({animation:`${s} 1s linear infinite normal forwards;`},""),circle3Translate:n({animation:`${l} 1s linear infinite normal forwards;`},"")}})();return c.createElement(p,s({as:"div",display:"inline-block"},f,{className:l(x.root({size:e,customSize:r}),a),ref:i,testId:o}),c.createElement("svg",{className:n({display:"block",fill:d[t]},""),viewBox:"0 0 60 51",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"Loading…"),c.createElement("g",{className:x.circle1Translate,transform:"translate(10,33.528168)"},c.createElement("g",{className:x.circle1Scale},c.createElement("circle",{r:"6",transform:"translate(0,10.471832)"}))),c.createElement("g",{className:x.circle2Translate,transform:"translate(30,33.528168)"},c.createElement("g",{className:x.circle2Scale},c.createElement("circle",{r:"6",transform:"translate(0,10.471832)"}))),c.createElement("g",{className:x.circle3Translate,transform:"translate(50,33.528168)"},c.createElement("g",{className:x.circle3Scale},c.createElement("circle",{r:"6",transform:"translate(0,10.471832)"})))))}));g.displayName="Spinner"; | ||
var a,r,e,t,s=x(require("@babel/runtime/helpers/extends")),{cx:n,css:l,keyframes:m}=require("emotion"),o=require("react"),c=x(o),{forwardRef:f}=o,i=x(require("@contentful/f36-tokens")),{Box:p}=require("@contentful/f36-core");function x(a){return a&&a.__esModule?a.default:a}a=module.exports,r="Spinner",e=()=>g,Object.defineProperty(a,r,{get:e,set:t,enumerable:!0,configurable:!0});const u={large:"36px",medium:"20px",small:"14px"},d={default:i.gray700,primary:i.colorPrimary,white:i.colorWhite},g=f((({className:a,customSize:r,size:e="medium",variant:t="default",testId:o="cf-ui-spinner",...f},i)=>{const x=(()=>{const a=m({name:"2hhwgy",styles:"0%{transform:scale(1,1);}6.666667%{transform:scale(1.5,0.5);}13.333333%{transform:scale(1,1);}26.666667%{transform:scale(1,1);}33.333333%{transform:scale(1,1);}40%{transform:scale(1,1);}53.333333%{transform:scale(1,1);}60%{transform:scale(1.5,0.5);}66.666667%{transform:scale(1,1);}100%{transform:scale(1,1);}"}),r=m({name:"1b94qny",styles:"0%{transform:scale(1,1);}13.333333%{transform:scale(1,1);}20%{transform:scale(1.5,0.5);}26.666667%{transform:scale(1,1);}40%{transform:scale(1,1);}46.666667%{transform:scale(1,1);}53.333333%{transform:scale(1,1);}66.666667%{transform:scale(1,1);}73.333333%{transform:scale(1.5,0.5);}80%{transform:scale(1,1);}100%{transform:scale(1,1);}"}),e=m({name:"1q9z2j0",styles:"0%{transform:scale(1,1);}26.666667%{transform:scale(1,1);}33.333333%{transform:scale(1.5,0.5);}40%{transform:scale(1,1);}53.333333%{transform:scale(1,1);}60%{transform:scale(1,1);}66.666667%{transform:scale(1,1);}80%{transform:scale(1,1);}86.666667%{transform:scale(1.5,0.5);}93.333333%{transform:scale(1,1);}100%{transform:scale(1,1);}"}),t=m({name:"piqegj",styles:"0%{transform:translate(10px,33.528168px);}6.666667%{transform:translate(10px,41.764084px);}13.333333%{transform:translate(10px,33.528168px);}26.666667%{transform:translate(10px,-2.651608px);}33.333333%{transform:translate(10px,-4.471832px);}40%{transform:translate(10px,-2.651608px);}53.333333%{transform:translate(10px,33.528168px);}60%{transform:translate(10px,41.764084px);}66.666667%{transform:translate(10px,33.528168px);}100%{transform:translate(10px,33.528168px);}"}),s=m({name:"1tc59mm",styles:"0%{transform:translate(30px,33.528168px);}13.333333%{transform:translate(30px,33.528168px);}20%{transform:translate(30px,41.764084px);}26.666667%{transform:translate(30px,33.528168px);}40%{transform:translate(30px,-2.651608px);}46.666667%{transform:translate(30px,-4.471832px);}53.333333%{transform:translate(30px,-2.651608px);}66.666667%{transform:translate(30px,33.528168px);}73.333333%{transform:translate(30px,41.764084px);}80%{transform:translate(30px,33.528168px);}100%{transform:translate(30px,33.528168px);}"}),n=m({name:"21uo4u",styles:"0%{transform:translate(50px,33.528168px);}26.666667%{transform:translate(50px,33.528168px);}33.333333%{transform:translate(50px,41.764084px);}40%{transform:translate(50px,33.528168px);}53.333333%{transform:translate(50px,-2.651608px);}60%{transform:translate(50px,-4.471832px);}66.666667%{transform:translate(50px,-2.651608px);}80%{transform:translate(50px,33.528168px);}86.666667%{transform:translate(50px,41.764084px);}93.333333%{transform:translate(50px,33.528168px);}100%{transform:translate(50px,33.528168px);}"});return{root:a=>l({height:a.customSize?`${a.customSize}px`:void 0,verticalAlign:"middle",width:a.customSize?`${a.customSize}px`:u[a.size]},""),circle1Scale:l({animation:`${a} 1s linear infinite normal forwards;`},""),circle2Scale:l({animation:`${r} 1s linear infinite normal forwards;`},""),circle3Scale:l({animation:`${e} 1s linear infinite normal forwards;`},""),circle1Translate:l({animation:`${t} 1s linear infinite normal forwards;`},""),circle2Translate:l({animation:`${s} 1s linear infinite normal forwards;`},""),circle3Translate:l({animation:`${n} 1s linear infinite normal forwards;`},"")}})();return c.createElement(p,s({as:"div",display:"inline-block"},f,{className:n(x.root({size:e,customSize:r}),a),ref:i,testId:o}),c.createElement("svg",{className:l({display:"block",fill:d[t]},""),viewBox:"0 0 60 51",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"Loading…"),c.createElement("g",{className:x.circle1Translate,transform:"translate(10,33.528168)"},c.createElement("g",{className:x.circle1Scale},c.createElement("circle",{r:"6",transform:"translate(0,10.471832)"}))),c.createElement("g",{className:x.circle2Translate,transform:"translate(30,33.528168)"},c.createElement("g",{className:x.circle2Scale},c.createElement("circle",{r:"6",transform:"translate(0,10.471832)"}))),c.createElement("g",{className:x.circle3Translate,transform:"translate(50,33.528168)"},c.createElement("g",{className:x.circle3Scale},c.createElement("circle",{r:"6",transform:"translate(0,10.471832)"})))))}));g.displayName="Spinner"; | ||
//# sourceMappingURL=main.js.map |
{ | ||
"name": "@contentful/f36-spinner", | ||
"version": "4.0.1-next-v4-8846.2359+3923eeac", | ||
"version": "4.0.1-next-v4-8879.2361+ee39c787", | ||
"description": "Forma 36: Spinner Component", | ||
@@ -10,8 +10,8 @@ "scripts": { | ||
"@babel/runtime": "^7.6.2", | ||
"@contentful/f36-core": "4.0.1-next-v4-8846.2359+3923eeac", | ||
"@contentful/f36-tokens": "4.0.1-next-v4-8846.2359+3923eeac", | ||
"@contentful/f36-core": "4.0.1-next-v4-8879.2361+ee39c787", | ||
"@contentful/f36-tokens": "4.0.1-next-v4-8879.2361+ee39c787", | ||
"emotion": "^10.0.17" | ||
}, | ||
"devDependencies": { | ||
"@contentful/f36-typography": "4.0.1-next-v4-8846.2359+3923eeac" | ||
"@contentful/f36-typography": "4.0.1-next-v4-8879.2361+ee39c787" | ||
}, | ||
@@ -39,3 +39,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "3923eeacefff259b5ee0cf9fc916006f3d240e8d" | ||
"gitHead": "ee39c7876324bfadc940bfe7c54c603aab4e0791" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package