import{__assign as r}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as t}from"react/jsx-runtime";import{useMemo as e}from"react";import{Step as o}from"./Step/Step.js";import{Size as i}from"./constants.js";import{StepsWrapper as s}from"./StepsWrapper.js";var m=function(m){var a=m.steps,p=m.activeStep,n=void 0===p?-1:p,c=m.size,f=void 0===c?i.Medium:c,u=m.className,v=e((function(){return a.map((function(e,i){var s=i+1;return t(o,r({size:f,checked:s<n,active:s===n},e),s)}))}),[a,n,f]);return t(s,r({className:u},{children:v}))};m.SIZE=i;var a=m;export{a as Stepper};
