@transferwise/components 0.0.0-experimental-61e8d6a → 0.0.0-experimental-aa02721

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,
@@ -5467,6 +5467,7 @@ const Stepper = ({
5467
5467
  });
5468
5468
  return /*#__PURE__*/jsxRuntime.jsx("li", {
5469
5469
  className: classNames__default.default('hidden-xs', 'tw-stepper__step', active ? 'np-text-body-default-bold tw-stepper__step--active' : 'np-text-body-default', clickable && 'tw-stepper__step--clickable', step.hoverLabel && 'tw-stepper__step--has-tooltip'),
5470
+ "aria-current": active ? 'step' : false,
5470
5471
  style: isRTL ? {
5471
5472
  right: `${index * stepPercentage * 100}%`
5472
5473
  } : {