{"version":3,"file":"TabProgress_1.Ck8apI2L.mjs","names":[],"sources":["https:/framerusercontent.com/modules/wRcONAX9X9YV92LJhBNE/Xne3VGILy8Qjnc2Hxwvk/TabProgress_1.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Thin progress bar for the feature explorer tabs: fills once over `duration` seconds.\n * It restarts whenever the active tab variant mounts it.\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight fixed\n */export default function TabProgress(props){const{duration,color,track,radius,style}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:\"100%\",height:\"100%\",background:track,borderRadius:radius,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"style\",{children:\"@keyframes tyTabProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}\"}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",background:color,borderRadius:radius,transformOrigin:\"left center\",animation:`tyTabProgress ${duration}s linear forwards`}})]});}TabProgress.defaultProps={duration:8,color:\"#503ADC\",track:\"rgba(0, 0, 0, 0)\",radius:0};addPropertyControls(TabProgress,{duration:{type:ControlType.Number,title:\"Duration\",defaultValue:8,min:1,max:30,step:.5,unit:\"s\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#503ADC\"},track:{type:ControlType.Color,title:\"Track\",defaultValue:\"rgba(0, 0, 0, 0)\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:0,min:0,max:10}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TabProgress\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TabProgress_1.map"],"mappings":"8JAKG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,WAAS,QAAM,QAAM,SAAO,SAAO,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,WAAW,EAAM,aAAa,EAAO,SAAS,QAAQ,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,4EAA4E,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,WAAW,EAAM,aAAa,EAAO,gBAAgB,cAAc,UAAU,iBAAiB,EAAS,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBALje,IAAoD,EAK8a,EAAY,aAAa,CAAC,SAAS,EAAE,MAAM,UAAU,MAAM,mBAAmB,OAAO,CAAC,EAAE,EAAoB,EAAY,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,kBAAkB,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC"}