@transferwise/components 0.0.0-experimental-1319ded → 0.0.0-experimental-fcfae09

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
@@ -1811,8 +1811,9 @@ const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1811
1811
  }, reference) => {
1812
1812
  /** @type {RefObject<HTMLDivElement>} */
1813
1813
  const localReference = React.useRef(null);
1814
- return /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
1814
+ return /*#__PURE__*/React.createElement(reactTransitionGroup.CSSTransition, {
1815
1815
  ...rest,
1816
+ key: `sliding-panel--open-${position}`,
1816
1817
  nodeRef: localReference,
1817
1818
  in: open
1818
1819
  // Wait for animation to finish before unmount.
@@ -1825,13 +1826,12 @@ const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1825
1826
  'sliding-panel--fixed': slidingPanelPositionFixed
1826
1827
  }, 'sliding-panel'),
1827
1828
  appear: true,
1828
- unmountOnExit: true,
1829
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
1830
- ref: mergeRefs__default.default([reference, localReference]),
1831
- className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
1832
- children: children
1833
- })
1834
- });
1829
+ unmountOnExit: true
1830
+ }, /*#__PURE__*/jsxRuntime.jsx("div", {
1831
+ ref: mergeRefs__default.default([reference, localReference]),
1832
+ className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
1833
+ children: children
1834
+ }));
1835
1835
  });
1836
1836
  SlidingPanel.propTypes = {
1837
1837
  children: PropTypes__default.default.node,
@@ -4272,7 +4272,6 @@ class DateLookup extends React.PureComponent {
4272
4272
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
4273
4273
  // eslint-disable-line jsx-a11y/no-static-element-interactions
4274
4274
  ref: this.element,
4275
- id: this.props.id,
4276
4275
  "aria-labelledby": ariaLabelledBy,
4277
4276
  className: "input-group",
4278
4277
  onKeyDown: this.handleKeyDown,
@@ -4297,7 +4296,6 @@ class DateLookup extends React.PureComponent {
4297
4296
  }
4298
4297
  }
4299
4298
  DateLookup.propTypes = {
4300
- id: PropTypes__default.default.string,
4301
4299
  value: PropTypes__default.default.instanceOf(Date),
4302
4300
  min: PropTypes__default.default.instanceOf(Date),
4303
4301
  max: PropTypes__default.default.instanceOf(Date),
@@ -4313,7 +4311,6 @@ DateLookup.propTypes = {
4313
4311
  clearable: PropTypes__default.default.bool
4314
4312
  };
4315
4313
  DateLookup.defaultProps = {
4316
- id: null,
4317
4314
  value: null,
4318
4315
  min: null,
4319
4316
  max: null,