{"version":3,"file":"SmartList.gbcPOYsB.mjs","names":[],"sources":["https:/framerusercontent.com/modules/dKmLh6reKh2kxCqhH8OW/8l8OXj3FxXbvCXwywm8Q/ZajZqjjCF.js","https:/framerusercontent.com/modules/jx1irPUBXWtGEdWQ6Iz3/UZVEprUQqJgSNju1ilSY/SmartList.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 16 0 L 5 11 L 0 6\" fill=\"transparent\" height=\"11px\" id=\"RhWX5SVPv\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(4 6)\" width=\"16px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"3338047389\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-FCBgc\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-FCBgc { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Check\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-FCBgc\");Icon.displayName=\"Check\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Check\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function SmartList(props){const{items,start,listStyle,fontSize,lineHeight,color,fontFamily}=props;const isNumbered=listStyle===\"number\"||listStyle===\"uppercase\"||listStyle===\"lowercase\";const listStyleMap={number:\"decimal\",uppercase:\"upper-alpha\",lowercase:\"lower-alpha\",bullet:\"disc\"};const ListTag=isNumbered?\"ol\":\"ul\";return /*#__PURE__*/React.createElement(ListTag,{...isNumbered?{start}:{},style:{listStyleType:listStyleMap[listStyle],fontSize,lineHeight:`${lineHeight}px`,color,fontFamily,paddingLeft:\"1.5em\",margin:0}},items.map((item,index)=>/*#__PURE__*/_jsx(\"li\",{style:{marginBottom:\"0.5em\"},children:item},index)));}addPropertyControls(SmartList,{items:{type:ControlType.Array,title:\"Items\",propertyControl:{type:ControlType.String,placeholder:\"List item text\"}},listStyle:{type:ControlType.Enum,title:\"Style\",defaultValue:\"number\",options:[\"number\",\"uppercase\",\"lowercase\",\"bullet\"],optionTitles:[\"1, 2, 3\",\"A, B, C\",\"a, b, c\",\"• Bullet\"]},start:{type:ControlType.Number,title:\"Start At\",defaultValue:1,min:1,hidden:props=>props.listStyle===\"bullet\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:10},lineHeight:{type:ControlType.Number,title:\"Line Height\",defaultValue:24,min:12},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},fontFamily:{type:ControlType.Enum,title:\"Font\",defaultValue:\"Inter, sans-serif\",options:[\"Inter, sans-serif\",\"Satoshi, sans-serif\",\"General Sans, sans-serif\",\"Gotham, sans-serif\",\"Georgia, serif\",\"Arial, sans-serif\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"SmartList\":{\"type\":\"reactComponent\",\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