{"version":3,"file":"OutlineButton.ewzhirUS.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/8fjXQEiQpf5qKDIJ2dBv/JHenRiTqH8JRYCek0I3w/ImageCarousel_1.js","https:/framerusercontent.com/modules/bXou1Zn99oWAmvM5bTUx/hmjenJbHBBghjFkNr8BE/OutlineButton.js"],"sourcesContent":["// Horizontal image carousel with upload functionality and smooth scrolling\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useRef,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ImageCarousel(props){const{images=[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1 - Blue\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2 - Purple\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3 - Orange\"}],gap=16,showScrollbar=false,borderRadius=8,objectFit=\"cover\",backgroundColor=\"#F5F5F5\",previewAmount=60,imageWidth=300}=props;const scrollContainerRef=useRef(null);const[currentIndex,setCurrentIndex]=useState(0);const scrollToImage=index=>{if(!scrollContainerRef.current)return;const container=scrollContainerRef.current;const imageElements=container.querySelectorAll(\".carousel-image\");if(imageElements[index]){const targetElement=imageElements[index];const containerRect=container.getBoundingClientRect();const targetRect=targetElement.getBoundingClientRect();const scrollLeft=targetRect.left-containerRect.left+container.scrollLeft-20;container.scrollTo({left:scrollLeft,behavior:\"smooth\"});startTransition(()=>setCurrentIndex(index));}};const handlePrevious=()=>{const newIndex=Math.max(0,currentIndex-1);scrollToImage(newIndex);};const handleNext=()=>{const newIndex=Math.min(images.length-1,currentIndex+1);scrollToImage(newIndex);};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",backgroundColor,borderRadius,overflow:\"hidden\",display:\"flex\",alignItems:\"center\"},children:[showScrollbar&&/*#__PURE__*/_jsx(\"style\",{children:`\n                    .carousel-scroll-container::-webkit-scrollbar {\n                        height: 12px;\n                        display: block;\n                    }\n                    .carousel-scroll-container::-webkit-scrollbar-track {\n                        background: rgba(0, 0, 0, 0.05);\n                        border-radius: 6px;\n                    }\n                    .carousel-scroll-container::-webkit-scrollbar-thumb {\n                        background: rgba(0, 0, 0, 0.3);\n                        border-radius: 6px;\n                    }\n                    .carousel-scroll-container::-webkit-scrollbar-thumb:hover {\n                        background: rgba(0, 0, 0, 0.5);\n                    }\n                    .carousel-scroll-container {\n                        scrollbar-width: thin;\n                        scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);\n                    }\n                `}),currentIndex>0&&/*#__PURE__*/_jsx(\"button\",{onClick:handlePrevious,style:{position:\"absolute\",left:\"20px\",top:\"50%\",transform:\"translateY(-50%)\",zIndex:100,width:\"40px\",height:\"40px\",borderRadius:\"50%\",backgroundColor:\"rgba(255, 255, 255, 0.9)\",border:\"none\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:\"0 2px 8px rgba(0, 0, 0, 0.15)\",transition:\"all 0.2s ease\",pointerEvents:\"auto\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 1)\";e.currentTarget.style.boxShadow=\"0 4px 12px rgba(0, 0, 0, 0.2)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.9)\";e.currentTarget.style.boxShadow=\"0 2px 8px rgba(0, 0, 0, 0.15)\";},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 15L7 10L12 5\",stroke:\"#000\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),currentIndex<images.length-1&&/*#__PURE__*/_jsx(\"button\",{onClick:handleNext,style:{position:\"absolute\",right:\"20px\",top:\"50%\",transform:\"translateY(-50%)\",zIndex:100,width:\"40px\",height:\"40px\",borderRadius:\"50%\",backgroundColor:\"rgba(255, 255, 255, 0.9)\",border:\"none\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:\"0 2px 8px rgba(0, 0, 0, 0.15)\",transition:\"all 0.2s ease\",pointerEvents:\"auto\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 1)\";e.currentTarget.style.boxShadow=\"0 4px 12px rgba(0, 0, 0, 0.2)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.9)\";e.currentTarget.style.boxShadow=\"0 2px 8px rgba(0, 0, 0, 0.15)\";},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 5L13 10L8 15\",stroke:\"#000\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"div\",{ref:scrollContainerRef,className:\"carousel-scroll-container\",style:{display:\"flex\",gap,padding:\"20px\",overflowX:\"scroll\",overflowY:\"hidden\",width:\"100%\",height:\"100%\",position:\"relative\",zIndex:1},children:images.map((image,index)=>/*#__PURE__*/_jsx(\"div\",{className:\"carousel-image\",style:{flexShrink:0,width:`min(${imageWidth}px, calc(100vw - ${gap+40}px))`,height:\"100%\",borderRadius,overflow:\"hidden\",backgroundColor:\"#EEEEEE\",aspectRatio:\"16/9\"},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,style:{width:\"100%\",height:\"100%\",objectFit,display:\"block\"}})},index))})]});}addPropertyControls(ImageCarousel,{images:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.ResponsiveImage},defaultValue:[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1 - Blue\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2 - Purple\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3 - Orange\"}],maxCount:20},imageWidth:{type:ControlType.Number,title:\"Image Width\",defaultValue:300,min:100,max:1200,step:10,unit:\"px\"},previewAmount:{type:ControlType.Number,title:\"Preview Amount\",defaultValue:60,min:20,max:200,step:10,unit:\"px\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:16,min:0,max:40,step:4,unit:\"px\"},objectFit:{type:ControlType.Enum,title:\"Image Fit\",options:[\"cover\",\"contain\",\"fill\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\"],defaultValue:\"cover\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:24,step:1,unit:\"px\"},showScrollbar:{type:ControlType.Boolean,title:\"Show Scrollbar\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F5F5F5\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageCarousel\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageCarousel_1.map","// Button with customizable text, stroke color, and border radius\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Outlined Button\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function OutlineButton(props){const{label,strokeColor,strokeWidth,textColor,borderRadius,textSize,padding,link,fillColor,openInNewTab,style}=props;return /*#__PURE__*/_jsx(\"a\",{href:link,target:openInNewTab?\"_blank\":undefined,rel:openInNewTab?\"noopener noreferrer\":undefined,style:{textDecoration:\"none\",display:\"inline-block\"},\"aria-label\":label,children:/*#__PURE__*/_jsx(\"button\",{style:{...style,display:\"inline-block\",padding:`${padding}px`,background:fillColor,color:textColor,border:`${strokeWidth}px solid ${strokeColor}`,borderRadius,fontSize:textSize,fontWeight:500,cursor:\"pointer\",outline:\"none\",transition:\"background 0.15s, color 0.15s, transform 0.15s\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"scale(1.05)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"scale(1)\";},children:/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",display:\"block\"},children:label})})});}addPropertyControls(OutlineButton,{label:{type:ControlType.String,title:\"Text\",defaultValue:\"More about us\"},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#000000\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:2,min:1,max:8,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},textSize:{type:ControlType.Number,title:\"Text Size\",defaultValue:16,min:8,max:48,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:12,min:0,max:48,unit:\"px\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"https://framer.com\"},fillColor:{type:ControlType.Color,title:\"Fill Color\",defaultValue:\"transparent\"},openInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OutlineButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\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