{"version":3,"file":"Button.FyR9aFQM.mjs","names":[],"sources":["https:/framerusercontent.com/modules/DRHyU1ZRncsDbbsNV4uy/dEJi0kVcpdveQzkgeWgo/Button.js"],"sourcesContent":["// Button component with customizable colors, square corners, Montserrat font, animated, and responsive\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Button(props){const{label,backgroundColor,textColor,hoverBackgroundColor,hoverTextColor,font,link,style}=props;const isFixedWidth=style?.width===\"100%\";const buttonElement=/*#__PURE__*/_jsxs(motion.button,{style:{position:\"relative\",width:isFixedWidth?\"100%\":\"auto\",minWidth:isFixedWidth?undefined:\"max-content\",padding:\"16px 32px\",backgroundColor,color:textColor,border:\"none\",borderRadius:0,cursor:\"pointer\",...font,fontFamily:\"Montserrat, sans-serif\"},whileHover:{backgroundColor:hoverBackgroundColor,color:hoverTextColor},whileTap:{scale:.95},transition:{duration:.2,ease:\"easeInOut\"},children:[/*#__PURE__*/_jsx(\"link\",{href:\"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap\",rel:\"stylesheet\"}),label]});if(link){return /*#__PURE__*/_jsx(\"a\",{href:link,style:{textDecoration:\"none\",display:\"inline-block\",width:isFixedWidth?\"100%\":\"auto\"},children:buttonElement});}return buttonElement;}addPropertyControls(Button,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Click Me\"},link:{type:ControlType.Link,title:\"Link\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"#333333\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"0em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button.map"],"mappings":"oNAIG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,QAAM,kBAAgB,YAAU,uBAAqB,iBAAe,OAAK,OAAK,SAAO,EAAY,EAAa,GAAO,QAAQ,OAAa,EAA2B,EAAM,EAAO,OAAO,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAa,OAAO,OAAO,SAAS,EAAa,IAAA,GAAU,cAAc,QAAQ,YAAY,kBAAgB,MAAM,EAAU,OAAO,OAAO,aAAa,EAAE,OAAO,UAAU,GAAG,EAAK,WAAW,wBAAwB,EAAE,WAAW,CAAC,gBAAgB,EAAqB,MAAM,CAAc,EAAE,SAAS,CAAC,MAAM,GAAG,EAAE,WAAW,CAAC,SAAS,GAAG,KAAK,WAAW,EAAE,SAAS,CAAc,EAAK,OAAO,CAAC,KAAK,wFAAwF,IAAI,YAAY,CAAC,EAAE,CAAK,CAAC,CAAC,EAAmK,OAA9J,EAA0B,EAAK,IAAI,CAAC,KAAK,EAAK,MAAM,CAAC,eAAe,OAAO,QAAQ,eAAe,MAAM,EAAa,OAAO,MAAM,EAAE,SAAS,CAAa,CAAC,EAAU,CAAc,iBAHn4B,IAAkC,IAAoD,EAG8yB,EAAoB,EAAO,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,UAAU,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,MAAM,EAAE,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,UAAU,CAAC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