{"version":3,"file":"CustomGradient.D8eLRblh.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6FzxilHwGtBJYhb5cCag/i0x2tqn7G88CZzR94TMc/CustomGradient.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function CustomBackgroundComponent(props){const{customCSS,useCustomCSS,fallbackColor,children}=props;// Clean the CSS input - remove \"background:\" if user included it\nconst cleanCSS=customCSS?.replace(/^background\\s*:\\s*/,\"\").trim();const containerStyle={width:\"100%\",height:\"100%\",// Apply cleaned CSS\n...useCustomCSS&&cleanCSS?{background:cleanCSS}:{backgroundColor:fallbackColor},// Other styles...\ndisplay:\"flex\",alignItems:\"center\",justifyContent:\"center\"};return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:children});}// Default properties\nCustomBackgroundComponent.defaultProps={customCSS:\"linear-gradient(135deg, #F1EDEB 0%, #E5DED9 98.78%)\",useCustomCSS:true,fallbackColor:\"#f0f0f0\"};// Property controls for Framer\naddPropertyControls(CustomBackgroundComponent,{useCustomCSS:{type:ControlType.Boolean,title:\"Use Custom CSS\",defaultValue:true},customCSS:{type:ControlType.String,title:\"Background CSS\",defaultValue:\"linear-gradient(135deg, #F1EDEB 0%, #E5DED9 98.78%)\",placeholder:\"Enter CSS background value\",displayTextArea:true,hidden(props){return!props.useCustomCSS;}},fallbackColor:{type:ControlType.Color,title:\"Fallback Color\",defaultValue:\"#f0f0f0\",hidden(props){return props.useCustomCSS;}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomBackgroundComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomGradient.map"],"mappings":"4JAA+F,SAAwB,EAA0B,EAAM,CAAC,GAAK,CAAC,YAAU,eAAa,gBAAc,YAAU,EACvM,EAAS,GAAW,QAAQ,qBAAqB,GAAG,CAAC,MAAM,CAEL,OAAoB,EAAK,MAAM,CAAC,MAFL,CAAC,MAAM,OAAO,OAAO,OAC5G,GAAG,GAAc,EAAS,CAAC,WAAW,EAAS,CAAC,CAAC,gBAAgB,EAAc,CAC/E,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,CAA+D,WAAS,CAAC,kBAHzF,IAAoD,CAI/F,EAA0B,aAAa,CAAC,UAAU,sDAAsD,aAAa,GAAK,cAAc,UAAU,CAClJ,EAAoB,EAA0B,CAAC,aAAa,CAAC,KAAK,EAAY,QAAQ,MAAM,iBAAiB,aAAa,GAAK,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,aAAa,sDAAsD,YAAY,6BAA6B,gBAAgB,GAAK,OAAO,EAAM,CAAC,MAAM,CAAC,EAAM,cAAe,CAAC,cAAc,CAAC,KAAK,EAAY,MAAM,MAAM,iBAAiB,aAAa,UAAU,OAAO,EAAM,CAAC,OAAO,EAAM,cAAe,CAAC,CAAC"}