@transferwise/components 0.0.0-experimental-cbd2a4c → 0.0.0-experimental-984f79f

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.mjs CHANGED
@@ -4,13 +4,13 @@ import classNames from 'classnames';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import { ChevronUp, CrossCircleFill, Cross, Check, Info as Info$1, Alert as Alert$1, ClockBorderless, NavigateAway, Briefcase, Person, ArrowRight, Download, ChevronLeft, ChevronRight, AlertCircleFill, AlertCircle, ArrowLeft, QuestionMarkCircle, Search, CrossCircle, ChevronDown, CheckCircleFill, ClockFill, Upload as Upload$2, Document, Plus, PlusCircle } from '@transferwise/icons';
6
6
  import { defineMessages, useIntl, injectIntl, IntlProvider } from 'react-intl';
7
- import PropTypes from 'prop-types';
8
7
  import commonmark from 'commonmark';
9
8
  import { useTheme, ThemeProvider } from '@wise/components-theming';
10
9
  import { CSSTransition } from 'react-transition-group';
11
10
  import { FocusScope } from '@react-aria/focus';
12
11
  import { createPortal } from 'react-dom';
13
12
  import { isUndefined, isNumber, isEmpty, isNull } from '@transferwise/neptune-validation';
13
+ import PropTypes from 'prop-types';
14
14
  import { formatDate, formatMoney, formatAmount } from '@transferwise/formatting';
15
15
  import { Transition, Listbox } from '@headlessui/react';
16
16
  import mergeProps from 'merge-props';
@@ -830,21 +830,14 @@ function stripNodes({
830
830
  }
831
831
 
832
832
  const allowList = [MarkdownNodeType.STRONG];
833
- const InlineMarkdown = props => {
833
+ function InlineMarkdown(props) {
834
834
  return /*#__PURE__*/jsx(Markdown, {
835
835
  ...props,
836
836
  as: "span",
837
837
  allowList: allowList,
838
838
  blockList: undefined
839
839
  });
840
- };
841
- InlineMarkdown.propTypes = {
842
- children: PropTypes.string.isRequired,
843
- className: PropTypes.string
844
- };
845
- InlineMarkdown.defaultProps = {
846
- className: undefined
847
- };
840
+ }
848
841
 
849
842
  var messages$c = defineMessages({
850
843
  opensInNewTab: {