{"version":3,"file":"ExpandableContent.CqFCdbth.mjs","names":[],"sources":["https:/framerusercontent.com/modules/RoaLNlxnOMy2SsjPunFk/yJueKbefFS5ItksSSzis/ExpandableContent.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth all\n * @framerSupportedLayoutHeight all\n */export function ExpandableContent(props){const collapsedStyle={display:\"grid\",gridTemplateRows:\"0fr\",transition:\"grid-template-rows 0.2s\",justifyContent:\"stretch\"};const expandedStyle={display:\"grid\",gridTemplateRows:\"1fr\",transition:\"grid-template-rows 0.2s\",justifyContent:\"stretch\"};const textContainerStyle={overflow:\"hidden\",color:props.color};const textStyle={...props.font,paddingBottom:props.font.fontSize};return /*#__PURE__*/_jsx(motion.div,{style:props.isExpanded?expandedStyle:collapsedStyle,children:/*#__PURE__*/_jsx(\"div\",{style:textContainerStyle,children:/*#__PURE__*/_jsx(\"p\",{style:textStyle,children:props.text})})});}addPropertyControls(ExpandableContent,{isExpanded:{type:ControlType.Boolean,title:\"Is Expanded\",defaultValue:false,enabledTitle:\"Expanded\",disabledTitle:\"Collapsed\"},text:{type:ControlType.String,title:\"Text\",defaultValue:\"Click me to toggle state!\"},font:{type:\"font\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Font Color\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"ExpandableContent\":{\"type\":\"reactComponent\",\"name\":\"ExpandableContent\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"all\",\"framerSupportedLayoutWidth\":\"all\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ExpandableContent.map"],"mappings":"wMAGG,SAAgB,EAAkB,EAAM,CAAC,IAAM,EAAe,CAAC,QAAQ,OAAO,iBAAiB,MAAM,WAAW,0BAA0B,eAAe,UAAU,CAAO,EAAc,CAAC,QAAQ,OAAO,iBAAiB,MAAM,WAAW,0BAA0B,eAAe,UAAU,CAAO,EAAmB,CAAC,SAAS,SAAS,MAAM,EAAM,MAAM,CAAO,EAAU,CAAC,GAAG,EAAM,KAAK,cAAc,EAAM,KAAK,SAAS,CAAC,OAAoB,EAAK,EAAO,IAAI,CAAC,MAAM,EAAM,WAAW,EAAc,EAAe,SAAsB,EAAK,MAAM,CAAC,MAAM,EAAmB,SAAsB,EAAK,IAAI,CAAC,MAAM,EAAU,SAAS,EAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,kBAHplB,IAAkC,IAAoD,CAGggB,EAAoB,EAAkB,CAAC,WAAW,CAAC,KAAK,EAAY,QAAQ,MAAM,cAAc,aAAa,GAAM,aAAa,WAAW,cAAc,YAAY,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,4BAA4B,CAAC,KAAK,CAAC,KAAK,OAAO,SAAS,WAAW,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,CAAC,CAAC"}