{"version":3,"file":"DotPattern.BMYGcEcA.mjs","names":[],"sources":["https:/framerusercontent.com/modules/pL6duxiGkeyth4A5E9hr/zJYn5lmZey86VNsOiewn/DotPattern.js"],"sourcesContent":["// Composant étirable avec un pattern de points éditables\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 400\n * \n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function DotPattern(props){const{dotSize=2,dotColor=\"#000000\",spacing=20,opacity=.5,style}=props;const patternId=\"dot-pattern\";return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"100%\",height:\"100%\",style:{position:\"absolute\",top:0,left:0},children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"pattern\",{id:patternId,x:\"0\",y:\"0\",width:spacing,height:spacing,patternUnits:\"userSpaceOnUse\",children:/*#__PURE__*/_jsx(\"circle\",{cx:spacing/2,cy:spacing/2,r:dotSize,fill:dotColor,opacity:opacity})})}),/*#__PURE__*/_jsx(\"rect\",{width:\"100%\",height:\"100%\",fill:`url(#${patternId})`})]})});}addPropertyControls(DotPattern,{dotSize:{type:ControlType.Number,title:\"Taille Point\",defaultValue:2,min:1,max:10,step:.5,unit:\"px\"},dotColor:{type:ControlType.Color,title:\"Couleur Point\",defaultValue:\"#000000\"},spacing:{type:ControlType.Number,title:\"Espacement\",defaultValue:20,min:10,max:100,step:5,unit:\"px\"},opacity:{type:ControlType.Number,title:\"Opacit\\xe9\",defaultValue:.5,min:0,max:1,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DotPattern\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"400\",\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