@transferwise/components 46.0.8 → 46.1.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.
@@ -4424,7 +4424,7 @@ class DateLookup extends PureComponent {
4424
4424
  }
4425
4425
  }
4426
4426
  DateLookup.propTypes = {
4427
- value: PropTypes.instanceOf(Date).isRequired,
4427
+ value: PropTypes.instanceOf(Date),
4428
4428
  min: PropTypes.instanceOf(Date),
4429
4429
  max: PropTypes.instanceOf(Date),
4430
4430
  size: PropTypes.oneOf(['sm', 'md', 'lg']),
@@ -4438,6 +4438,7 @@ DateLookup.propTypes = {
4438
4438
  clearable: PropTypes.bool
4439
4439
  };
4440
4440
  DateLookup.defaultProps = {
4441
+ value: null,
4441
4442
  min: null,
4442
4443
  max: null,
4443
4444
  size: Size.MEDIUM,
@@ -12516,7 +12517,7 @@ const Option = props => {
12516
12517
  children: note
12517
12518
  }), secondary && /*#__PURE__*/jsx("span", {
12518
12519
  className: "np-text-body-default text-ellipsis",
12519
- children: secondary
12520
+ children: hightlight(secondary, query)
12520
12521
  })]
12521
12522
  })
12522
12523
  });