{"version":3,"file":"BulletList.DGtSCBQJ.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/Ae4TPRbzzd4zvQqPwYtL/UdMETM70dK7bReQnSaTT/BulletList.js"],"sourcesContent":["// Bullet list component with responsive typography\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function BulletList(props){const{items=[\"First bullet point item\",\"Second bullet point item\",\"Third bullet point item\"],bulletColor=\"#000000\",textColor=\"#000000\",backgroundColor=\"#FFFFFF\",bulletSize=6,spacing=16,indentation=12,desktopFont,tabletFont,mobileFont,style}=props;const[screenWidth,setScreenWidth]=useState(1200);useEffect(()=>{if(typeof window!==\"undefined\"){const updateScreenWidth=()=>setScreenWidth(window.innerWidth);updateScreenWidth();window.addEventListener(\"resize\",updateScreenWidth);return()=>window.removeEventListener(\"resize\",updateScreenWidth);}},[]);// Determine current font based on screen width\nconst getCurrentFont=()=>{if(screenWidth>=1200){return{fontSize:\"28px\",fontFamily:\"Twk Lausanne, sans-serif\",fontWeight:\"300\",letterSpacing:\"-0.01em\",lineHeight:\"1.1em\",...desktopFont};}else if(screenWidth>=810){return{fontSize:\"17px\",fontFamily:\"Twk Lausanne, sans-serif\",fontWeight:\"300\",letterSpacing:\"-0.01em\",lineHeight:\"1.1em\",...tabletFont};}else{return{fontSize:\"15px\",fontFamily:\"Inter, sans-serif\",letterSpacing:\"-0.01em\",lineHeight:\"1.1em\",...mobileFont};}};const currentFont=getCurrentFont();return /*#__PURE__*/_jsx(\"div\",{style:{...style,backgroundColor,borderRadius:\"8px\",display:\"flex\",flexDirection:\"column\",gap:`${spacing}px`,width:\"100%\"},children:items.map((item,index)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:`${indentation}px`},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:`${bulletSize}px`,height:`${bulletSize}px`,backgroundColor:bulletColor,borderRadius:\"50%\",marginTop:`${parseFloat(String(currentFont.fontSize))*.4}px`,flexShrink:0}}),/*#__PURE__*/_jsx(\"span\",{style:{flex:1,...currentFont,color:textColor},children:item})]},index))});}addPropertyControls(BulletList,{items:{type:ControlType.Array,control:{type:ControlType.String,placeholder:\"Enter bullet point text...\"},defaultValue:[\"First bullet point item\",\"Second bullet point item\",\"Third bullet point item\"],maxCount:10},bulletColor:{type:ControlType.Color,title:\"Bullet Color\",defaultValue:\"#000000\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},bulletSize:{type:ControlType.Number,title:\"Bullet Size\",defaultValue:6,min:2,max:20,step:1,unit:\"px\"},spacing:{type:ControlType.Number,title:\"Item Spacing\",defaultValue:16,min:4,max:40,step:2,unit:\"px\"},indentation:{type:ControlType.Number,title:\"Indentation\",defaultValue:12,min:4,max:40,step:2,unit:\"px\"},desktopFont:{type:ControlType.Font,title:\"Desktop Font\",defaultValue:{fontSize:\"28px\",variant:\"Light\",letterSpacing:\"-0.01em\",lineHeight:\"1.1em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},tabletFont:{type:ControlType.Font,title:\"Tablet Font\",defaultValue:{fontSize:\"17px\",variant:\"Light\",letterSpacing:\"-0.01em\",lineHeight:\"1.1em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},mobileFont:{type:ControlType.Font,title:\"Mobile Font\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.1em\"},controls:\"extended\",defaultFontType:\"sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BulletList\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata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