{"version":3,"file":"ProjectGalleryImage.xbF5hPtf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/r5n2E0WqHEHiuWBw4mH8/ewYcr9e2uz2Mdf7qJGL8/ProjectGalleryImage.js"],"sourcesContent":["// User request: Create a code component named ProjectGalleryImage for the Fitzwilliam Riviera project pages. It must render an image from an editable src control, preserve its full photo with object-fit cover, and fill its assigned canvas frame responsively. Expose src, alt, and fit controls. Keep styling minimal: 2px corner radius, no overlays, no padding, no captions. This will be used as a child of a two-column image grid, with the page setting its width and height.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ProjectGalleryImage(props){const{src=\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt=\"Project gallery image\",fit=\"cover\"}=props;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",borderRadius:2,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:{width:\"100%\",height:\"100%\",objectFit:fit,display:\"block\"}})});}addPropertyControls(ProjectGalleryImage,{src:{title:\"Src\",type:ControlType.String,defaultValue:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\"},alt:{title:\"Alt\",type:ControlType.String,defaultValue:\"Project gallery image\"},fit:{title:\"Fit\",type:ControlType.Enum,defaultValue:\"cover\",options:[\"cover\",\"contain\",\"fill\",\"none\",\"scale-down\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\",\"None\",\"Scale Down\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectGalleryImage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectGalleryImage.map"],"mappings":"4JAIG,SAAwB,EAAoB,EAAM,CAAC,GAAK,CAAC,MAAI,sEAAsE,MAAI,wBAAwB,MAAI,SAAS,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,aAAa,EAAE,SAAS,QAAQ,EAAE,SAAsB,EAAK,MAAM,CAAK,MAAQ,MAAI,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,EAAI,QAAQ,OAAO,CAAC,CAAC,CAAC,CAAC,CAAE,iBAH1X,IAAoD,EAGuU,EAAoB,EAAoB,CAAC,IAAI,CAAC,MAAM,MAAM,KAAK,EAAY,OAAO,aAAa,qEAAqE,EAAE,IAAI,CAAC,MAAM,MAAM,KAAK,EAAY,OAAO,aAAa,uBAAuB,EAAE,IAAI,CAAC,MAAM,MAAM,KAAK,EAAY,KAAK,aAAa,QAAQ,QAAQ,CAAC,QAAQ,UAAU,OAAO,OAAO,YAAY,EAAE,aAAa,CAAC,QAAQ,UAAU,OAAO,OAAO,YAAY,CAAC,CAAC,CAAC"}