{"version":3,"file":"DottedBackground.bUIc3isG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/e80oCvrWlwaZui4emTKE/2eJLss5uoE4BjtwT4ACs/DottedBackground.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * DottedBackground (responsive)\n * Fills its parent (width/height 100%).\n * Works in auto/fit/fill layouts—no fixed sizing required.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function DottedBackground(props){const{color=\"#282842\",dotSize=1,spacing=16,borderRadius=0,// Framer passes layout styles; we merge them safely:\nstyle,...rest}=props;const bgStyle={width:\"100%\",height:\"100%\",borderRadius,backgroundImage:`radial-gradient(${color} ${dotSize}px, transparent ${dotSize}px)`,backgroundSize:`${spacing}px ${spacing}px`,// Centers the dot pattern:\nbackgroundPosition:\"center\",// Ensures the element can stretch with parent layouts:\ndisplay:\"block\",// Avoid subpixel blurriness in some cases:\nbackgroundRepeat:\"repeat\",...style};return /*#__PURE__*/_jsx(\"div\",{style:bgStyle,...rest});}addPropertyControls(DottedBackground,{color:{type:ControlType.Color,title:\"Dot Color\"},dotSize:{type:ControlType.Number,title:\"Dot Size\",min:1,max:20,step:1},spacing:{type:ControlType.Number,title:\"Spacing\",min:4,max:120,step:1},borderRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:64,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DottedBackground\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DottedBackground.map"],"mappings":"4JAOG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,QAAM,UAAU,UAAQ,EAAE,UAAQ,GAAG,eAAa,EAC3G,QAAM,GAAG,GAAM,EAGqB,OAAoB,EAAK,MAAM,CAAC,MAHjC,CAAC,MAAM,OAAO,OAAO,OAAO,eAAa,gBAAgB,mBAAmB,EAAM,GAAG,EAAQ,kBAAkB,EAAQ,KAAK,eAAe,GAAG,EAAQ,KAAK,EAAQ,IACtM,mBAAmB,SACnB,QAAQ,QACR,iBAAiB,SAAS,GAAG,EAAM,CAA+C,GAAG,EAAK,CAAC,kBAXhD,IAAoD,CAWF,EAAoB,EAAiB,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,YAAY,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,CAAC,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,CAAC,CAAC"}