{"version":3,"file":"FirstLetterAdder_3.DazDFaMM.mjs","names":["__esmMin","init_jsx_runtime","c","p","init_framer_BCdLsbZT","addPropertyControls","ControlType","CustomTextbox","props","containerStyle","style","remainingTextFont","remainingTextSize","remainingTextWeight","remainingTextColor","firstLetterFont","firstLetterSize","firstLetterWeight","firstLetterColor","text","init_FirstLetterAdder_3"],"sources":["https:/framerusercontent.com/modules/L2YgMbw4lLDNTRuytT63/HvOOGOyvkTk5MDOfNWMU/FirstLetterAdder_3.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_3.map"],"mappings":"A,mKAA6G,SAAgBO,EAAc,EAAM,CAAC,GAAK,CAAC,OAAK,kBAAgB,kBAAgB,oBAAkB,mBAAiB,oBAAkB,oBAAkB,sBAAoB,qBAAmB,SAAOC,EAAYC,EAAe,CAAC,GAAGC,EAAM,WAAWC,EAAkB,SAASC,EAAkB,WAAWC,EAAoB,MAAMC,EAAmB,SAAS,UAAU,EAA8N,MAAoB,gBAAM,MAAM,CAAC,MAAML,EAAe,SAAS,CAAc,gBAAK,OAAO,CAAC,MAAM,CAApS,WAAWM,EAAgB,SAASC,EAAgB,WAAWC,EAAkB,MAAMC,EAAiB,MAAM,OAAO,YAAY,MAAM,WAAW,GAAiK,EAAE,SAASC,EAAK,OAAO,CAAC,CAAC,CAAC,EAAe,gBAAK,OAAO,CAAC,MAAM,CAA9L,SAAS,QAAsM,EAAE,SAASA,EAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,C,sCAAC,EAAc,aAAa,CAAC,KAAK,eAAe,gBAAgB,QAAQ,gBAAgB,OAAO,kBAAkB,OAAO,iBAAiB,UAAU,kBAAkB,QAAQ,kBAAkB,OAAO,oBAAoB,SAAS,mBAAmB,SAAS,EAAEd,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