@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.js CHANGED
@@ -5,13 +5,13 @@ var classNames = require('classnames');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var icons = require('@transferwise/icons');
7
7
  var reactIntl = require('react-intl');
8
- var PropTypes = require('prop-types');
9
8
  var commonmark = require('commonmark');
10
9
  var componentsTheming = require('@wise/components-theming');
11
10
  var reactTransitionGroup = require('react-transition-group');
12
11
  var focus = require('@react-aria/focus');
13
12
  var reactDom = require('react-dom');
14
13
  var neptuneValidation = require('@transferwise/neptune-validation');
14
+ var PropTypes = require('prop-types');
15
15
  var formatting = require('@transferwise/formatting');
16
16
  var react$1 = require('@headlessui/react');
17
17
  var mergeProps = require('merge-props');
@@ -46,8 +46,8 @@ function _interopNamespace(e) {
46
46
 
47
47
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
48
48
  var classNames__default = /*#__PURE__*/_interopDefault(classNames);
49
- var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
50
49
  var commonmark__default = /*#__PURE__*/_interopDefault(commonmark);
50
+ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
51
51
  var mergeProps__default = /*#__PURE__*/_interopDefault(mergeProps);
52
52
  var clamp__default = /*#__PURE__*/_interopDefault(clamp$2);
53
53
  var debounce__default = /*#__PURE__*/_interopDefault(debounce);
@@ -860,21 +860,14 @@ function stripNodes({
860
860
  }
861
861
 
862
862
  const allowList = [exports.MarkdownNodeType.STRONG];
863
- const InlineMarkdown = props => {
863
+ function InlineMarkdown(props) {
864
864
  return /*#__PURE__*/jsxRuntime.jsx(Markdown, {
865
865
  ...props,
866
866
  as: "span",
867
867
  allowList: allowList,
868
868
  blockList: undefined
869
869
  });
870
- };
871
- InlineMarkdown.propTypes = {
872
- children: PropTypes__default.default.string.isRequired,
873
- className: PropTypes__default.default.string
874
- };
875
- InlineMarkdown.defaultProps = {
876
- className: undefined
877
- };
870
+ }
878
871
 
879
872
  var messages$c = reactIntl.defineMessages({
880
873
  opensInNewTab: {