{"version":3,"file":"GhostButton_1.CuzC9wFu.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/7mPSLd67og10oDfs0oDo/TaujgWeO8pfFPWOneYqR/GhostButton_1.js"],"sourcesContent":["// Ghost button with default and hover states matching the reference images\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function GhostButton(props){const{label,defaultBorderColor,defaultTextColor,hoverBackgroundColor,hoverTextColor,borderRadius,paddingX,paddingY,font,buttonType,style}=props;const[isHovered,setIsHovered]=useState(false);return /*#__PURE__*/_jsx(\"button\",{type:buttonType,style:{...style,position:\"relative\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",paddingLeft:paddingX,paddingRight:paddingX,paddingTop:paddingY,paddingBottom:paddingY,border:`2px solid ${isHovered?hoverBackgroundColor:defaultBorderColor}`,borderRadius:borderRadius,backgroundColor:isHovered?hoverBackgroundColor:\"transparent\",color:isHovered?hoverTextColor:defaultTextColor,cursor:\"pointer\",transition:\"all 200ms ease-in-out\",outline:\"none\",whiteSpace:\"nowrap\",...font},onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),children:label});}addPropertyControls(GhostButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Unlock PRO\"},buttonType:{type:ControlType.Enum,title:\"Button Type\",options:[\"button\",\"submit\",\"reset\"],optionTitles:[\"Button\",\"Submit\",\"Reset\"],defaultValue:\"button\",displaySegmentedControl:true},defaultBorderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#0066FF\"},defaultTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#0066FF\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"#0066FF\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text\",defaultValue:\"#FFFFFF\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},paddingX:{type:ControlType.Number,title:\"Padding X\",defaultValue:32,min:0,max:100,step:1,unit:\"px\"},paddingY:{type:ControlType.Number,title:\"Padding Y\",defaultValue:12,min:0,max:100,step:1,unit:\"px\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GhostButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GhostButton_1.map"],"mappings":"0KAIG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,qBAAmB,mBAAiB,uBAAqB,iBAAe,eAAa,WAAS,WAAS,OAAK,aAAW,SAAO,EAAW,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAC,OAAoB,EAAK,SAAS,CAAC,KAAK,EAAW,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,YAAY,EAAS,aAAa,EAAS,WAAW,EAAS,cAAc,EAAS,OAAO,aAAa,EAAU,EAAqB,IAAkC,eAAa,gBAAgB,EAAU,EAAqB,cAAc,MAAM,EAAU,EAAe,EAAiB,OAAO,UAAU,WAAW,wBAAwB,QAAQ,OAAO,WAAW,SAAS,GAAG,EAAK,CAAC,iBAAiB,EAAa,GAAK,CAAC,iBAAiB,EAAa,GAAM,CAAC,SAAS,EAAM,CAAC,kBAHxzB,IAAoD,IAA4B,CAG0uB,EAAoB,EAAY,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,aAAa,CAAC,WAAW,CAAC,KAAK,EAAY,KAAK,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