@antscorp/antsomi-ui 1.3.5-beta.554 → 1.3.5-beta.556

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.
@@ -12,6 +12,7 @@ var __rest = (this && this.__rest) || function (s, e) {
12
12
  // Libraries
13
13
  import React, { useEffect, useMemo, useState, memo } from 'react';
14
14
  import { isNumber } from 'lodash';
15
+ import { ConfigProvider } from 'antd';
15
16
  // Styled
16
17
  import { ErrorIcon, SelectedIcon, StepsWrapper } from './styled';
17
18
  export const Steps = memo(props => {
@@ -62,5 +63,6 @@ export const Steps = memo(props => {
62
63
  : items, [saveHighestStep, items, highestStep, props.status, current]);
63
64
  /** Check whether the user has reactivated the previous step or not */
64
65
  const isReactivate = saveHighestStep && isNumber(current) && current < highestStep;
65
- return (React.createElement(StepsWrapper, Object.assign({ items: customItems }, restOfProps, { size: size, isReactivate: isReactivate, highestStep: highestStep, className: `${className || ''}${saveHighestStep ? ' save-highest-step' : ''}` })));
66
+ return (React.createElement(ConfigProvider, { theme: { token: { motion: false } } },
67
+ React.createElement(StepsWrapper, Object.assign({ items: customItems }, restOfProps, { size: size, isReactivate: isReactivate, highestStep: highestStep, className: `${className || ''}${saveHighestStep ? ' save-highest-step' : ''}` }))));
66
68
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.554",
3
+ "version": "1.3.5-beta.556",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",