{"version":3,"file":"Frameshare_PRINT.CWCi12s3.mjs","names":[],"sources":["https:/framerusercontent.com/modules/44ocdihAYnZczjmTa25m/0EeYEBVoszkRObeuebET/Frameshare_PRINT.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}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 * @framerDisableUnlink\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */// Print Share Button Component\nexport default function PrintShareButton(props){const{customIcon,iconSize=24,backgroundColor=\"#09090b\",buttonSize=40,borderRadius=6,buttonStyle=\"filled\",borderWidth=2}=props;const handleShare=()=>{window.print();};// Default Print icon as fallback\nconst defaultIcon=/*#__PURE__*/_jsxs(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 256 256\",fill:\"currentColor\",children:[/*#__PURE__*/_jsx(\"title\",{children:\"Print\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M240,96v80a8,8,0,0,1-8,8H200v32a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V184H24a8,8,0,0,1-8-8V96c0-13.23,11.36-24,25.33-24H56V40a8,8,0,0,1,8-8H192a8,8,0,0,1,8,8V72h14.67C228.64,72,240,82.77,240,96ZM72,72H184V48H72Zm112,88H72v48H184Zm16-44a12,12,0,1,0-12,12A12,12,0,0,0,200,116Z\"})]});const styles={button:{width:buttonSize,height:buttonSize,backgroundColor:buttonStyle===\"filled\"?backgroundColor:\"transparent\",border:buttonStyle===\"outline\"?`${borderWidth}px solid ${backgroundColor}`:\"none\",color:buttonStyle===\"filled\"?\"#ffffff\":backgroundColor,borderRadius:borderRadius,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"opacity 0.2s ease\",padding:0},customIcon:{width:iconSize,height:iconSize,objectFit:\"contain\"}};return /*#__PURE__*/_jsx(\"button\",{style:styles.button,onClick:handleShare,onMouseEnter:e=>e.currentTarget.style.opacity=\"0.8\",onMouseLeave:e=>e.currentTarget.style.opacity=\"1\",children:customIcon?/*#__PURE__*/_jsx(\"img\",{src:customIcon,style:styles.customIcon,alt:\"Print icon\"}):defaultIcon});}addPropertyControls(PrintShareButton,{customIcon:{type:ControlType.Image,title:\"Icon\"},iconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:24,min:12,max:48,step:1},buttonSize:{type:ControlType.Number,title:\"Button Size\",defaultValue:40,min:24,max:100,step:1},buttonStyle:{type:ControlType.Enum,title:\"Style\",options:[\"filled\",\"outline\"],defaultValue:\"filled\"},backgroundColor:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#09090b\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:2,min:0,max:10,step:1,hidden:props=>props.buttonStyle!==\"outline\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:6,min:0,max:50,step:1,description:\"Made with the [FrameShare plugin](https://dub.sh/fs-panel).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PrintShareButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Frameshare_PRINT.map"],"mappings":"kLAQA,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,aAAW,WAAS,GAAG,kBAAgB,UAAU,aAAW,GAAG,eAAa,EAAE,cAAY,SAAS,cAAY,GAAG,EAAY,MAAgB,CAAC,EAAO,OAAO,EAC7M,EAAyB,EAAM,MAAM,CAAC,MAAM,EAAS,OAAO,EAAS,QAAQ,cAAc,KAAK,eAAe,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,QAAQ,CAAC,CAAc,EAAK,OAAO,CAAC,EAAE,8QAA8Q,CAAC,CAAC,CAAC,CAAC,CAAO,EA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