{"version":3,"file":"ExternalLinkButton.Cy47rl5j.mjs","names":[],"sources":["https:/framerusercontent.com/modules/W53Vsosob03jGcVjxi2z/UtgI60RlqDG6EASbi10N/ExternalLinkButton.js"],"sourcesContent":["// Secondary CTA button that opens an external link\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ExternalLinkButton(props){const{label,url,openInNewTab,backgroundColor,textColor,hoverBackgroundColor,hoverTextColor,font,borderRadius,paddingX,paddingY}=props;return /*#__PURE__*/_jsx(\"a\",{href:url,target:openInNewTab?\"_blank\":\"_self\",rel:openInNewTab?\"noopener noreferrer\":undefined,style:{position:\"relative\",display:\"inline-block\",textDecoration:\"none\",width:\"max-content\",cursor:\"pointer\"},children:/*#__PURE__*/_jsx(\"button\",{style:{position:\"relative\",backgroundColor,color:textColor,border:\"none\",borderRadius,padding:`${paddingY}px ${paddingX}px`,cursor:\"pointer\",transition:\"all 0.2s ease\",...font},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=hoverBackgroundColor;e.currentTarget.style.color=hoverTextColor;},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=backgroundColor;e.currentTarget.style.color=textColor;},children:label})});}addPropertyControls(ExternalLinkButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Learn More\"},url:{type:ControlType.Link,title:\"URL\",defaultValue:\"https://framer.com\"},openInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"transparent\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"#FFFFFF\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"13px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:6,min:0,max:50,step:1,unit:\"px\"},paddingX:{type:ControlType.Number,title:\"Padding X\",defaultValue:16,min:0,max:100,step:1,unit:\"px\"},paddingY:{type:ControlType.Number,title:\"Padding Y\",defaultValue:8,min:0,max:100,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ExternalLinkButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ExternalLinkButton.map"],"mappings":"4JAIG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,QAAM,MAAI,eAAa,kBAAgB,YAAU,uBAAqB,iBAAe,OAAK,eAAa,WAAS,YAAU,EAAM,OAAoB,EAAK,IAAI,CAAC,KAAK,EAAI,OAAO,EAAa,SAAS,QAAQ,IAAI,EAAa,sBAAsB,IAAA,GAAU,MAAM,CAAC,SAAS,WAAW,QAAQ,eAAe,eAAe,OAAO,MAAM,cAAc,OAAO,UAAU,CAAC,SAAsB,EAAK,SAAS,CAAC,MAAM,CAAC,SAAS,WAAW,kBAAgB,MAAM,EAAU,OAAO,OAAO,eAAa,QAAQ,GAAG,EAAS,KAAK,EAAS,IAAI,OAAO,UAAU,WAAW,gBAAgB,GAAG,EAAK,CAAC,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,gBAAgB,EAAqB,EAAE,cAAc,MAAM,MAAM,GAAiB,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,gBAAgB,EAAgB,EAAE,cAAc,MAAM,MAAM,GAAY,SAAS,EAAM,CAAC,CAAC,CAAC,kBAH30B,IAAoD,CAGyxB,EAAo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