{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/lWIBhuzQj5UBt31wWSuu/tKU9zlOXTXLCYoSoxMSn/Truncate_text.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/docs/guides/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */ export default function Truncate_text(props){// This is a React component containing an Example component\n// - Replace <Example /> with your own code\n// - Find inspiration: https://www.framer.com/developers/\n// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={fontFamily:props.fontFamily,fontSize:`${props.fontSize}px`,lineHeight:`${props.lineHeight}px`,letterSpacing:\"0.05px\",width:\"100%\",margin:0,padding:0,color:props.color,display:\"-webkit-box\",overflow:\"hidden\",WebkitBoxOrient:\"vertical\",WebkitLineClamp:props.numLines};return /*#__PURE__*/ _jsx(\"p\",{style:containerStyle,children:props.text});};addPropertyControls(Truncate_text,{text:{title:\"Text\",type:ControlType.String,displayTextArea:true},fontFamily:{title:\"Font\",type:ControlType.String,defaultValue:\"'Haas Grot Text R Web 55 Roman'\",displayTextArea:true},fontSize:{title:\"Font size\",type:ControlType.Number,defaultValue:14},lineHeight:{title:\"Line height\",type:ControlType.Number,defaultValue:20},color:{title:\"Color\",type:ControlType.Color},numLines:{title:\"Lines\",type:ControlType.Number,defaultValue:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Truncate_text\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Truncate_text.map"],
  "mappings": "gGAAAA,IAQmB,SAARC,EAA+BC,EAAM,CAKhD,IAAMC,EAAe,CAAC,WAAWD,EAAM,WAAW,SAAS,GAAGA,EAAM,QAAQ,KAAK,WAAW,GAAGA,EAAM,UAAU,KAAK,cAAc,SAAS,MAAM,OAAO,OAAO,EAAE,QAAQ,EAAE,MAAMA,EAAM,MAAM,QAAQ,cAAc,SAAS,SAAS,gBAAgB,WAAW,gBAAgBA,EAAM,QAAQ,EAAE,OAAqBE,EAAK,IAAI,CAAC,MAAMD,EAAe,SAASD,EAAM,IAAI,CAAC,CAAE,CAAEG,EAAoBJ,EAAc,CAAC,KAAK,CAAC,MAAM,OAAO,KAAKK,EAAY,OAAO,gBAAgB,EAAI,EAAE,WAAW,CAAC,MAAM,OAAO,KAAKA,EAAY,OAAO,aAAa,kCAAkC,gBAAgB,EAAI,EAAE,SAAS,CAAC,MAAM,YAAY,KAAKA,EAAY,OAAO,aAAa,EAAE,EAAE,WAAW,CAAC,MAAM,cAAc,KAAKA,EAAY,OAAO,aAAa,EAAE,EAAE,MAAM,CAAC,MAAM,QAAQ,KAAKA,EAAY,KAAK,EAAE,SAAS,CAAC,MAAM,QAAQ,KAAKA,EAAY,OAAO,aAAa,CAAC,CAAC,CAAC",
  "names": ["init_ssg_sandbox_shims", "Truncate_text", "props", "containerStyle", "p", "addPropertyControls", "ControlType"]
}
