{"version":3,"file":"TransparentButton.Dz03ADJA.mjs","names":[],"sources":["https:/framerusercontent.com/modules/k6TForYHgbK3PHdLO3CY/Sj5IXbH1Ol7vHZpyACJx/TransparentButton.js"],"sourcesContent":["// Update request: replace window.open navigation with Framer Link-based routing while preserving visuals, controls, sizing, and external-link support.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,Link}from\"framer\";/**\n * Transparent Rectangular Button\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TransparentButton(props){const{label,borderWidth,borderRadius,borderColor,font,textColor,link,style}=props;return /*#__PURE__*/_jsx(Link,{href:link||undefined,children:/*#__PURE__*/_jsx(\"a\",{style:{...style,width:\"100%\",height:\"100%\",background:\"transparent\",border:`${borderWidth}px solid ${borderColor}`,borderRadius,color:textColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",outline:\"none\",...font,padding:0,textDecoration:\"none\",boxSizing:\"border-box\"},\"aria-label\":label,onClick:event=>{if(!link)event.preventDefault();},children:/*#__PURE__*/_jsx(\"span\",{style:{width:\"max-content\",...font,color:textColor},children:label})})});}addPropertyControls(TransparentButton,{label:{type:ControlType.String,title:\"Text\",defaultValue:\"Button\",placeholder:\"Button text…\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:2,min:1,max:8,step:1,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32,step:1,unit:\"px\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TransparentButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TransparentButton.map"],"mappings":"mKAMG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,QAAM,cAAY,eAAa,cAAY,OAAK,YAAU,OAAK,SAAO,EAAM,OAAoB,EAAK,EAAK,CAAC,KAAK,GAAM,IAAA,GAAU,SAAsB,EAAK,IAAI,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,WAAW,cAAc,OAAO,GAAG,EAAY,WAAW,IAAc,eAAa,MAAM,EAAU,OAAO,UAAU,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,QAAQ,OAAO,GAAG,EAAK,QAAQ,EAAE,eAAe,OAAO,UAAU,YAAY,EAAE,aAAa,EAAM,QAAQ,GAAO,CAAK,GAAK,EAAM,eAAe,CAAE,EAAE,SAAsB,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,cAAc,GAAG,EAAK,MAAM,CAAS,EAAE,SAAS,CAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBAL5oB,IAAyD,EAKolB,EAAoB,EAAkB,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,SAAS,YAAY,cAAc,EAAE,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,eAAe,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,EAAE,YAAY,CAAC,KAAK,EAAY,MAAM,MAAM,eAAe,aAAa,SAAS,EAAE,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,WAAW,cAAc,UAAU,WAAW,OAAO,CAAC,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,EAAE,CAAC,CAAC"}