{"version":3,"file":"Dotted_line.BdY6RsFG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9iDFTJIUtWu4j8EMylAd/PS11TAVklreLPXNgOVYi/Dotted_line.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * DottedLine Component\n *\n * A 1px dashed line that fills its container, vertical or horizontal.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 100\n */export default function DottedLine(props){const{direction=\"vertical\",color=\"#C1C1C5\",dashLength=4,gapLength=4,style}=props;const isVertical=direction===\"vertical\";const gradientDir=isVertical?\"to bottom\":\"to right\";const segment=dashLength+gapLength;return /*#__PURE__*/_jsx(\"div\",{style:{width:isVertical?1:\"100%\",height:isVertical?\"100%\":1,backgroundImage:`repeating-linear-gradient(${gradientDir}, ${color} 0px, ${color} ${dashLength}px, transparent ${dashLength}px, transparent ${segment}px)`,...style}});}addPropertyControls(DottedLine,{direction:{type:ControlType.Enum,title:\"Direction\",defaultValue:\"vertical\",options:[\"vertical\",\"horizontal\"],optionTitles:[\"Vertical\",\"Horizontal\"],displaySegmentedControl:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#C1C1C5\"},dashLength:{type:ControlType.Number,title:\"Dash Length\",defaultValue:4,min:1,max:40,step:1,unit:\"px\"},gapLength:{type:ControlType.Number,title:\"Gap Length\",defaultValue:4,min:1,max:40,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DottedLine\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"100\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Dotted_line.map"],"mappings":"4JASG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,YAAU,WAAW,QAAM,UAAU,aAAW,EAAE,YAAU,EAAE,SAAO,EAAY,EAAW,IAAY,WAAiB,EAAY,EAAW,YAAY,WAAiB,EAAQ,EAAW,EAAU,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAW,EAAE,OAAO,OAAO,EAAW,OAAO,EAAE,gBAAgB,6BAA6B,EAAY,IAAI,EAAM,QAAQ,EAAM,GAAG,EAAW,kBAAkB,EAAW,kBAAkB,EAAQ,KAAK,GAAG,CAAK,CAAC,CAAC,CAAE,iBATtd,IAAoD,EASma,EAAoB,EAAW,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,YAAY,aAAa,WAAW,QAAQ,CAAC,WAAW,YAAY,EAAE,aAAa,CAAC,WAAW,YAAY,EAAE,wBAAwB,EAAI,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,WAAW,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,EAAE,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,CAAC,CAAC"}