@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.
package/build/index.js CHANGED
@@ -4458,7 +4458,7 @@ class DateLookup extends React.PureComponent {
4458
4458
  }
4459
4459
  }
4460
4460
  DateLookup.propTypes = {
4461
- value: PropTypes__default.default.instanceOf(Date).isRequired,
4461
+ value: PropTypes__default.default.instanceOf(Date),
4462
4462
  min: PropTypes__default.default.instanceOf(Date),
4463
4463
  max: PropTypes__default.default.instanceOf(Date),
4464
4464
  size: PropTypes__default.default.oneOf(['sm', 'md', 'lg']),
@@ -4472,6 +4472,7 @@ DateLookup.propTypes = {
4472
4472
  clearable: PropTypes__default.default.bool
4473
4473
  };
4474
4474
  DateLookup.defaultProps = {
4475
+ value: null,
4475
4476
  min: null,
4476
4477
  max: null,
4477
4478
  size: exports.Size.MEDIUM,
@@ -12550,7 +12551,7 @@ const Option = props => {
12550
12551
  children: note
12551
12552
  }), secondary && /*#__PURE__*/jsxRuntime.jsx("span", {
12552
12553
  className: "np-text-body-default text-ellipsis",
12553
- children: secondary
12554
+ children: hightlight(secondary, query)
12554
12555
  })]
12555
12556
  })
12556
12557
  });