{"version":3,"file":"Diagonal_Lines.DisaVsdK.mjs","names":[],"sources":["https:/framerusercontent.com/modules/nwXSRANnrLIPifHDM9wW/bADm8dIIQiMvNQOb4v2X/Diagonal_Lines.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function DiagonalLines(props){const{tint,patternColor,fillOpacity}=props;const rawSVG=`\n        <svg xmlns='http://www.w3.org/2000/svg' width='6' height='6' viewBox='0 0 6 6'>\n            <g fill-rule='evenodd'>\n                <g fill='${patternColor}' fill-opacity='${fillOpacity}'>\n                    <path d='M5 0h1L0 6V5zM6 5v1H5z'/>\n                </g>\n            </g>\n        </svg>\n    `.trim();const encodedSVG=encodeURIComponent(rawSVG);const pattern=`url(\"data:image/svg+xml,${encodedSVG}\")`;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:tint,backgroundImage:pattern,backgroundRepeat:\"repeat\",backgroundSize:\"auto\"}});}export const defaultSize={width:50,height:50};addPropertyControls(DiagonalLines,{tint:{title:\"Background\",type:ControlType.Color,defaultValue:\"#ffffff\"},patternColor:{title:\"Pattern Color\",type:ControlType.Color,defaultValue:\"#9d9d9d\"},fillOpacity:{title:\"Pattern Opacity\",type:ControlType.Number,min:0,max:1,step:.01,defaultValue:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"defaultSize\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"DiagonalLines\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Diagonal_Lines.map"],"mappings":"uJAGG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,OAAK,eAAa,eAAa,EAAY,EAAO;;;2BAG7E,EAAa,kBAAkB,EAAY;;;;;MAKhE,MAAM,CAAqG,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,gBAAgB,EAAK,gBAAjI,2BAAzC,mBAAmB,EAAO,CAAqD,IAAmH,iBAAiB,SAAS,eAAe,OAAO,CAAC,CAAC,kBAXvO,IAAoD,CAWmO,EAAoB,EAAc,CAAC,KAAK,CAAC,MAAM,aAAa,KAAK,EAAY,MAAM,aAAa,UAAU,CAAC,aAAa,CAAC,MAAM,gBAAgB,KAAK,EAAY,MAAM,aAAa,UAAU,CAAC,YAAY,CAAC,MAAM,kBAAkB,KAAK,EAAY,OAAO,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,aAAa,EAAE,CAAC,CAAC"}