{"version":3,"file":"QonfiGradientHeading.CvCUdotc.mjs","names":["Tag","__esmMin","p","c","init_jsx_runtime","addPropertyControls","ControlType","init_framer_BisrWwwE","QonfiGradientHeading","props","tag","align","SIZES","size","style","text","highlight","breakLine","init_QonfiGradientHeading"],"sources":["https:/framerusercontent.com/modules/WNFwDTk75wFfSyCjNXzM/uOFqTw2WIWyy8ZiMbTXQ/QonfiGradientHeading.js"],"sourcesContent":["// User request: section headings where the second part of the sentence is shown in the Qonfi blue\n// gradient (#0081A7 -> #00AFB9), reusable across the site. Framer text styles can't fill text with a\n// gradient, so this component renders the heading: \"text\" in ink, \"highlight\" in the gradient.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const SIZES={hero:{fontSize:48,lineHeight:\"52px\",letterSpacing:\"-1.2px\"},section:{fontSize:36,lineHeight:\"40px\",letterSpacing:\"0px\"}};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 760\n */export default function QonfiGradientHeading(props){const{text=\"Simple where it can be.\",highlight=\"Powerful where it needs to be.\",size=\"section\",align=\"center\",tag=\"h2\",breakLine=false,style}=props;const Tag=tag;return /*#__PURE__*/_jsxs(Tag,{style:{margin:0,width:\"100%\",fontFamily:\"Lexend, Helvetica, Arial, sans-serif\",fontWeight:500,color:\"#111827\",textAlign:align,...SIZES[size],...style},children:[text,text&&highlight?breakLine?/*#__PURE__*/_jsx(\"br\",{}):\" \":null,highlight?/*#__PURE__*/_jsx(\"span\",{style:{backgroundImage:\"linear-gradient(to top right, #0081A7, #00AFB9)\",WebkitBackgroundClip:\"text\",backgroundClip:\"text\",WebkitTextFillColor:\"transparent\",color:\"transparent\"},children:highlight}):null]});}addPropertyControls(QonfiGradientHeading,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Simple where it can be.\"},highlight:{type:ControlType.String,title:\"Gradient text\",defaultValue:\"Powerful where it needs to be.\"},size:{type:ControlType.Enum,title:\"Size\",options:[\"section\",\"hero\"],optionTitles:[\"Section\",\"Hero\"],defaultValue:\"section\"},align:{type:ControlType.Enum,title:\"Align\",options:[\"center\",\"left\"],optionTitles:[\"Center\",\"Left\"],defaultValue:\"center\",displaySegmentedControl:true},breakLine:{type:ControlType.Boolean,title:\"Line break\",defaultValue:false},tag:{type:ControlType.Enum,title:\"Tag\",options:[\"h1\",\"h2\",\"h3\"],defaultValue:\"h2\"}});QonfiGradientHeading.displayName=\"Qonfi Gradient Heading\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"QonfiGradientHeading\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"760\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./QonfiGradientHeading.map"],"mappings":"A,mKAOG,SAAwBQ,EAAqB,EAAM,CAAC,GAAK,CAAC,OAAK,0BAA0B,YAAU,iCAAiC,OAAK,UAAU,QAAM,SAAS,MAAI,KAAK,YAAU,GAAM,SAAOC,EAAoB,MAAoB,gBAAMT,EAAI,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,OAAO,WAAW,uCAAuC,WAAW,IAAI,MAAM,UAAU,UAAUW,EAAM,GAAGC,EAAMC,GAAM,GAAGC,CAAK,EAAE,SAAS,CAACC,EAAKA,GAAMC,EAAUC,EAAuB,gBAAK,KAAK,CAAC,CAAC,EAAE,IAAI,KAAKD,EAAuB,gBAAK,OAAO,CAAC,MAAM,CAAC,gBAAgB,kDAAkD,qBAAqB,OAAO,eAAe,OAAO,oBAAoB,cAAc,MAAM,aAAa,EAAE,SAASA,CAAS,CAAC,EAAE,IAAI,CAAC,CAAC,CAAE,C,4CAJ5lB,EAAM,CAAC,KAAK,CAAC,SAAS,GAAG,WAAW,OAAO,cAAc,QAAQ,EAA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