{"version":3,"file":"GridPattern.DRdBVvNr.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_B1b760uK","ControlType","GridPattern","props","line","lineColor","opacity","style","lineWidth","cellSize","init_GridPattern"],"sources":["https:/framerusercontent.com/modules/EAJal3XD9v1R4gNwtdUs/WOLt4AqBg4tiLoKnaPmf/GridPattern.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Fixed-size tiled grid (the N&J \"draft grid\"): lines stay at the\n * chosen cell size instead of stretching with the frame.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function GridPattern(props){const{lineColor,opacity,cellSize,lineWidth,style}=props;const line=`color-mix(in srgb, ${lineColor} ${opacity}%, transparent)`;return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",pointerEvents:\"none\",backgroundImage:`linear-gradient(to right, ${line} ${lineWidth}px, transparent ${lineWidth}px), linear-gradient(to bottom, ${line} ${lineWidth}px, transparent ${lineWidth}px)`,backgroundSize:`${cellSize}px ${cellSize}px`,backgroundPosition:\"0 0\"}});}addPropertyControls(GridPattern,{lineColor:{type:ControlType.Color,title:\"Line Color\",defaultValue:\"#1D9680\"},opacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:5,min:0,max:100,step:1,unit:\"%\"},cellSize:{type:ControlType.Number,title:\"Cell Size\",defaultValue:44,min:8,max:200,step:1,unit:\"px\"},lineWidth:{type:ControlType.Number,title:\"Line Width\",defaultValue:1,min:1,max:4,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GridPattern\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GridPattern.map"],"mappings":"A,4JAMG,SAAwBM,EAAY,EAAM,CAAC,GAAK,CAAC,YAAU,UAAQ,WAAS,YAAU,SAAOC,EAAYC,EAAK,sBAAsBC,EAAU,GAAGC,EAAQ,iBAAiB,MAAoB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,GAAGC,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,cAAc,OAAO,gBAAgB,6BAA6BH,EAAK,GAAGI,EAAU,kBAAkBA,EAAU,kCAAkCJ,EAAK,GAAGI,EAAU,kBAAkBA,EAAU,KAAK,eAAe,GAAGC,EAAS,KAAKA,EAAS,IAAI,mBAAmB,KAAK,CAAC,CAAC,CAAE,C,sCAACV,EAAoBG,EAAY,CAAC,UAAU,CAAC,KAAKD,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,KAAK,GAAG,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,KAAK,IAAI,EAAE,UAAU,CAAC,KAAKA,EAAY,OAAO,MAAM,aAAa,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC,CAAC,C"}