@transferwise/components 0.0.0-experimental-799b843 → 0.0.0-experimental-025f0d7

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
@@ -4557,38 +4557,35 @@ const Decision = ({
4557
4557
  const breakpoint = isSmall ? screenXs : screenSm;
4558
4558
  const isGrid = presentation === exports.DecisionPresentation.LIST_BLOCK_GRID;
4559
4559
  return /*#__PURE__*/jsxRuntime.jsx("div", {
4560
- className: classNames__default.default('np-decision', {
4560
+ className: classNames__default.default('np-decision d-flex', {
4561
4561
  'np-decision--small': isSmall,
4562
4562
  'np-decision--grid': isGrid
4563
- }),
4564
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
4565
- className: classNames__default.default('np-size-swapper d-flex', breakpoint ? isGrid && 'flex-wrap' : 'flex-column'),
4566
- children: breakpoint ? options.map(({
4567
- description,
4568
- disabled,
4569
- href,
4570
- target,
4571
- media: {
4572
- block
4573
- },
4574
- onClick,
4575
- title
4576
- }, key) => /*#__PURE__*/jsxRuntime.jsx(Tile$1
4577
- // eslint-disable-next-line react/no-array-index-key
4578
- , {
4579
- className: classNames__default.default(`np-decision__tile${isSmall ? '--small' : ''}`, {
4580
- 'np-decision__tile--fixed-width': isGrid
4581
- }),
4582
- description: description,
4583
- disabled: disabled,
4584
- href: href,
4585
- target: target,
4586
- media: block,
4587
- size: isSmall ? exports.Size.SMALL : exports.Size.MEDIUM,
4588
- title: title,
4589
- onClick: onClick
4590
- }, `tile-${key}`)) : renderedOptions
4591
- })
4563
+ }, breakpoint ? isGrid && 'flex-wrap' : 'flex-column'),
4564
+ children: breakpoint ? options.map(({
4565
+ description,
4566
+ disabled,
4567
+ href,
4568
+ target,
4569
+ media: {
4570
+ block
4571
+ },
4572
+ onClick,
4573
+ title
4574
+ }, key) => /*#__PURE__*/jsxRuntime.jsx(Tile$1
4575
+ // eslint-disable-next-line react/no-array-index-key
4576
+ , {
4577
+ className: classNames__default.default(`np-decision__tile${isSmall ? '--small' : ''}`, {
4578
+ 'np-decision__tile--fixed-width': isGrid
4579
+ }),
4580
+ description: description,
4581
+ disabled: disabled,
4582
+ href: href,
4583
+ target: target,
4584
+ media: block,
4585
+ size: isSmall ? exports.Size.SMALL : exports.Size.MEDIUM,
4586
+ title: title,
4587
+ onClick: onClick
4588
+ }, `tile-${key}`)) : renderedOptions
4592
4589
  });
4593
4590
  }
4594
4591
  // LIST