"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),s=require("react"),t=require("./Step/Step.js"),i=require("./constants.js"),a=require("./StepsWrapper.js"),u=function(u){var n=u.steps,p=u.activeStep,c=void 0===p?-1:p,o=u.size,S=void 0===o?i.Size.Medium:o,d=u.className,v=s.useMemo((function(){return n.map((function(s,i){var a=i+1;return r.jsx(t.Step,e.__assign({size:S,checked:a<c,active:a===c},s),a)}))}),[n,c,S]);return r.jsx(a.StepsWrapper,e.__assign({className:d},{children:v}))};u.SIZE=i.Size;var n=u;exports.Stepper=n;
