{"version":3,"file":"LinePattern.B8TmoqvI.mjs","names":[],"sources":["https:/framerusercontent.com/modules/2WXcDZLX4QTm8zrri1Ct/FAYLB4HHwJAYa3QPL2H8/LinePattern.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Frame,addPropertyControls,ControlType}from\"framer\";export function LinePattern(props){const{lineColor,rotation,lineWidth,lineSpacing}=props;// Original component code\nconst patternStyle={background:`repeating-linear-gradient(${rotation}deg, ${lineColor}, ${lineColor} ${lineWidth}px, transparent ${lineWidth}px, transparent ${lineSpacing}px)`,width:\"100%\",height:\"100%\"};// Hard-coded override code (breaks when lineWidth is 2px and lineColor is 4px... not sure why)\nconst hardCoded={background:`repeating-linear-gradient(45deg, transparent, transparent 2.5px, ${lineColor} 2.5px, ${lineColor} 5px)`,width:\"100%\",height:\"100%\"};return /*#__PURE__*/_jsx(Frame,{size:\"100%\",background:\"transparent\",style:hardCoded});}LinePattern.defaultProps={lineColor:\"#EDEEF1\",rotation:45,lineWidth:2,lineSpacing:10};addPropertyControls(LinePattern,{lineColor:{type:ControlType.Color,title:\"Line Color\"},rotation:{type:ControlType.Number,title:\"Rotation\",min:0,max:360,step:1},lineWidth:{type:ControlType.Number,title:\"Line Width\",min:1,max:20,step:1},lineSpacing:{type:ControlType.Number,title:\"Line Spacing\",min:1,max:50,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"LinePattern\":{\"type\":\"reactComponent\",\"name\":\"LinePattern\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LinePattern.map"],"mappings":"4OAAqG,SAAgB,EAAY,EAAM,CAAC,GAAK,CAAC,YAAU,WAAS,YAAU,eAAa,EACzJ,GAA6B,IAAgB,IAAc,IAAa,IAA4B,IAA4B,IAC/J,IAAM,EAAU,CAAC,WAAW,oEAAoE,EAAU,UAAU,EAAU,OAAO,MAAM,OAAO,OAAO,OAAO,CAAC,OAAoB,EAAK,EAAM,CAAC,KAAK,OAAO,WAAW,cAAc,MAAM,EAAU,CAAC,kBAF5M,IAA0D,CAEoJ,EAAY,aAAa,CAAC,UAAU,UAAU,SAAS,GAAG,UAAU,EAAE,YAAY,GAAG,CAAC,EAAoB,EAAY,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,CAAC,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,eAAe,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,CAAC,CAAC"}