{"version":3,"file":"StatusDot.DF0QdlSo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9lArKX1IIThzZ1cuhcI3/dyLIr9CSGW7yNnZ8dME0/StatusDot.js"],"sourcesContent":["// Status Dot Component with Ripple Effect\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Status Dot with expanding pulse effect\n *\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function StatusDot(props){const{activeSize=12,activeColor=\"#00C851\",activePulseSize=3,activePulseDuration=2,inactiveSize=10,inactiveColor=\"#6C757D\",inactivePulseSize=2,inactivePulseDuration=3,isActive=true}=props;// Get current properties based on state\nconst currentSize=isActive?activeSize:inactiveSize;const currentColor=isActive?activeColor:inactiveColor;const currentPulseSize=isActive?activePulseSize:inactivePulseSize;const currentPulseDuration=isActive?activePulseDuration:inactivePulseDuration;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",...props.style},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:`${currentSize}px`,height:`${currentSize}px`,backgroundColor:currentColor,borderRadius:\"50%\",animation:`pulse-expand-${isActive?\"active\":\"inactive\"} ${currentPulseDuration}s ease-out infinite`,zIndex:0}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:`${currentSize}px`,height:`${currentSize}px`,backgroundColor:currentColor,borderRadius:\"50%\",zIndex:1}}),/*#__PURE__*/_jsx(\"style\",{children:`\n                    @keyframes pulse-expand-active {\n                        0% { \n                            transform: scale(1);\n                            opacity: 1;\n                        }\n                        100% { \n                            transform: scale(${currentPulseSize});\n                            opacity: 0;\n                        }\n                    }\n                    \n                    @keyframes pulse-expand-inactive {\n                        0% { \n                            transform: scale(1);\n                            opacity: 0.6;\n                        }\n                        100% { \n                            transform: scale(${currentPulseSize});\n                            opacity: 0;\n                        }\n                    }\n                `})]});}addPropertyControls(StatusDot,{isActive:{type:ControlType.Boolean,title:\"Status\",defaultValue:true,enabledTitle:\"Active\",disabledTitle:\"Inactive\",description:\"Toggle between active and inactive states\"},activeSize:{type:ControlType.Number,title:\"Active Size\",defaultValue:12,min:6,max:32,step:1,unit:\"px\",description:\"Size when active\"},activeColor:{type:ControlType.Color,title:\"Active Color\",defaultValue:\"#00C851\",description:\"Color when active (green = online)\"},activePulseSize:{type:ControlType.Number,title:\"Active Pulse Scale\",defaultValue:3,min:1.5,max:5,step:.5,description:\"How much the pulse expands when active\"},activePulseDuration:{type:ControlType.Number,title:\"Active Pulse Duration\",defaultValue:2,min:.5,max:5,step:.1,unit:\"s\",description:\"Pulse speed when active\"},inactiveSize:{type:ControlType.Number,title:\"Inactive Size\",defaultValue:10,min:6,max:32,step:1,unit:\"px\",description:\"Size when inactive\"},inactiveColor:{type:ControlType.Color,title:\"Inactive Color\",defaultValue:\"#6C757D\",description:\"Color when inactive (gray = offline)\"},inactivePulseSize:{type:ControlType.Number,title:\"Inactive Pulse Scale\",defaultValue:2,min:1.5,max:5,step:.5,description:\"How much the pulse expands when inactive\"},inactivePulseDuration:{type:ControlType.Number,title:\"Inactive Pulse Duration\",defaultValue:3,min:.5,max:5,step:.1,unit:\"s\",description:\"Pulse speed when inactive\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StatusDot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StatusDot.map"],"mappings":"mKASG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,aAAW,GAAG,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