{"version":3,"file":"TwoLineEllipsisText.BgoIRaGz.mjs","names":[],"sources":["https:/framerusercontent.com/modules/s2lO5MuIWHwcbTYR41Am/j9BcLNH0wB32AoQBrHy5/TwoLineEllipsisText.js"],"sourcesContent":["// Two-line ellipsis text component\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Two-line Ellipsis Text\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function TwoLineEllipsisText(props){const{text,color,font,style}=props;return /*#__PURE__*/_jsx(\"span\",{style:{display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\",color,...font,width:\"100%\",...style},children:text});}addPropertyControls(TwoLineEllipsisText,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"This is a long text that will be truncated after two lines with an ellipsis.\",displayTextArea:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TwoLineEllipsisText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TwoLineEllipsisText.map"],"mappings":"iOAMG,SAAwB,EAAoB,EAAM,CAAC,GAAK,CAAC,OAAK,QAAM,OAAK,SAAO,EAAM,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,cAAc,gBAAgB,EAAE,gBAAgB,WAAW,SAAS,SAAS,aAAa,WAAW,QAAM,GAAG,EAAK,MAAM,OAAO,GAAG,EAAM,CAAC,SAAS,EAAK,CAAC,kBALvP,IAAoD,CAKqM,EAAoB,EAAoB,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,+EAA+E,gBAAgB,GAAK,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,UAAU,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,UAAU,cAAc,UAAU,WAAW,QAAQ,CAAC,CAAC,CAAC"}