{"version":3,"file":"BulletpointList.DC__7EZP.mjs","names":[],"sources":["https:/framerusercontent.com/modules/1tVPr77Bpydwev6uHZlO/BjRnm7b6darec0PSU8BI/BulletpointList.js"],"sourcesContent":["// Bulletpoint list with normal bullets and single color control\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Bulletpoint List with Normal Bullets and Single Color Control\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function BulletpointList(props){const{text=\"First item\\nSecond item\\nThird item\",color,font,gap,bulletGap,bulletSize,bulletYOffset,style}=props;const items=text.split(\"\\n\");const bulletSizeInPx=`${bulletSize}px`;const bulletGapInPx=`${bulletGap}px`;const containerStyle={...style,listStyle:\"none\",margin:0,padding:0,color:color,...font,height:\"auto\"};return /*#__PURE__*/_jsx(\"ul\",{style:containerStyle,children:items.map((item,i)=>/*#__PURE__*/_jsxs(\"li\",{style:{position:\"relative\",marginBottom:i===items.length-1?0:gap,paddingLeft:`calc(${bulletSizeInPx} + ${bulletGapInPx})`},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,top:`${bulletYOffset}px`,width:bulletSizeInPx,height:bulletSizeInPx,borderRadius:\"50%\",background:color}}),item]},i))});}addPropertyControls(BulletpointList,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"First item\\nSecond item\\nThird item\",displayTextArea:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},gap:{type:ControlType.Number,title:\"Item Gap\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"},bulletGap:{type:ControlType.Number,title:\"Bullet Gap\",defaultValue:8,min:0,max:32,step:1,unit:\"px\"},bulletSize:{type:ControlType.Number,title:\"Bullet Size\",defaultValue:6,min:2,max:16,step:1,unit:\"px\"},bulletYOffset:{type:ControlType.Number,title:\"Bullet Y-Offset\",defaultValue:7.5,min:-10,max:20,step:.5,unit:\"px\",displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BulletpointList\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BulletpointList.map"],"mappings":"wOAMG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,OAAK;;YAAsC,QAAM,OAAK,MAAI,YAAU,aAAW,gBAAc,SAAO,EAAY,EAAM,EAAK,MAAM;EAAK,CAAO,EAAe,GAAG,EAAW,IAAU,EAAc,GAAG,EAAU,IAAU,EAAe,CAAC,GAAG,EAAM,UAAU,OAAO,OAAO,EAAE,QAAQ,EAAQ,QAAM,GAAG,EAAK,OAAO,OAAO,CAAC,OAAoB,EAAK,KAAK,CAAC,MAAM,EAAe,SAAS,EAAM,KAAK,EAAK,IAAiB,EAAM,KAAK,CAAC,MAAM,CAAC,SAAS,WAAW,aAAa,IAAI,EAAM,OAAO,EAAE,EAAE,EAAI,YAAY,QAAQ,EAAe,KAAK,EAAc,GAAG,CAAC,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CAAC,SAAS,WAAW,KAAK,EAAE,IAAI,GAAG,EAAc,IAAI,MAAM,EAAe,OAAO,EAAe,aAAa,MAAM,WAAW,EAAM,CAAC,CAAC,CAAC,EAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,kBAL1tB,IAAoD,CAKwqB,EAAoB,EAAgB,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa;;YAAsC,gBAAgB,GAAK,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,UAAU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