{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/78jGPDS2bGg7P1iROsvV/svBkQIJQrWMCB0caw5gV/FirstLetterAdder.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function CustomTextbox(props){const{text,firstLetterFont,firstLetterSize,firstLetterWeight,firstLetterColor,remainingTextFont,remainingTextSize,remainingTextWeight,remainingTextColor,style}=props;const containerStyle={...style,fontFamily:remainingTextFont,fontSize:remainingTextSize,fontWeight:remainingTextWeight,color:remainingTextColor,position:\"relative\"};const firstLetterStyle={fontFamily:firstLetterFont,fontSize:firstLetterSize,fontWeight:firstLetterWeight,color:firstLetterColor,float:\"left\",marginRight:\"8px\",lineHeight:\"1\"};const remainingTextStyle={overflow:\"hidden\"};return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:firstLetterStyle,children:text.charAt(0)}),/*#__PURE__*/_jsx(\"span\",{style:remainingTextStyle,children:text.slice(1)})]});}CustomTextbox.defaultProps={text:\"Hello World!\",firstLetterFont:\"Arial\",firstLetterSize:\"24px\",firstLetterWeight:\"bold\",firstLetterColor:\"#ff0000\",remainingTextFont:\"Arial\",remainingTextSize:\"16px\",remainingTextWeight:\"normal\",remainingTextColor:\"#000000\"};addPropertyControls(CustomTextbox,{text:{type:ControlType.String,title:\"Text\"},firstLetterFont:{type:ControlType.String,title:\"First Letter Font\",defaultValue:\"Arial\"},firstLetterSize:{type:ControlType.String,title:\"First Letter Size\",defaultValue:\"24px\"},firstLetterWeight:{type:ControlType.String,title:\"First Letter Weight\",defaultValue:\"bold\"},firstLetterColor:{type:ControlType.Color,title:\"First Letter Color\",defaultValue:\"#ff0000\"},remainingTextFont:{type:ControlType.String,title:\"Remaining Text Font\",defaultValue:\"Arial\"},remainingTextSize:{type:ControlType.String,title:\"Remaining Text Size\",defaultValue:\"16px\"},remainingTextWeight:{type:ControlType.String,title:\"Remaining Text Weight\",defaultValue:\"normal\"},remainingTextColor:{type:ControlType.Color,title:\"Remaining Text Color\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CustomTextbox\":{\"type\":\"reactComponent\",\"name\":\"CustomTextbox\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FirstLetterAdder.map"],
  "mappings": "+DAAoH,SAASA,EAAcC,EAAM,CAAC,GAAK,CAAC,KAAAC,EAAK,gBAAAC,EAAgB,gBAAAC,EAAgB,kBAAAC,EAAkB,iBAAAC,EAAiB,kBAAAC,EAAkB,kBAAAC,EAAkB,oBAAAC,EAAoB,mBAAAC,EAAmB,MAAAC,CAAK,EAAEV,EAAYW,EAAe,CAAC,GAAGD,EAAM,WAAWJ,EAAkB,SAASC,EAAkB,WAAWC,EAAoB,MAAMC,EAAmB,SAAS,UAAU,EAAQG,EAAiB,CAAC,WAAWV,EAAgB,SAASC,EAAgB,WAAWC,EAAkB,MAAMC,EAAiB,MAAM,OAAO,YAAY,MAAM,WAAW,GAAG,EAAQQ,EAAmB,CAAC,SAAS,QAAQ,EAAE,OAAoBC,EAAM,MAAM,CAAC,MAAMH,EAAe,SAAS,CAAcI,EAAK,OAAO,CAAC,MAAMH,EAAiB,SAASX,EAAK,OAAO,CAAC,CAAC,CAAC,EAAec,EAAK,OAAO,CAAC,MAAMF,EAAmB,SAASZ,EAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAACF,EAAc,aAAa,CAAC,KAAK,eAAe,gBAAgB,QAAQ,gBAAgB,OAAO,kBAAkB,OAAO,iBAAiB,UAAU,kBAAkB,QAAQ,kBAAkB,OAAO,oBAAoB,SAAS,mBAAmB,SAAS,EAAEiB,EAAoBjB,EAAc,CAAC,KAAK,CAAC,KAAKkB,EAAY,OAAO,MAAM,MAAM,EAAE,gBAAgB,CAAC,KAAKA,EAAY,OAAO,MAAM,oBAAoB,aAAa,OAAO,EAAE,gBAAgB,CAAC,KAAKA,EAAY,OAAO,MAAM,oBAAoB,aAAa,MAAM,EAAE,kBAAkB,CAAC,KAAKA,EAAY,OAAO,MAAM,sBAAsB,aAAa,MAAM,EAAE,iBAAiB,CAAC,KAAKA,EAAY,MAAM,MAAM,qBAAqB,aAAa,SAAS,EAAE,kBAAkB,CAAC,KAAKA,EAAY,OAAO,MAAM,sBAAsB,aAAa,OAAO,EAAE,kBAAkB,CAAC,KAAKA,EAAY,OAAO,MAAM,sBAAsB,aAAa,MAAM,EAAE,oBAAoB,CAAC,KAAKA,EAAY,OAAO,MAAM,wBAAwB,aAAa,QAAQ,EAAE,mBAAmB,CAAC,KAAKA,EAAY,MAAM,MAAM,uBAAuB,aAAa,SAAS,CAAC,CAAC",
  "names": ["CustomTextbox", "props", "text", "firstLetterFont", "firstLetterSize", "firstLetterWeight", "firstLetterColor", "remainingTextFont", "remainingTextSize", "remainingTextWeight", "remainingTextColor", "style", "containerStyle", "firstLetterStyle", "remainingTextStyle", "u", "p", "addPropertyControls", "ControlType"]
}
