{"version":3,"file":"Label_Component.CB3-e37V.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9wwuMvOdxuZ6g6VPEyue/8tRbMr8cKTHzkfndMpc6/Utility_functions.js","https:/framer.com/m/Utility-functions-27XT.js@8tRbMr8cKTHzkfndMpc6","https:/framerusercontent.com/modules/6M3daIbjOrm0v6u9CUb7/okJPnrSyRIvNdzOU83gy/Label_Component.js"],"sourcesContent":["export function cleanInputValue(inputValue){return parseFloat(inputValue.replace(/[^0-9.-]+/g,\"\"));}\nexport const __FramerMetadata__ = {\"exports\":{\"cleanInputValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utility_functions.map","/*\n * Utility_functions\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/9wwuMvOdxuZ6g6VPEyue/8tRbMr8cKTHzkfndMpc6/Utility_functions.js\"\n","// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\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/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth any-prefer-fix\n * @framerSupportedLayoutHeight any-prefer-fix\n */export default function Label_Component(props){const{text,font,color,fontSize,customId}=props;const parsedFontFamily=props?.font?.fontFamily?props.font.fontFamily.replace(/['\"]+/g,\"\"):\"Sofia\";return /*#__PURE__*/_jsx(\"label\",{id:customId,style:{fontFamily:parsedFontFamily,fontWeight:font.fontWeight,fontSize:`${fontSize}px`,lineHeight:\"140%\",color,display:\"block\",textAlign:\"center\",width:\"100%\"},children:text});}addPropertyControls(Label_Component,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Sample Label\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{family:\"Inter\",weight:400,size:16}},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:100,unit:\"px\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#999999\"},customId:{title:\"ID\",type:ControlType.String,defaultValue:\"test-id\",description:\"Please do not change ID value!!!!\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Label_Component\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fix\",\"framerSupportedLayoutWidth\":\"any-prefer-fix\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Label_Component.map"],"mappings":"6JAAA,SAAgB,EAAgB,EAAW,CAAC,OAAO,WAAW,EAAW,QAAQ,aAAa,GAAG,CAAC,oCEQ/F,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,OAAK,OAAK,QAAM,WAAS,YAAU,EAAwG,OAAoB,EAAK,QAAQ,CAAC,GAAG,EAAS,MAAM,CAAC,WAAhI,GAAO,MAAM,WAAW,EAAM,KAAK,WAAW,QAAQ,SAAS,GAAG,CAAC,QAAyF,WAAW,EAAK,WAAW,SAAS,GAAG,EAAS,IAAI,WAAW,OAAO,QAAM,QAAQ,QAAQ,UAAU,SAAS,MAAM,OAAO,CAAC,SAAS,EAAK,CAAC,kBANrX,IAAoD,CAMmU,EAAoB,EAAgB,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,eAAe,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,CAAC,OAAO,QAAQ,OAAO,IAAI,KAAK,GAAG,CAAC,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,UAAU,CAAC,SAAS,CAAC,MAAM,KAAK,KAAK,EAAY,OAAO,aAAa,UAAU,YAAY,oCAAoC,CAAC,CAAC"}