{"version":3,"file":"FitText.Cg30wflU.mjs","names":[],"sources":["https:/framerusercontent.com/modules/y2XVZadoHNQebwpWhZQu/fdziXZJLuOg8LGtpjPsM/FitText.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Wordmark that always fills the width of its container.\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 300\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function FitText(props){const{text=\"aurevant\",ratio=4.2,color=\"#FFFFFF\",font}=props;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",containerType:\"inline-size\",...props.style,height:\"auto\"},children:/*#__PURE__*/_jsx(\"div\",{style:{...font,color,fontSize:`calc(100cqw / ${ratio})`,lineHeight:.78,letterSpacing:\"-0.055em\",whiteSpace:\"nowrap\",userSelect:\"none\",margin:0,textAlign:\"center\"},children:text})});}addPropertyControls(FitText,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"aurevant\"},ratio:{type:ControlType.Number,title:\"Fit Ratio\",defaultValue:4.2,min:1,max:12,step:.02,description:\"Raise if the text overflows, lower if it leaves a gap.\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"200px\",letterSpacing:\"-0.04em\",lineHeight:\"0.9em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FitText\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"300\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FitText.map"],"mappings":"4JAOG,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,OAAK,WAAW,QAAM,IAAI,QAAM,UAAU,QAAM,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,cAAc,cAAc,GAAG,EAAM,MAAM,OAAO,MAAM,EAAE,SAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAK,QAAM,SAAS,iBAAiB,EAAM,GAAG,WAAW,IAAI,cAAc,WAAW,WAAW,SAAS,WAAW,OAAO,OAAO,EAAE,UAAU,QAAQ,EAAE,SAAS,CAAI,CAAC,CAAC,CAAC,CAAE,iBAPrZ,IAAoD,EAOkW,EAAoB,EAAQ,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,UAAU,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,IAAI,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,YAAY,wDAAwD,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,QAAQ,cAAc,UAAU,WAAW,OAAO,CAAC,CAAC,CAAC"}