{"version":3,"file":"ProgressBar.CkPClaTF.mjs","names":[],"sources":["https:/framerusercontent.com/modules/5kGA2BRIqGA8mMs356Uh/EBraWuweE8OB5lVJNDXX/ProgressBar.js"],"sourcesContent":["// Simple progress bar with editable percentage\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Simple Progress Bar\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ProgressBar(props){const{percentage,background,fill,height,style}=props;const pct=Math.max(0,Math.min(100,percentage));return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:10,background,borderRadius:0,overflow:\"hidden\",position:\"relative\",display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:pct+\"%\",height:\"100%\",background:fill,borderRadius:pct===100?0:\"0 15px 15px 0\",transition:\"width 0.3s cubic-bezier(.4,0,.2,1)\"}})});}addPropertyControls(ProgressBar,{percentage:{type:ControlType.Number,title:\"Percentage\",defaultValue:50,min:0,max:100,unit:\"%\",step:1,displayStepper:true},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#EEEEEE\"},fill:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#0099FF\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:12,min:2,max:64,step:1,unit:\"px\",hidden:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProgressBar\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProgressBar.map"],"mappings":"4JAMG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,aAAW,aAAW,OAAK,SAAO,SAAO,EAAY,EAAI,KAAK,IAAI,EAAE,KAAK,IAAI,IAAI,EAAW,CAAC,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,GAAG,aAAW,aAAa,EAAE,SAAS,SAAS,SAAS,WAAW,QAAQ,OAAO,WAAW,SAAS,CAAC,SAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAI,IAAI,OAAO,OAAO,WAAW,EAAK,aAAa,IAAM,IAAI,EAAE,gBAAgB,WAAW,qCAAqC,CAAC,CAAC,CAAC,CAAC,kBALpc,IAAoD,CAKkZ,EAAoB,EAAY,CAAC,WAAW,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,IAAI,KAAK,EAAE,eAAe,GAAK,CAAC,WAAW,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,CAAC,KAAK,CAAC,KAAK,EAAY,MAAM,MAAM,OAAO,aAAa,UAAU,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,KAAK,OAAO,GAAK,CAAC,CAAC"}