{"version":3,"file":"ForMe.Cf33Pyfe.mjs","names":[],"sources":["https:/framerusercontent.com/modules/sOQoDthTexk8CeyiTj2e/lQTavMOACPVqSf3d6kSl/ForMe.js"],"sourcesContent":["// Text limiter component: limits text to 23 characters, adds ellipsis if needed\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * ForMe\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ForMe(props){const{text,font,color,charLimit,textTransform}=props;const limit=typeof charLimit===\"number\"&&charLimit>0?charLimit:23;const limited=text.length>limit?text.slice(0,limit)+\"…\":text;return /*#__PURE__*/_jsx(\"span\",{style:{...font,color,minWidth:\"max-content\",textTransform},children:limited});}addPropertyControls(ForMe,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"This is a sample text that will be limited to 23 characters.\",displayTextArea:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},charLimit:{type:ControlType.Number,title:\"Character Limit\",defaultValue:23,min:1,max:200,step:1,displayStepper:true},textTransform:{type:ControlType.Enum,title:\"Text Transform\",options:[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"],optionTitles:[\"None\",\"UPPERCASE\",\"lowercase\",\"Capitalize\"],defaultValue:\"none\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ForMe\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ForMe.map"],"mappings":"4JAMG,SAAwB,EAAM,EAAM,CAAC,GAAK,CAAC,OAAK,OAAK,QAAM,YAAU,iBAAe,EAAY,EAAM,OAAO,GAAY,UAAU,EAAU,EAAE,EAAU,GAAS,EAAQ,EAAK,OAAO,EAAM,EAAK,MAAM,EAAE,EAAM,CAAC,IAAI,EAAK,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,GAAG,EAAK,QAAM,SAAS,cAAc,gBAAc,CAAC,SAAS,EAAQ,CAAC,kBAL/R,IAAoD,CAK6O,EAAoB,EAAM,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,+DAA+D,gBAAgB,GAAK,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,UAAU,cAAc,UAAU,WAAW,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,UAAU,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,kBAAkB,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,eAAe,GAAK,CAAC,cAAc,CAAC,KAAK,EAAY,KAAK,MAAM,iBAAiB,QAAQ,CAAC,OAAO,YAAY,YAAY,aAAa,CAAC,aAAa,CAAC,OAAO,YAAY,YAAY,aAAa,CAAC,aAAa,OAAO,wBAAwB,GAAK,CAAC,CAAC"}