@cloud-ru/ds-stepper 1.0.15 → 1.0.16-preview-de7dadcf.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ function DesktopStepper({ children, steps, className, onChangeCurrentStep, onCom
19
19
  onCompleteChange,
20
20
  allowFreeNavigation,
21
21
  });
22
- const stepper = ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(styles_module_scss_1.default.stepper, className), "data-test-id": testId, children: stepsView.map((step, index) => ((0, jsx_runtime_1.jsx)(DesktopStep_1.DesktopStep, { step: step, "data-test-id": testId }, step.title + index))) }));
22
+ const stepper = ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(styles_module_scss_1.default.stepper, className), "data-test-id": testId, children: stepsView.map((step, index) => ((0, jsx_runtime_1.jsx)(DesktopStep_1.DesktopStep, { step: step, "data-test-id": testId, hideTailLine: index === stepsView.length - 1 }, step.title + index))) }));
23
23
  const stepperApi = {
24
24
  goNext,
25
25
  goPrev,
@@ -13,7 +13,7 @@ export function DesktopStepper({ children, steps, className, onChangeCurrentStep
13
13
  onCompleteChange,
14
14
  allowFreeNavigation,
15
15
  });
16
- const stepper = (_jsx("div", { className: cn(styles.stepper, className), "data-test-id": testId, children: stepsView.map((step, index) => (_jsx(DesktopStep, { step: step, "data-test-id": testId }, step.title + index))) }));
16
+ const stepper = (_jsx("div", { className: cn(styles.stepper, className), "data-test-id": testId, children: stepsView.map((step, index) => (_jsx(DesktopStep, { step: step, "data-test-id": testId, hideTailLine: index === stepsView.length - 1 }, step.title + index))) }));
17
17
  const stepperApi = {
18
18
  goNext,
19
19
  goPrev,