{"version":3,"file":"BaseButton.CUussOXS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/rjUzfHNwDaUAzWiaRUBv/0L1A1z7l9KfIXex8IgKD/BaseButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 120\n * @framerIntrinsicHeight 40\n */export default function BaseButton(props){const{text,backgroundColor,textColor,borderRadius,borderWidth,borderColor,fontFamily,fontSize,fontWeight,letterSpacing,position=\"relative\"}=props;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-disabled\":props.disabled,tabIndex:props.disabled?-1:0,onClick:props.disabled?undefined:props.onClick,style:{width:\"100%\",height:\"100%\",display:\"block\",boxSizing:\"border-box\",position,border:`${borderWidth}px solid ${borderColor}`,borderRadius,backgroundColor,color:textColor,fontFamily,fontSize,fontWeight,letterSpacing,cursor:props.disabled?\"not-allowed\":\"pointer\",opacity:props.disabled?.5:1,...props.style},children:text});}BaseButton.defaultProps={text:\"Button\",backgroundColor:\"#A3A3A3\",textColor:\"#000000\",borderRadius:10,borderWidth:0,borderColor:\"#000000\",fontFamily:\"Inter\",fontSize:14,fontWeight:400,letterSpacing:0};addPropertyControls(BaseButton,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Button\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#A3A3A3\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#000000\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:10,min:0,max:100,step:1},borderWidth:{type:ControlType.Number,title:\"Stroke\",defaultValue:0,min:0,max:20,step:1},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"#000000\"},fontFamily:{type:ControlType.String,title:\"Font\",defaultValue:\"Inter\"},fontSize:{type:ControlType.Number,title:\"Size\",defaultValue:14,min:8,max:48,step:1},fontWeight:{type:ControlType.Number,title:\"Weight\",defaultValue:400,min:100,max:900,step:100},letterSpacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:0,min:-5,max:20,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BaseButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"120\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BaseButton.map"],"mappings":"4JAKG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,OAAK,kBAAgB,YAAU,eAAa,cAAY,cAAY,aAAW,WAAS,aAAW,gBAAc,WAAS,YAAY,EAAM,OAAoB,EAAK,SAAS,CAAC,KAAK,SAAS,gBAAgB,EAAM,SAAS,SAAS,EAAM,SAAS,GAAG,EAAE,QAAQ,EAAM,SAAS,IAAA,GAAU,EAAM,QAAQ,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,QAAQ,UAAU,aAAa,WAAS,OAAO,GAAG,EAAY,WAAW,IAAc,eAAa,kBAAgB,MAAM,EAAU,aAAW,WAAS,aAAW,gBAAc,OAAO,EAAM,SAAS,cAAc,UAAU,QAAQ,EAAM,SAAS,GAAG,EAAE,GAAG,EAAM,KAAK,EAAE,SAAS,CAAI,CAAC,CAAE,iBALtnB,IAAoD,EAKmkB,EAAW,aAAa,CAAC,KAAK,SAAS,gBAAgB,UAAU,UAAU,UAAU,aAAa,GAAG,YAAY,EAAE,YAAY,UAAU,WAAW,QAAQ,SAAS,GAAG,WAAW,IAAI,cAAc,CAAC,EAAE,EAAoB,EAAW,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,QAAQ,EAAE,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,UAAU,CAAC,K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