"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"),u=require("./StepsWrapper.js"),a=function(a){var p=a.steps,n=a.activeStep,c=void 0===n?-1:n,o=a.size,S=void 0===o?i.Size.Medium:o,d=a.className,v=s.useMemo((function(){return p.map((function(s,i){var u=i+1;return r.jsx(t.Step,e.__assign({size:S,checked:u<c,active:u===c},s),u)}))}),[p,c,S]);return r.jsx(u.StepsWrapper,{className:d,children:v})};a.SIZE=i.Size;var p=a;exports.Stepper=p;
