{"version":3,"file":"CurrentDateText.DGz7hxO2.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/4ZAJtTymPvPfVRSEIvKs/p7T5tok9qewYrNvG9nyt/CurrentDateText.js"],"sourcesContent":["// Component that displays today's date in format \"October 1, 2025\" with customizable font and color\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CurrentDateText(props){const{textColor,font,style}=props;const formattedDate=useMemo(()=>{const today=new Date;const options={year:\"numeric\",month:\"long\",day:\"numeric\"};return today.toLocaleDateString(\"en-US\",options);},[]);return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"max-content\",minWidth:\"max-content\"},children:/*#__PURE__*/_jsx(\"span\",{style:{color:textColor,...font},children:formattedDate})});}addPropertyControls(CurrentDateText,{textColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"0.88rem\",variant:\"Medium\",letterSpacing:\"0em\",lineHeight:\"0.85em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CurrentDateText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrentDateText.map"],"mappings":"0KAIG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,YAAU,OAAK,SAAO,EAAY,EAAcA,MAAyB,IAAI,MAAI,CAAwE,mBAAmB,QAA5E,CAAC,KAAK,UAAU,MAAM,OAAO,IAAI,UAAU,CAAiD,CAAG,EAAE,CAAC,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,cAAc,SAAS,cAAc,CAAC,SAAsB,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAU,GAAG,EAAK,CAAC,SAAS,EAAc,CAAC,CAAC,CAAC,kBAH7Z,IAAoD,IAA2B,CAGgV,EAAoB,EAAgB,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,UAAU,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,UAAU,QAAQ,SAAS,cAAc,MAAM,WAAW,SAAS,CAAC,CAAC,CAAC"}