@majoo-ui/react 1.54.6-rev.1 → 1.54.6-rev.2

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.
package/index.esm.js CHANGED
@@ -27133,7 +27133,7 @@ const Navigation = props => {
27133
27133
  lineNumber: 149,
27134
27134
  columnNumber: 50
27135
27135
  }
27136
- }), !isComplete && /*#__PURE__*/React__default.createElement(Flex$1, {
27136
+ }), (!isComplete || hideCheckedIcon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27137
27137
  justify: "center",
27138
27138
  align: "center",
27139
27139
  css: {
@@ -27254,7 +27254,7 @@ const Default = props => {
27254
27254
  }, props.state));
27255
27255
  useEffect(() => {
27256
27256
  updateState(current => Object.assign({}, current, {
27257
- isComplete: props.completedSteps || props.navContents.map(() => false)
27257
+ isComplete: props.completedSteps || []
27258
27258
  }));
27259
27259
  }, [props.completedSteps]);
27260
27260
  useEffect(() => {
package/index.umd.js CHANGED
@@ -27486,7 +27486,7 @@
27486
27486
  lineNumber: 149,
27487
27487
  columnNumber: 50
27488
27488
  }
27489
- }), !isComplete && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27489
+ }), (!isComplete || hideCheckedIcon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27490
27490
  justify: "center",
27491
27491
  align: "center",
27492
27492
  css: {
@@ -27607,7 +27607,7 @@
27607
27607
  }, props.state));
27608
27608
  React.useEffect(() => {
27609
27609
  updateState(current => Object.assign({}, current, {
27610
- isComplete: props.completedSteps || props.navContents.map(() => false)
27610
+ isComplete: props.completedSteps || []
27611
27611
  }));
27612
27612
  }, [props.completedSteps]);
27613
27613
  React.useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.54.6-rev.1",
3
+ "version": "1.54.6-rev.2",
4
4
  "dependencies": {
5
5
  "@majoo-ui/core": "^1.31.1",
6
6
  "@majoo-ui/helpers": "^1.30.5",