{"version":3,"file":"SimpleButton.DXeOFg89.mjs","names":[],"sources":["https:/framerusercontent.com/modules/YVZ8NJokNmw6Mxz2jNvh/3jLO0whoQA6OCOMcGxma/SimpleButton.js"],"sourcesContent":["// Simple button with rounded edges, text, and hover/press animations\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function SimpleButton(props){const{label,backgroundColor,textColor,borderRadius,font,style,paddingX,paddingY,fontSize,link}=props;const{fontSize:_fontSize,...fontWithoutSize}=font;const buttonContent=/*#__PURE__*/_jsx(motion.button,{style:{...style,position:\"relative\",backgroundColor,color:textColor,borderRadius,border:\"none\",padding:`${paddingY}px ${paddingX}px`,cursor:\"pointer\",outline:\"none\",...fontWithoutSize,fontSize:`${fontSize}px`,minWidth:\"max-content\",boxShadow:\"0 2px 8px rgba(0, 0, 0, 0.1)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},whileHover:{scale:1.05,transition:{duration:.2}},whileTap:{scale:.95,transition:{duration:.1}},children:label});if(link){return /*#__PURE__*/_jsx(\"a\",{href:link,style:{textDecoration:\"none\",display:\"inline-block\"},children:buttonContent});}return buttonContent;}addPropertyControls(SimpleButton,{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\"},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:64,min:0,max:200,step:1,unit:\"px\"},paddingY:{type:ControlType.Number,title:\"Padding Y\",defaultValue:24,min:0,max:100,step:1,unit:\"px\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:72,step:1,unit:\"px\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SimpleButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SimpleButton.map"],"mappings":"6MAIG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,kBAAgB,YAAU,eAAa,OAAK,QAAM,WAAS,WAAS,WAAS,QAAM,EAAW,CAAC,SAAS,EAAU,GAAG,GAAiB,EAAW,EAA2B,EAAK,EAAO,OAAO,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,kBAAgB,MAAM,EAAU,eAAa,OAAO,OAAO,QAAQ,GAAG,EAAS,KAAK,EAAS,IAAI,OAAO,UAAU,QAAQ,OAAO,GAAG,EAAgB,SAAS,GAAG,EAAS,IAAI,SAAS,cAAc,UAAU,+BAA+B,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,CAAC,WAAW,CAAC,MAAM,KAAK,WAAW,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,WAAW,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAM,CAAC,CAAiI,OAA7H,EAA0B,EAAK,IAAI,CAAC,KAAK,EAAK,MAAM,CAAC,eAAe,OAAO,QAAQ,eAAe,CAAC,SAAS,EAAc,CAAC,CAAS,mBAHpxB,IAAkC,IAAoD,CAG6sB,EAAoB,EAAa,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,WAAW,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,CAAC,gBAAgB,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