@transferwise/components 46.26.2 → 46.27.0

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.
Files changed (38) hide show
  1. package/build/i18n/zh-CN.json +5 -5
  2. package/build/index.js +83 -15
  3. package/build/index.js.map +1 -1
  4. package/build/index.mjs +83 -15
  5. package/build/index.mjs.map +1 -1
  6. package/build/logo/svg/flag-platform-white.svg +1 -0
  7. package/build/logo/svg/flag-platform.svg +1 -0
  8. package/build/logo/svg/logo-platform-white.svg +1 -0
  9. package/build/logo/svg/logo-platform.svg +1 -0
  10. package/build/main.css +0 -16
  11. package/build/styles/logo/Logo.css +0 -16
  12. package/build/styles/main.css +0 -16
  13. package/build/types/instructionsList/InstructionsList.d.ts +1 -1
  14. package/build/types/instructionsList/InstructionsList.d.ts.map +1 -1
  15. package/build/types/logo/Logo.d.ts +1 -1
  16. package/build/types/logo/Logo.d.ts.map +1 -1
  17. package/build/types/logo/logoTypes.d.ts +2 -1
  18. package/build/types/logo/logoTypes.d.ts.map +1 -1
  19. package/build/types/markdown/Markdown.d.ts +1 -0
  20. package/build/types/markdown/Markdown.d.ts.map +1 -1
  21. package/package.json +1 -1
  22. package/src/i18n/zh-CN.json +5 -5
  23. package/src/instructionsList/InstructionsList.spec.tsx +5 -0
  24. package/src/instructionsList/InstructionsList.story.tsx +1 -0
  25. package/src/instructionsList/InstructionsList.tsx +3 -2
  26. package/src/logo/Logo.css +0 -16
  27. package/src/logo/Logo.js +27 -5
  28. package/src/logo/Logo.less +0 -16
  29. package/src/logo/Logo.spec.js +15 -1
  30. package/src/logo/__snapshots__/Logo.spec.js.snap +45 -71
  31. package/src/logo/logoTypes.ts +1 -0
  32. package/src/logo/svg/flag-platform-white.svg +1 -0
  33. package/src/logo/svg/flag-platform.svg +1 -0
  34. package/src/logo/svg/logo-platform-white.svg +1 -0
  35. package/src/logo/svg/logo-platform.svg +1 -0
  36. package/src/main.css +0 -16
  37. package/src/markdown/Markdown.spec.tsx +16 -0
  38. package/src/markdown/Markdown.tsx +6 -1
package/build/index.mjs CHANGED
@@ -867,6 +867,7 @@ function Markdown({
867
867
  return null;
868
868
  }
869
869
  const linkTarget = config?.link?.target ?? '_self';
870
+ const paragraphClass = config?.paragraph?.className ?? '';
870
871
  if (allowList != null && blockList != null) {
871
872
  logActionRequired$1('Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored.');
872
873
  }
@@ -880,7 +881,7 @@ function Markdown({
880
881
  };
881
882
  const createMarkup = () => {
882
883
  const parsed = parser(children);
883
- return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`);
884
+ return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`).replace(/<p>/g, `<p class="${paragraphClass}">`);
884
885
  };
885
886
  return /*#__PURE__*/jsx(Element, {
886
887
  className: className,
@@ -5175,6 +5176,7 @@ var LogoType;
5175
5176
  (function (LogoType) {
5176
5177
  LogoType["WISE"] = "WISE";
5177
5178
  LogoType["WISE_BUSINESS"] = "WISE_BUSINESS";
5179
+ LogoType["WISE_PLATFORM"] = "WISE_PLATFORM";
5178
5180
  })(LogoType || (LogoType = {}));
5179
5181
 
5180
5182
  var LogoFlagInverse = function LogoFlagInverse(props) {
@@ -5192,6 +5194,36 @@ LogoFlagInverse.defaultProps = {
5192
5194
  height: "24",
5193
5195
  fill: "none"
5194
5196
  };
5197
+ var LogoFlagPlatformInverse = function LogoFlagPlatformInverse(props) {
5198
+ return /*#__PURE__*/jsx("svg", {
5199
+ ...props,
5200
+ children: /*#__PURE__*/jsx("path", {
5201
+ fill: "#fff",
5202
+ d: "M4.887 5.918 0 11.523h8.726l.98-2.642H5.969l2.284-2.593.008-.068-1.486-2.508h6.683L8.276 17.699h3.546L18.079.838H1.916l2.97 5.08Zm17.114 11.799V.791h6.15c1.341 0 2.454.24 3.334.719.882.48 1.541 1.134 1.979 1.963.438.83.657 1.762.657 2.798s-.22 1.976-.662 2.806c-.44.83-1.104 1.485-1.988 1.967-.885.482-1.995.723-3.331.723h-4.23V9.6h3.994c.848 0 1.536-.144 2.064-.434.528-.29.914-.684 1.162-1.186.248-.501.37-1.07.37-1.71 0-.639-.122-1.206-.37-1.702-.248-.497-.636-.885-1.166-1.165-.531-.282-1.228-.422-2.093-.422h-3.268v14.735H22h.001ZM38.823.791v16.926h-2.518V.791h2.518Zm6.889 17.207c-.82 0-1.561-.15-2.224-.45a3.665 3.665 0 0 1-1.572-1.31c-.385-.573-.576-1.275-.576-2.107 0-.716.14-1.307.42-1.768.281-.462.661-.83 1.138-1.1a6.036 6.036 0 0 1 1.6-.612c.59-.139 1.19-.243 1.802-.313.775-.09 1.404-.161 1.887-.22.482-.057.834-.152 1.052-.285.22-.132.33-.347.33-.644v-.058c0-.72-.208-1.28-.62-1.678-.412-.396-1.025-.595-1.84-.595-.813 0-1.514.183-2 .55-.486.366-.822.772-1.007 1.218l-2.366-.528c.28-.772.692-1.395 1.234-1.872a5.034 5.034 0 0 1 1.874-1.042 7.562 7.562 0 0 1 2.232-.327c.516 0 1.065.06 1.647.178a4.949 4.949 0 0 1 1.634.65c.509.313.925.76 1.25 1.342.325.58.49 1.334.49 2.26v8.43h-2.46V15.98h-.101c-.163.32-.408.634-.733.942-.326.309-.744.565-1.255.77-.512.204-1.123.305-1.836.305Zm.547-1.984c.696 0 1.294-.135 1.79-.405.497-.27.876-.623 1.138-1.062a2.71 2.71 0 0 0 .392-1.409v-1.637c-.09.089-.262.17-.518.245a7.313 7.313 0 0 1-.871.19 33.88 33.88 0 0 1-.952.14l-.774.103c-.489.06-.933.162-1.336.306-.4.144-.722.348-.96.616-.239.267-.358.62-.358 1.062 0 .612.23 1.073.69 1.385.46.31 1.048.466 1.76.466ZM60.833 5.023v1.984h-7.067V5.023h7.067Zm-5.172-3.04h2.518V13.99c0 .48.074.838.22 1.078a1.1 1.1 0 0 0 .568.488c.233.086.487.128.763.128.201 0 .378-.014.53-.04l.354-.066.455 2.041a4.518 4.518 0 0 1-.624.17c-.27.058-.607.09-1.01.095a4.509 4.509 0 0 1-1.853-.347 3.165 3.165 0 0 1-1.39-1.124c-.355-.506-.531-1.143-.531-1.91V1.983Zm13.846 3.041v1.984h-7.312V5.024h7.312ZM64.2 17.718V3.553c0-.794.177-1.453.531-1.98.354-.525.823-.92 1.406-1.18A4.615 4.615 0 0 1 68.041 0a6.072 6.072 0 0 1 2.098.338l-.59 2c-.117-.034-.27-.074-.454-.12a2.81 2.81 0 0 0-.674-.07c-.612 0-1.048.148-1.309.445-.26.297-.392.728-.392 1.29v13.835H64.2Zm12.182.257c-1.213 0-2.27-.273-3.175-.818-.904-.545-1.606-1.31-2.106-2.289-.5-.981-.75-2.127-.75-3.438 0-1.312.25-2.469.75-3.455.5-.986 1.202-1.753 2.106-2.298.904-.545 1.963-.818 3.175-.818 1.213 0 2.271.273 3.176.818.904.545 1.605 1.312 2.106 2.298.499.986.75 2.138.75 3.455 0 1.316-.251 2.457-.75 3.438-.5.981-1.202 1.744-2.106 2.289-.905.545-1.963.818-3.176.818Zm.008-2.074c.787 0 1.438-.204 1.954-.612.517-.41.9-.95 1.15-1.628.25-.678.374-1.425.374-2.24 0-.815-.124-1.555-.374-2.236-.25-.68-.633-1.227-1.15-1.64-.516-.415-1.167-.62-1.954-.62-.786 0-1.448.206-1.967.62-.519.412-.904.96-1.153 1.64a6.43 6.43 0 0 0-.375 2.236c0 .81.125 1.562.375 2.24.25.677.634 1.22 1.153 1.628.52.407 1.176.612 1.967.612Zm8.044 1.817V5.024h2.434V7.04h.135a3.098 3.098 0 0 1 1.25-1.617 3.619 3.619 0 0 1 2.034-.591 10.666 10.666 0 0 1 1.071.058v2.363a5.1 5.1 0 0 0-.538-.095 5.6 5.6 0 0 0-.775-.054c-.595 0-1.124.122-1.588.368-.464.245-.83.584-1.1 1.017-.27.432-.405.924-.405 1.475v7.752h-2.518v.002Zm8.589 0V5.023h2.418V7.09h.16c.27-.7.71-1.246 1.322-1.641.612-.394 1.345-.592 2.2-.592.854 0 1.59.198 2.177.596.587.396 1.021.942 1.302 1.637h.135c.309-.678.8-1.22 1.474-1.624.674-.405 1.477-.607 2.409-.607 1.174 0 2.132.361 2.876 1.082.744.722 1.117 1.81 1.117 3.265v8.512h-2.519v-8.28c0-.86-.239-1.483-.716-1.869-.477-.386-1.047-.578-1.71-.578-.82 0-1.457.246-1.912.739-.455.492-.683 1.125-.683 1.896v8.092h-2.509V9.281c0-.69-.219-1.242-.657-1.662-.437-.419-1.007-.627-1.71-.627-.477 0-.917.122-1.318.368a2.74 2.74 0 0 0-.969 1.02c-.243.435-.365.94-.365 1.513v7.826h-2.522Z"
5203
+ })
5204
+ });
5205
+ };
5206
+ LogoFlagPlatformInverse.defaultProps = {
5207
+ xmlns: "http://www.w3.org/2000/svg",
5208
+ width: "111",
5209
+ height: "18",
5210
+ fill: "none"
5211
+ };
5212
+ var LogoFlagPlatform = function LogoFlagPlatform(props) {
5213
+ return /*#__PURE__*/jsx("svg", {
5214
+ ...props,
5215
+ children: /*#__PURE__*/jsx("path", {
5216
+ fill: "#163300",
5217
+ d: "M4.887 5.92 0 11.525h8.726l.98-2.642H5.969L8.252 6.29l.008-.068-1.486-2.508h6.683L8.276 17.7h3.546L18.079.84H1.916l2.97 5.08Zm17.114 11.8V.792h6.15c1.341 0 2.454.24 3.334.719.882.48 1.541 1.134 1.979 1.963.438.83.657 1.762.657 2.798s-.22 1.976-.662 2.806c-.44.829-1.104 1.485-1.988 1.967-.885.482-1.995.723-3.331.723h-4.23V9.603h3.994c.848 0 1.536-.144 2.064-.434.528-.29.914-.684 1.162-1.186.248-.501.37-1.07.37-1.71 0-.639-.122-1.206-.37-1.702-.248-.497-.636-.885-1.166-1.165-.531-.282-1.228-.422-2.093-.422h-3.268v14.735H22h.001ZM38.823.793v16.926h-2.518V.793h2.518ZM45.712 18c-.82 0-1.561-.15-2.224-.45a3.665 3.665 0 0 1-1.572-1.31c-.385-.573-.576-1.275-.576-2.107 0-.717.14-1.307.42-1.768.281-.462.661-.83 1.138-1.1a6.036 6.036 0 0 1 1.6-.612c.59-.139 1.19-.243 1.802-.314.775-.088 1.404-.16 1.887-.218.482-.058.834-.153 1.052-.286.22-.132.33-.347.33-.644v-.058c0-.72-.208-1.28-.62-1.678-.412-.396-1.025-.595-1.84-.595-.813 0-1.514.183-2 .55-.486.366-.822.772-1.007 1.218L41.736 8.1c.28-.772.692-1.395 1.234-1.873a5.034 5.034 0 0 1 1.874-1.041 7.562 7.562 0 0 1 2.232-.327c.516 0 1.065.06 1.647.178a4.949 4.949 0 0 1 1.634.65c.509.313.925.76 1.25 1.342.325.58.49 1.334.49 2.26v8.43h-2.46v-1.736h-.101c-.163.32-.408.634-.733.942-.326.309-.744.565-1.255.77-.512.204-1.123.305-1.836.305Zm.547-1.984c.696 0 1.294-.135 1.79-.405.497-.27.876-.623 1.138-1.062a2.71 2.71 0 0 0 .392-1.409v-1.637c-.09.089-.262.17-.518.244a7.313 7.313 0 0 1-.871.19c-.327.054-.644.1-.952.14l-.774.104c-.489.06-.933.162-1.336.306-.4.144-.722.348-.96.616-.239.267-.358.62-.358 1.062 0 .612.23 1.073.69 1.385.46.31 1.048.466 1.76.466ZM60.833 5.025V7.01h-7.067V5.025h7.067Zm-5.172-3.04h2.518v12.008c0 .48.074.838.22 1.078a1.1 1.1 0 0 0 .568.488c.233.086.487.128.763.128.201 0 .378-.014.53-.04l.354-.066.455 2.041a4.53 4.53 0 0 1-.624.17c-.27.058-.607.09-1.01.095a4.509 4.509 0 0 1-1.853-.347 3.166 3.166 0 0 1-1.39-1.124c-.355-.506-.531-1.143-.531-1.91V1.985Zm13.846 3.041V7.01h-7.312V5.026h7.312ZM64.2 17.72V3.555c0-.794.177-1.453.531-1.98.354-.525.823-.92 1.406-1.18a4.615 4.615 0 0 1 1.904-.393A6.072 6.072 0 0 1 70.14.34l-.59 2c-.117-.034-.27-.074-.454-.12a2.81 2.81 0 0 0-.674-.07c-.612 0-1.048.148-1.309.445-.26.297-.392.728-.392 1.29V17.72H64.2Zm12.182.257c-1.213 0-2.27-.273-3.175-.818-.904-.545-1.606-1.31-2.106-2.289-.5-.981-.75-2.127-.75-3.438 0-1.312.25-2.469.75-3.455.5-.986 1.202-1.753 2.106-2.298.904-.545 1.963-.818 3.175-.818 1.213 0 2.271.273 3.176.818.904.545 1.605 1.312 2.106 2.298.499.986.75 2.138.75 3.455 0 1.316-.251 2.457-.75 3.438-.5.981-1.202 1.744-2.106 2.289-.905.545-1.963.818-3.176.818Zm.008-2.075c.787 0 1.438-.203 1.954-.611.517-.41.9-.95 1.15-1.628.25-.678.374-1.425.374-2.24 0-.815-.124-1.555-.374-2.236-.25-.68-.633-1.227-1.15-1.64-.516-.415-1.167-.62-1.954-.62-.786 0-1.448.206-1.967.62-.519.412-.904.96-1.153 1.64a6.43 6.43 0 0 0-.375 2.236c0 .81.125 1.562.375 2.24.25.677.634 1.22 1.153 1.627.52.408 1.176.613 1.967.613Zm8.044 1.818V5.026h2.434v2.016h.135a3.098 3.098 0 0 1 1.25-1.617 3.618 3.618 0 0 1 2.034-.591 10.677 10.677 0 0 1 1.071.058v2.363a5.1 5.1 0 0 0-.538-.095 5.6 5.6 0 0 0-.775-.054c-.595 0-1.124.122-1.588.368-.464.245-.83.583-1.1 1.017-.27.432-.405.924-.405 1.475v7.752h-2.518v.002Zm8.589 0V5.025h2.418v2.067h.16c.27-.7.71-1.246 1.322-1.641.612-.394 1.345-.592 2.2-.592.854 0 1.59.198 2.177.596.587.396 1.021.942 1.302 1.637h.135c.309-.678.8-1.22 1.474-1.624.674-.405 1.477-.607 2.409-.607 1.174 0 2.132.361 2.876 1.082.744.722 1.117 1.81 1.117 3.265v8.512h-2.519V9.44c0-.86-.239-1.483-.716-1.869-.477-.386-1.047-.578-1.71-.578-.82 0-1.457.246-1.912.739-.455.492-.683 1.125-.683 1.896v8.092h-2.509V9.283c0-.69-.219-1.243-.657-1.662-.437-.419-1.007-.627-1.71-.627-.477 0-.917.122-1.318.368a2.74 2.74 0 0 0-.969 1.02c-.243.435-.365.94-.365 1.513v7.826h-2.519l-.003-.001Z"
5218
+ })
5219
+ });
5220
+ };
5221
+ LogoFlagPlatform.defaultProps = {
5222
+ xmlns: "http://www.w3.org/2000/svg",
5223
+ width: "111",
5224
+ height: "18",
5225
+ fill: "none"
5226
+ };
5195
5227
  var LogoFlag = function LogoFlag(props) {
5196
5228
  return /*#__PURE__*/jsx("svg", {
5197
5229
  ...props,
@@ -5222,6 +5254,36 @@ LogoWiseInverse.defaultProps = {
5222
5254
  height: "24",
5223
5255
  fill: "none"
5224
5256
  };
5257
+ var LogoWisePlatformInverse = function LogoWisePlatformInverse(props) {
5258
+ return /*#__PURE__*/jsx("svg", {
5259
+ ...props,
5260
+ children: /*#__PURE__*/jsx("path", {
5261
+ fill: "#fff",
5262
+ d: "M43.276.841h4.787l-2.409 16.86h-4.787L43.276.84Zm-6.036 0-3.232 9.712L32.598.84H29.25l-4.23 9.684L24.49.84h-4.64l1.616 16.86h3.848l4.758-10.664L31.747 17.7h3.788L41.794.84H37.24Zm40.196 9.8H66.069c.059 2.189 1.396 3.63 3.363 3.63 1.483 0 2.657-.778 3.568-2.261l3.837 1.711c-1.32 2.55-4.098 4.211-7.523 4.211-4.67 0-7.769-3.083-7.769-8.04 0-5.447 3.642-9.31 8.783-9.31 4.524 0 7.373 2.998 7.373 7.667 0 .778-.088 1.555-.265 2.391Zm-4.259-3.228c0-1.96-1.117-3.2-2.908-3.2s-3.378 1.298-3.789 3.2h6.697ZM4.887 5.92 0 11.526h8.726l.98-2.642H5.969l2.284-2.592.008-.069-1.486-2.508h6.683L8.276 17.702h3.546L18.079.842H1.916l2.97 5.08Zm50.96-1.709c1.69 0 3.169.892 4.461 2.42l.679-4.755C59.783 1.077 58.152.58 55.994.58c-4.288 0-6.697 2.464-6.697 5.59 0 2.17 1.234 3.496 3.26 4.353l.97.432c1.806.756 2.291 1.132 2.291 1.931 0 .8-.815 1.355-2.056 1.355-2.048.007-3.708-1.024-4.956-2.782l-.692 4.843c1.422 1.063 3.245 1.628 5.648 1.628 4.076 0 6.58-2.306 6.58-5.505 0-2.176-.984-3.573-3.466-4.669l-1.058-.49c-1.469-.641-1.968-.994-1.968-1.7 0-.763.683-1.354 1.997-1.354ZM83.392 17.72V.792h6.149c1.342 0 2.454.24 3.335.719.882.48 1.541 1.134 1.979 1.963.437.83.656 1.762.656 2.798s-.22 1.976-.662 2.806c-.44.829-1.103 1.485-1.988 1.967-.884.482-1.994.723-3.33.723H85.3V9.603h3.993c.848 0 1.536-.144 2.064-.434.528-.29.915-.684 1.163-1.186.247-.501.37-1.07.37-1.71 0-.639-.123-1.206-.37-1.702-.248-.497-.636-.885-1.167-1.165-.53-.282-1.228-.422-2.092-.422h-3.269v14.735H83.39ZM100.21.793v16.926h-2.519V.793h2.519ZM107.102 18c-.82 0-1.561-.15-2.224-.45a3.664 3.664 0 0 1-1.571-1.31c-.385-.573-.577-1.275-.577-2.107 0-.717.141-1.307.421-1.768.281-.462.661-.83 1.138-1.1a6.031 6.031 0 0 1 1.6-.612c.589-.139 1.19-.243 1.802-.314.774-.088 1.403-.16 1.887-.218.482-.058.833-.153 1.052-.286.219-.132.329-.347.329-.644v-.058c0-.72-.207-1.28-.619-1.678-.412-.396-1.026-.595-1.84-.595-.813 0-1.514.183-2.001.55-.486.366-.821.772-1.006 1.218l-2.367-.528c.281-.772.692-1.395 1.235-1.873a5.03 5.03 0 0 1 1.874-1.041 7.558 7.558 0 0 1 2.231-.327c.517 0 1.066.06 1.648.178a4.952 4.952 0 0 1 1.634.65c.508.313.925.76 1.25 1.342.325.58.489 1.334.489 2.26v8.43h-2.46v-1.736h-.101a3.5 3.5 0 0 1-.732.942c-.327.309-.745.565-1.256.77-.511.204-1.123.305-1.836.305Zm.548-1.984c.696 0 1.293-.135 1.79-.405.497-.27.876-.623 1.138-1.062.26-.438.391-.908.391-1.409v-1.637c-.09.089-.262.17-.517.244a7.34 7.34 0 0 1-.872.19c-.326.054-.643.1-.951.14l-.775.104a6.22 6.22 0 0 0-1.335.306c-.401.144-.722.348-.961.616-.238.267-.357.62-.357 1.062 0 .612.23 1.073.69 1.385.46.31 1.047.466 1.76.466h-.001Zm14.574-10.991V7.01h-7.068V5.025h7.068Zm-5.173-3.04h2.519v12.008c0 .48.073.838.219 1.078a1.1 1.1 0 0 0 .569.488c.233.086.487.128.762.128.202 0 .379-.014.531-.04l.354-.066.455 2.041a4.555 4.555 0 0 1-.624.17c-.27.058-.607.09-1.011.095a4.51 4.51 0 0 1-1.853-.347 3.17 3.17 0 0 1-1.39-1.124c-.354-.506-.531-1.143-.531-1.91V1.985Zm13.846 3.041V7.01h-7.311V5.026h7.311Zm-5.306 12.694V3.555c0-.794.177-1.453.531-1.98.354-.525.823-.92 1.406-1.18a4.614 4.614 0 0 1 1.904-.393 6.067 6.067 0 0 1 2.098.338l-.59 2c-.118-.034-.27-.074-.454-.12a2.818 2.818 0 0 0-.674-.07c-.612 0-1.048.148-1.309.445-.261.297-.392.728-.392 1.29V17.72h-2.52Zm12.182.255c-1.214 0-2.271-.273-3.175-.818-.905-.545-1.607-1.31-2.106-2.289-.5-.981-.75-2.127-.75-3.438 0-1.312.25-2.469.75-3.455.499-.986 1.201-1.753 2.106-2.298.904-.545 1.963-.818 3.175-.818 1.212 0 2.271.273 3.175.818.905.545 1.606 1.312 2.106 2.298.5.986.75 2.138.75 3.455 0 1.316-.25 2.457-.75 3.438-.499.981-1.201 1.744-2.106 2.289-.904.545-1.963.818-3.175.818Zm.008-2.074c.786 0 1.437-.204 1.954-.612.516-.41.9-.95 1.149-1.628.25-.678.375-1.425.375-2.24 0-.815-.125-1.555-.375-2.236-.25-.68-.633-1.227-1.149-1.64-.517-.415-1.168-.62-1.954-.62s-1.448.206-1.967.62c-.519.412-.904.96-1.153 1.64a6.414 6.414 0 0 0-.375 2.236c0 .81.124 1.562.375 2.24.25.677.634 1.22 1.153 1.628.519.407 1.175.612 1.967.612Zm8.039 1.819V5.026h2.435v2.016h.135a3.1 3.1 0 0 1 1.25-1.617 3.62 3.62 0 0 1 2.034-.591 10.671 10.671 0 0 1 1.071.058v2.363a5.174 5.174 0 0 0-.539-.095 5.594 5.594 0 0 0-.774-.054c-.595 0-1.125.122-1.589.368a2.83 2.83 0 0 0-1.099 1.017c-.27.432-.405.924-.405 1.475v7.752h-2.519v.002Zm8.59 0V5.025h2.418v2.067h.16c.27-.7.71-1.246 1.322-1.641.612-.394 1.345-.592 2.199-.592.855 0 1.591.198 2.178.596a3.5 3.5 0 0 1 1.301 1.637h.135a3.62 3.62 0 0 1 1.475-1.624c.673-.405 1.477-.607 2.408-.607 1.175 0 2.132.361 2.877 1.082.744.722 1.116 1.81 1.116 3.265v8.512h-2.518V9.44c0-.86-.239-1.483-.716-1.869-.477-.386-1.047-.578-1.71-.578-.82 0-1.457.246-1.912.739-.455.492-.683 1.125-.683 1.896v8.092h-2.509V9.283c0-.69-.219-1.243-.657-1.662-.438-.419-1.008-.627-1.71-.627-.477 0-.917.122-1.318.368a2.742 2.742 0 0 0-.969 1.02c-.244.435-.365.94-.365 1.513v7.826h-2.519l-.003-.001Z"
5263
+ })
5264
+ });
5265
+ };
5266
+ LogoWisePlatformInverse.defaultProps = {
5267
+ xmlns: "http://www.w3.org/2000/svg",
5268
+ width: "172",
5269
+ height: "18",
5270
+ fill: "none"
5271
+ };
5272
+ var LogoWisePlatform = function LogoWisePlatform(props) {
5273
+ return /*#__PURE__*/jsx("svg", {
5274
+ ...props,
5275
+ children: /*#__PURE__*/jsx("path", {
5276
+ fill: "#163300",
5277
+ d: "M43.276.841h4.787l-2.409 16.86h-4.787L43.276.84Zm-6.036 0-3.232 9.712L32.598.84H29.25l-4.23 9.684L24.49.84h-4.64l1.616 16.86h3.848l4.758-10.664L31.747 17.7h3.788L41.794.84H37.24Zm40.196 9.8H66.069c.059 2.189 1.396 3.63 3.363 3.63 1.483 0 2.657-.778 3.568-2.261l3.837 1.711c-1.32 2.55-4.098 4.211-7.523 4.211-4.67 0-7.769-3.083-7.769-8.04 0-5.447 3.642-9.31 8.783-9.31 4.524 0 7.373 2.998 7.373 7.667 0 .778-.088 1.555-.265 2.391Zm-4.259-3.228c0-1.96-1.117-3.2-2.908-3.2s-3.378 1.298-3.789 3.2h6.697ZM4.887 5.92 0 11.526h8.726l.98-2.642H5.969l2.284-2.592.008-.069-1.486-2.508h6.683L8.276 17.702h3.546L18.079.842H1.916l2.97 5.08Zm50.96-1.709c1.69 0 3.169.892 4.461 2.42l.679-4.755C59.783 1.077 58.152.58 55.994.58c-4.288 0-6.697 2.464-6.697 5.59 0 2.17 1.234 3.496 3.26 4.353l.97.432c1.806.756 2.291 1.132 2.291 1.931 0 .8-.815 1.355-2.056 1.355-2.048.007-3.708-1.024-4.956-2.782l-.692 4.843c1.422 1.063 3.245 1.628 5.648 1.628 4.076 0 6.58-2.306 6.58-5.505 0-2.176-.984-3.573-3.466-4.669l-1.058-.49c-1.469-.641-1.968-.994-1.968-1.7 0-.763.683-1.354 1.997-1.354ZM83.392 17.72V.792h6.149c1.342 0 2.454.24 3.335.719.882.48 1.541 1.134 1.979 1.963.437.83.656 1.762.656 2.798s-.22 1.976-.662 2.806c-.44.829-1.103 1.485-1.988 1.967-.884.482-1.994.723-3.33.723H85.3V9.603h3.993c.848 0 1.536-.144 2.064-.434.528-.29.915-.684 1.163-1.186.247-.501.37-1.07.37-1.71 0-.639-.123-1.206-.37-1.702-.248-.497-.636-.885-1.167-1.165-.53-.282-1.228-.422-2.092-.422h-3.269v14.735H83.39ZM100.21.793v16.926h-2.519V.793h2.519ZM107.102 18c-.82 0-1.561-.15-2.224-.45a3.664 3.664 0 0 1-1.571-1.31c-.385-.573-.577-1.275-.577-2.107 0-.717.141-1.307.421-1.768.281-.462.661-.83 1.138-1.1a6.031 6.031 0 0 1 1.6-.612c.589-.139 1.19-.243 1.802-.314.774-.088 1.403-.16 1.887-.218.482-.058.833-.153 1.052-.286.219-.132.329-.347.329-.644v-.058c0-.72-.207-1.28-.619-1.678-.412-.396-1.026-.595-1.84-.595-.813 0-1.514.183-2.001.55-.486.366-.821.772-1.006 1.218l-2.367-.528c.281-.772.692-1.395 1.235-1.873a5.03 5.03 0 0 1 1.874-1.041 7.558 7.558 0 0 1 2.231-.327c.517 0 1.066.06 1.648.178a4.952 4.952 0 0 1 1.634.65c.508.313.925.76 1.25 1.342.325.58.489 1.334.489 2.26v8.43h-2.46v-1.736h-.101a3.5 3.5 0 0 1-.732.942c-.327.309-.745.565-1.256.77-.511.204-1.123.305-1.836.305Zm.548-1.984c.696 0 1.293-.135 1.79-.405.497-.27.876-.623 1.138-1.062.26-.438.391-.908.391-1.409v-1.637c-.09.089-.262.17-.517.244a7.34 7.34 0 0 1-.872.19c-.326.054-.643.1-.951.14l-.775.104a6.22 6.22 0 0 0-1.335.306c-.401.144-.722.348-.961.616-.238.267-.357.62-.357 1.062 0 .612.23 1.073.69 1.385.46.31 1.047.466 1.76.466h-.001Zm14.574-10.991V7.01h-7.068V5.025h7.068Zm-5.173-3.04h2.519v12.008c0 .48.073.838.219 1.078a1.1 1.1 0 0 0 .569.488c.233.086.487.128.762.128.202 0 .379-.014.531-.04l.354-.066.455 2.041a4.555 4.555 0 0 1-.624.17c-.27.058-.607.09-1.011.095a4.51 4.51 0 0 1-1.853-.347 3.17 3.17 0 0 1-1.39-1.124c-.354-.506-.531-1.143-.531-1.91V1.985Zm13.846 3.041V7.01h-7.311V5.026h7.311Zm-5.306 12.694V3.555c0-.794.177-1.453.531-1.98.354-.525.823-.92 1.406-1.18a4.614 4.614 0 0 1 1.904-.393 6.067 6.067 0 0 1 2.098.338l-.59 2c-.118-.034-.27-.074-.454-.12a2.818 2.818 0 0 0-.674-.07c-.612 0-1.048.148-1.309.445-.261.297-.392.728-.392 1.29V17.72h-2.52Zm12.182.255c-1.214 0-2.271-.273-3.175-.818-.905-.545-1.607-1.31-2.106-2.289-.5-.981-.75-2.127-.75-3.438 0-1.312.25-2.469.75-3.455.499-.986 1.201-1.753 2.106-2.298.904-.545 1.963-.818 3.175-.818 1.212 0 2.271.273 3.175.818.905.545 1.606 1.312 2.106 2.298.5.986.75 2.138.75 3.455 0 1.316-.25 2.457-.75 3.438-.499.981-1.201 1.744-2.106 2.289-.904.545-1.963.818-3.175.818Zm.008-2.074c.786 0 1.437-.204 1.954-.612.516-.41.9-.95 1.149-1.628.25-.678.375-1.425.375-2.24 0-.815-.125-1.555-.375-2.236-.25-.68-.633-1.227-1.149-1.64-.517-.415-1.168-.62-1.954-.62s-1.448.206-1.967.62c-.519.412-.904.96-1.153 1.64a6.414 6.414 0 0 0-.375 2.236c0 .81.124 1.562.375 2.24.25.677.634 1.22 1.153 1.628.519.407 1.175.612 1.967.612Zm8.039 1.819V5.026h2.435v2.016h.135a3.1 3.1 0 0 1 1.25-1.617 3.62 3.62 0 0 1 2.034-.591 10.671 10.671 0 0 1 1.071.058v2.363a5.174 5.174 0 0 0-.539-.095 5.594 5.594 0 0 0-.774-.054c-.595 0-1.125.122-1.589.368a2.83 2.83 0 0 0-1.099 1.017c-.27.432-.405.924-.405 1.475v7.752h-2.519v.002Zm8.59 0V5.025h2.418v2.067h.16c.27-.7.71-1.246 1.322-1.641.612-.394 1.345-.592 2.199-.592.855 0 1.591.198 2.178.596a3.5 3.5 0 0 1 1.301 1.637h.135a3.62 3.62 0 0 1 1.475-1.624c.673-.405 1.477-.607 2.408-.607 1.175 0 2.132.361 2.877 1.082.744.722 1.116 1.81 1.116 3.265v8.512h-2.518V9.44c0-.86-.239-1.483-.716-1.869-.477-.386-1.047-.578-1.71-.578-.82 0-1.457.246-1.912.739-.455.492-.683 1.125-.683 1.896v8.092h-2.509V9.283c0-.69-.219-1.243-.657-1.662-.438-.419-1.008-.627-1.71-.627-.477 0-.917.122-1.318.368a2.742 2.742 0 0 0-.969 1.02c-.244.435-.365.94-.365 1.513v7.826h-2.519l-.003-.001Z"
5278
+ })
5279
+ });
5280
+ };
5281
+ LogoWisePlatform.defaultProps = {
5282
+ xmlns: "http://www.w3.org/2000/svg",
5283
+ width: "172",
5284
+ height: "18",
5285
+ fill: "none"
5286
+ };
5225
5287
  var LogoWise = function LogoWise(props) {
5226
5288
  return /*#__PURE__*/jsx("svg", {
5227
5289
  ...props,
@@ -5242,24 +5304,29 @@ const svgPaths = {
5242
5304
  WISE_BUSINESS: LogoWise,
5243
5305
  WISE_INVERSE: LogoWiseInverse,
5244
5306
  WISE_BUSINESS_INVERSE: LogoWiseInverse,
5307
+ WISE_PLATFORM: LogoWisePlatform,
5308
+ WISE_PLATFORM_INVERSE: LogoWisePlatformInverse,
5245
5309
  WISE_FLAG: LogoFlag,
5246
- WISE_FLAG_INVERSE: LogoFlagInverse
5310
+ WISE_FLAG_INVERSE: LogoFlagInverse,
5311
+ WISE_FLAG_PLATFORM: LogoFlagPlatform,
5312
+ WISE_FLAG_PLATFORM_INVERSE: LogoFlagPlatformInverse
5247
5313
  };
5248
5314
  const Logo = ({
5249
5315
  className,
5250
5316
  inverse,
5251
5317
  type
5252
5318
  }) => {
5253
- const LogoSm = svgPaths[`WISE_FLAG${inverse ? '_INVERSE' : ''}`];
5319
+ const LogoSm = svgPaths[`WISE_FLAG${type === LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
5254
5320
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
5321
+ const screenMd = useScreenSize(Breakpoint.MEDIUM);
5255
5322
  return /*#__PURE__*/jsxs("span", {
5256
- "aria-label": type === LogoType.WISE ? 'Wise' : 'Wise business',
5323
+ "aria-label": type === LogoType.WISE ? 'Wise' : 'Wise Business' | type === LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
5257
5324
  role: "img",
5258
5325
  className: classNames(className, 'np-logo'),
5259
- children: [/*#__PURE__*/jsx(LogoSm, {
5260
- className: "np-logo-svg np-logo-svg--size-sm"
5261
- }), /*#__PURE__*/jsx(LogoMd, {
5262
- className: "np-logo-svg np-logo-svg--size-md"
5326
+ children: [!screenMd && /*#__PURE__*/jsx(LogoSm, {
5327
+ className: "np-logo-svg"
5328
+ }), screenMd && /*#__PURE__*/jsx(LogoMd, {
5329
+ className: "np-logo-svg"
5263
5330
  })]
5264
5331
  });
5265
5332
  };
@@ -5269,7 +5336,7 @@ Logo.propTypes = {
5269
5336
  /** If true, will use dark colours for dark on light theme */
5270
5337
  inverse: PropTypes.bool,
5271
5338
  /** What type of logo to display */
5272
- type: PropTypes.oneOf(['WISE', 'WISE_BUSINESS'])
5339
+ type: PropTypes.oneOf(['WISE', 'WISE_BUSINESS', 'WISE_PLATFORM'])
5273
5340
  };
5274
5341
  Logo.defaultProps = {
5275
5342
  className: undefined,
@@ -7310,6 +7377,7 @@ const InputWithDisplayFormat = props => /*#__PURE__*/jsx(WithDisplayFormat, {
7310
7377
  });
7311
7378
 
7312
7379
  const InstructionsList = ({
7380
+ className,
7313
7381
  dos,
7314
7382
  donts,
7315
7383
  sort = 'dosFirst'
@@ -7334,7 +7402,7 @@ const InstructionsList = ({
7334
7402
  children: [dontsInstructions, dosInstructions]
7335
7403
  });
7336
7404
  return /*#__PURE__*/jsx("ul", {
7337
- className: "tw-instructions",
7405
+ className: classNames('tw-instructions', className),
7338
7406
  children: orderedInstructions
7339
7407
  });
7340
7408
  };
@@ -14939,10 +15007,10 @@ var zhCN = {
14939
15007
  "neptune.ClearButton.ariaLabel": "清除",
14940
15008
  "neptune.CloseButton.ariaLabel": "关闭",
14941
15009
  "neptune.DateInput.day.label": "日",
14942
- "neptune.DateInput.day.placeholder": "DD",
15010
+ "neptune.DateInput.day.placeholder": "",
14943
15011
  "neptune.DateInput.month.label": "月",
14944
15012
  "neptune.DateInput.year.label": "年",
14945
- "neptune.DateInput.year.placeholder": "YYYY",
15013
+ "neptune.DateInput.year.placeholder": "",
14946
15014
  "neptune.DateLookup.day": "日",
14947
15015
  "neptune.DateLookup.goTo20YearView": "转到 20 年视图",
14948
15016
  "neptune.DateLookup.month": "月",
@@ -14955,7 +15023,7 @@ var zhCN = {
14955
15023
  "neptune.Info.ariaLabel": "更多信息",
14956
15024
  "neptune.Link.opensInNewTab": "(在新标签页中打开)",
14957
15025
  "neptune.MoneyInput.Select.placeholder": "请选择...",
14958
- "neptune.PhoneNumberInput.SelectInput.placeholder": "选择一个选项...",
15026
+ "neptune.PhoneNumberInput.SelectInput.placeholder": "选择其中一项...",
14959
15027
  "neptune.Select.searchPlaceholder": "搜索",
14960
15028
  "neptune.SelectInput.noResultsFound": "找不到结果",
14961
15029
  "neptune.Summary.statusDone": "已完成",
@@ -14964,13 +15032,13 @@ var zhCN = {
14964
15032
  "neptune.Upload.csButtonText": "上传另一个文件?",
14965
15033
  "neptune.Upload.csFailureText": "上传失败。请重试",
14966
15034
  "neptune.Upload.csSuccessText": "上传完毕!",
14967
- "neptune.Upload.csTooLargeMessage": "请提供小于 {maxSize}MB 的文件",
15035
+ "neptune.Upload.csTooLargeMessage": "请提供一个小于 {maxSize} MB 的文件",
14968
15036
  "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
14969
15037
  "neptune.Upload.psButtonText": "取消",
14970
15038
  "neptune.Upload.psProcessingText": "正在上传…",
14971
15039
  "neptune.Upload.usButtonText": "或选择文件",
14972
15040
  "neptune.Upload.usDropMessage": "拖放文件开始上传",
14973
- "neptune.Upload.usPlaceholder": "拖放小于 {maxSize}MB 的文件",
15041
+ "neptune.Upload.usPlaceholder": "拖放一个不超过 {maxSize} MB 的文件",
14974
15042
  "neptune.UploadButton.allFileTypes": "所有文件类型",
14975
15043
  "neptune.UploadButton.dropFiles": "拖放文件开始上传",
14976
15044
  "neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",