{"version":3,"file":"Ellipse.WYAidHTL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ybs9l8wP9Q8DGlduAJTq/wHHhRjQNyzZrJ8tic1bO/Ellipse.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Ellipse component with customizable fill and stroke\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Ellipse(props){const{fillColor,strokeColor,strokeWidth,strokeAlignment,style}=props;// Calculate radius adjustments based on stroke alignment\nlet rx=50;let ry=50;let clipPath=\"\";if(strokeAlignment===\"inside\"){// Stroke is fully inside - reduce radius by full stroke width\nrx=50-strokeWidth;ry=50-strokeWidth;}else if(strokeAlignment===\"outside\"){// Stroke is fully outside - no radius reduction, use clip path\nrx=50;ry=50;clipPath=\"url(#clip)\";}else{// Center alignment (default) - reduce radius by half stroke width\nrx=50-strokeWidth/2;ry=50-strokeWidth/2;}return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",position:\"relative\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"100%\",height:\"100%\",viewBox:\"0 0 100 100\",preserveAspectRatio:\"none\",style:{display:\"block\"},children:[strokeAlignment===\"outside\"&&/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"clipPath\",{id:\"clip\",children:/*#__PURE__*/_jsx(\"ellipse\",{cx:\"50\",cy:\"50\",rx:\"50\",ry:\"50\"})})}),/*#__PURE__*/_jsx(\"ellipse\",{cx:\"50\",cy:\"50\",rx:rx,ry:ry,fill:fillColor,stroke:strokeColor,strokeWidth:strokeWidth,vectorEffect:\"non-scaling-stroke\",clipPath:strokeAlignment===\"outside\"?clipPath:undefined})]})});}addPropertyControls(Ellipse,{fillColor:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#0099FF\"},strokeColor:{type:ControlType.Color,title:\"Stroke\",defaultValue:\"#000000\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:0,min:0,max:20,step:1,unit:\"px\"},strokeAlignment:{type:ControlType.Enum,title:\"Stroke Align\",options:[\"center\",\"inside\",\"outside\"],optionTitles:[\"Center\",\"Inside\",\"Outside\"],defaultValue:\"center\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Ellipse\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ellipse.map"],"mappings":"8JAKG,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,YAAU,cAAY,cAAY,kBAAgB,SAAO,EACrG,EAAG,GAAO,EAAG,GAAO,EAAS,GAGQ,OAHF,IAAkB,UACzD,EAAG,GAAG,EAAY,EAAG,GAAG,GAAqB,IAAkB,WAC/D,EAAG,GAAG,EAAG,GAAG,EAAS,eACrB,EAAG,GAAG,EAAY,EAAE,EAAG,GAAG,EAAY,GAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,SAAS,UAAU,EAAE,SAAsB,EAAM,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,cAAc,oBAAoB,OAAO,MAAM,CAAC,QAAQ,OAAO,EAAE,SAAS,CAAC,IAAkB,WAAwB,EAAK,OAAO,CAAC,SAAsB,EAAK,WAAW,CAAC,GAAG,OAAO,SAAsB,EAAK,UAAU,CAAC,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAe,EAAK,UAAU,CAAC,GAAG,KAAK,GAAG,KAAQ,KAAM,KAAG,KAAK,EAAU,OAAO,EAAwB,cAAY,aAAa,qBAAqB,SAAS,IAAkB,UAAU,EAAS,IAAA,EAAS,CAAC,CAAC,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