zebpay-ui 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,2 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@emotion/react/jsx-runtime"),t=require("@emotion/react"),r=require("react");function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=o(r),i=function(){return i=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},i.apply(this,arguments)};var l,a,c,s=t.keyframes(c||(l=["\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }"],a=["\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }"],Object.defineProperty?Object.defineProperty(l,"raw",{value:a}):l.raw=a,c=l)),d=t.css({borderRadius:"100%",borderWidth:3,borderStyle:"solid",borderTopColor:"rgba(255,255,255,0.4)",margin:"0 auto",animation:"".concat(s," 1s linear infinite")}),_=function(r){var o=r.size,n=r.color;return e.jsx("div",{css:[d,t.css({height:"".concat(o,"px"),width:"".concat(o,"px"),color:n})]})},m={Zeb_Solid_White:"#FFFFFF",Zeb_Solid_BG_Blue:"#222245",Zeb_Solid_Dark_Blue:"#181837",Zeb_Solid_Bright_Blue:"#338FFF",Zeb_Solid_Light_Blue:"#C0C0EE",Zeb_Solid_Green:"#1ECAA2",Zeb_Solid_Red:"#EA6161",Zeb_Solid_Yellow:"#F9C35C",Zeb_Solid_Grey:"#C2C2DD",Zeb_Solid_Dark_Grey:"#34345A",Zeb_Solid_Black:"000000",Zeb_Solid_Light_Blue_01:"#E9EFF6",Zeb_Solid_Grey_01:"#E1E3E6",Zeb_Gradient_Blue_01:"linear-gradient(90.15deg, #5D7BFE 0.73%, #0974FF 101.92%)",Zeb_Gradient_Blue_02:"linear-gradient(180deg, #0473FF 0.54%, rgba(4, 115, 255, 0) 100%)",Zeb_Gradient_Dark_Blue:"linear-gradient(254.37deg, #4A62CA -43.42%, #1B264B 148.58%)",Zeb_Transparent_25:"rgba(12, 12, 36, 0.25)",Zeb_Transparent_Green:"rgba(30, 202, 162, 0.2)",Zeb_Transparent_Yellow:"rgba(249, 195, 92, 0.2)",Zeb_Transparent_Red:"rgba(234, 97, 97, 0.2)",Zeb_BG_Blue:"rgba(51, 143, 255, 0.2)",Zeb_BG_Light_Blue:"rgba(192, 192, 238, 0.2)",Zeb_BG_Green:"rgba(30, 202, 162, 0.08)",Zeb_BG_Red:"rgba(234, 97, 97, 0.08)",Zeb_BG_Yellow:"rgba(249, 195, 92, 0.08)",Zeb_Transparent_4:"rgba(51, 143, 255, 0.04)",Zeb_Effects_Shadow_Hover:"0px 8px 8px -4px #0C0C1D",Zeb_Effects_Shadow_W_Drawer:"-12px 0px 40px rgba(12, 12, 29, 0.48)",Zeb_Effects_Shadow_M_Drawer:"0px -12px 40px rgba(12, 12, 29, 0.48)",Zeb_Effects_Shadow_Hover_Up:"0px -2px 32px 8px rgba(12, 12, 29, 0.4)",Zeb_Effects_Shimmer:"linear-gradient(97.38deg, #34345A -40.76%, #19193A 135.88%)"},p={remConverter:function(e){return"".concat(e/16,"rem")},widthPercentage:function(e){return t.css({width:"".concat(e,"%")})},heightPercentage:function(e){return t.css({height:"".concat(e,"%")})},mr:function(e){return t.css({marginRight:p.remConverter(e)})},ml:function(e){return t.css({marginLeft:p.remConverter(e)})},mt:function(e){return t.css({marginTop:p.remConverter(e)})},mb:function(e){return t.css({marginBottom:p.remConverter(e)})}},g={H1_56_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H2_44_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H3_32_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H4_28_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H5_20_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(20),lineHeight:"normal",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H6_16_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H1_56_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H2_44_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H3_32_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H4_28_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H5_20_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(20),lineHeight:"30px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H6_16_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H1_56_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H2_44_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H3_32_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H4_28_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H5_20_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(20),lineHeight:"30px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H6_16_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},H8_12_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(12),lineHeight:"18px",letterSpacing:"0.8px",color:m.Zeb_Solid_White},B1_24_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(24),lineHeight:"40px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B2_20_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(20),lineHeight:"30px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B3_16_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(16),lineHeight:"28px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B4_14_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(14),lineHeight:"24px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B5_12_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B6_10_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(10),lineHeight:"12px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B1_24_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(24),lineHeight:"40px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B2_20_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:p.remConverter(20),lineHeight:"30px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B3_16_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(16),lineHeight:"28px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B4_14_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(14),lineHeight:"24px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B5_12_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},B6_10_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:p.remConverter(10),lineHeight:"12px",letterSpacing:"0.4px",color:m.Zeb_Solid_White},C1_20:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(20),lineHeight:"30px",letterSpacing:"1.6px",color:m.Zeb_Solid_White,textTransform:"uppercase"},C2_16:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:m.Zeb_Solid_White,textTransform:"uppercase"},C3_14:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(14),lineHeight:"24px",letterSpacing:"0.8px",color:m.Zeb_Solid_White,textTransform:"uppercase"},C4_12:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:p.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:m.Zeb_Solid_White,textTransform:"uppercase"}},b={flexJustifiedBetween:t.css({justifyContent:"space-between"}),flexJustifiedCenter:t.css({justifyContent:"center"}),flexJustifiedEnd:t.css({justifyContent:"flex-end"}),flexAlignCenter:t.css({display:"flex",alignItems:"center"}),flexAlignStart:t.css({display:"flex",alignItems:"flex-start"}),flexNoWrap:t.css({flexWrap:"nowrap"}),flexColumn:t.css({display:"flex",flexDirection:"column"}),textSuccess:t.css({color:m.Zeb_Solid_Green}),textError:t.css({color:m.Zeb_Solid_Red}),bgSuccess:t.css({background:m.Zeb_Solid_Green}),bgError:t.css({background:m.Zeb_Solid_Red}),textFaded:t.css({color:m.Zeb_Solid_Light_Blue}),textCapitalize:t.css({textTransform:"capitalize"}),textAlignmentCenter:t.css({textAlign:"center"}),textAlignmentLeft:t.css({textAlign:"left"}),textAlignmentRight:t.css({textAlign:"right"})},f=t.css(i(i({padding:0,backgroundColor:"transparent",boxShadow:"none",border:"none",outline:"none"},g.C3_14),{color:m.Zeb_Solid_Bright_Blue,"&.small":i(i({},g.C4_12),{color:m.Zeb_Solid_Bright_Blue})})),u=t.css(i(i({background:m.Zeb_Gradient_Blue_01,borderRadius:p.remConverter(8),boxShadow:"none",border:"none",outline:"none",whiteSpace:"nowrap"},g.C4_12),{"&.small":i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12))},g.C4_12),"&.medium":i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12))},g.C4_12),"&.large":i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(16))},g.C2_16),"&.full-width":{padding:"".concat(p.remConverter(8)," 0"),width:"100%"},"&:disabled":{opacity:.2}})),h=t.css(i(i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(16)),background:m.Zeb_Transparent_4,border:"1px solid ".concat(m.Zeb_Solid_Bright_Blue),borderRadius:"8px"},g.C2_16),{"&.small":i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12))},g.C4_12),"&.medium":i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12))},g.C4_12),"&.large":i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(16))},g.C2_16),"&.full-width":{padding:"".concat(p.remConverter(8)," 0")},"&:disabled":{borderColor:m.Zeb_Solid_Grey}})),C=t.css({padding:"".concat(p.remConverter(6)," 0"),background:m.Zeb_Gradient_Blue_01,boxShadow:"none",border:"none",outline:"none",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center","&.small":{width:"100%",padding:"".concat(p.remConverter(8)," 0")},"&.large":{width:"100%"},"&.full-width":{width:"100%"},"&.medium":{width:"100%"}}),x=t.css(i({marginLeft:p.remConverter(8)},g.C3_14)),S=t.css({display:"none"}),v=t.css({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12)),background:m.Zeb_Transparent_4,boxShadow:"none",border:"1px solid ".concat(m.Zeb_Solid_Bright_Blue),outline:"none",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center","&.medium":{padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12))}}),y=t.css(i({marginLeft:p.remConverter(4)},g.C4_12)),Z=t.css(i(i({border:"0.5px solid ".concat(m.Zeb_Solid_Light_Blue),borderRadius:"4px",padding:"".concat(p.remConverter(4)," ").concat(p.remConverter(8))},g.B5_12_semibold),{color:m.Zeb_Solid_Light_Blue,display:"flex",justifyContent:"center",flexGrow:1,textTransform:"uppercase",cursor:"pointer","&.active":i({background:m.Zeb_Solid_Dark_Blue,borderColor:m.Zeb_Solid_Bright_Blue},g.C4_12)})),W=t.css({opacity:.5,cursor:"not-allowed"});function B(e,t){switch(e){case"primary":return u;case"secondary":return h;case"tertiary":return[v,y];case"link":return f;case"tab":return"small"===t?[Z,S]:Z;case"special":return[C,x]}}var w=function(t){var r=t.type,o=t.size,n=void 0===o?"medium":o,l=t.onClick,a=t.disabled,c=t.style,s=t.children,d=t.loading;return e.jsx("button",i({onClick:l,disabled:a,className:n,css:[B(r,n),c,a&&W]},{children:d?e.jsx(_,{size:18}):s}))},H=t.css({minWidth:p.remConverter(16)}),L=t.css(i(i({display:"flex",alignItems:"center",justifyContent:"flex-start",height:"auto",position:"relative",cursor:"pointer",marginBottom:0},g.B4_14_semibold),{"&:hover":{"input ~ .checkmark":{backgroundColor:m.Zeb_Solid_White}}})),j=t.css({opacity:.5,cursor:"not-allowed"}),k=t.css({opacity:0,cursor:"pointer",height:0,width:0}),F=t.css({backgroundColor:m.Zeb_Solid_White,border:"1px solid ".concat(m.Zeb_Solid_White),borderRadius:4,"&:after":{display:"block"}}),z=t.css({marginLeft:p.remConverter(20)});t.css({marginLeft:p.remConverter(20)});var R=t.css({position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",height:p.remConverter(12),width:p.remConverter(12),backgroundColor:"transparent",border:"1px solid ".concat(m.Zeb_Solid_White),borderRadius:4,"&:after":{content:"''",position:"absolute",display:"none",left:2,top:"45%",width:4,height:8,border:"solid ".concat(m.Zeb_Solid_Dark_Blue),borderWidth:"0 2px 2px 0",transform:"rotate(45deg) translate(-50%, -50%)"}}),G=t.css({borderColor:m.Zeb_Solid_Red}),T=t.css(i(i({},g.B4_14_regular),{color:m.Zeb_Solid_Light_Blue,marginBottom:p.remConverter(4)})),E=t.css({color:"".concat(m.Zeb_Solid_White,"!important")}),D=t.css({border:"1px solid transparent",borderRadius:8,flexWrap:"wrap",alignItems:"stretch"}),A=t.css({borderColor:m.Zeb_Solid_Bright_Blue,boxShadow:m.Zeb_Effects_Shadow_Hover}),I=t.css(i(i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12)),background:m.Zeb_Solid_Dark_Blue,border:"none"},g.B4_14_semibold),{color:"".concat(m.Zeb_Solid_White,"!important"),height:p.remConverter(40),flex:"1 1 auto",":focus":{boxShadow:"none",outline:"none"},"::placeholder":i(i({},g.B4_14_regular),{color:"".concat(m.Zeb_Solid_Light_Blue,"!important")})})),O=t.css({borderRadius:p.remConverter(8)}),M=t.css({borderRadius:p.remConverter(0)}),P=t.css({borderRadius:"".concat(p.remConverter(8)," 0 0 ").concat(p.remConverter(8))}),Y=t.css({borderRadius:"0 ".concat(p.remConverter(8)," ").concat(p.remConverter(8)," 0")}),J=t.css(i(i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12)),background:m.Zeb_Solid_Dark_Blue,borderRadius:"0 ".concat(p.remConverter(8)," ").concat(p.remConverter(8)," 0"),border:"none"},g.B4_14_semibold),{height:p.remConverter(40)})),U=t.css(i(i({padding:"".concat(p.remConverter(8)," ").concat(p.remConverter(12)),background:m.Zeb_Solid_Dark_Blue,borderRadius:"".concat(p.remConverter(8)," 0 0 ").concat(p.remConverter(8)),border:"none"},g.B4_14_semibold),{height:p.remConverter(40)})),q=t.css({marginLeft:"auto"}),N=t.css({height:p.remConverter(34),width:p.remConverter(330),position:"relative"}),V=t.css({backgroundColor:m.Zeb_Solid_BG_Blue,borderRadius:p.remConverter(8),minWidth:p.remConverter(328),display:"flex",flexDirection:"column",padding:p.remConverter(12),position:"absolute",justifyContent:"space-between",borderColor:m.Zeb_Solid_Bright_Blue,borderWidth:p.remConverter(2),borderStyle:"solid",boxShadow:"0px 8px 8px -4px #0C0C1D",bottom:p.remConverter(42)}),X=t.css(i(i({},g.B4_14_semibold),{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"})),K=t.css(i(i({},g.C4_12),{textAlign:"center",height:p.remConverter(34),width:p.remConverter(330)})),Q=t.css({});var $=t.css(i({display:"block",position:"relative",paddingLeft:p.remConverter(20),cursor:"pointer",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none",marginBottom:0},g.B4_14_regular)),ee=t.css({position:"absolute",opacity:0,cursor:"pointer",":checked":{"~ span":{backgroundColor:"transparent",":after":{display:"block"}}}}),te=t.css({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",left:0,height:16,width:16,borderRadius:"50%",border:"1px solid ".concat(m.Zeb_Solid_White),transform:"translateY(-50%)",":after":{content:"''",display:"none",width:8,height:8,borderRadius:"50%",backgroundColor:m.Zeb_Solid_Bright_Blue}}),re=t.css({padding:"".concat(p.remConverter(12)," ").concat(p.remConverter(16)," ").concat(p.remConverter(12)," ").concat(p.remConverter(24)),border:"1px solid transparent",backdropFilter:"blur(20px)",borderRadius:"8px",maxWidth:"484px",width:"100%"}),oe=t.css(i(i({},g.B4_14_semibold),{display:"flex",alignItems:"center",justifyContent:"space-between"})),ne=t.css({display:"flex",alignItems:"center"}),ie=t.css({marginLeft:"".concat(p.remConverter(8))}),le=t.css({padding:0,outline:"none",border:"none",boxShadow:"none",backgroundColor:"transparent"}),ae=t.css(i(i({},g.B5_12_regular),{marginTop:"".concat(p.remConverter(4))})),ce=t.css({background:"rgba(249, 200, 92, 0.08)",borderColor:m.Zeb_Solid_Yellow}),se=t.css({color:m.Zeb_Solid_Yellow}),de=t.css({background:"rgba(234, 97, 97, 0.08)",borderColor:m.Zeb_Solid_Red}),_e=t.css({color:m.Zeb_Solid_Red}),me=t.css({background:"rgba(30, 202, 162, 0.08)",borderColor:m.Zeb_Solid_Green}),pe=t.css({color:m.Zeb_Solid_Green}),ge=Object.freeze({__proto__:null,toastContainer:re,toastHeading:oe,toastDetails:ne,toastTitle:ie,closeCta:le,toastDescription:ae,info:ce,infoToastHeading:se,error:de,errorToastHeading:_e,success:me,successToastHeading:pe}),be=function(e){return"info"===e?m.Zeb_Solid_Yellow:"error"===e?m.Zeb_Solid_Red:"success"===e?m.Zeb_Solid_Green:void 0};exports.Button=w,exports.Checkbox=function(t){var r=t.label,o=t.value,n=t.style,l=t.checked,a=t.onChange,c=t.disabled;return e.jsxs("label",i({css:[H,L,n,c?j:""]},{children:[r&&e.jsx("div",i({css:z},{children:r})),e.jsx("input",{checked:l,onChange:function(e){return a({checked:e.target.checked,value:e.target.value})},type:"checkbox",css:k,value:o,disabled:c}),e.jsx("span",{css:[R,l&&F]})]}))},exports.CircularLoader=_,exports.Input=function(o){var n=o.value,l=o.label,a=o.placeholder,c=o.name,s=o.appendItem,d=o.prependItem,_=o.infoText,m=o.errorText,p=o.cta,f=o.style,u=o.type,h=void 0===u?"text":u,C=o.onChange,x=r.useState(!1),S=x[0],v=x[1];return e.jsxs("div",i({css:f},{children:[e.jsx("label",i({css:[T,S?E:null,m?b.textError:null]},{children:l})),e.jsxs("div",i({css:[D,b.flexAlignCenter,S?A:null,m?G:null]},{children:[d&&e.jsx("span",i({css:U},{children:d})),e.jsx("input",{type:h,name:c,placeholder:a,onFocus:function(){v(!0)},onBlur:function(){v(!1)},css:[I,O,d&&Y,s&&P,s&&d&&M],value:n,onChange:function(e){var t=e.target,r=t.value,o=t.name;C({value:r,name:o})}}),s&&e.jsx("span",i({css:J},{children:s}))]})),e.jsxs("div",i({css:[b.flexAlignCenter,b.flexJustifiedBetween]},{children:[(m||_)&&e.jsx("div",i({css:[t.css(i({},g.B4_14_regular)),_&&b.textFaded,m&&b.textError]},{children:_||m})),p&&e.jsx("div",i({css:q},{children:e.jsx(w,i({type:"link",size:"medium",onClick:p.onClick},{children:p.label}))}))]}))]}))},exports.Popper=function(t){var o,l=t.onClose,a=void 0===l?function(){}:l,c=t.label,s=t.buttonProps,d=void 0===s?{}:s,_=t.renderChildren,m=t.style,p=n.useState(!1),g=p[0],b=p[1],f=[o=r.useRef(null),function(){o.current&&o.current.focus()}],u=f[0],h=f[1],C=n.useCallback((function(){b(!1),a()}),[a]),x=n.useCallback((function(){g?C():b(!0)}),[g,C,b]);return n.useEffect((function(){h&&h()}),[u.current,h]),e.jsxs("div",i({css:[N,m]},{children:[g&&e.jsxs("div",i({css:V,tabIndex:0,onBlur:C,ref:u},{children:[e.jsxs("div",i({css:X},{children:[e.jsx("span",{children:c}),e.jsx("span",i({onClick:C,css:Q},{children:"X"}))]})),_({close:C,isOpened:g})]})),e.jsx(w,i({},d,{style:[K,d.style],onClick:x,type:d.type||"secondary"},{children:c}))]}))},exports.Radio=function(t){var r=t.value,o=t.onChange,n=t.label,l=t.style,a=t.name,c=t.selected;return e.jsxs("label",i({css:[$,l]},{children:[n,e.jsx("input",{type:"radio",name:a,css:ee,value:r,onChange:function(e){return o({selected:e.target.checked,value:e.target.value})},checked:c}),e.jsx("span",{css:te})]}))},exports.Toast=function(t){var r=t.title,o=t.description,n=t.type,l=t.onClose;return e.jsxs("div",i({css:[re,ge[n]]},{children:[e.jsxs("div",i({css:[oe,ge["".concat(n,"ToastHeading")]]},{children:[e.jsxs("div",i({css:ne},{children:[e.jsx("svg",i({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9999 13.9866C10.8159 14.7778 9.42383 15.2 7.9998 15.2C6.09024 15.2 4.2589 14.4415 2.90864 13.0912C1.55837 11.741 0.799805 9.90961 0.799805 8.00005C0.799805 6.57602 1.22208 5.18398 2.01322 3.99995C2.80437 2.81591 3.92885 1.89307 5.24448 1.34812C6.56011 0.803169 8.00779 0.660585 9.40445 0.938398C10.8011 1.21621 12.084 1.90194 13.091 2.90888C14.0979 3.91582 14.7836 5.19874 15.0615 6.5954C15.3393 7.99206 15.1967 9.43974 14.6517 10.7554C14.1068 12.071 13.1839 13.1955 11.9999 13.9866ZM11.4656 2.81311C10.4397 2.12763 9.23361 1.76177 7.9998 1.76177C6.34614 1.76449 4.76099 2.4226 3.59167 3.59192C2.42236 4.76124 1.76424 6.34639 1.76152 8.00005C1.76152 9.23386 2.12739 10.44 2.81286 11.4659C3.49833 12.4917 4.47262 13.2913 5.61251 13.7635C6.75241 14.2356 8.00672 14.3592 9.21683 14.1185C10.4269 13.8778 11.5385 13.2836 12.4109 12.4112C13.2834 11.5387 13.8775 10.4272 14.1182 9.21708C14.3589 8.00697 14.2354 6.75266 13.7632 5.61276C13.2911 4.47286 12.4915 3.49858 11.4656 2.81311ZM7.41321 7.59992C7.41321 7.27925 7.67321 7.01325 7.99321 7.01325C8.31987 7.01325 8.57987 7.27925 8.57987 7.59992V10.5466C8.57987 10.8666 8.31987 11.1266 7.99321 11.1266C7.67321 11.1266 7.41321 10.8666 7.41321 10.5466V7.59992ZM7.41987 5.48659C7.41987 5.15992 7.67987 4.89992 8.00654 4.89992C8.32654 4.89992 8.58654 5.15992 8.58654 5.48659C8.58654 5.80592 8.32654 6.06659 7.99321 6.06659C7.67987 6.06659 7.41987 5.80592 7.41987 5.48659Z",fill:be(n)})})),e.jsx("div",i({css:ie},{children:r}))]})),e.jsx("div",{children:l&&e.jsx("button",i({css:le,onClick:l},{children:e.jsx("svg",i({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99996 0.666626C3.94996 0.666626 0.666626 3.94996 0.666626 7.99996C0.666626 12.05 3.94996 15.3333 7.99996 15.3333C12.05 15.3333 15.3333 12.05 15.3333 7.99996C15.3333 3.94996 12.05 0.666626 7.99996 0.666626ZM10.4713 6.47129C10.5927 6.34556 10.6599 6.17716 10.6584 6.00236C10.6569 5.82756 10.5868 5.66035 10.4632 5.53675C10.3396 5.41314 10.1724 5.34303 9.99756 5.34151C9.82276 5.33999 9.65436 5.40719 9.52862 5.52863L7.99996 7.05729L6.47129 5.52863C6.40979 5.46495 6.33623 5.41416 6.25489 5.37922C6.17356 5.34429 6.08608 5.32589 5.99756 5.32513C5.90904 5.32436 5.82125 5.34122 5.73932 5.37474C5.65739 5.40827 5.58296 5.45777 5.52036 5.52036C5.45777 5.58296 5.40827 5.65739 5.37474 5.73932C5.34122 5.82125 5.32436 5.90904 5.32513 5.99756C5.32589 6.08608 5.34428 6.17356 5.37922 6.2549C5.41416 6.33623 5.46495 6.40979 5.52863 6.47129L7.05729 7.99996L5.52863 9.52863C5.46495 9.59012 5.41416 9.66369 5.37922 9.74502C5.34428 9.82636 5.32589 9.91384 5.32513 10.0024C5.32436 10.0909 5.34122 10.1787 5.37474 10.2606C5.40827 10.3425 5.45777 10.417 5.52036 10.4796C5.58296 10.5422 5.65739 10.5917 5.73932 10.6252C5.82125 10.6587 5.90904 10.6756 5.99756 10.6748C6.08608 10.674 6.17356 10.6556 6.25489 10.6207C6.33623 10.5858 6.40979 10.535 6.47129 10.4713L7.99996 8.94263L9.52862 10.4713C9.65436 10.5927 9.82276 10.6599 9.99756 10.6584C10.1724 10.6569 10.3396 10.5868 10.4632 10.4632C10.5868 10.3396 10.6569 10.1724 10.6584 9.99756C10.6599 9.82276 10.5927 9.65436 10.4713 9.52863L8.94262 7.99996L10.4713 6.47129Z",fill:be(n)})}))}))})]})),e.jsx("div",i({css:ae},{children:o}))]}))},exports.colors=m,exports.mixins=b,exports.typography=g,exports.utils=p;
1
+ import{jsx as e,jsxs as t}from"@emotion/react/jsx-runtime";import{keyframes as r,css as o}from"@emotion/react";import*as n from"react";import{useState as i,useRef as l}from"react";var a=function(){return a=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},a.apply(this,arguments)};var d,c,_,m=r(_||(d=["\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }"],c=["\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }"],Object.defineProperty?Object.defineProperty(d,"raw",{value:c}):d.raw=c,_=d)),s=o({borderRadius:"100%",borderWidth:3,borderStyle:"solid",borderTopColor:"rgba(255,255,255,0.4)",margin:"0 auto",animation:"".concat(m," 1s linear infinite")}),g=function(t){var r=t.size,n=t.color;return e("div",{css:[s,o({height:"".concat(r,"px"),width:"".concat(r,"px"),color:n})]})},p={Zeb_Solid_White:"#FFFFFF",Zeb_Solid_BG_Blue:"#222245",Zeb_Solid_Dark_Blue:"#181837",Zeb_Solid_Bright_Blue:"#338FFF",Zeb_Solid_Light_Blue:"#C0C0EE",Zeb_Solid_Green:"#1ECAA2",Zeb_Solid_Red:"#EA6161",Zeb_Solid_Yellow:"#F9C35C",Zeb_Solid_Grey:"#C2C2DD",Zeb_Solid_Dark_Grey:"#34345A",Zeb_Solid_Black:"000000",Zeb_Solid_Light_Blue_01:"#E9EFF6",Zeb_Solid_Grey_01:"#E1E3E6",Zeb_Gradient_Blue_01:"linear-gradient(90.15deg, #5D7BFE 0.73%, #0974FF 101.92%)",Zeb_Gradient_Blue_02:"linear-gradient(180deg, #0473FF 0.54%, rgba(4, 115, 255, 0) 100%)",Zeb_Gradient_Dark_Blue:"linear-gradient(254.37deg, #4A62CA -43.42%, #1B264B 148.58%)",Zeb_Transparent_25:"rgba(12, 12, 36, 0.25)",Zeb_Transparent_Green:"rgba(30, 202, 162, 0.2)",Zeb_Transparent_Yellow:"rgba(249, 195, 92, 0.2)",Zeb_Transparent_Red:"rgba(234, 97, 97, 0.2)",Zeb_BG_Blue:"rgba(51, 143, 255, 0.2)",Zeb_BG_Light_Blue:"rgba(192, 192, 238, 0.2)",Zeb_BG_Green:"rgba(30, 202, 162, 0.08)",Zeb_BG_Red:"rgba(234, 97, 97, 0.08)",Zeb_BG_Yellow:"rgba(249, 195, 92, 0.08)",Zeb_Transparent_4:"rgba(51, 143, 255, 0.04)",Zeb_Effects_Shadow_Hover:"0px 8px 8px -4px #0C0C1D",Zeb_Effects_Shadow_W_Drawer:"-12px 0px 40px rgba(12, 12, 29, 0.48)",Zeb_Effects_Shadow_M_Drawer:"0px -12px 40px rgba(12, 12, 29, 0.48)",Zeb_Effects_Shadow_Hover_Up:"0px -2px 32px 8px rgba(12, 12, 29, 0.4)",Zeb_Effects_Shimmer:"linear-gradient(97.38deg, #34345A -40.76%, #19193A 135.88%)"},b={remConverter:function(e){return"".concat(e/16,"rem")},widthPercentage:function(e){return o({width:"".concat(e,"%")})},heightPercentage:function(e){return o({height:"".concat(e,"%")})},mr:function(e){return o({marginRight:b.remConverter(e)})},ml:function(e){return o({marginLeft:b.remConverter(e)})},mt:function(e){return o({marginTop:b.remConverter(e)})},mb:function(e){return o({marginBottom:b.remConverter(e)})}},f={H1_56_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H2_44_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H3_32_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H4_28_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H5_20_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(20),lineHeight:"normal",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H6_16_bold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H1_56_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H2_44_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H3_32_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H4_28_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H5_20_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H6_16_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H1_56_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(56),lineHeight:"86px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H2_44_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(44),lineHeight:"60px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H3_32_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(32),lineHeight:"48px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H4_28_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(28),lineHeight:"40px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H5_20_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H6_16_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},H8_12_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.8px",color:p.Zeb_Solid_White},B1_24_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(24),lineHeight:"40px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B2_20_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B3_16_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B4_14_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(14),lineHeight:"24px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B5_12_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B6_10_semibold:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(10),lineHeight:"12px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B1_24_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(24),lineHeight:"40px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B2_20_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:600,fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B3_16_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B4_14_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(14),lineHeight:"24px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B5_12_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},B6_10_regular:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"normal",fontSize:b.remConverter(10),lineHeight:"12px",letterSpacing:"0.4px",color:p.Zeb_Solid_White},C1_20:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(20),lineHeight:"30px",letterSpacing:"1.6px",color:p.Zeb_Solid_White,textTransform:"uppercase"},C2_16:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(16),lineHeight:"28px",letterSpacing:"0.8px",color:p.Zeb_Solid_White,textTransform:"uppercase"},C3_14:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(14),lineHeight:"24px",letterSpacing:"0.8px",color:p.Zeb_Solid_White,textTransform:"uppercase"},C4_12:{fontFamily:"Lato",fontStyle:"normal",fontWeight:"bold",fontSize:b.remConverter(12),lineHeight:"18px",letterSpacing:"0.4px",color:p.Zeb_Solid_White,textTransform:"uppercase"}},h={flexJustifiedBetween:o({justifyContent:"space-between"}),flexJustifiedCenter:o({justifyContent:"center"}),flexJustifiedEnd:o({justifyContent:"flex-end"}),flexAlignCenter:o({display:"flex",alignItems:"center"}),flexAlignStart:o({display:"flex",alignItems:"flex-start"}),flexNoWrap:o({flexWrap:"nowrap"}),flexColumn:o({display:"flex",flexDirection:"column"}),textSuccess:o({color:p.Zeb_Solid_Green}),textError:o({color:p.Zeb_Solid_Red}),bgSuccess:o({background:p.Zeb_Solid_Green}),bgError:o({background:p.Zeb_Solid_Red}),textFaded:o({color:p.Zeb_Solid_Light_Blue}),textCapitalize:o({textTransform:"capitalize"}),textAlignmentCenter:o({textAlign:"center"}),textAlignmentLeft:o({textAlign:"left"}),textAlignmentRight:o({textAlign:"right"})},C=o(a(a({padding:0,backgroundColor:"transparent",boxShadow:"none",border:"none",outline:"none"},f.C3_14),{color:p.Zeb_Solid_Bright_Blue,"&.small":a(a({},f.C4_12),{color:p.Zeb_Solid_Bright_Blue})})),u=o(a(a({background:p.Zeb_Gradient_Blue_01,borderRadius:b.remConverter(8),boxShadow:"none",border:"none",outline:"none",whiteSpace:"nowrap"},f.C4_12),{"&.small":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.medium":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.large":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(16))},f.C2_16),"&.full-width":{padding:"".concat(b.remConverter(8)," 0"),width:"100%"},"&:disabled":{opacity:.2}})),S=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(16)),background:p.Zeb_Transparent_4,border:"1px solid ".concat(p.Zeb_Solid_Bright_Blue),borderRadius:"8px"},f.C2_16),{"&.small":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.medium":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))},f.C4_12),"&.large":a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(16))},f.C2_16),"&.full-width":{padding:"".concat(b.remConverter(8)," 0")},"&:disabled":{borderColor:p.Zeb_Solid_Grey}})),x=o({padding:"".concat(b.remConverter(6)," 0"),background:p.Zeb_Gradient_Blue_01,boxShadow:"none",border:"none",outline:"none",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center","&.small":{width:"100%",padding:"".concat(b.remConverter(8)," 0")},"&.large":{width:"100%"},"&.full-width":{width:"100%"},"&.medium":{width:"100%"}}),v=o(a({marginLeft:b.remConverter(8)},f.C3_14)),y=o({display:"none"}),Z=o({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Transparent_4,boxShadow:"none",border:"1px solid ".concat(p.Zeb_Solid_Bright_Blue),outline:"none",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center","&.medium":{padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12))}}),W=o(a({marginLeft:b.remConverter(4)},f.C4_12)),B=o(a(a({border:"0.5px solid ".concat(p.Zeb_Solid_Light_Blue),borderRadius:"4px",padding:"".concat(b.remConverter(4)," ").concat(b.remConverter(8))},f.B5_12_semibold),{color:p.Zeb_Solid_Light_Blue,display:"flex",justifyContent:"center",flexGrow:1,textTransform:"uppercase",cursor:"pointer","&.active":a({background:p.Zeb_Solid_Dark_Blue,borderColor:p.Zeb_Solid_Bright_Blue},f.C4_12)})),w=o({opacity:.5,cursor:"not-allowed"});function H(e,t){switch(e){case"primary":return u;case"secondary":return S;case"tertiary":return[Z,W];case"link":return C;case"tab":return"small"===t?[B,y]:B;case"special":return[x,v]}}var L=function(t){var r=t.type,o=t.size,n=void 0===o?"medium":o,i=t.onClick,l=t.disabled,d=t.style,c=t.children,_=t.loading;return e("button",a({onClick:i,disabled:l,className:n,css:[H(r,n),d,l&&w]},{children:_?e(g,{size:18}):c}))},k=o({minWidth:b.remConverter(16)}),F=o(a(a({display:"flex",alignItems:"center",justifyContent:"flex-start",height:"auto",position:"relative",cursor:"pointer",marginBottom:0},f.B4_14_semibold),{"&:hover":{"input ~ .checkmark":{backgroundColor:p.Zeb_Solid_White}}})),z=o({opacity:.5,cursor:"not-allowed"}),R=o({opacity:0,cursor:"pointer",height:0,width:0}),G=o({backgroundColor:p.Zeb_Solid_White,border:"1px solid ".concat(p.Zeb_Solid_White),borderRadius:4,"&:after":{display:"block"}}),T=o({marginLeft:b.remConverter(20)});o({marginLeft:b.remConverter(20)});var E=o({position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",height:b.remConverter(12),width:b.remConverter(12),backgroundColor:"transparent",border:"1px solid ".concat(p.Zeb_Solid_White),borderRadius:4,"&:after":{content:"''",position:"absolute",display:"none",left:2,top:"45%",width:4,height:8,border:"solid ".concat(p.Zeb_Solid_Dark_Blue),borderWidth:"0 2px 2px 0",transform:"rotate(45deg) translate(-50%, -50%)"}}),D=function(r){var o=r.label,n=r.value,i=r.style,l=r.checked,d=r.onChange,c=r.disabled;return t("label",a({css:[k,F,i,c?z:""]},{children:[o&&e("div",a({css:T},{children:o})),e("input",{checked:l,onChange:function(e){return d({checked:e.target.checked,value:e.target.value})},type:"checkbox",css:R,value:n,disabled:c}),e("span",{css:[E,l&&G]})]}))},A=o({borderColor:p.Zeb_Solid_Red}),j=o(a(a({},f.B4_14_regular),{color:p.Zeb_Solid_Light_Blue,marginBottom:b.remConverter(4)})),I=o({color:"".concat(p.Zeb_Solid_White,"!important")}),M=o({border:"1px solid transparent",borderRadius:8,flexWrap:"wrap",alignItems:"stretch"}),Y=o({borderColor:p.Zeb_Solid_Bright_Blue,boxShadow:p.Zeb_Effects_Shadow_Hover}),O=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Solid_Dark_Blue,border:"none"},f.B4_14_semibold),{color:"".concat(p.Zeb_Solid_White,"!important"),height:b.remConverter(40),flex:"1 1 auto",":focus":{boxShadow:"none",outline:"none"},"::placeholder":a(a({},f.B4_14_regular),{color:"".concat(p.Zeb_Solid_Light_Blue,"!important")})})),P=o({borderRadius:b.remConverter(8)}),J=o({borderRadius:b.remConverter(0)}),U=o({borderRadius:"".concat(b.remConverter(8)," 0 0 ").concat(b.remConverter(8))}),N=o({borderRadius:"0 ".concat(b.remConverter(8)," ").concat(b.remConverter(8)," 0")}),V=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Solid_Dark_Blue,borderRadius:"0 ".concat(b.remConverter(8)," ").concat(b.remConverter(8)," 0"),border:"none"},f.B4_14_semibold),{height:b.remConverter(40)})),X=o(a(a({padding:"".concat(b.remConverter(8)," ").concat(b.remConverter(12)),background:p.Zeb_Solid_Dark_Blue,borderRadius:"".concat(b.remConverter(8)," 0 0 ").concat(b.remConverter(8)),border:"none"},f.B4_14_semibold),{height:b.remConverter(40)})),q=o({marginLeft:"auto"}),K=function(r){var n=r.value,l=r.label,d=r.placeholder,c=r.name,_=r.appendItem,m=r.prependItem,s=r.infoText,g=r.errorText,p=r.cta,b=r.style,C=r.type,u=void 0===C?"text":C,S=r.onChange,x=i(!1),v=x[0],y=x[1];return t("div",a({css:b},{children:[e("label",a({css:[j,v?I:null,g?h.textError:null]},{children:l})),t("div",a({css:[M,h.flexAlignCenter,v?Y:null,g?A:null]},{children:[m&&e("span",a({css:X},{children:m})),e("input",{type:u,name:c,placeholder:d,onFocus:function(){y(!0)},onBlur:function(){y(!1)},css:[O,P,m&&N,_&&U,_&&m&&J],value:n,onChange:function(e){var t=e.target,r=t.value,o=t.name;S({value:r,name:o})}}),_&&e("span",a({css:V},{children:_}))]})),t("div",a({css:[h.flexAlignCenter,h.flexJustifiedBetween]},{children:[(g||s)&&e("div",a({css:[o(a({},f.B4_14_regular)),s&&h.textFaded,g&&h.textError]},{children:s||g})),p&&e("div",a({css:q},{children:e(L,a({type:"link",size:"medium",onClick:p.onClick},{children:p.label}))}))]}))]}))},Q=o({height:b.remConverter(34),width:b.remConverter(330),position:"relative"}),$=o({backgroundColor:p.Zeb_Solid_BG_Blue,borderRadius:b.remConverter(8),minWidth:b.remConverter(328),display:"flex",flexDirection:"column",padding:b.remConverter(12),position:"absolute",justifyContent:"space-between",borderColor:p.Zeb_Solid_Bright_Blue,borderWidth:b.remConverter(2),borderStyle:"solid",boxShadow:"0px 8px 8px -4px #0C0C1D",bottom:b.remConverter(42)}),ee=o(a(a({},f.B4_14_semibold),{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"})),te=o(a(a({},f.C4_12),{textAlign:"center",height:b.remConverter(34),width:b.remConverter(330)})),re=o({});var oe=function(r){var o,i=r.onClose,d=void 0===i?function(){}:i,c=r.label,_=r.buttonProps,m=void 0===_?{}:_,s=r.renderChildren,g=r.style,p=n.useState(!1),b=p[0],f=p[1],h=[o=l(null),function(){o.current&&o.current.focus()}],C=h[0],u=h[1],S=n.useCallback((function(){f(!1),d()}),[d]),x=n.useCallback((function(){b?S():f(!0)}),[b,S,f]);return n.useEffect((function(){u&&u()}),[C.current,u]),t("div",a({css:[Q,g]},{children:[b&&t("div",a({css:$,tabIndex:0,onBlur:S,ref:C},{children:[t("div",a({css:ee},{children:[e("span",{children:c}),e("span",a({onClick:S,css:re},{children:"X"}))]})),s({close:S,isOpened:b})]})),e(L,a({},m,{style:[te,m.style],onClick:x,type:m.type||"secondary"},{children:c}))]}))},ne=o(a({display:"block",position:"relative",paddingLeft:b.remConverter(20),cursor:"pointer",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none",marginBottom:0},f.B4_14_regular)),ie=o({position:"absolute",opacity:0,cursor:"pointer",":checked":{"~ span":{backgroundColor:"transparent",":after":{display:"block"}}}}),le=o({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",left:0,height:16,width:16,borderRadius:"50%",border:"1px solid ".concat(p.Zeb_Solid_White),transform:"translateY(-50%)",":after":{content:"''",display:"none",width:8,height:8,borderRadius:"50%",backgroundColor:p.Zeb_Solid_Bright_Blue}}),ae=function(r){var o=r.value,n=r.onChange,i=r.label,l=r.style,d=r.name,c=r.selected;return t("label",a({css:[ne,l]},{children:[i,e("input",{type:"radio",name:d,css:ie,value:o,onChange:function(e){return n({selected:e.target.checked,value:e.target.value})},checked:c}),e("span",{css:le})]}))},de=o({padding:"".concat(b.remConverter(12)," ").concat(b.remConverter(16)," ").concat(b.remConverter(12)," ").concat(b.remConverter(24)),border:"1px solid transparent",backdropFilter:"blur(20px)",borderRadius:"8px",maxWidth:"484px",width:"100%"}),ce=o(a(a({},f.B4_14_semibold),{display:"flex",alignItems:"center",justifyContent:"space-between"})),_e=o({display:"flex",alignItems:"center"}),me=o({marginLeft:"".concat(b.remConverter(8))}),se=o({padding:0,outline:"none",border:"none",boxShadow:"none",backgroundColor:"transparent"}),ge=o(a(a({},f.B5_12_regular),{marginTop:"".concat(b.remConverter(4))})),pe=o({background:"rgba(249, 200, 92, 0.08)",borderColor:p.Zeb_Solid_Yellow}),be=o({color:p.Zeb_Solid_Yellow}),fe=o({background:"rgba(234, 97, 97, 0.08)",borderColor:p.Zeb_Solid_Red}),he=o({color:p.Zeb_Solid_Red}),Ce=o({background:"rgba(30, 202, 162, 0.08)",borderColor:p.Zeb_Solid_Green}),ue=o({color:p.Zeb_Solid_Green}),Se=Object.freeze({__proto__:null,toastContainer:de,toastHeading:ce,toastDetails:_e,toastTitle:me,closeCta:se,toastDescription:ge,info:pe,infoToastHeading:be,error:fe,errorToastHeading:he,success:Ce,successToastHeading:ue}),xe=function(e){return"info"===e?p.Zeb_Solid_Yellow:"error"===e?p.Zeb_Solid_Red:"success"===e?p.Zeb_Solid_Green:void 0},ve=function(r){var o=r.title,n=r.description,i=r.type,l=r.onClose;return t("div",a({css:[de,Se[i]]},{children:[t("div",a({css:[ce,Se["".concat(i,"ToastHeading")]]},{children:[t("div",a({css:_e},{children:[e("svg",a({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9999 13.9866C10.8159 14.7778 9.42383 15.2 7.9998 15.2C6.09024 15.2 4.2589 14.4415 2.90864 13.0912C1.55837 11.741 0.799805 9.90961 0.799805 8.00005C0.799805 6.57602 1.22208 5.18398 2.01322 3.99995C2.80437 2.81591 3.92885 1.89307 5.24448 1.34812C6.56011 0.803169 8.00779 0.660585 9.40445 0.938398C10.8011 1.21621 12.084 1.90194 13.091 2.90888C14.0979 3.91582 14.7836 5.19874 15.0615 6.5954C15.3393 7.99206 15.1967 9.43974 14.6517 10.7554C14.1068 12.071 13.1839 13.1955 11.9999 13.9866ZM11.4656 2.81311C10.4397 2.12763 9.23361 1.76177 7.9998 1.76177C6.34614 1.76449 4.76099 2.4226 3.59167 3.59192C2.42236 4.76124 1.76424 6.34639 1.76152 8.00005C1.76152 9.23386 2.12739 10.44 2.81286 11.4659C3.49833 12.4917 4.47262 13.2913 5.61251 13.7635C6.75241 14.2356 8.00672 14.3592 9.21683 14.1185C10.4269 13.8778 11.5385 13.2836 12.4109 12.4112C13.2834 11.5387 13.8775 10.4272 14.1182 9.21708C14.3589 8.00697 14.2354 6.75266 13.7632 5.61276C13.2911 4.47286 12.4915 3.49858 11.4656 2.81311ZM7.41321 7.59992C7.41321 7.27925 7.67321 7.01325 7.99321 7.01325C8.31987 7.01325 8.57987 7.27925 8.57987 7.59992V10.5466C8.57987 10.8666 8.31987 11.1266 7.99321 11.1266C7.67321 11.1266 7.41321 10.8666 7.41321 10.5466V7.59992ZM7.41987 5.48659C7.41987 5.15992 7.67987 4.89992 8.00654 4.89992C8.32654 4.89992 8.58654 5.15992 8.58654 5.48659C8.58654 5.80592 8.32654 6.06659 7.99321 6.06659C7.67987 6.06659 7.41987 5.80592 7.41987 5.48659Z",fill:xe(i)})})),e("div",a({css:me},{children:o}))]})),e("div",{children:l&&e("button",a({css:se,onClick:l},{children:e("svg",a({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99996 0.666626C3.94996 0.666626 0.666626 3.94996 0.666626 7.99996C0.666626 12.05 3.94996 15.3333 7.99996 15.3333C12.05 15.3333 15.3333 12.05 15.3333 7.99996C15.3333 3.94996 12.05 0.666626 7.99996 0.666626ZM10.4713 6.47129C10.5927 6.34556 10.6599 6.17716 10.6584 6.00236C10.6569 5.82756 10.5868 5.66035 10.4632 5.53675C10.3396 5.41314 10.1724 5.34303 9.99756 5.34151C9.82276 5.33999 9.65436 5.40719 9.52862 5.52863L7.99996 7.05729L6.47129 5.52863C6.40979 5.46495 6.33623 5.41416 6.25489 5.37922C6.17356 5.34429 6.08608 5.32589 5.99756 5.32513C5.90904 5.32436 5.82125 5.34122 5.73932 5.37474C5.65739 5.40827 5.58296 5.45777 5.52036 5.52036C5.45777 5.58296 5.40827 5.65739 5.37474 5.73932C5.34122 5.82125 5.32436 5.90904 5.32513 5.99756C5.32589 6.08608 5.34428 6.17356 5.37922 6.2549C5.41416 6.33623 5.46495 6.40979 5.52863 6.47129L7.05729 7.99996L5.52863 9.52863C5.46495 9.59012 5.41416 9.66369 5.37922 9.74502C5.34428 9.82636 5.32589 9.91384 5.32513 10.0024C5.32436 10.0909 5.34122 10.1787 5.37474 10.2606C5.40827 10.3425 5.45777 10.417 5.52036 10.4796C5.58296 10.5422 5.65739 10.5917 5.73932 10.6252C5.82125 10.6587 5.90904 10.6756 5.99756 10.6748C6.08608 10.674 6.17356 10.6556 6.25489 10.6207C6.33623 10.5858 6.40979 10.535 6.47129 10.4713L7.99996 8.94263L9.52862 10.4713C9.65436 10.5927 9.82276 10.6599 9.99756 10.6584C10.1724 10.6569 10.3396 10.5868 10.4632 10.4632C10.5868 10.3396 10.6569 10.1724 10.6584 9.99756C10.6599 9.82276 10.5927 9.65436 10.4713 9.52863L8.94262 7.99996L10.4713 6.47129Z",fill:xe(i)})}))}))})]})),e("div",a({css:ge},{children:n}))]}))};export{L as Button,D as Checkbox,g as CircularLoader,K as Input,oe as Popper,ae as Radio,ve as Toast,p as colors,h as mixins,f as typography,b as utils};
2
+ //# sourceMappingURL=index.js.map
3
+ 2 9.74502C5.34428 9.82636 5.32589 9.91384 5.32513 10.0024C5.32436 10.0909 5.34122 10.1787 5.37474 10.2606C5.40827 10.3425 5.45777 10.417 5.52036 10.4796C5.58296 10.5422 5.65739 10.5917 5.73932 10.6252C5.82125 10.6587 5.90904 10.6756 5.99756 10.6748C6.08608 10.674 6.17356 10.6556 6.25489 10.6207C6.33623 10.5858 6.40979 10.535 6.47129 10.4713L7.99996 8.94263L9.52862 10.4713C9.65436 10.5927 9.82276 10.6599 9.99756 10.6584C10.1724 10.6569 10.3396 10.5868 10.4632 10.4632C10.5868 10.3396 10.6569 10.1724 10.6584 9.99756C10.6599 9.82276 10.5927 9.65436 10.4713 9.52863L8.94262 7.99996L10.4713 6.47129Z",fill:be(n)})}))}))})]})),e.jsx("div",i({css:ae},{children:o}))]}))},exports.colors=m,exports.mixins=b,exports.typography=g,exports.utils=p;
2
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zebpay-ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -50,7 +50,9 @@
50
50
  "typescript": "^4.5.5"
51
51
  },
52
52
  "peerDependencies": {
53
- "@emotion/react": "^11.8.1"
53
+ "@emotion/react": "^11.8.1",
54
+ "react": "^17.0.2",
55
+ "react-dom": "^17.0.2"
54
56
  },
55
57
  "dependencies": {
56
58
  "@babel/preset-react": "^7.18.6",
@@ -58,8 +60,6 @@
58
60
  "@types/react-date-range": "^1.4.3",
59
61
  "date-fns": "^2.28.0",
60
62
  "react-date-range": "^1.4.0",
61
- "react-hot-toast": "^2.2.0",
62
- "react": "^17.0.2",
63
- "react-dom": "^17.0.2"
63
+ "react-hot-toast": "^2.2.0"
64
64
  }
65
65
  }
package/dist/cjs/index.js DELETED
@@ -1,657 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: !0 });
3
- var e = require("@emotion/react/jsx-runtime"),
4
- t = require("@emotion/react"),
5
- o = function () {
6
- return (
7
- (o =
8
- Object.assign ||
9
- function (e) {
10
- for (var t, o = 1, r = arguments.length; o < r; o++)
11
- for (var n in (t = arguments[o]))
12
- Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
13
- return e;
14
- }),
15
- o.apply(this, arguments)
16
- );
17
- };
18
- var r,
19
- n,
20
- i,
21
- l = t.keyframes(
22
- i ||
23
- ((r = [
24
- "\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }",
25
- ]),
26
- (n = [
27
- "\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }",
28
- ]),
29
- Object.defineProperty
30
- ? Object.defineProperty(r, "raw", { value: n })
31
- : (r.raw = n),
32
- (i = r))
33
- ),
34
- a = t.css({
35
- borderRadius: "100%",
36
- borderWidth: 3,
37
- borderStyle: "solid",
38
- borderTopColor: "rgba(255,255,255,0.4)",
39
- margin: "0 auto",
40
- animation: "".concat(l, " 1s linear infinite"),
41
- }),
42
- _ = function (o) {
43
- var r = o.size,
44
- n = o.color;
45
- return e.jsx("div", {
46
- css: [
47
- a,
48
- t.css({
49
- height: "".concat(r, "px"),
50
- width: "".concat(r, "px"),
51
- color: n,
52
- }),
53
- ],
54
- });
55
- },
56
- c = {
57
- Zeb_Solid_White: "#FFFFFF",
58
- Zeb_Solid_BG_Blue: "#222245",
59
- Zeb_Solid_Dark_Blue: "#181837",
60
- Zeb_Solid_Bright_Blue: "#338FFF",
61
- Zeb_Solid_Light_Blue: "#C0C0EE",
62
- Zeb_Solid_Green: "#1ECAA2",
63
- Zeb_Solid_Red: "#EA6161",
64
- Zeb_Solid_Yellow: "#F9C35C",
65
- Zeb_Solid_Grey: "#C2C2DD",
66
- Zeb_Solid_Dark_Grey: "#34345A",
67
- Zeb_Solid_Black: "000000",
68
- Zeb_Solid_Light_Blue_01: "#E9EFF6",
69
- Zeb_Solid_Grey_01: "#E1E3E6",
70
- Zeb_Gradient_Blue_01:
71
- "linear-gradient(90.15deg, #5D7BFE 0.73%, #0974FF 101.92%)",
72
- Zeb_Gradient_Blue_02:
73
- "linear-gradient(180deg, #0473FF 0.54%, rgba(4, 115, 255, 0) 100%)",
74
- Zeb_Gradient_Dark_Blue:
75
- "linear-gradient(254.37deg, #4A62CA -43.42%, #1B264B 148.58%)",
76
- Zeb_Transparent_25: "rgba(12, 12, 36, 0.25)",
77
- Zeb_Transparent_Green: "rgba(30, 202, 162, 0.2)",
78
- Zeb_Transparent_Yellow: "rgba(249, 195, 92, 0.2)",
79
- Zeb_Transparent_Red: "rgba(234, 97, 97, 0.2)",
80
- Zeb_BG_Blue: "rgba(51, 143, 255, 0.2)",
81
- Zeb_BG_Light_Blue: "rgba(192, 192, 238, 0.2)",
82
- Zeb_BG_Green: "rgba(30, 202, 162, 0.08)",
83
- Zeb_BG_Red: "rgba(234, 97, 97, 0.08)",
84
- Zeb_BG_Yellow: "rgba(249, 195, 92, 0.08)",
85
- Zeb_Transparent_4: "rgba(51, 143, 255, 0.04)",
86
- Zeb_Effects_Shadow_Hover: "0px 8px 8px -4px #0C0C1D",
87
- Zeb_Effects_Shadow_W_Drawer: "-12px 0px 40px rgba(12, 12, 29, 0.48)",
88
- Zeb_Effects_Shadow_M_Drawer: "0px -12px 40px rgba(12, 12, 29, 0.48)",
89
- Zeb_Effects_Shadow_Hover_Up: "0px -2px 32px 8px rgba(12, 12, 29, 0.4)",
90
- Zeb_Effects_Shimmer:
91
- "linear-gradient(97.38deg, #34345A -40.76%, #19193A 135.88%)",
92
- },
93
- d = {
94
- remConverter: function (e) {
95
- return "".concat(e / 16, "rem");
96
- },
97
- widthPercentage: function (e) {
98
- return t.css({ width: "".concat(e, "%") });
99
- },
100
- heightPercentage: function (e) {
101
- return t.css({ height: "".concat(e, "%") });
102
- },
103
- mr: function (e) {
104
- return t.css({ marginRight: d.remConverter(e) });
105
- },
106
- ml: function (e) {
107
- return t.css({ marginLeft: d.remConverter(e) });
108
- },
109
- mt: function (e) {
110
- return t.css({ marginTop: d.remConverter(e) });
111
- },
112
- mb: function (e) {
113
- return t.css({ marginBottom: d.remConverter(e) });
114
- },
115
- },
116
- m = {
117
- H1_56_bold: {
118
- fontFamily: "Lato",
119
- fontStyle: "normal",
120
- fontWeight: "bold",
121
- fontSize: d.remConverter(56),
122
- lineHeight: "86px",
123
- letterSpacing: "0.8px",
124
- color: c.Zeb_Solid_White,
125
- },
126
- H2_44_bold: {
127
- fontFamily: "Lato",
128
- fontStyle: "normal",
129
- fontWeight: "bold",
130
- fontSize: d.remConverter(44),
131
- lineHeight: "60px",
132
- letterSpacing: "0.8px",
133
- color: c.Zeb_Solid_White,
134
- },
135
- H3_32_bold: {
136
- fontFamily: "Lato",
137
- fontStyle: "normal",
138
- fontWeight: "bold",
139
- fontSize: d.remConverter(32),
140
- lineHeight: "48px",
141
- letterSpacing: "0.8px",
142
- color: c.Zeb_Solid_White,
143
- },
144
- H4_28_bold: {
145
- fontFamily: "Lato",
146
- fontStyle: "normal",
147
- fontWeight: "bold",
148
- fontSize: d.remConverter(28),
149
- lineHeight: "40px",
150
- letterSpacing: "0.8px",
151
- color: c.Zeb_Solid_White,
152
- },
153
- H5_20_bold: {
154
- fontFamily: "Lato",
155
- fontStyle: "normal",
156
- fontWeight: "bold",
157
- fontSize: d.remConverter(20),
158
- lineHeight: "normal",
159
- letterSpacing: "0.8px",
160
- color: c.Zeb_Solid_White,
161
- },
162
- H6_16_bold: {
163
- fontFamily: "Lato",
164
- fontStyle: "normal",
165
- fontWeight: "bold",
166
- fontSize: d.remConverter(16),
167
- lineHeight: "28px",
168
- letterSpacing: "0.8px",
169
- color: c.Zeb_Solid_White,
170
- },
171
- H1_56_semibold: {
172
- fontFamily: "Lato",
173
- fontStyle: "normal",
174
- fontWeight: 600,
175
- fontSize: d.remConverter(56),
176
- lineHeight: "86px",
177
- letterSpacing: "0.8px",
178
- color: c.Zeb_Solid_White,
179
- },
180
- H2_44_semibold: {
181
- fontFamily: "Lato",
182
- fontStyle: "normal",
183
- fontWeight: 600,
184
- fontSize: d.remConverter(44),
185
- lineHeight: "60px",
186
- letterSpacing: "0.8px",
187
- color: c.Zeb_Solid_White,
188
- },
189
- H3_32_semibold: {
190
- fontFamily: "Lato",
191
- fontStyle: "normal",
192
- fontWeight: 600,
193
- fontSize: d.remConverter(32),
194
- lineHeight: "48px",
195
- letterSpacing: "0.8px",
196
- color: c.Zeb_Solid_White,
197
- },
198
- H4_28_semibold: {
199
- fontFamily: "Lato",
200
- fontStyle: "normal",
201
- fontWeight: 600,
202
- fontSize: d.remConverter(28),
203
- lineHeight: "40px",
204
- letterSpacing: "0.8px",
205
- color: c.Zeb_Solid_White,
206
- },
207
- H5_20_semibold: {
208
- fontFamily: "Lato",
209
- fontStyle: "normal",
210
- fontWeight: 600,
211
- fontSize: d.remConverter(20),
212
- lineHeight: "30px",
213
- letterSpacing: "0.8px",
214
- color: c.Zeb_Solid_White,
215
- },
216
- H6_16_semibold: {
217
- fontFamily: "Lato",
218
- fontStyle: "normal",
219
- fontWeight: 600,
220
- fontSize: d.remConverter(16),
221
- lineHeight: "28px",
222
- letterSpacing: "0.8px",
223
- color: c.Zeb_Solid_White,
224
- },
225
- H1_56_regular: {
226
- fontFamily: "Lato",
227
- fontStyle: "normal",
228
- fontWeight: "normal",
229
- fontSize: d.remConverter(56),
230
- lineHeight: "86px",
231
- letterSpacing: "0.8px",
232
- color: c.Zeb_Solid_White,
233
- },
234
- H2_44_regular: {
235
- fontFamily: "Lato",
236
- fontStyle: "normal",
237
- fontWeight: "normal",
238
- fontSize: d.remConverter(44),
239
- lineHeight: "60px",
240
- letterSpacing: "0.8px",
241
- color: c.Zeb_Solid_White,
242
- },
243
- H3_32_regular: {
244
- fontFamily: "Lato",
245
- fontStyle: "normal",
246
- fontWeight: "normal",
247
- fontSize: d.remConverter(32),
248
- lineHeight: "48px",
249
- letterSpacing: "0.8px",
250
- color: c.Zeb_Solid_White,
251
- },
252
- H4_28_regular: {
253
- fontFamily: "Lato",
254
- fontStyle: "normal",
255
- fontWeight: "normal",
256
- fontSize: d.remConverter(28),
257
- lineHeight: "40px",
258
- letterSpacing: "0.8px",
259
- color: c.Zeb_Solid_White,
260
- },
261
- H5_20_regular: {
262
- fontFamily: "Lato",
263
- fontStyle: "normal",
264
- fontWeight: "normal",
265
- fontSize: d.remConverter(20),
266
- lineHeight: "30px",
267
- letterSpacing: "0.8px",
268
- color: c.Zeb_Solid_White,
269
- },
270
- H6_16_regular: {
271
- fontFamily: "Lato",
272
- fontStyle: "normal",
273
- fontWeight: "normal",
274
- fontSize: d.remConverter(16),
275
- lineHeight: "28px",
276
- letterSpacing: "0.8px",
277
- color: c.Zeb_Solid_White,
278
- },
279
- H8_12_regular: {
280
- fontFamily: "Lato",
281
- fontStyle: "normal",
282
- fontWeight: "normal",
283
- fontSize: d.remConverter(12),
284
- lineHeight: "18px",
285
- letterSpacing: "0.8px",
286
- color: c.Zeb_Solid_White,
287
- },
288
- B1_24_semibold: {
289
- fontFamily: "Lato",
290
- fontStyle: "normal",
291
- fontWeight: 600,
292
- fontSize: d.remConverter(24),
293
- lineHeight: "40px",
294
- letterSpacing: "0.4px",
295
- color: c.Zeb_Solid_White,
296
- },
297
- B2_20_semibold: {
298
- fontFamily: "Lato",
299
- fontStyle: "normal",
300
- fontWeight: 600,
301
- fontSize: d.remConverter(20),
302
- lineHeight: "30px",
303
- letterSpacing: "0.4px",
304
- color: c.Zeb_Solid_White,
305
- },
306
- B3_16_semibold: {
307
- fontFamily: "Lato",
308
- fontStyle: "normal",
309
- fontWeight: 600,
310
- fontSize: d.remConverter(16),
311
- lineHeight: "28px",
312
- letterSpacing: "0.4px",
313
- color: c.Zeb_Solid_White,
314
- },
315
- B4_14_semibold: {
316
- fontFamily: "Lato",
317
- fontStyle: "normal",
318
- fontWeight: 600,
319
- fontSize: d.remConverter(14),
320
- lineHeight: "24px",
321
- letterSpacing: "0.4px",
322
- color: c.Zeb_Solid_White,
323
- },
324
- B5_12_semibold: {
325
- fontFamily: "Lato",
326
- fontStyle: "normal",
327
- fontWeight: 600,
328
- fontSize: d.remConverter(12),
329
- lineHeight: "18px",
330
- letterSpacing: "0.4px",
331
- color: c.Zeb_Solid_White,
332
- },
333
- B6_10_semibold: {
334
- fontFamily: "Lato",
335
- fontStyle: "normal",
336
- fontWeight: 600,
337
- fontSize: d.remConverter(10),
338
- lineHeight: "12px",
339
- letterSpacing: "0.4px",
340
- color: c.Zeb_Solid_White,
341
- },
342
- B1_24_regular: {
343
- fontFamily: "Lato",
344
- fontStyle: "normal",
345
- fontWeight: 600,
346
- fontSize: d.remConverter(24),
347
- lineHeight: "40px",
348
- letterSpacing: "0.4px",
349
- color: c.Zeb_Solid_White,
350
- },
351
- B2_20_regular: {
352
- fontFamily: "Lato",
353
- fontStyle: "normal",
354
- fontWeight: 600,
355
- fontSize: d.remConverter(20),
356
- lineHeight: "30px",
357
- letterSpacing: "0.4px",
358
- color: c.Zeb_Solid_White,
359
- },
360
- B3_16_regular: {
361
- fontFamily: "Lato",
362
- fontStyle: "normal",
363
- fontWeight: "normal",
364
- fontSize: d.remConverter(16),
365
- lineHeight: "28px",
366
- letterSpacing: "0.4px",
367
- color: c.Zeb_Solid_White,
368
- },
369
- B4_14_regular: {
370
- fontFamily: "Lato",
371
- fontStyle: "normal",
372
- fontWeight: "normal",
373
- fontSize: d.remConverter(14),
374
- lineHeight: "24px",
375
- letterSpacing: "0.4px",
376
- color: c.Zeb_Solid_White,
377
- },
378
- B5_12_regular: {
379
- fontFamily: "Lato",
380
- fontStyle: "normal",
381
- fontWeight: "normal",
382
- fontSize: d.remConverter(12),
383
- lineHeight: "18px",
384
- letterSpacing: "0.4px",
385
- color: c.Zeb_Solid_White,
386
- },
387
- B6_10_regular: {
388
- fontFamily: "Lato",
389
- fontStyle: "normal",
390
- fontWeight: "normal",
391
- fontSize: d.remConverter(10),
392
- lineHeight: "12px",
393
- letterSpacing: "0.4px",
394
- color: c.Zeb_Solid_White,
395
- },
396
- C1_20: {
397
- fontFamily: "Lato",
398
- fontStyle: "normal",
399
- fontWeight: "bold",
400
- fontSize: d.remConverter(20),
401
- lineHeight: "30px",
402
- letterSpacing: "1.6px",
403
- color: c.Zeb_Solid_White,
404
- textTransform: "uppercase",
405
- },
406
- C2_16: {
407
- fontFamily: "Lato",
408
- fontStyle: "normal",
409
- fontWeight: "bold",
410
- fontSize: d.remConverter(16),
411
- lineHeight: "28px",
412
- letterSpacing: "0.8px",
413
- color: c.Zeb_Solid_White,
414
- textTransform: "uppercase",
415
- },
416
- C3_14: {
417
- fontFamily: "Lato",
418
- fontStyle: "normal",
419
- fontWeight: "bold",
420
- fontSize: d.remConverter(14),
421
- lineHeight: "24px",
422
- letterSpacing: "0.8px",
423
- color: c.Zeb_Solid_White,
424
- textTransform: "uppercase",
425
- },
426
- C4_12: {
427
- fontFamily: "Lato",
428
- fontStyle: "normal",
429
- fontWeight: "bold",
430
- fontSize: d.remConverter(12),
431
- lineHeight: "18px",
432
- letterSpacing: "0.4px",
433
- color: c.Zeb_Solid_White,
434
- textTransform: "uppercase",
435
- },
436
- },
437
- f = {
438
- flexJustifiedBetween: t.css({ justifyContent: "space-between" }),
439
- flexJustifiedCenter: t.css({ justifyContent: "center" }),
440
- flexJustifiedEnd: t.css({ justifyContent: "flex-end" }),
441
- flexAlignCenter: t.css({ display: "flex", alignItems: "center" }),
442
- flexAlignStart: t.css({ display: "flex", alignItems: "flex-start" }),
443
- flexNoWrap: t.css({ flexWrap: "nowrap" }),
444
- flexColumn: t.css({ display: "flex", flexDirection: "column" }),
445
- textSuccess: t.css({ color: c.Zeb_Solid_Green }),
446
- textError: t.css({ color: c.Zeb_Solid_Red }),
447
- bgSuccess: t.css({ background: c.Zeb_Solid_Green }),
448
- bgError: t.css({ background: c.Zeb_Solid_Red }),
449
- textFaded: t.css({ color: c.Zeb_Solid_Light_Blue }),
450
- textCapitalize: t.css({ textTransform: "capitalize" }),
451
- textAlignmentCenter: t.css({ textAlign: "center" }),
452
- textAlignmentLeft: t.css({ textAlign: "left" }),
453
- textAlignmentRight: t.css({ textAlign: "right" }),
454
- },
455
- g = t.css(
456
- o(
457
- o(
458
- {
459
- padding: 0,
460
- backgroundColor: "transparent",
461
- boxShadow: "none",
462
- border: "none",
463
- outline: "none",
464
- },
465
- m.C3_14
466
- ),
467
- {
468
- color: c.Zeb_Solid_Bright_Blue,
469
- "&.small": o(o({}, m.C4_12), { color: c.Zeb_Solid_Bright_Blue }),
470
- }
471
- )
472
- ),
473
- p = t.css(
474
- o(
475
- o(
476
- {
477
- background: c.Zeb_Gradient_Blue_01,
478
- borderRadius: d.remConverter(8),
479
- boxShadow: "none",
480
- border: "none",
481
- outline: "none",
482
- whiteSpace: "nowrap",
483
- },
484
- m.C4_12
485
- ),
486
- {
487
- "&.small": o(
488
- {
489
- padding: ""
490
- .concat(d.remConverter(8), " ")
491
- .concat(d.remConverter(12)),
492
- },
493
- m.C4_12
494
- ),
495
- "&.medium": o(
496
- {
497
- padding: ""
498
- .concat(d.remConverter(8), " ")
499
- .concat(d.remConverter(12)),
500
- },
501
- m.C4_12
502
- ),
503
- "&.large": o(
504
- {
505
- padding: ""
506
- .concat(d.remConverter(8), " ")
507
- .concat(d.remConverter(16)),
508
- },
509
- m.C2_16
510
- ),
511
- "&.full-width": {
512
- padding: "".concat(d.remConverter(8), " 0"),
513
- width: "100%",
514
- },
515
- "&:disabled": { opacity: 0.2 },
516
- }
517
- )
518
- ),
519
- s = t.css(
520
- o(
521
- o(
522
- {
523
- padding: "".concat(d.remConverter(8), " ").concat(d.remConverter(16)),
524
- background: c.Zeb_Transparent_4,
525
- border: "1px solid ".concat(c.Zeb_Solid_Bright_Blue),
526
- borderRadius: "8px",
527
- },
528
- m.C2_16
529
- ),
530
- {
531
- "&.small": o(
532
- {
533
- padding: ""
534
- .concat(d.remConverter(8), " ")
535
- .concat(d.remConverter(12)),
536
- },
537
- m.C4_12
538
- ),
539
- "&.medium": o(
540
- {
541
- padding: ""
542
- .concat(d.remConverter(8), " ")
543
- .concat(d.remConverter(12)),
544
- },
545
- m.C4_12
546
- ),
547
- "&.large": o(
548
- {
549
- padding: ""
550
- .concat(d.remConverter(8), " ")
551
- .concat(d.remConverter(16)),
552
- },
553
- m.C2_16
554
- ),
555
- "&.full-width": { padding: "".concat(d.remConverter(8), " 0") },
556
- "&:disabled": { borderColor: c.Zeb_Solid_Grey },
557
- }
558
- )
559
- ),
560
- S = t.css({
561
- padding: "".concat(d.remConverter(6), " 0"),
562
- background: c.Zeb_Gradient_Blue_01,
563
- boxShadow: "none",
564
- border: "none",
565
- outline: "none",
566
- borderRadius: "8px",
567
- display: "flex",
568
- alignItems: "center",
569
- justifyContent: "center",
570
- "&.small": { width: "100%", padding: "".concat(d.remConverter(8), " 0") },
571
- "&.large": { width: "100%" },
572
- "&.full-width": { width: "100%" },
573
- "&.medium": { width: "100%" },
574
- }),
575
- b = t.css(o({ marginLeft: d.remConverter(8) }, m.C3_14)),
576
- h = t.css({ display: "none" }),
577
- x = t.css({
578
- padding: "".concat(d.remConverter(8), " ").concat(d.remConverter(12)),
579
- background: c.Zeb_Transparent_4,
580
- boxShadow: "none",
581
- border: "1px solid ".concat(c.Zeb_Solid_Bright_Blue),
582
- outline: "none",
583
- borderRadius: "8px",
584
- display: "flex",
585
- alignItems: "center",
586
- justifyContent: "center",
587
- "&.medium": {
588
- padding: "".concat(d.remConverter(8), " ").concat(d.remConverter(12)),
589
- },
590
- }),
591
- u = t.css(o({ marginLeft: d.remConverter(4) }, m.C4_12)),
592
- C = t.css(
593
- o(
594
- o(
595
- {
596
- border: "0.5px solid ".concat(c.Zeb_Solid_Light_Blue),
597
- borderRadius: "4px",
598
- padding: "".concat(d.remConverter(4), " ").concat(d.remConverter(8)),
599
- },
600
- m.B5_12_semibold
601
- ),
602
- {
603
- color: c.Zeb_Solid_Light_Blue,
604
- display: "flex",
605
- justifyContent: "center",
606
- flexGrow: 1,
607
- textTransform: "uppercase",
608
- cursor: "pointer",
609
- "&.active": o(
610
- {
611
- background: c.Zeb_Solid_Dark_Blue,
612
- borderColor: c.Zeb_Solid_Bright_Blue,
613
- },
614
- m.C4_12
615
- ),
616
- }
617
- )
618
- ),
619
- y = t.css({ opacity: 0.5, cursor: "not-allowed" });
620
- function Z(e, t) {
621
- switch (e) {
622
- case "primary":
623
- return p;
624
- case "secondary":
625
- return s;
626
- case "tertiary":
627
- return [x, u];
628
- case "link":
629
- return g;
630
- case "tab":
631
- return "small" === t ? [C, h] : C;
632
- case "special":
633
- return [S, b];
634
- }
635
- }
636
- (exports.Button = function (t) {
637
- var r = t.type,
638
- n = t.size,
639
- i = void 0 === n ? "medium" : n,
640
- l = t.onClick,
641
- a = t.disabled,
642
- c = t.style,
643
- d = t.children,
644
- m = t.loading;
645
- return e.jsx(
646
- "button",
647
- o(
648
- { onClick: l, disabled: a, className: i, css: [Z(r, i), c, a && y] },
649
- { children: m ? e.jsx(_, { size: 18 }) : d }
650
- )
651
- );
652
- }),
653
- (exports.colors = c),
654
- (exports.mixins = f),
655
- (exports.typography = m),
656
- (exports.utils = d);
657
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../node_modules/tslib/tslib.es6.js","../../src/components/CircularLoader/style.ts","../../src/components/CircularLoader/index.tsx","../../src/styles/colors.ts","../../src/styles/utils.ts","../../src/styles/typography.ts","../../src/styles/mixins.ts","../../src/components/Button/styles.ts","../../src/components/Button/index.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import { css, keyframes } from \"@emotion/react\";\n\nexport const rotateAnimation = keyframes`\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }`;\n\nexport const loader = css({\n borderRadius: \"100%\",\n borderWidth: 3,\n borderStyle: \"solid\",\n borderTopColor: \"rgba(255,255,255,0.4)\",\n margin: \"0 auto\",\n animation: `${rotateAnimation} 1s linear infinite`,\n});\n","/** @jsxImportSource @emotion/react */\nimport { css } from \"@emotion/react\";\nimport { FC } from \"react\";\nimport { loader } from \"./style\";\nimport { CircularLoaderProps } from \"./typings\";\n\nconst CircularLoader: FC<CircularLoaderProps> = ({ size, color }) => {\n return (\n <div\n css={[\n loader,\n css({\n height: `${size}px`,\n width: `${size}px`,\n color: color,\n }),\n ]}\n />\n );\n};\n\nexport default CircularLoader;\n","const colors = {\n Zeb_Solid_White: \"#FFFFFF\",\n Zeb_Solid_BG_Blue: \"#222245\",\n Zeb_Solid_Dark_Blue: \"#181837\",\n Zeb_Solid_Bright_Blue: \"#338FFF\",\n Zeb_Solid_Light_Blue: \"#C0C0EE\",\n Zeb_Solid_Green: \"#1ECAA2\",\n Zeb_Solid_Red: \"#EA6161\",\n Zeb_Solid_Yellow: \"#F9C35C\",\n Zeb_Solid_Grey: \"#C2C2DD\",\n Zeb_Solid_Dark_Grey: \"#34345A\",\n Zeb_Solid_Black: \"000000\",\n Zeb_Solid_Light_Blue_01: \"#E9EFF6\",\n Zeb_Solid_Grey_01: \"#E1E3E6\",\n Zeb_Gradient_Blue_01:\n \"linear-gradient(90.15deg, #5D7BFE 0.73%, #0974FF 101.92%)\",\n Zeb_Gradient_Blue_02:\n \"linear-gradient(180deg, #0473FF 0.54%, rgba(4, 115, 255, 0) 100%)\",\n Zeb_Gradient_Dark_Blue:\n \"linear-gradient(254.37deg, #4A62CA -43.42%, #1B264B 148.58%)\",\n Zeb_Transparent_25: \"rgba(12, 12, 36, 0.25)\",\n Zeb_Transparent_Green: \"rgba(30, 202, 162, 0.2)\",\n Zeb_Transparent_Yellow: \"rgba(249, 195, 92, 0.2)\",\n Zeb_Transparent_Red: \"rgba(234, 97, 97, 0.2)\",\n Zeb_BG_Blue: \"rgba(51, 143, 255, 0.2)\",\n Zeb_BG_Light_Blue: \"rgba(192, 192, 238, 0.2)\",\n Zeb_BG_Green: \"rgba(30, 202, 162, 0.08)\",\n Zeb_BG_Red: \"rgba(234, 97, 97, 0.08)\",\n Zeb_BG_Yellow: \"rgba(249, 195, 92, 0.08)\",\n Zeb_Transparent_4: \"rgba(51, 143, 255, 0.04)\",\n Zeb_Effects_Shadow_Hover: \"0px 8px 8px -4px #0C0C1D\",\n Zeb_Effects_Shadow_W_Drawer: \"-12px 0px 40px rgba(12, 12, 29, 0.48)\",\n Zeb_Effects_Shadow_M_Drawer: \"0px -12px 40px rgba(12, 12, 29, 0.48)\",\n Zeb_Effects_Shadow_Hover_Up: \"0px -2px 32px 8px rgba(12, 12, 29, 0.4)\",\n Zeb_Effects_Shimmer:\n \"linear-gradient(97.38deg, #34345A -40.76%, #19193A 135.88%)\",\n};\n\nexport default colors;\n","import { css } from \"@emotion/react\";\n\nconst utils = {\n remConverter: (value: number) => {\n return `${value / 16}rem`;\n },\n widthPercentage: (value: number) => {\n return css({\n width: `${value}%`,\n });\n },\n heightPercentage: (value: number) => {\n return css({\n height: `${value}%`,\n });\n },\n mr: (value: number) => {\n return css({\n marginRight: utils.remConverter(value),\n });\n },\n ml: (value: number) => {\n return css({\n marginLeft: utils.remConverter(value),\n });\n },\n mt: (value: number) => {\n return css({\n marginTop: utils.remConverter(value),\n });\n },\n mb: (value: number) => {\n return css({\n marginBottom: utils.remConverter(value),\n });\n },\n};\n\nexport default utils;\n","import colors from \"./colors\";\nimport utils from \"./utils\";\nimport { CSSObject } from \"@emotion/react\";\n\ninterface Styles {\n [key: string]: CSSObject;\n}\n\nconst typography: Styles = {\n H1_56_bold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(56),\n lineHeight: \"86px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H2_44_bold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(44),\n lineHeight: \"60px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H3_32_bold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(32),\n lineHeight: \"48px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H4_28_bold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(28),\n lineHeight: \"40px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H5_20_bold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(20),\n lineHeight: \"normal\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H6_16_bold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(16),\n lineHeight: \"28px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H1_56_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(56),\n lineHeight: \"86px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H2_44_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(44),\n lineHeight: \"60px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H3_32_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(32),\n lineHeight: \"48px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H4_28_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(28),\n lineHeight: \"40px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H5_20_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(20),\n lineHeight: \"30px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H6_16_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(16),\n lineHeight: \"28px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H1_56_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(56),\n lineHeight: \"86px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H2_44_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(44),\n lineHeight: \"60px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H3_32_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(32),\n lineHeight: \"48px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H4_28_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(28),\n lineHeight: \"40px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H5_20_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(20),\n lineHeight: \"30px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H6_16_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(16),\n lineHeight: \"28px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n H8_12_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(12),\n lineHeight: \"18px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n },\n B1_24_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(24),\n lineHeight: \"40px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B2_20_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(20),\n lineHeight: \"30px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B3_16_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(16),\n lineHeight: \"28px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B4_14_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(14),\n lineHeight: \"24px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B5_12_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(12),\n lineHeight: \"18px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B6_10_semibold: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(10),\n lineHeight: \"12px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B1_24_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(24),\n lineHeight: \"40px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B2_20_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: 600,\n fontSize: utils.remConverter(20),\n lineHeight: \"30px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B3_16_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(16),\n lineHeight: \"28px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B4_14_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(14),\n lineHeight: \"24px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B5_12_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(12),\n lineHeight: \"18px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n B6_10_regular: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: utils.remConverter(10),\n lineHeight: \"12px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n },\n C1_20: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(20),\n lineHeight: \"30px\",\n letterSpacing: \"1.6px\",\n color: colors.Zeb_Solid_White,\n textTransform: \"uppercase\",\n },\n C2_16: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(16),\n lineHeight: \"28px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n textTransform: \"uppercase\",\n },\n C3_14: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(14),\n lineHeight: \"24px\",\n letterSpacing: \"0.8px\",\n color: colors.Zeb_Solid_White,\n textTransform: \"uppercase\",\n },\n C4_12: {\n fontFamily: \"Lato\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: utils.remConverter(12),\n lineHeight: \"18px\",\n letterSpacing: \"0.4px\",\n color: colors.Zeb_Solid_White,\n textTransform: \"uppercase\",\n },\n};\n\nexport default typography;\n","import { css } from \"@emotion/react\";\nimport colors from \"./colors\";\n\nconst mixins = {\n flexJustifiedBetween: css({\n justifyContent: \"space-between\",\n }),\n flexJustifiedCenter: css({\n justifyContent: \"center\",\n }),\n flexJustifiedEnd: css({\n justifyContent: \"flex-end\",\n }),\n flexAlignCenter: css({\n display: \"flex\",\n alignItems: \"center\",\n }),\n flexAlignStart: css({\n display: \"flex\",\n alignItems: \"flex-start\",\n }),\n flexNoWrap: css({ flexWrap: \"nowrap\" }),\n flexColumn: css({ display: \"flex\", flexDirection: \"column\" }),\n textSuccess: css({\n color: colors.Zeb_Solid_Green,\n }),\n textError: css({\n color: colors.Zeb_Solid_Red,\n }),\n bgSuccess: css({\n background: colors.Zeb_Solid_Green,\n }),\n bgError: css({\n background: colors.Zeb_Solid_Red,\n }),\n textFaded: css({\n color: colors.Zeb_Solid_Light_Blue,\n }),\n textCapitalize: css({\n textTransform: \"capitalize\",\n }),\n textAlignmentCenter: css({\n textAlign: \"center\",\n }),\n textAlignmentLeft: css({\n textAlign: \"left\",\n }),\n textAlignmentRight: css({\n textAlign: \"right\",\n }),\n};\nexport default mixins;\n","import { css } from \"@emotion/react\";\nimport { colors, typography, utils } from \"../../styles\";\n\nexport const linkButton = css({\n padding: 0,\n backgroundColor: \"transparent\",\n boxShadow: \"none\",\n border: \"none\",\n outline: \"none\",\n ...typography.C3_14,\n color: colors.Zeb_Solid_Bright_Blue,\n \"&.small\": {\n ...typography.C4_12,\n color: colors.Zeb_Solid_Bright_Blue,\n },\n});\n\nexport const primaryButton = css({\n background: colors.Zeb_Gradient_Blue_01,\n borderRadius: utils.remConverter(8),\n boxShadow: \"none\",\n border: \"none\",\n outline: \"none\",\n whiteSpace: \"nowrap\",\n ...typography.C4_12,\n \"&.small\": {\n padding: `${utils.remConverter(8)} ${utils.remConverter(12)}`,\n ...typography.C4_12,\n },\n \"&.medium\": {\n padding: `${utils.remConverter(8)} ${utils.remConverter(12)}`,\n ...typography.C4_12,\n },\n \"&.large\": {\n padding: `${utils.remConverter(8)} ${utils.remConverter(16)}`,\n ...typography.C2_16,\n },\n \"&.full-width\": {\n padding: `${utils.remConverter(8)} 0`,\n width: \"100%\",\n },\n \"&:disabled\": {\n opacity: 0.2,\n },\n});\n\nexport const secondaryButton = css({\n padding: `${utils.remConverter(8)} ${utils.remConverter(16)}`,\n background: colors.Zeb_Transparent_4,\n border: `1px solid ${colors.Zeb_Solid_Bright_Blue}`,\n borderRadius: \"8px\",\n ...typography.C2_16,\n \"&.small\": {\n padding: `${utils.remConverter(8)} ${utils.remConverter(12)}`,\n ...typography.C4_12,\n },\n \"&.medium\": {\n padding: `${utils.remConverter(8)} ${utils.remConverter(12)}`,\n ...typography.C4_12,\n },\n \"&.large\": {\n padding: `${utils.remConverter(8)} ${utils.remConverter(16)}`,\n ...typography.C2_16,\n },\n \"&.full-width\": {\n padding: `${utils.remConverter(8)} 0`,\n },\n \"&:disabled\": {\n borderColor: colors.Zeb_Solid_Grey,\n },\n});\n\nexport const specialButton = css({\n padding: `${utils.remConverter(6)} 0`,\n background: colors.Zeb_Gradient_Blue_01,\n boxShadow: \"none\",\n border: \"none\",\n outline: \"none\",\n borderRadius: \"8px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"&.small\": {\n width: \"100%\",\n padding: `${utils.remConverter(8)} 0`,\n },\n \"&.large\": { width: \"100%\" },\n \"&.full-width\": { width: \"100%\" },\n \"&.medium\": { width: \"100%\" },\n});\n\nexport const specialButtonText = css({\n marginLeft: utils.remConverter(8),\n ...typography.C3_14,\n});\n\nexport const specialButtonSmText = css({\n display: \"none\",\n});\n\nexport const tertiaryButton = css({\n padding: `${utils.remConverter(8)} ${utils.remConverter(12)}`,\n background: colors.Zeb_Transparent_4,\n boxShadow: \"none\",\n border: `1px solid ${colors.Zeb_Solid_Bright_Blue}`,\n outline: \"none\",\n borderRadius: \"8px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"&.medium\": {\n padding: `${utils.remConverter(8)} ${utils.remConverter(12)}`,\n },\n});\n\nexport const tertiaryButtonText = css({\n marginLeft: utils.remConverter(4),\n ...typography.C4_12,\n});\n\nexport const tabButton = css({\n border: `0.5px solid ${colors.Zeb_Solid_Light_Blue}`,\n borderRadius: \"4px\",\n padding: `${utils.remConverter(4)} ${utils.remConverter(8)}`,\n ...typography.B5_12_semibold,\n color: colors.Zeb_Solid_Light_Blue,\n display: \"flex\",\n justifyContent: \"center\",\n flexGrow: 1,\n textTransform: \"uppercase\",\n cursor: \"pointer\",\n \"&.active\": {\n background: colors.Zeb_Solid_Dark_Blue,\n borderColor: colors.Zeb_Solid_Bright_Blue,\n ...typography.C4_12,\n },\n});\n\nexport const disabledButton = css({\n opacity: 0.5,\n cursor: \"not-allowed\",\n});\n","/** @jsxImportSource @emotion/react */\nimport * as React from \"react\";\nimport CircularLoader from \"../CircularLoader\";\nimport * as styles from \"./styles\";\nimport { ButtonProps, ButtonSize, ButtonType } from \"./typings\";\n\nfunction generateStyle(type: ButtonType, size: ButtonSize) {\n switch (type) {\n case \"primary\":\n return styles.primaryButton;\n case \"secondary\":\n return styles.secondaryButton;\n case \"tertiary\":\n return [styles.tertiaryButton, styles.tertiaryButtonText];\n case \"link\":\n return styles.linkButton;\n case \"tab\": {\n if (size === \"small\") {\n return [styles.tabButton, styles.specialButtonSmText];\n }\n return styles.tabButton;\n }\n case \"special\":\n return [styles.specialButton, styles.specialButtonText];\n }\n}\n\nconst Button: React.FC<ButtonProps> = (props) => {\n const {\n type,\n size = \"medium\",\n onClick,\n disabled,\n style,\n children,\n loading,\n } = props;\n\n return (\n <button\n onClick={onClick}\n disabled={disabled}\n className={size}\n css={[\n generateStyle(type, size),\n style,\n disabled && styles.disabledButton,\n ]}\n >\n {loading ? <CircularLoader size={18} /> : children}\n </button>\n );\n};\n\nexport default Button;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","cooked","raw","rotateAnimation","keyframes","templateObject_1","defineProperty","value","loader","css","borderRadius","borderWidth","borderStyle","borderTopColor","margin","animation","concat","CircularLoader","_a","size","color","_jsx","jsx","height","width","colors","Zeb_Solid_White","Zeb_Solid_BG_Blue","Zeb_Solid_Dark_Blue","Zeb_Solid_Bright_Blue","Zeb_Solid_Light_Blue","Zeb_Solid_Green","Zeb_Solid_Red","Zeb_Solid_Yellow","Zeb_Solid_Grey","Zeb_Solid_Dark_Grey","Zeb_Solid_Black","Zeb_Solid_Light_Blue_01","Zeb_Solid_Grey_01","Zeb_Gradient_Blue_01","Zeb_Gradient_Blue_02","Zeb_Gradient_Dark_Blue","Zeb_Transparent_25","Zeb_Transparent_Green","Zeb_Transparent_Yellow","Zeb_Transparent_Red","Zeb_BG_Blue","Zeb_BG_Light_Blue","Zeb_BG_Green","Zeb_BG_Red","Zeb_BG_Yellow","Zeb_Transparent_4","Zeb_Effects_Shadow_Hover","Zeb_Effects_Shadow_W_Drawer","Zeb_Effects_Shadow_M_Drawer","Zeb_Effects_Shadow_Hover_Up","Zeb_Effects_Shimmer","utils","remConverter","widthPercentage","heightPercentage","mr","marginRight","ml","marginLeft","mt","marginTop","mb","marginBottom","typography","H1_56_bold","fontFamily","fontStyle","fontWeight","fontSize","lineHeight","letterSpacing","H2_44_bold","H3_32_bold","H4_28_bold","H5_20_bold","H6_16_bold","H1_56_semibold","H2_44_semibold","H3_32_semibold","H4_28_semibold","H5_20_semibold","H6_16_semibold","H1_56_regular","H2_44_regular","H3_32_regular","H4_28_regular","H5_20_regular","H6_16_regular","H8_12_regular","B1_24_semibold","B2_20_semibold","B3_16_semibold","B4_14_semibold","B5_12_semibold","B6_10_semibold","B1_24_regular","B2_20_regular","B3_16_regular","B4_14_regular","B5_12_regular","B6_10_regular","C1_20","textTransform","C2_16","C3_14","C4_12","mixins","flexJustifiedBetween","justifyContent","flexJustifiedCenter","flexJustifiedEnd","flexAlignCenter","display","alignItems","flexAlignStart","flexNoWrap","flexWrap","flexColumn","flexDirection","textSuccess","textError","bgSuccess","background","bgError","textFaded","textCapitalize","textAlignmentCenter","textAlign","textAlignmentLeft","textAlignmentRight","linkButton","padding","backgroundColor","boxShadow","border","outline","primaryButton","whiteSpace","opacity","secondaryButton","borderColor","specialButton","specialButtonText","specialButtonSmText","tertiaryButton","tertiaryButtonText","tabButton","flexGrow","cursor","disabledButton","generateStyle","type","styles.primaryButton","styles.secondaryButton","styles.tertiaryButton","styles.tertiaryButtonText","styles.linkButton","styles.tabButton","styles.specialButtonSmText","styles.specialButton","styles.specialButtonText","props","onClick","disabled","style","children","loading","className","styles.disabledButton"],"mappings":"4IA+BWA,EAAW,WAQlB,OAPAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,IAE9E,OAAON,GAEJH,EAASa,MAAMC,KAAMP,YCrCzB,ID8M8BQ,EAAQC,IC9MhCC,EAAkBC,EAASA,UAAAC,ID8MHJ,EC9MG,CAAA,2FD8MKC,EC9ML,CAAA,2FD+MhCf,OAAOmB,eAAkBnB,OAAOmB,eAAeL,EAAQ,MAAO,CAAEM,MAAOL,IAAiBD,EAAOC,IAAMA,EC/MrEG,EDgN7BJ,ICxMEO,EAASC,EAAAA,IAAI,CACxBC,aAAc,OACdC,YAAa,EACbC,YAAa,QACbC,eAAgB,wBAChBC,OAAQ,SACRC,UAAW,GAAGC,OAAAb,EAAoC,yBCV9Cc,EAA0C,SAACC,OAAEC,EAAID,EAAAC,KAAEC,EAAKF,EAAAE,MAC5D,OACEC,EACEC,IAAA,MAAA,CAAAb,IAAK,CACHD,EACAC,MAAI,CACFc,OAAQ,GAAGP,OAAAG,EAAQ,MACnBK,MAAO,GAAGR,OAAAG,EAAQ,MAClBC,MAAOA,QCdXK,EAAS,CACbC,gBAAiB,UAC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AAE,KAAM,KAASwJ"}
package/dist/index.d.ts DELETED
@@ -1,94 +0,0 @@
1
- import * as React from "react";
2
- import { Interpolation, Theme, CSSObject } from "@emotion/react";
3
- import * as _emotion_utils from "@emotion/utils";
4
-
5
- declare type ButtonSize = "small" | "medium" | "large" | "full-width";
6
- declare type ButtonType =
7
- | "link"
8
- | "primary"
9
- | "secondary"
10
- | "special"
11
- | "tertiary"
12
- | "tab";
13
- interface ButtonProps {
14
- type: ButtonType;
15
- size?: ButtonSize;
16
- onClick: () => void;
17
- disabled?: boolean;
18
- loading?: boolean;
19
- style?: Interpolation<Theme>;
20
- }
21
-
22
- /** @jsxImportSource @emotion/react */
23
-
24
- declare const Button: React.FC<ButtonProps>;
25
-
26
- declare const colors: {
27
- Zeb_Solid_White: string;
28
- Zeb_Solid_BG_Blue: string;
29
- Zeb_Solid_Dark_Blue: string;
30
- Zeb_Solid_Bright_Blue: string;
31
- Zeb_Solid_Light_Blue: string;
32
- Zeb_Solid_Green: string;
33
- Zeb_Solid_Red: string;
34
- Zeb_Solid_Yellow: string;
35
- Zeb_Solid_Grey: string;
36
- Zeb_Solid_Dark_Grey: string;
37
- Zeb_Solid_Black: string;
38
- Zeb_Solid_Light_Blue_01: string;
39
- Zeb_Solid_Grey_01: string;
40
- Zeb_Gradient_Blue_01: string;
41
- Zeb_Gradient_Blue_02: string;
42
- Zeb_Gradient_Dark_Blue: string;
43
- Zeb_Transparent_25: string;
44
- Zeb_Transparent_Green: string;
45
- Zeb_Transparent_Yellow: string;
46
- Zeb_Transparent_Red: string;
47
- Zeb_BG_Blue: string;
48
- Zeb_BG_Light_Blue: string;
49
- Zeb_BG_Green: string;
50
- Zeb_BG_Red: string;
51
- Zeb_BG_Yellow: string;
52
- Zeb_Transparent_4: string;
53
- Zeb_Effects_Shadow_Hover: string;
54
- Zeb_Effects_Shadow_W_Drawer: string;
55
- Zeb_Effects_Shadow_M_Drawer: string;
56
- Zeb_Effects_Shadow_Hover_Up: string;
57
- Zeb_Effects_Shimmer: string;
58
- };
59
-
60
- interface Styles {
61
- [key: string]: CSSObject;
62
- }
63
- declare const typography: Styles;
64
-
65
- declare const utils: {
66
- remConverter: (value: number) => string;
67
- widthPercentage: (value: number) => _emotion_utils.SerializedStyles;
68
- heightPercentage: (value: number) => _emotion_utils.SerializedStyles;
69
- mr: (value: number) => _emotion_utils.SerializedStyles;
70
- ml: (value: number) => _emotion_utils.SerializedStyles;
71
- mt: (value: number) => _emotion_utils.SerializedStyles;
72
- mb: (value: number) => _emotion_utils.SerializedStyles;
73
- };
74
-
75
- declare const mixins: {
76
- flexJustifiedBetween: _emotion_utils.SerializedStyles;
77
- flexJustifiedCenter: _emotion_utils.SerializedStyles;
78
- flexJustifiedEnd: _emotion_utils.SerializedStyles;
79
- flexAlignCenter: _emotion_utils.SerializedStyles;
80
- flexAlignStart: _emotion_utils.SerializedStyles;
81
- flexNoWrap: _emotion_utils.SerializedStyles;
82
- flexColumn: _emotion_utils.SerializedStyles;
83
- textSuccess: _emotion_utils.SerializedStyles;
84
- textError: _emotion_utils.SerializedStyles;
85
- bgSuccess: _emotion_utils.SerializedStyles;
86
- bgError: _emotion_utils.SerializedStyles;
87
- textFaded: _emotion_utils.SerializedStyles;
88
- textCapitalize: _emotion_utils.SerializedStyles;
89
- textAlignmentCenter: _emotion_utils.SerializedStyles;
90
- textAlignmentLeft: _emotion_utils.SerializedStyles;
91
- textAlignmentRight: _emotion_utils.SerializedStyles;
92
- };
93
-
94
- export { Button, colors, mixins, typography, utils };