@transferwise/components 46.26.2 → 46.28.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 (158) hide show
  1. package/build/i18n/th.json +2 -2
  2. package/build/i18n/zh-CN.json +5 -5
  3. package/build/index.js +410 -645
  4. package/build/index.js.map +1 -1
  5. package/build/index.mjs +411 -646
  6. package/build/index.mjs.map +1 -1
  7. package/build/logo/svg/flag-platform-white.svg +1 -0
  8. package/build/logo/svg/flag-platform.svg +1 -0
  9. package/build/logo/svg/logo-platform-white.svg +1 -0
  10. package/build/logo/svg/logo-platform.svg +1 -0
  11. package/build/main.css +0 -16
  12. package/build/styles/logo/Logo.css +0 -16
  13. package/build/styles/main.css +0 -16
  14. package/build/types/alert/Alert.d.ts +47 -58
  15. package/build/types/alert/Alert.d.ts.map +1 -1
  16. package/build/types/alert/index.d.ts +2 -1
  17. package/build/types/alert/index.d.ts.map +1 -1
  18. package/build/types/button/Button.d.ts +7 -9
  19. package/build/types/button/Button.d.ts.map +1 -1
  20. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts +1 -1
  21. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -1
  22. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +1 -1
  23. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -1
  24. package/build/types/common/propsValues/sentiment.d.ts +0 -1
  25. package/build/types/common/propsValues/sentiment.d.ts.map +1 -1
  26. package/build/types/dateLookup/DateLookup.d.ts +75 -28
  27. package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
  28. package/build/types/dateLookup/DateLookup.messages.d.ts +42 -63
  29. package/build/types/dateLookup/DateLookup.messages.d.ts.map +1 -1
  30. package/build/types/dateLookup/dateHeader/DateHeader.d.ts +9 -22
  31. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
  32. package/build/types/dateLookup/dateHeader/index.d.ts +1 -1
  33. package/build/types/dateLookup/dateHeader/index.d.ts.map +1 -1
  34. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +13 -31
  35. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -1
  36. package/build/types/dateLookup/dateTrigger/index.d.ts +1 -1
  37. package/build/types/dateLookup/dateTrigger/index.d.ts.map +1 -1
  38. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts +19 -2
  39. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -1
  40. package/build/types/dateLookup/dayCalendar/index.d.ts +1 -1
  41. package/build/types/dateLookup/dayCalendar/index.d.ts.map +1 -1
  42. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts +12 -2
  43. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -1
  44. package/build/types/dateLookup/dayCalendar/table/index.d.ts +1 -1
  45. package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +1 -1
  46. package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts +1 -1
  47. package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -1
  48. package/build/types/dateLookup/getStartOfDay/index.d.ts +1 -1
  49. package/build/types/dateLookup/getStartOfDay/index.d.ts.map +1 -1
  50. package/build/types/dateLookup/index.d.ts +2 -1
  51. package/build/types/dateLookup/index.d.ts.map +1 -1
  52. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts +17 -2
  53. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -1
  54. package/build/types/dateLookup/monthCalendar/index.d.ts +1 -1
  55. package/build/types/dateLookup/monthCalendar/index.d.ts.map +1 -1
  56. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +10 -26
  57. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -1
  58. package/build/types/dateLookup/monthCalendar/table/index.d.ts +1 -1
  59. package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +1 -1
  60. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +15 -2
  61. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -1
  62. package/build/types/dateLookup/yearCalendar/index.d.ts +1 -1
  63. package/build/types/dateLookup/yearCalendar/index.d.ts.map +1 -1
  64. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +10 -26
  65. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -1
  66. package/build/types/dateLookup/yearCalendar/table/index.d.ts +1 -1
  67. package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +1 -1
  68. package/build/types/index.d.ts +2 -1
  69. package/build/types/index.d.ts.map +1 -1
  70. package/build/types/inlineAlert/InlineAlert.d.ts +2 -4
  71. package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -1
  72. package/build/types/inputs/SelectInput.d.ts.map +1 -1
  73. package/build/types/inputs/_BottomSheet.d.ts.map +1 -1
  74. package/build/types/inputs/_Popover.d.ts.map +1 -1
  75. package/build/types/instructionsList/InstructionsList.d.ts +1 -1
  76. package/build/types/instructionsList/InstructionsList.d.ts.map +1 -1
  77. package/build/types/logo/Logo.d.ts +1 -1
  78. package/build/types/logo/Logo.d.ts.map +1 -1
  79. package/build/types/logo/logoTypes.d.ts +2 -1
  80. package/build/types/logo/logoTypes.d.ts.map +1 -1
  81. package/build/types/markdown/Markdown.d.ts +1 -0
  82. package/build/types/markdown/Markdown.d.ts.map +1 -1
  83. package/build/types/statusIcon/StatusIcon.d.ts +1 -1
  84. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
  85. package/package.json +1 -1
  86. package/src/alert/{Alert.spec.js → Alert.spec.tsx} +43 -40
  87. package/src/alert/Alert.story.tsx +1 -2
  88. package/src/alert/Alert.tsx +218 -0
  89. package/src/alert/index.ts +2 -0
  90. package/src/button/Button.tsx +6 -10
  91. package/src/common/dateUtils/isWithinRange/isWithinRange.spec.ts +21 -0
  92. package/src/common/dateUtils/isWithinRange/isWithinRange.ts +2 -2
  93. package/src/common/dateUtils/moveToWithinRange/moveToWithinRange.ts +8 -4
  94. package/src/common/propsValues/sentiment.ts +0 -10
  95. package/src/dateLookup/DateLookup.state.spec.js +7 -0
  96. package/src/dateLookup/{DateLookup.story.js → DateLookup.story.tsx} +13 -14
  97. package/src/dateLookup/DateLookup.tests.story.tsx +70 -0
  98. package/src/dateLookup/{DateLookup.js → DateLookup.tsx} +115 -81
  99. package/src/dateLookup/dateHeader/{DateHeader.js → DateHeader.tsx} +15 -15
  100. package/src/dateLookup/dateTrigger/DateTrigger.spec.js +0 -22
  101. package/src/dateLookup/dateTrigger/{DateTrigger.js → DateTrigger.tsx} +15 -32
  102. package/src/dateLookup/dayCalendar/{DayCalendar.js → DayCalendar.tsx} +14 -21
  103. package/src/dateLookup/dayCalendar/table/{DayCalendarTable.js → DayCalendarTable.tsx} +26 -37
  104. package/src/dateLookup/getStartOfDay/{getStartOfDay.js → getStartOfDay.tsx} +1 -1
  105. package/src/dateLookup/index.ts +2 -0
  106. package/src/dateLookup/monthCalendar/{MonthCalendar.js → MonthCalendar.tsx} +19 -22
  107. package/src/dateLookup/monthCalendar/table/{MonthCalendarTable.js → MonthCalendarTable.tsx} +31 -30
  108. package/src/dateLookup/yearCalendar/{YearCalendar.js → YearCalendar.tsx} +18 -21
  109. package/src/dateLookup/yearCalendar/table/{YearCalendarTable.js → YearCalendarTable.tsx} +26 -28
  110. package/src/i18n/th.json +2 -2
  111. package/src/i18n/zh-CN.json +5 -5
  112. package/src/index.ts +2 -1
  113. package/src/inlineAlert/InlineAlert.spec.tsx +0 -7
  114. package/src/inlineAlert/InlineAlert.tsx +19 -47
  115. package/src/inputs/InputGroup.tsx +3 -3
  116. package/src/inputs/SelectInput.tsx +1 -0
  117. package/src/inputs/_BottomSheet.tsx +44 -54
  118. package/src/inputs/_Popover.tsx +20 -23
  119. package/src/instructionsList/InstructionsList.spec.tsx +5 -0
  120. package/src/instructionsList/InstructionsList.story.tsx +1 -0
  121. package/src/instructionsList/InstructionsList.tsx +3 -2
  122. package/src/logo/Logo.css +0 -16
  123. package/src/logo/Logo.js +27 -5
  124. package/src/logo/Logo.less +0 -16
  125. package/src/logo/Logo.spec.js +15 -1
  126. package/src/logo/__snapshots__/Logo.spec.js.snap +45 -71
  127. package/src/logo/logoTypes.ts +1 -0
  128. package/src/logo/svg/flag-platform-white.svg +1 -0
  129. package/src/logo/svg/flag-platform.svg +1 -0
  130. package/src/logo/svg/logo-platform-white.svg +1 -0
  131. package/src/logo/svg/logo-platform.svg +1 -0
  132. package/src/main.css +0 -16
  133. package/src/markdown/Markdown.spec.tsx +16 -0
  134. package/src/markdown/Markdown.tsx +6 -1
  135. package/src/statusIcon/StatusIcon.tsx +14 -14
  136. package/build/types/alert/withArrow/alertArrowPositions.d.ts +0 -9
  137. package/build/types/alert/withArrow/alertArrowPositions.d.ts.map +0 -1
  138. package/build/types/alert/withArrow/index.d.ts +0 -3
  139. package/build/types/alert/withArrow/index.d.ts.map +0 -1
  140. package/build/types/alert/withArrow/withArrow.d.ts +0 -11
  141. package/build/types/alert/withArrow/withArrow.d.ts.map +0 -1
  142. package/src/alert/Alert.js +0 -196
  143. package/src/alert/index.js +0 -1
  144. package/src/alert/withArrow/alertArrowPositions.ts +0 -9
  145. package/src/alert/withArrow/index.js +0 -2
  146. package/src/alert/withArrow/withArrow.js +0 -50
  147. package/src/alert/withArrow/withArrow.spec.js +0 -51
  148. package/src/dateLookup/index.js +0 -1
  149. /package/src/dateLookup/{DateLookup.messages.js → DateLookup.messages.ts} +0 -0
  150. /package/src/dateLookup/dateHeader/{index.js → index.ts} +0 -0
  151. /package/src/dateLookup/dateTrigger/{index.js → index.ts} +0 -0
  152. /package/src/dateLookup/dayCalendar/{index.js → index.ts} +0 -0
  153. /package/src/dateLookup/dayCalendar/table/{index.js → index.ts} +0 -0
  154. /package/src/dateLookup/getStartOfDay/{index.js → index.ts} +0 -0
  155. /package/src/dateLookup/monthCalendar/{index.js → index.ts} +0 -0
  156. /package/src/dateLookup/monthCalendar/table/{index.js → index.ts} +0 -0
  157. /package/src/dateLookup/yearCalendar/{index.js → index.ts} +0 -0
  158. /package/src/dateLookup/yearCalendar/table/{index.js → index.ts} +0 -0
package/build/index.js CHANGED
@@ -7,20 +7,20 @@ var reactId = require('@radix-ui/react-id');
7
7
  var icons = require('@transferwise/icons');
8
8
  var reactIntl = require('react-intl');
9
9
  var PropTypes = require('prop-types');
10
+ var commonmark = require('commonmark');
10
11
  var componentsTheming = require('@wise/components-theming');
11
12
  var formatting = require('@transferwise/formatting');
12
13
  var react$1 = require('@headlessui/react');
13
14
  var mergeProps = require('merge-props');
14
15
  var index_js = require('use-sync-external-store/shim/index.js');
15
16
  var react = require('@floating-ui/react');
16
- var focus = require('@react-aria/focus');
17
17
  var overlays = require('@react-aria/overlays');
18
18
  var reactTransitionGroup = require('react-transition-group');
19
+ var neptuneValidation = require('@transferwise/neptune-validation');
20
+ var reactDom = require('react-dom');
21
+ var focus = require('@react-aria/focus');
19
22
  var reactPopper = require('react-popper');
20
23
  var throttle = require('lodash.throttle');
21
- var reactDom = require('react-dom');
22
- var neptuneValidation = require('@transferwise/neptune-validation');
23
- var commonmark = require('commonmark');
24
24
  var art = require('@wise/art');
25
25
  var clamp$2 = require('lodash.clamp');
26
26
  var debounce = require('lodash.debounce');
@@ -51,9 +51,9 @@ function _interopNamespace(e) {
51
51
  var classNames__default = /*#__PURE__*/_interopDefault(classNames);
52
52
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
53
53
  var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
54
+ var commonmark__default = /*#__PURE__*/_interopDefault(commonmark);
54
55
  var mergeProps__default = /*#__PURE__*/_interopDefault(mergeProps);
55
56
  var throttle__default = /*#__PURE__*/_interopDefault(throttle);
56
- var commonmark__default = /*#__PURE__*/_interopDefault(commonmark);
57
57
  var clamp__default = /*#__PURE__*/_interopDefault(clamp$2);
58
58
  var debounce__default = /*#__PURE__*/_interopDefault(debounce);
59
59
  var requiredIf__default = /*#__PURE__*/_interopDefault(requiredIf);
@@ -807,22 +807,22 @@ const Link = ({
807
807
  });
808
808
  };
809
809
 
810
+ const iconTypeMap = {
811
+ positive: icons.Check,
812
+ neutral: icons.Info,
813
+ warning: icons.Alert,
814
+ negative: icons.Cross,
815
+ pending: icons.ClockBorderless,
816
+ info: icons.Info,
817
+ error: icons.Cross,
818
+ success: icons.Check
819
+ };
810
820
  const StatusIcon = ({
811
- sentiment = exports.Sentiment.NEUTRAL,
812
- size = exports.Size.MEDIUM
821
+ sentiment = 'neutral',
822
+ size = 'md'
813
823
  }) => {
814
- const iconTypeMap = {
815
- [exports.Sentiment.POSITIVE]: icons.Check,
816
- [exports.Sentiment.NEUTRAL]: icons.Info,
817
- [exports.Sentiment.WARNING]: icons.Alert,
818
- [exports.Sentiment.NEGATIVE]: icons.Cross,
819
- [exports.Sentiment.PENDING]: icons.ClockBorderless,
820
- [exports.Sentiment.INFO]: icons.Info,
821
- [exports.Sentiment.ERROR]: icons.Cross,
822
- [exports.Sentiment.SUCCESS]: icons.Check
823
- };
824
- const iconColor = [exports.Sentiment.WARNING, exports.Sentiment.PENDING].includes(sentiment) ? 'dark' : 'light';
825
824
  const Icon = iconTypeMap[sentiment];
825
+ const iconColor = sentiment === 'warning' || sentiment === 'pending' ? 'dark' : 'light';
826
826
  return /*#__PURE__*/jsxRuntime.jsx("span", {
827
827
  "data-testid": "status-icon",
828
828
  className: classNames__default.default('status-circle', 'status-circle-' + size, sentiment),
@@ -832,7 +832,7 @@ const StatusIcon = ({
832
832
  });
833
833
  };
834
834
 
835
- function logActionRequired$1(message) {
835
+ function logActionRequired(message) {
836
836
  if (['development', 'test'].includes(process?.env?.NODE_ENV)) {
837
837
  // eslint-disable-next-line no-console
838
838
  console.warn(message);
@@ -840,48 +840,10 @@ function logActionRequired$1(message) {
840
840
  }
841
841
  function logActionRequiredIf(message, conditional) {
842
842
  if (conditional) {
843
- logActionRequired$1(message);
843
+ logActionRequired(message);
844
844
  }
845
845
  }
846
846
 
847
- const deprecatedMessage = ({
848
- component,
849
- propName,
850
- message,
851
- expiryDate
852
- }) => {
853
- const messages = [`${component} has deprecated the use of ${propName}.`];
854
- if (message) {
855
- messages.push(message);
856
- }
857
- if (expiryDate) {
858
- messages.push(`${propName} will be removed on or after ${expiryDate.toLocaleString('en-GB', {
859
- year: 'numeric',
860
- month: 'numeric',
861
- day: 'numeric'
862
- })}`);
863
- }
864
- return messages.join(' ');
865
- };
866
- const deprecated = (validator, {
867
- component,
868
- message = '',
869
- newProp: newProperty = null,
870
- expiryDate = null
871
- }) => (props, propertyName, ...rest) => {
872
- const newPropertyMessage = newProperty ? `Please use ${newProperty} instead.` : message;
873
- if (props[propertyName] != null && typeof props[propertyName] !== 'undefined') {
874
- logActionRequired$1(deprecatedMessage({
875
- component,
876
- propName: propertyName,
877
- message: newPropertyMessage,
878
- expiryDate
879
- }));
880
- }
881
- return validator(props, propertyName, ...rest);
882
- };
883
- var deprecated$1 = deprecated;
884
-
885
847
  const reader = new commonmark__default.default.Parser();
886
848
  const writer = new commonmark__default.default.HtmlRenderer({
887
849
  safe: true
@@ -899,8 +861,9 @@ function Markdown({
899
861
  return null;
900
862
  }
901
863
  const linkTarget = config?.link?.target ?? '_self';
864
+ const paragraphClass = config?.paragraph?.className ?? '';
902
865
  if (allowList != null && blockList != null) {
903
- logActionRequired$1('Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored.');
866
+ logActionRequired('Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored.');
904
867
  }
905
868
  const parser = nodes => {
906
869
  const parsed = reader.parse(nodes);
@@ -912,7 +875,7 @@ function Markdown({
912
875
  };
913
876
  const createMarkup = () => {
914
877
  const parsed = parser(children);
915
- return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`);
878
+ return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`).replace(/<p>/g, `<p class="${paragraphClass}">`);
916
879
  };
917
880
  return /*#__PURE__*/jsxRuntime.jsx(Element, {
918
881
  className: className,
@@ -961,146 +924,98 @@ InlineMarkdown.defaultProps = {
961
924
  };
962
925
  var InlineMarkdown$1 = InlineMarkdown;
963
926
 
964
- // TODO: consider to move this enum into component file once we migrate it on TypeScript or replace with some common enum
965
- exports.AlertArrowPosition = void 0;
966
- (function (ArrowPosition) {
967
- ArrowPosition["TOP_LEFT"] = "up-left";
968
- ArrowPosition["TOP"] = "up-center";
969
- ArrowPosition["TOP_RIGHT"] = "up-right";
970
- ArrowPosition["BOTTOM_LEFT"] = "down-left";
971
- ArrowPosition["BOTTOM"] = "down-center";
972
- ArrowPosition["BOTTOM_RIGHT"] = "down-right";
973
- })(exports.AlertArrowPosition || (exports.AlertArrowPosition = {}));
974
-
975
- function withArrow(Alert, arrow) {
976
- const AlertWithArrow = props => /*#__PURE__*/jsxRuntime.jsx(Alert, {
977
- ...props,
978
- className: classNames__default.default(props.className, arrowClasses(arrow)),
979
- arrow: undefined
980
- });
981
- AlertWithArrow.propTypes = {
982
- className: PropTypes__default.default.string
983
- };
984
- AlertWithArrow.defaultProps = {
985
- className: undefined
986
- };
987
- return AlertWithArrow;
927
+ var AlertArrowPosition;
928
+ (function (AlertArrowPosition) {
929
+ AlertArrowPosition["TOP_LEFT"] = "up-left";
930
+ AlertArrowPosition["TOP"] = "up-center";
931
+ AlertArrowPosition["TOP_RIGHT"] = "up-right";
932
+ AlertArrowPosition["BOTTOM_LEFT"] = "down-left";
933
+ AlertArrowPosition["BOTTOM"] = "down-center";
934
+ AlertArrowPosition["BOTTOM_RIGHT"] = "down-right";
935
+ })(AlertArrowPosition || (AlertArrowPosition = {}));
936
+ function resolveType(type) {
937
+ switch (type) {
938
+ case 'success':
939
+ return 'positive';
940
+ case 'info':
941
+ return 'neutral';
942
+ case 'error':
943
+ return 'negative';
944
+ }
945
+ return type;
988
946
  }
989
- function arrowClasses(arrow) {
990
- if (arrow) {
991
- const classes = ['arrow'];
992
- const {
993
- BOTTOM,
994
- BOTTOM_LEFT,
995
- BOTTOM_RIGHT,
996
- TOP,
997
- TOP_RIGHT,
998
- TOP_LEFT
999
- } = exports.AlertArrowPosition;
1000
- switch (arrow) {
1001
- case BOTTOM:
1002
- return classes.concat('arrow-bottom', 'arrow-center');
1003
- case BOTTOM_LEFT:
1004
- return classes.concat('arrow-bottom', 'arrow-left');
1005
- case BOTTOM_RIGHT:
1006
- return classes.concat('arrow-bottom', 'arrow-right');
1007
- case TOP:
1008
- return classes.concat('arrow-center');
1009
- case TOP_RIGHT:
1010
- return classes.concat('arrow-right');
1011
- case TOP_LEFT:
1012
- default:
1013
- return classes;
947
+ function Alert({
948
+ arrow,
949
+ action,
950
+ children,
951
+ className,
952
+ dismissible,
953
+ icon,
954
+ onDismiss,
955
+ message,
956
+ size,
957
+ title,
958
+ type = 'neutral',
959
+ variant = 'desktop'
960
+ }) {
961
+ React.useEffect(() => {
962
+ if (arrow !== undefined) {
963
+ logActionRequired("Alert component doesn't support 'arrow' anymore, use 'InlineAlert' instead.");
1014
964
  }
1015
- }
1016
- return '';
1017
- }
1018
-
1019
- const deprecatedTypeMap$1 = {
1020
- [exports.Sentiment.SUCCESS]: exports.Sentiment.POSITIVE,
1021
- [exports.Sentiment.INFO]: exports.Sentiment.NEUTRAL,
1022
- [exports.Sentiment.ERROR]: exports.Sentiment.NEGATIVE
1023
- };
1024
- const Alert = props => {
1025
- const {
1026
- isModern
1027
- } = componentsTheming.useTheme();
1028
- const iconTypeMap = {
1029
- [exports.Sentiment.POSITIVE]: icons.CheckCircle,
1030
- [exports.Sentiment.NEUTRAL]: icons.InfoCircle,
1031
- [exports.Sentiment.WARNING]: icons.Warning,
1032
- [exports.Sentiment.NEGATIVE]: icons.CrossCircle,
1033
- [exports.Sentiment.PENDING]: icons.Clock
1034
- };
1035
- const [shouldFire, setShouldFire] = React.useState(false);
1036
- const {
1037
- arrow,
1038
- action,
1039
- children,
1040
- className,
1041
- icon,
1042
- onDismiss,
1043
- message,
1044
- title,
1045
- type,
1046
- variant
1047
- } = props;
1048
- const closeButtonReference = React.useRef(null);
1049
- if (arrow) {
1050
- const AlertWithArrow = withArrow(Alert, arrow);
1051
- return /*#__PURE__*/jsxRuntime.jsx(AlertWithArrow, {
1052
- ...props
1053
- });
1054
- }
1055
- logActionRequired(props);
1056
- const mappedType = deprecatedTypeMap$1[type] || type;
1057
- const Icon = iconTypeMap[mappedType];
1058
- function generateIcon() {
1059
- if (icon) {
1060
- return /*#__PURE__*/jsxRuntime.jsx("div", {
1061
- className: "alert__icon",
1062
- children: icon
1063
- });
965
+ }, [arrow]);
966
+ React.useEffect(() => {
967
+ if (children !== undefined) {
968
+ logActionRequired("Alert component doesn't support 'children' anymore, use 'message' instead.");
1064
969
  }
1065
- if (isModern) {
1066
- return /*#__PURE__*/jsxRuntime.jsx(StatusIcon, {
1067
- size: exports.Size.LARGE,
1068
- sentiment: mappedType
1069
- });
1070
- } else {
1071
- return /*#__PURE__*/jsxRuntime.jsx(Icon, {
1072
- size: 24
1073
- });
970
+ }, [children]);
971
+ React.useEffect(() => {
972
+ if (dismissible !== undefined) {
973
+ logActionRequired("Alert component doesn't support 'dismissible' anymore, use 'onDismiss' instead.");
1074
974
  }
1075
- }
1076
- const handleTouchStart = () => setShouldFire(true);
1077
- const handleTouchMove = () => setShouldFire(false);
1078
- const handleTouchEnd = event => {
1079
- if (shouldFire && action) {
975
+ }, [dismissible]);
976
+ React.useEffect(() => {
977
+ if (size !== undefined) {
978
+ logActionRequired("Alert component doesn't support 'size' anymore, please remove that prop.");
979
+ }
980
+ }, [size]);
981
+ const resolvedType = resolveType(type);
982
+ React.useEffect(() => {
983
+ if (resolvedType !== type) {
984
+ logActionRequired(`Alert component has deprecated '${type}' value for the 'type' prop. Please use '${resolvedType}' instead.`);
985
+ }
986
+ }, [resolvedType, type]);
987
+ const [shouldFire, setShouldFire] = React.useState(false);
988
+ const closeButtonReference = React.useRef(null);
989
+ return /*#__PURE__*/jsxRuntime.jsxs("div", {
990
+ className: classNames__default.default('alert d-flex', `alert-${resolvedType}`, arrow != null && alertArrowClassNames(arrow), className),
991
+ "data-testid": "alert",
992
+ onTouchStart: () => setShouldFire(true),
993
+ onTouchEnd: event => {
994
+ if (shouldFire && action &&
1080
995
  // Check if current event is triggered from closeButton
1081
- if (closeButtonReference?.current && !closeButtonReference.current.contains(event.target)) {
1082
- if (action?.target === '_blank') {
1083
- window.top.open(action.href);
996
+ event.target instanceof Node && closeButtonReference.current && !closeButtonReference.current.contains(event.target)) {
997
+ if (action.target === '_blank') {
998
+ window.top?.open(action.href);
1084
999
  } else {
1085
- window.top.location.assign(action.href);
1000
+ window.top?.location.assign(action.href);
1086
1001
  }
1087
1002
  }
1088
- }
1089
- setShouldFire(false);
1090
- };
1091
- return /*#__PURE__*/jsxRuntime.jsxs("div", {
1092
- className: classNames__default.default('alert d-flex', `alert-${mappedType}`, className),
1093
- "data-testid": "alert",
1094
- onTouchStart: handleTouchStart,
1095
- onTouchEnd: handleTouchEnd,
1096
- onTouchMove: handleTouchMove,
1003
+ setShouldFire(false);
1004
+ },
1005
+ onTouchMove: () => setShouldFire(false),
1097
1006
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
1098
1007
  className: classNames__default.default('alert__content', 'd-flex', 'flex-grow-1', variant),
1099
1008
  "data-testid": variant,
1100
- children: [generateIcon(), /*#__PURE__*/jsxRuntime.jsxs("div", {
1009
+ children: [icon ? /*#__PURE__*/jsxRuntime.jsx("div", {
1010
+ className: "alert__icon",
1011
+ children: icon
1012
+ }) : /*#__PURE__*/jsxRuntime.jsx(StatusIcon, {
1013
+ size: exports.Size.LARGE,
1014
+ sentiment: resolvedType
1015
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
1101
1016
  className: "alert__message",
1102
1017
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
1103
- role: exports.Sentiment.NEGATIVE === mappedType ? 'alert' : 'status',
1018
+ role: exports.Sentiment.NEGATIVE === resolvedType ? 'alert' : 'status',
1104
1019
  children: [title && /*#__PURE__*/jsxRuntime.jsx(Title, {
1105
1020
  className: "m-b-1",
1106
1021
  type: exports.Typography.TITLE_BODY,
@@ -1128,72 +1043,24 @@ const Alert = props => {
1128
1043
  onClick: onDismiss
1129
1044
  })]
1130
1045
  });
1131
- };
1132
- const deprecatedTypeMapMessage$1 = {
1133
- [exports.Sentiment.SUCCESS]: 'Sentiment.POSITIVE',
1134
- [exports.Sentiment.INFO]: 'Sentiment.NEUTRAL',
1135
- [exports.Sentiment.ERROR]: 'Sentiment.NEGATIVE'
1136
- };
1137
- const deprecatedTypes$1 = Object.keys(deprecatedTypeMap$1);
1138
- function logActionRequired({
1139
- size,
1140
- type
1141
- }) {
1142
- logActionRequiredIf('Alert no longer supports any possible variations in size. Please remove the `size` prop.', !!size);
1143
- logActionRequiredIf(`Alert has deprecated the ${type} value for the \`type\` prop. Please update to ${deprecatedTypeMapMessage$1[type]}.`, deprecatedTypes$1.includes(type));
1144
1046
  }
1145
- Alert.propTypes = {
1146
- /** An optional call to action to sit under the main body of the alert. If your label is short, use aria-label to provide more context */
1147
- action: PropTypes__default.default.shape({
1148
- 'aria-label': PropTypes__default.default.string,
1149
- href: PropTypes__default.default.string.isRequired,
1150
- target: PropTypes__default.default.string,
1151
- text: PropTypes__default.default.node.isRequired
1152
- }),
1153
- className: PropTypes__default.default.string,
1154
- /** An optional icon. If not provided, we will default the icon to something appropriate for the type */
1155
- icon: PropTypes__default.default.element,
1156
- /** Title for the alert component */
1157
- title: PropTypes__default.default.string,
1158
- /** The main body of the alert. Accepts plain text and bold words specified with **double stars*/
1159
- message: requiredIf__default.default(PropTypes__default.default.node, ({
1160
- children
1161
- }) => !children),
1162
- /** The presence of the onDismiss handler will trigger the visibility of the close button */
1163
- onDismiss: PropTypes__default.default.func,
1164
- /** The type dictates which icon and colour will be used */
1165
- type: PropTypes__default.default.oneOf(['negative', 'neutral', 'positive', 'warning', 'info', 'error', 'success']),
1166
- variant: PropTypes__default.default.oneOf(['desktop', 'mobile']),
1167
- /** @deprecated no arrow for `Alert` component anymore, consider to use [`InlineAlert`](https://transferwise.github.io/neptune-web/components/alerts/InlineAlert) component */
1168
- arrow: deprecated$1(PropTypes__default.default.oneOf(['up-left', 'up-center', 'up-right', 'down-left', 'down-center', 'down-right']), {
1169
- component: 'Alert',
1170
- expiryDate: new Date('03-01-2021')
1171
- }),
1172
- /** @deprecated use `message` property instead */
1173
- children: deprecated$1(requiredIf__default.default(PropTypes__default.default.node, ({
1174
- message
1175
- }) => !message), {
1176
- component: 'Alert',
1177
- message: 'You should now use the `message` prop. Be aware `message` only accepts plain text or text with **bold** markdown.',
1178
- expiryDate: new Date('03-01-2021')
1179
- }),
1180
- /** @deprecated use `onDismiss` instead */
1181
- dismissible: deprecated$1(PropTypes__default.default.bool, {
1182
- component: 'Alert',
1183
- message: 'The Alert will now be considered dismissible if an `onDismiss` hander is present.',
1184
- expiryDate: new Date('03-01-2021')
1185
- })
1186
- };
1187
- Alert.defaultProps = {
1188
- action: undefined,
1189
- arrow: undefined,
1190
- className: undefined,
1191
- dismissible: undefined,
1192
- icon: undefined,
1193
- type: exports.Sentiment.NEUTRAL,
1194
- variant: exports.Variant.DESKTOP
1195
- };
1196
- var Alert$1 = Alert;
1047
+ function alertArrowClassNames(arrow) {
1048
+ switch (arrow) {
1049
+ case 'down-center':
1050
+ return 'arrow arrow-bottom arrow-center';
1051
+ case 'down-left':
1052
+ return 'arrow arrow-bottom arrow-left';
1053
+ case 'down-right':
1054
+ return 'arrow arrow-bottom arrow-right';
1055
+ case 'up-center':
1056
+ return 'arrow arrow-center';
1057
+ case 'up-right':
1058
+ return 'arrow arrow-right';
1059
+ case 'up-left':
1060
+ default:
1061
+ return 'arrow';
1062
+ }
1063
+ }
1197
1064
 
1198
1065
  // TODO: consider to move this enum into component file once we migrate it on TypeScript or replace with some common enum
1199
1066
  exports.AvatarType = void 0;
@@ -1419,6 +1286,7 @@ const FocusBoundary = ({
1419
1286
  })
1420
1287
  });
1421
1288
  };
1289
+ var FocusBoundary$1 = FocusBoundary;
1422
1290
 
1423
1291
  function withNextPortalWrapper(Component) {
1424
1292
  return function (props) {
@@ -1560,7 +1428,7 @@ const Dimmer = ({
1560
1428
  onExited: onExited,
1561
1429
  children: /*#__PURE__*/jsxRuntime.jsx(DimmerContentWrapper, {
1562
1430
  scrollBody: !transparent,
1563
- children: /*#__PURE__*/jsxRuntime.jsx(FocusBoundary, {
1431
+ children: /*#__PURE__*/jsxRuntime.jsx(FocusBoundary$1, {
1564
1432
  children: /*#__PURE__*/jsxRuntime.jsx("div", {
1565
1433
  ref: dimmerReference,
1566
1434
  className: classNames__default.default('dimmer', {
@@ -2192,7 +2060,7 @@ var messages$b = reactIntl.defineMessages({
2192
2060
  }
2193
2061
  });
2194
2062
 
2195
- const typeClassMap$1 = {
2063
+ const typeClassMap = {
2196
2064
  [exports.ControlType.ACCENT]: 'btn-accent',
2197
2065
  [exports.ControlType.POSITIVE]: 'btn-positive',
2198
2066
  [exports.ControlType.NEGATIVE]: 'btn-negative'
@@ -2276,7 +2144,7 @@ const Button = /*#__PURE__*/React.forwardRef(({
2276
2144
  },
2277
2145
  // @ts-expect-error fix when refactor `typeClassMap` to TypeScript
2278
2146
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
2279
- typeClassMap$1[newType],
2147
+ typeClassMap[newType],
2280
2148
  // @ts-expect-error fix when refactor `typeClassMap` to TypeScript
2281
2149
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
2282
2150
  priorityClassMap[newPriority], className);
@@ -2661,7 +2529,7 @@ const CircularButton = ({
2661
2529
  type = exports.ControlType.ACCENT,
2662
2530
  ...rest
2663
2531
  }) => {
2664
- const classes = classNames__default.default('btn np-btn', typeClassMap$1[type], priorityClassMap[priority]);
2532
+ const classes = classNames__default.default('btn np-btn', typeClassMap[type], priorityClassMap[priority]);
2665
2533
  const iconElement = Number(icon.props.size) !== 24 ? /*#__PURE__*/React.cloneElement(icon, {
2666
2534
  size: 24
2667
2535
  }) : icon;
@@ -2696,11 +2564,17 @@ function getDayNames(locale, format = 'short') {
2696
2564
 
2697
2565
  // Makes sure that date is between min and max dates, returns a cloned min or max
2698
2566
  function moveToWithinRange(date, min, max) {
2699
- return isWithinRange(date, min, max) ? date : new Date(min && date < min ? +min : +max);
2567
+ if (min && date < min) {
2568
+ return new Date(min);
2569
+ }
2570
+ if (max && date > max) {
2571
+ return new Date(max);
2572
+ }
2573
+ return date;
2700
2574
  }
2701
2575
 
2702
2576
  function isWithinRange(date, min, max) {
2703
- return !date || (!min || date >= min) && (!max || date <= max);
2577
+ return (!min || date >= min) && (!max || date <= max);
2704
2578
  }
2705
2579
 
2706
2580
  const getMonthNames = (locale, format = 'long') => {
@@ -3224,7 +3098,7 @@ var dateTriggerMessages = reactIntl.defineMessages({
3224
3098
 
3225
3099
  const DateTrigger = ({
3226
3100
  selectedDate,
3227
- size,
3101
+ size = exports.Size.MEDIUM,
3228
3102
  placeholder,
3229
3103
  label,
3230
3104
  monthFormat,
@@ -3236,19 +3110,6 @@ const DateTrigger = ({
3236
3110
  locale,
3237
3111
  formatMessage
3238
3112
  } = reactIntl.useIntl();
3239
- const handleKeyDown = event => {
3240
- if (neptuneValidation.isKey({
3241
- keyType: 'Space',
3242
- event: event
3243
- }) || neptuneValidation.isKey({
3244
- keyType: 'Enter',
3245
- event: event
3246
- })) {
3247
- event.stopPropagation();
3248
- event.preventDefault();
3249
- onClear();
3250
- }
3251
- };
3252
3113
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
3253
3114
  children: [/*#__PURE__*/jsxRuntime.jsxs("button", {
3254
3115
  className: `btn btn-${size} btn-input np-date-trigger`,
@@ -3285,29 +3146,12 @@ const DateTrigger = ({
3285
3146
  event.stopPropagation();
3286
3147
  event.preventDefault();
3287
3148
  onClear();
3288
- },
3289
- onKeyPress: handleKeyDown
3149
+ }
3290
3150
  })
3291
3151
  })]
3292
3152
  }) : null]
3293
3153
  });
3294
3154
  };
3295
- DateTrigger.propTypes = {
3296
- selectedDate: PropTypes__default.default.instanceOf(Date),
3297
- size: PropTypes__default.default.oneOf(['sm', 'md', 'lg']),
3298
- placeholder: PropTypes__default.default.string.isRequired,
3299
- label: PropTypes__default.default.string.isRequired,
3300
- monthFormat: PropTypes__default.default.oneOf(['short', 'long']).isRequired,
3301
- disabled: PropTypes__default.default.bool.isRequired,
3302
- onClick: PropTypes__default.default.func,
3303
- onClear: PropTypes__default.default.func
3304
- };
3305
- DateTrigger.defaultProps = {
3306
- selectedDate: null,
3307
- size: exports.Size.MEDIUM,
3308
- onClear: undefined
3309
- };
3310
- var DateTrigger$1 = DateTrigger;
3311
3155
 
3312
3156
  var messages$8 = reactIntl.defineMessages({
3313
3157
  next: {
@@ -3389,18 +3233,6 @@ const DateHeader = ({
3389
3233
  })]
3390
3234
  });
3391
3235
  };
3392
- DateHeader.propTypes = {
3393
- label: PropTypes__default.default.string,
3394
- onLabelClick: PropTypes__default.default.func,
3395
- onPreviousClick: PropTypes__default.default.func.isRequired,
3396
- onNextClick: PropTypes__default.default.func.isRequired,
3397
- dateMode: PropTypes__default.default.string
3398
- };
3399
- DateHeader.defaultProps = {
3400
- label: null,
3401
- onLabelClick: () => {}
3402
- };
3403
- var DateHeader$1 = DateHeader;
3404
3236
 
3405
3237
  function getFocusableTime(props) {
3406
3238
  return props.timeSpan.find(time => props.isActive(time)) || props.timeSpan.find(time => props.isNow(time) && !props.isDisabled(time)) || props.timeSpan.find(time => !props.isDisabled(time));
@@ -3486,10 +3318,9 @@ class DayCalendarTable extends React.PureComponent {
3486
3318
  let week = [];
3487
3319
  const weeks = [];
3488
3320
  let i;
3489
-
3490
3321
  // Pad first week
3491
3322
  for (i = 1; i < firstDayOfMonth; i += 1) {
3492
- week.push(false);
3323
+ week.push(-1);
3493
3324
  }
3494
3325
  // Fill in days
3495
3326
  for (i = 1; i <= daysInMonth; i += 1) {
@@ -3502,7 +3333,7 @@ class DayCalendarTable extends React.PureComponent {
3502
3333
  if (week.length > 0) {
3503
3334
  // Pad last week
3504
3335
  for (i = week.length; i < 7; i += 1) {
3505
- week.push(false);
3336
+ week.push(-1);
3506
3337
  }
3507
3338
  weeks.push(week);
3508
3339
  }
@@ -3557,12 +3388,10 @@ class DayCalendarTable extends React.PureComponent {
3557
3388
  const {
3558
3389
  viewMonth,
3559
3390
  viewYear,
3560
- intl: {
3561
- locale
3562
- }
3391
+ intl
3563
3392
  } = this.props;
3564
3393
  const weeks = this.getTableStructure();
3565
- let autoFocusDay = this.getAutofocusDay(weeks, viewMonth, viewYear);
3394
+ const autoFocusDay = this.getAutofocusDay(weeks);
3566
3395
  return /*#__PURE__*/jsxRuntime.jsxs("table", {
3567
3396
  className: "table table-condensed table-bordered tw-date-lookup-calendar m-b-0",
3568
3397
  children: [/*#__PURE__*/jsxRuntime.jsx("thead", {
@@ -3588,12 +3417,12 @@ class DayCalendarTable extends React.PureComponent {
3588
3417
  children: weeks.map((week, weekIndex) => /*#__PURE__*/jsxRuntime.jsx("tr", {
3589
3418
  children: week.map((day, dayIndex) => /*#__PURE__*/jsxRuntime.jsx("td", {
3590
3419
  className: dayIndex > 4 ? 'weekend' : '',
3591
- children: day && /*#__PURE__*/jsxRuntime.jsx(TableLink, {
3420
+ children: day !== -1 && /*#__PURE__*/jsxRuntime.jsx(TableLink, {
3592
3421
  item: day,
3593
3422
  type: "day",
3594
- title: formatting.formatDate(new Date(viewYear, viewMonth, day), locale, SHORT_DAY_FORMAT),
3423
+ title: formatting.formatDate(new Date(viewYear, viewMonth, day), intl.locale, SHORT_DAY_FORMAT),
3595
3424
  autofocus: day === autoFocusDay,
3596
- longTitle: formatting.formatDate(new Date(viewYear, viewMonth, day), locale),
3425
+ longTitle: formatting.formatDate(new Date(viewYear, viewMonth, day), intl.locale),
3597
3426
  active: this.isActive(day),
3598
3427
  disabled: this.isDisabled(day),
3599
3428
  today: this.isToday(day),
@@ -3605,19 +3434,6 @@ class DayCalendarTable extends React.PureComponent {
3605
3434
  });
3606
3435
  }
3607
3436
  }
3608
- DayCalendarTable.propTypes = {
3609
- selectedDate: PropTypes__default.default.instanceOf(Date),
3610
- min: PropTypes__default.default.instanceOf(Date),
3611
- max: PropTypes__default.default.instanceOf(Date),
3612
- viewMonth: PropTypes__default.default.number.isRequired,
3613
- viewYear: PropTypes__default.default.number.isRequired,
3614
- onSelect: PropTypes__default.default.func.isRequired
3615
- };
3616
- DayCalendarTable.defaultProps = {
3617
- selectedDate: null,
3618
- min: null,
3619
- max: null
3620
- };
3621
3437
  var DayCalendarTable$1 = reactIntl.injectIntl(DayCalendarTable);
3622
3438
 
3623
3439
  class DayCalendar extends React.PureComponent {
@@ -3657,7 +3473,7 @@ class DayCalendar extends React.PureComponent {
3657
3473
  onSelect
3658
3474
  } = this.props;
3659
3475
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
3660
- children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
3476
+ children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader, {
3661
3477
  label: formatting.formatDate(new Date(viewYear, viewMonth), locale, {
3662
3478
  month: monthFormat,
3663
3479
  year: 'numeric'
@@ -3677,22 +3493,6 @@ class DayCalendar extends React.PureComponent {
3677
3493
  });
3678
3494
  }
3679
3495
  }
3680
- DayCalendar.propTypes = {
3681
- selectedDate: PropTypes__default.default.instanceOf(Date),
3682
- min: PropTypes__default.default.instanceOf(Date),
3683
- max: PropTypes__default.default.instanceOf(Date),
3684
- viewMonth: PropTypes__default.default.number.isRequired,
3685
- viewYear: PropTypes__default.default.number.isRequired,
3686
- monthFormat: PropTypes__default.default.oneOf([exports.MonthFormat.LONG, exports.MonthFormat.SHORT]).isRequired,
3687
- onSelect: PropTypes__default.default.func.isRequired,
3688
- onLabelClick: PropTypes__default.default.func.isRequired,
3689
- onViewDateUpdate: PropTypes__default.default.func.isRequired
3690
- };
3691
- DayCalendar.defaultProps = {
3692
- selectedDate: null,
3693
- min: null,
3694
- max: null
3695
- };
3696
3496
  var DayCalendar$1 = reactIntl.injectIntl(DayCalendar);
3697
3497
 
3698
3498
  const ROWS$1 = 3;
@@ -3724,7 +3524,7 @@ const MonthCalendarTable = ({
3724
3524
  });
3725
3525
  };
3726
3526
  const isActive = month => {
3727
- return selectedDate && month === selectedDate.getMonth() && viewYear === selectedDate.getFullYear();
3527
+ return !!(selectedDate && month === selectedDate.getMonth() && viewYear === selectedDate.getFullYear());
3728
3528
  };
3729
3529
  const isThisMonth = month => {
3730
3530
  return viewYear === new Date().getFullYear() && month === new Date().getMonth();
@@ -3734,7 +3534,9 @@ const MonthCalendarTable = ({
3734
3534
  return !!(min && date < new Date(min.getFullYear(), min.getMonth()) || max && date > new Date(max.getFullYear(), max.getMonth()));
3735
3535
  };
3736
3536
  const autofocusMonth = (() => {
3737
- const months = [...new Array(ROWS$1 * COLS$1)].map((_, index) => index);
3537
+ const months = Array.from({
3538
+ length: ROWS$1 * COLS$1
3539
+ }, (_, index) => index);
3738
3540
  return getFocusableTime({
3739
3541
  isActive,
3740
3542
  isNow: isThisMonth,
@@ -3748,33 +3550,23 @@ const MonthCalendarTable = ({
3748
3550
  className: "sr-only",
3749
3551
  children: /*#__PURE__*/jsxRuntime.jsx("tr", {
3750
3552
  children: /*#__PURE__*/jsxRuntime.jsx("th", {
3751
- colSpan: "3",
3553
+ colSpan: COLS$1,
3752
3554
  children: placeholder
3753
3555
  })
3754
3556
  })
3755
3557
  }), /*#__PURE__*/jsxRuntime.jsx("tbody", {
3756
- children: [...new Array(ROWS$1)].map((row, rowIndex) => /*#__PURE__*/jsxRuntime.jsx("tr", {
3757
- children: [...new Array(COLS$1)].map((col, colIndex) => /*#__PURE__*/jsxRuntime.jsx("td", {
3558
+ children: Array.from({
3559
+ length: ROWS$1
3560
+ }, (_, rowIndex) => /*#__PURE__*/jsxRuntime.jsx("tr", {
3561
+ children: Array.from({
3562
+ length: COLS$1
3563
+ }, (_, colIndex) => /*#__PURE__*/jsxRuntime.jsx("td", {
3758
3564
  children: getLink(rowIndex * COLS$1 + colIndex)
3759
3565
  }, colIndex))
3760
3566
  }, rowIndex))
3761
3567
  })]
3762
3568
  });
3763
3569
  };
3764
- MonthCalendarTable.propTypes = {
3765
- selectedDate: PropTypes__default.default.instanceOf(Date),
3766
- min: PropTypes__default.default.instanceOf(Date),
3767
- max: PropTypes__default.default.instanceOf(Date),
3768
- viewYear: PropTypes__default.default.number.isRequired,
3769
- placeholder: PropTypes__default.default.string.isRequired,
3770
- onSelect: PropTypes__default.default.func.isRequired
3771
- };
3772
- MonthCalendarTable.defaultProps = {
3773
- selectedDate: null,
3774
- min: null,
3775
- max: null
3776
- };
3777
- var MonthCalendarTable$1 = MonthCalendarTable;
3778
3570
 
3779
3571
  class MonthCalendar extends React.PureComponent {
3780
3572
  onMonthSelect = month => {
@@ -3807,7 +3599,7 @@ class MonthCalendar extends React.PureComponent {
3807
3599
  onLabelClick
3808
3600
  } = this.props;
3809
3601
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
3810
- children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
3602
+ children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader, {
3811
3603
  dateMode: formatMessage(messages$8.year),
3812
3604
  label: formatting.formatDate(new Date(viewYear, 0), locale, {
3813
3605
  year: 'numeric'
@@ -3815,32 +3607,17 @@ class MonthCalendar extends React.PureComponent {
3815
3607
  onLabelClick: onLabelClick,
3816
3608
  onPreviousClick: this.selectPreviousYear,
3817
3609
  onNextClick: this.selectNextYear
3818
- }), /*#__PURE__*/jsxRuntime.jsx(MonthCalendarTable$1, {
3819
- selectedDate,
3820
- min,
3821
- max,
3822
- viewYear,
3823
- placeholder,
3610
+ }), /*#__PURE__*/jsxRuntime.jsx(MonthCalendarTable, {
3611
+ selectedDate: selectedDate,
3612
+ min: min,
3613
+ max: max,
3614
+ viewYear: viewYear,
3615
+ placeholder: placeholder,
3824
3616
  onSelect: this.onMonthSelect
3825
3617
  })]
3826
3618
  });
3827
3619
  }
3828
3620
  }
3829
- MonthCalendar.propTypes = {
3830
- selectedDate: PropTypes__default.default.instanceOf(Date),
3831
- min: PropTypes__default.default.instanceOf(Date),
3832
- max: PropTypes__default.default.instanceOf(Date),
3833
- viewYear: PropTypes__default.default.number.isRequired,
3834
- placeholder: PropTypes__default.default.string.isRequired,
3835
- onSelect: PropTypes__default.default.func.isRequired,
3836
- onLabelClick: PropTypes__default.default.func.isRequired,
3837
- onViewDateUpdate: PropTypes__default.default.func.isRequired
3838
- };
3839
- MonthCalendar.defaultProps = {
3840
- selectedDate: null,
3841
- min: null,
3842
- max: null
3843
- };
3844
3621
  var MonthCalendar$1 = reactIntl.injectIntl(MonthCalendar);
3845
3622
 
3846
3623
  const ROWS = 5;
@@ -3882,7 +3659,9 @@ const YearCalendarTable = ({
3882
3659
  return !!(min && year < min.getFullYear() || max && year > max.getFullYear());
3883
3660
  };
3884
3661
  const autofocusYear = (() => {
3885
- const years = [...new Array(ROWS * COLS)].map((_, index) => startYear + index);
3662
+ const years = Array.from({
3663
+ length: ROWS * COLS
3664
+ }, (_, index) => startYear + index);
3886
3665
  return getFocusableTime({
3887
3666
  isActive,
3888
3667
  isNow: isThisYear,
@@ -3896,33 +3675,23 @@ const YearCalendarTable = ({
3896
3675
  className: "sr-only",
3897
3676
  children: /*#__PURE__*/jsxRuntime.jsx("tr", {
3898
3677
  children: /*#__PURE__*/jsxRuntime.jsx("th", {
3899
- colSpan: "4",
3678
+ colSpan: COLS,
3900
3679
  children: placeholder
3901
3680
  })
3902
3681
  })
3903
3682
  }), /*#__PURE__*/jsxRuntime.jsx("tbody", {
3904
- children: [...new Array(ROWS)].map((row, rowIndex) => /*#__PURE__*/jsxRuntime.jsx("tr", {
3905
- children: [...new Array(COLS)].map((col, colIndex) => /*#__PURE__*/jsxRuntime.jsx("td", {
3683
+ children: Array.from({
3684
+ length: ROWS
3685
+ }, (_, rowIndex) => /*#__PURE__*/jsxRuntime.jsx("tr", {
3686
+ children: Array.from({
3687
+ length: COLS
3688
+ }, (_, colIndex) => /*#__PURE__*/jsxRuntime.jsx("td", {
3906
3689
  children: getLink(startYear + rowIndex * COLS + colIndex)
3907
3690
  }, colIndex))
3908
3691
  }, rowIndex))
3909
3692
  })]
3910
3693
  });
3911
3694
  };
3912
- YearCalendarTable.propTypes = {
3913
- selectedDate: PropTypes__default.default.instanceOf(Date),
3914
- min: PropTypes__default.default.instanceOf(Date),
3915
- max: PropTypes__default.default.instanceOf(Date),
3916
- viewYear: PropTypes__default.default.number.isRequired,
3917
- placeholder: PropTypes__default.default.string.isRequired,
3918
- onSelect: PropTypes__default.default.func.isRequired
3919
- };
3920
- YearCalendarTable.defaultProps = {
3921
- selectedDate: null,
3922
- min: null,
3923
- max: null
3924
- };
3925
- var YearCalendarTable$1 = YearCalendarTable;
3926
3695
 
3927
3696
  class YearCalendar extends React.PureComponent {
3928
3697
  onYearSelect = year => {
@@ -3953,43 +3722,35 @@ class YearCalendar extends React.PureComponent {
3953
3722
  }
3954
3723
  } = this.props;
3955
3724
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
3956
- children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
3725
+ children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader, {
3957
3726
  dateMode: formatMessage(messages$8.twentyYears),
3958
3727
  onPreviousClick: this.selectPreviousYears,
3959
3728
  onNextClick: this.selectNextYears
3960
- }), /*#__PURE__*/jsxRuntime.jsx(YearCalendarTable$1, {
3961
- selectedDate,
3962
- min,
3963
- max,
3964
- viewYear,
3965
- placeholder,
3729
+ }), /*#__PURE__*/jsxRuntime.jsx(YearCalendarTable, {
3730
+ selectedDate: selectedDate,
3731
+ min: min,
3732
+ max: max,
3733
+ viewYear: viewYear,
3734
+ placeholder: placeholder,
3966
3735
  onSelect: this.onYearSelect
3967
3736
  })]
3968
3737
  });
3969
3738
  }
3970
3739
  }
3971
- YearCalendar.propTypes = {
3972
- selectedDate: PropTypes__default.default.instanceOf(Date),
3973
- min: PropTypes__default.default.instanceOf(Date),
3974
- max: PropTypes__default.default.instanceOf(Date),
3975
- viewYear: PropTypes__default.default.number.isRequired,
3976
- placeholder: PropTypes__default.default.string.isRequired,
3977
- onSelect: PropTypes__default.default.func.isRequired,
3978
- onViewDateUpdate: PropTypes__default.default.func.isRequired
3979
- };
3980
- YearCalendar.defaultProps = {
3981
- selectedDate: null,
3982
- min: null,
3983
- max: null
3984
- };
3985
3740
  var YearCalendar$1 = reactIntl.injectIntl(YearCalendar);
3986
3741
 
3987
- const MODE = {
3988
- DAY: 'day',
3989
- MONTH: 'month',
3990
- YEAR: 'year'
3991
- };
3992
3742
  class DateLookup extends React.PureComponent {
3743
+ static defaultProps = {
3744
+ value: null,
3745
+ min: null,
3746
+ max: null,
3747
+ size: exports.Size.MEDIUM,
3748
+ placeholder: '',
3749
+ label: '',
3750
+ monthFormat: exports.MonthFormat.LONG,
3751
+ disabled: false,
3752
+ clearable: false
3753
+ };
3993
3754
  element = /*#__PURE__*/React.createRef();
3994
3755
  dropdown = /*#__PURE__*/React.createRef();
3995
3756
  constructor(props) {
@@ -4002,7 +3763,7 @@ class DateLookup extends React.PureComponent {
4002
3763
  viewMonth: (props.value || new Date()).getMonth(),
4003
3764
  viewYear: (props.value || new Date()).getFullYear(),
4004
3765
  open: false,
4005
- mode: MODE.DAY,
3766
+ mode: 'day',
4006
3767
  isMobile: false
4007
3768
  };
4008
3769
  }
@@ -4010,20 +3771,20 @@ class DateLookup extends React.PureComponent {
4010
3771
  const propsSelected = getStartOfDay(props.value);
4011
3772
  const propsMin = getStartOfDay(props.min);
4012
3773
  const propsMax = getStartOfDay(props.max);
4013
- const hasSelectedChanged = +state.selectedDate !== +propsSelected;
4014
- const hasMinChanged = +state.min !== +propsMin;
4015
- const hasMaxChanged = +state.max !== +propsMax;
3774
+ const hasSelectedChanged = state.selectedDate?.getTime() !== propsSelected?.getTime();
3775
+ const hasMinChanged = state.min?.getTime() !== propsMin?.getTime();
3776
+ const hasMaxChanged = state.max?.getTime() !== propsMax?.getTime();
4016
3777
  if (hasSelectedChanged || hasMinChanged || hasMaxChanged) {
4017
3778
  const selectedDate = hasSelectedChanged ? propsSelected : state.selectedDate;
4018
3779
  const min = hasMinChanged ? propsMin : state.min;
4019
3780
  const max = hasMaxChanged ? propsMax : state.max;
4020
- // make sure that selected date is within allowed range
4021
- if (!isWithinRange(selectedDate, min, max)) {
3781
+ if (selectedDate && !isWithinRange(selectedDate, min, max)) {
4022
3782
  props.onChange(moveToWithinRange(selectedDate, min, max));
4023
3783
  return null;
4024
3784
  }
4025
- const viewMonth = (selectedDate || new Date()).getMonth();
4026
- const viewYear = (selectedDate || new Date()).getFullYear();
3785
+ const viewDateThatIsWithinRange = selectedDate || (min || max) && moveToWithinRange(new Date(), min, max) || new Date();
3786
+ const viewMonth = viewDateThatIsWithinRange.getMonth();
3787
+ const viewYear = viewDateThatIsWithinRange.getFullYear();
4027
3788
  return {
4028
3789
  selectedDate,
4029
3790
  min,
@@ -4035,12 +3796,12 @@ class DateLookup extends React.PureComponent {
4035
3796
  return null;
4036
3797
  }
4037
3798
  componentDidUpdate(previousProps) {
4038
- if (+this.props.value !== +previousProps.value && this.state.open) {
3799
+ if (this.props.value?.getTime() !== previousProps.value?.getTime() && this.state.open) {
4039
3800
  this.focusOn('.active');
4040
3801
  }
4041
- this.mediaQuery = window.matchMedia(`(max-width: ${exports.Breakpoint.SMALL}px)`);
3802
+ const mediaQuery = window.matchMedia(`(max-width: ${exports.Breakpoint.SMALL}px)`);
4042
3803
  this.setState({
4043
- isMobile: this.mediaQuery.matches
3804
+ isMobile: mediaQuery.matches
4044
3805
  });
4045
3806
  }
4046
3807
  componentWillUnmount() {
@@ -4053,7 +3814,7 @@ class DateLookup extends React.PureComponent {
4053
3814
  } = this.props;
4054
3815
  this.setState({
4055
3816
  open: true,
4056
- mode: MODE.DAY
3817
+ mode: 'day'
4057
3818
  });
4058
3819
  if (onFocus) {
4059
3820
  onFocus();
@@ -4142,17 +3903,19 @@ class DateLookup extends React.PureComponent {
4142
3903
  }
4143
3904
  let date;
4144
3905
  if (selectedDate) {
4145
- date = new Date(mode === MODE.YEAR ? selectedDate.getFullYear() + yearsToAdd : selectedDate.getFullYear(), mode === MODE.MONTH ? selectedDate.getMonth() + monthsToAdd : selectedDate.getMonth(), mode === MODE.DAY ? selectedDate.getDate() + daysToAdd : selectedDate.getDate());
3906
+ date = new Date(mode === 'year' ? selectedDate.getFullYear() + yearsToAdd : selectedDate.getFullYear(), mode === 'month' ? selectedDate.getMonth() + monthsToAdd : selectedDate.getMonth(), mode === 'day' ? selectedDate.getDate() + daysToAdd : selectedDate.getDate());
4146
3907
  } else {
4147
3908
  date = getStartOfDay(new Date());
4148
3909
  }
4149
- date = moveToWithinRange(date, min, max);
4150
- if (+date !== +selectedDate) {
3910
+ if (date) {
3911
+ date = moveToWithinRange(date, min, max);
3912
+ }
3913
+ if (date?.getTime() !== selectedDate?.getTime()) {
4151
3914
  this.props.onChange(date);
4152
3915
  }
4153
3916
  };
4154
3917
  focusOn = (preferredElement, fallbackElement) => {
4155
- const element = this.element.current.querySelector(preferredElement);
3918
+ const element = this.element.current?.querySelector(preferredElement);
4156
3919
  if (element) {
4157
3920
  element.focus();
4158
3921
  } else if (fallbackElement) {
@@ -4166,9 +3929,9 @@ class DateLookup extends React.PureComponent {
4166
3929
  this.focusOn('.active', '.today');
4167
3930
  });
4168
3931
  };
4169
- switchToDays = () => this.switchMode(MODE.DAY);
4170
- switchToMonths = () => this.switchMode(MODE.MONTH);
4171
- switchToYears = () => this.switchMode(MODE.YEAR);
3932
+ switchToDays = () => this.switchMode('day');
3933
+ switchToMonths = () => this.switchMode('month');
3934
+ switchToYears = () => this.switchMode('year');
4172
3935
  handleSelectedDateUpdate = selectedDate => {
4173
3936
  this.setState({
4174
3937
  selectedDate
@@ -4205,31 +3968,31 @@ class DateLookup extends React.PureComponent {
4205
3968
  className: classNames__default.default({
4206
3969
  'p-a-1': !isMobile
4207
3970
  }),
4208
- children: [mode === MODE.DAY && /*#__PURE__*/jsxRuntime.jsx(DayCalendar$1, {
4209
- selectedDate,
4210
- min,
4211
- max,
4212
- viewMonth,
4213
- viewYear,
4214
- monthFormat,
3971
+ children: [mode === 'day' && /*#__PURE__*/jsxRuntime.jsx(DayCalendar$1, {
3972
+ selectedDate: selectedDate,
3973
+ min: min,
3974
+ max: max,
3975
+ viewMonth: viewMonth,
3976
+ viewYear: viewYear,
3977
+ monthFormat: monthFormat,
4215
3978
  onSelect: this.handleSelectedDateUpdate,
4216
3979
  onLabelClick: this.switchToYears,
4217
3980
  onViewDateUpdate: this.handleViewDateUpdate
4218
- }), mode === MODE.MONTH && /*#__PURE__*/jsxRuntime.jsx(MonthCalendar$1, {
4219
- selectedDate,
4220
- min,
4221
- max,
4222
- viewYear,
4223
- placeholder,
3981
+ }), mode === 'month' && /*#__PURE__*/jsxRuntime.jsx(MonthCalendar$1, {
3982
+ selectedDate: selectedDate,
3983
+ min: min,
3984
+ max: max,
3985
+ viewYear: viewYear,
3986
+ placeholder: placeholder,
4224
3987
  onSelect: this.switchToDays,
4225
3988
  onLabelClick: this.switchToYears,
4226
3989
  onViewDateUpdate: this.handleViewDateUpdate
4227
- }), mode === MODE.YEAR && /*#__PURE__*/jsxRuntime.jsx(YearCalendar$1, {
4228
- selectedDate,
4229
- min,
4230
- max,
4231
- viewYear,
4232
- placeholder,
3990
+ }), mode === 'year' && /*#__PURE__*/jsxRuntime.jsx(YearCalendar$1, {
3991
+ selectedDate: selectedDate,
3992
+ min: min,
3993
+ max: max,
3994
+ viewYear: viewYear,
3995
+ placeholder: placeholder,
4233
3996
  onSelect: this.switchToMonths,
4234
3997
  onViewDateUpdate: this.handleViewDateUpdate
4235
3998
  })]
@@ -4255,21 +4018,20 @@ class DateLookup extends React.PureComponent {
4255
4018
  value
4256
4019
  } = this.props;
4257
4020
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
4258
- // eslint-disable-line jsx-a11y/no-static-element-interactions
4259
4021
  ref: this.element,
4260
4022
  id: this.props.id,
4261
4023
  "aria-labelledby": ariaLabelledBy,
4262
4024
  className: "input-group",
4263
4025
  onKeyDown: this.handleKeyDown,
4264
- children: [/*#__PURE__*/jsxRuntime.jsx(DateTrigger$1, {
4265
- selectedDate,
4266
- size,
4267
- placeholder,
4268
- label,
4269
- monthFormat,
4270
- disabled,
4026
+ children: [/*#__PURE__*/jsxRuntime.jsx(DateTrigger, {
4027
+ selectedDate: selectedDate,
4028
+ size: size,
4029
+ placeholder: placeholder,
4030
+ label: label,
4031
+ monthFormat: monthFormat,
4032
+ disabled: disabled || false,
4271
4033
  onClick: this.open,
4272
- onClear: !disabled && clearable && value ? this.handleClear : null
4034
+ onClear: !disabled && clearable && value ? this.handleClear : undefined
4273
4035
  }), /*#__PURE__*/jsxRuntime.jsx(ResponsivePanel$1, {
4274
4036
  anchorRef: this.element,
4275
4037
  open: open,
@@ -4281,36 +4043,6 @@ class DateLookup extends React.PureComponent {
4281
4043
  });
4282
4044
  }
4283
4045
  }
4284
- DateLookup.propTypes = {
4285
- id: PropTypes__default.default.string,
4286
- value: PropTypes__default.default.instanceOf(Date),
4287
- min: PropTypes__default.default.instanceOf(Date),
4288
- max: PropTypes__default.default.instanceOf(Date),
4289
- size: PropTypes__default.default.oneOf(['sm', 'md', 'lg']),
4290
- placeholder: PropTypes__default.default.string,
4291
- label: PropTypes__default.default.string,
4292
- 'aria-labelledby': PropTypes__default.default.string,
4293
- monthFormat: PropTypes__default.default.oneOf(['long', 'short']),
4294
- disabled: PropTypes__default.default.bool,
4295
- onChange: PropTypes__default.default.func.isRequired,
4296
- onFocus: PropTypes__default.default.func,
4297
- onBlur: PropTypes__default.default.func,
4298
- clearable: PropTypes__default.default.bool
4299
- };
4300
- DateLookup.defaultProps = {
4301
- value: null,
4302
- min: null,
4303
- max: null,
4304
- size: exports.Size.MEDIUM,
4305
- placeholder: '',
4306
- label: '',
4307
- monthFormat: exports.MonthFormat.LONG,
4308
- disabled: false,
4309
- onFocus: null,
4310
- onBlur: null,
4311
- clearable: false
4312
- };
4313
- var DateLookup$1 = DateLookup;
4314
4046
 
4315
4047
  const NavigationOption = /*#__PURE__*/React.forwardRef(({
4316
4048
  as: component = 'button',
@@ -5207,6 +4939,7 @@ exports.LogoType = void 0;
5207
4939
  (function (LogoType) {
5208
4940
  LogoType["WISE"] = "WISE";
5209
4941
  LogoType["WISE_BUSINESS"] = "WISE_BUSINESS";
4942
+ LogoType["WISE_PLATFORM"] = "WISE_PLATFORM";
5210
4943
  })(exports.LogoType || (exports.LogoType = {}));
5211
4944
 
5212
4945
  var LogoFlagInverse = function LogoFlagInverse(props) {
@@ -5224,6 +4957,36 @@ LogoFlagInverse.defaultProps = {
5224
4957
  height: "24",
5225
4958
  fill: "none"
5226
4959
  };
4960
+ var LogoFlagPlatformInverse = function LogoFlagPlatformInverse(props) {
4961
+ return /*#__PURE__*/jsxRuntime.jsx("svg", {
4962
+ ...props,
4963
+ children: /*#__PURE__*/jsxRuntime.jsx("path", {
4964
+ fill: "#fff",
4965
+ 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"
4966
+ })
4967
+ });
4968
+ };
4969
+ LogoFlagPlatformInverse.defaultProps = {
4970
+ xmlns: "http://www.w3.org/2000/svg",
4971
+ width: "111",
4972
+ height: "18",
4973
+ fill: "none"
4974
+ };
4975
+ var LogoFlagPlatform = function LogoFlagPlatform(props) {
4976
+ return /*#__PURE__*/jsxRuntime.jsx("svg", {
4977
+ ...props,
4978
+ children: /*#__PURE__*/jsxRuntime.jsx("path", {
4979
+ fill: "#163300",
4980
+ 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"
4981
+ })
4982
+ });
4983
+ };
4984
+ LogoFlagPlatform.defaultProps = {
4985
+ xmlns: "http://www.w3.org/2000/svg",
4986
+ width: "111",
4987
+ height: "18",
4988
+ fill: "none"
4989
+ };
5227
4990
  var LogoFlag = function LogoFlag(props) {
5228
4991
  return /*#__PURE__*/jsxRuntime.jsx("svg", {
5229
4992
  ...props,
@@ -5254,6 +5017,36 @@ LogoWiseInverse.defaultProps = {
5254
5017
  height: "24",
5255
5018
  fill: "none"
5256
5019
  };
5020
+ var LogoWisePlatformInverse = function LogoWisePlatformInverse(props) {
5021
+ return /*#__PURE__*/jsxRuntime.jsx("svg", {
5022
+ ...props,
5023
+ children: /*#__PURE__*/jsxRuntime.jsx("path", {
5024
+ fill: "#fff",
5025
+ 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"
5026
+ })
5027
+ });
5028
+ };
5029
+ LogoWisePlatformInverse.defaultProps = {
5030
+ xmlns: "http://www.w3.org/2000/svg",
5031
+ width: "172",
5032
+ height: "18",
5033
+ fill: "none"
5034
+ };
5035
+ var LogoWisePlatform = function LogoWisePlatform(props) {
5036
+ return /*#__PURE__*/jsxRuntime.jsx("svg", {
5037
+ ...props,
5038
+ children: /*#__PURE__*/jsxRuntime.jsx("path", {
5039
+ fill: "#163300",
5040
+ 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"
5041
+ })
5042
+ });
5043
+ };
5044
+ LogoWisePlatform.defaultProps = {
5045
+ xmlns: "http://www.w3.org/2000/svg",
5046
+ width: "172",
5047
+ height: "18",
5048
+ fill: "none"
5049
+ };
5257
5050
  var LogoWise = function LogoWise(props) {
5258
5051
  return /*#__PURE__*/jsxRuntime.jsx("svg", {
5259
5052
  ...props,
@@ -5274,24 +5067,29 @@ const svgPaths = {
5274
5067
  WISE_BUSINESS: LogoWise,
5275
5068
  WISE_INVERSE: LogoWiseInverse,
5276
5069
  WISE_BUSINESS_INVERSE: LogoWiseInverse,
5070
+ WISE_PLATFORM: LogoWisePlatform,
5071
+ WISE_PLATFORM_INVERSE: LogoWisePlatformInverse,
5277
5072
  WISE_FLAG: LogoFlag,
5278
- WISE_FLAG_INVERSE: LogoFlagInverse
5073
+ WISE_FLAG_INVERSE: LogoFlagInverse,
5074
+ WISE_FLAG_PLATFORM: LogoFlagPlatform,
5075
+ WISE_FLAG_PLATFORM_INVERSE: LogoFlagPlatformInverse
5279
5076
  };
5280
5077
  const Logo = ({
5281
5078
  className,
5282
5079
  inverse,
5283
5080
  type
5284
5081
  }) => {
5285
- const LogoSm = svgPaths[`WISE_FLAG${inverse ? '_INVERSE' : ''}`];
5082
+ const LogoSm = svgPaths[`WISE_FLAG${type === exports.LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
5286
5083
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
5084
+ const screenMd = useScreenSize(exports.Breakpoint.MEDIUM);
5287
5085
  return /*#__PURE__*/jsxRuntime.jsxs("span", {
5288
- "aria-label": type === exports.LogoType.WISE ? 'Wise' : 'Wise business',
5086
+ "aria-label": type === exports.LogoType.WISE ? 'Wise' : 'Wise Business' | type === exports.LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
5289
5087
  role: "img",
5290
5088
  className: classNames__default.default(className, 'np-logo'),
5291
- children: [/*#__PURE__*/jsxRuntime.jsx(LogoSm, {
5292
- className: "np-logo-svg np-logo-svg--size-sm"
5293
- }), /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
5294
- className: "np-logo-svg np-logo-svg--size-md"
5089
+ children: [!screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoSm, {
5090
+ className: "np-logo-svg"
5091
+ }), screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
5092
+ className: "np-logo-svg"
5295
5093
  })]
5296
5094
  });
5297
5095
  };
@@ -5301,7 +5099,7 @@ Logo.propTypes = {
5301
5099
  /** If true, will use dark colours for dark on light theme */
5302
5100
  inverse: PropTypes__default.default.bool,
5303
5101
  /** What type of logo to display */
5304
- type: PropTypes__default.default.oneOf(['WISE', 'WISE_BUSINESS'])
5102
+ type: PropTypes__default.default.oneOf(['WISE', 'WISE_BUSINESS', 'WISE_PLATFORM'])
5305
5103
  };
5306
5104
  Logo.defaultProps = {
5307
5105
  className: undefined,
@@ -5831,7 +5629,7 @@ function Popover$1({
5831
5629
  const resolvedPlacement = resolvePlacement(preferredPlacement);
5832
5630
  React.useEffect(() => {
5833
5631
  if (resolvedPlacement !== preferredPlacement) {
5834
- logActionRequired$1(`Popover has deprecated ${preferredPlacement} value for the 'preferredPlacement' prop. Please use ${resolvedPlacement} instead.`);
5632
+ logActionRequired(`Popover has deprecated ${preferredPlacement} value for the 'preferredPlacement' prop. Please use ${resolvedPlacement} instead.`);
5835
5633
  }
5836
5634
  }, [preferredPlacement, resolvedPlacement]);
5837
5635
  const anchorReference = React.useRef(null);
@@ -5936,49 +5734,22 @@ const Info = ({
5936
5734
  });
5937
5735
  };
5938
5736
 
5939
- const typeClassMap = {
5940
- [exports.Sentiment.ERROR]: 'danger',
5941
- [exports.Sentiment.NEGATIVE]: 'danger'
5942
- };
5943
- const InlineAlert = ({
5737
+ function InlineAlert({
5944
5738
  id,
5945
- type = exports.Sentiment.NEUTRAL,
5739
+ type = 'neutral',
5946
5740
  className,
5947
5741
  children
5948
- }) => {
5949
- const {
5950
- isModern
5951
- } = componentsTheming.useTheme();
5952
- const typeClass = `alert-${typeClassMap[type] || type}`;
5953
- if (isModern) {
5954
- return /*#__PURE__*/jsxRuntime.jsxs("div", {
5955
- role: "alert",
5956
- id: id,
5957
- className: classNames__default.default('alert alert-detach', typeClass, className),
5958
- children: [(type === 'error' || type === 'negative') && /*#__PURE__*/jsxRuntime.jsx(icons.AlertCircle, {}), /*#__PURE__*/jsxRuntime.jsx("div", {
5959
- children: children
5960
- })]
5961
- });
5962
- }
5963
- const getAlertContents = ({
5964
- children,
5965
- className
5966
- }) => {
5967
- return /*#__PURE__*/jsxRuntime.jsx("div", {
5968
- role: "alert",
5969
- id: id,
5970
- className: classNames__default.default('alert alert-detach p-x-2 p-y-1', typeClass, className),
5742
+ }) {
5743
+ const danger = type === 'negative' || type === 'error';
5744
+ return /*#__PURE__*/jsxRuntime.jsxs("div", {
5745
+ role: "alert",
5746
+ id: id,
5747
+ className: classNames__default.default('alert alert-detach', `alert-${danger ? 'danger' : type}`, className),
5748
+ children: [danger && /*#__PURE__*/jsxRuntime.jsx(icons.AlertCircle, {}), /*#__PURE__*/jsxRuntime.jsx("div", {
5971
5749
  children: children
5972
- });
5973
- };
5974
- const AlertWithArrow = withArrow(getAlertContents, exports.AlertArrowPosition.TOP_LEFT);
5975
- return /*#__PURE__*/jsxRuntime.jsx(AlertWithArrow, {
5976
- id,
5977
- type,
5978
- className,
5979
- children
5750
+ })]
5980
5751
  });
5981
- };
5752
+ }
5982
5753
 
5983
5754
  /*
5984
5755
  * Inspired by:
@@ -6077,9 +5848,9 @@ function InputAddon({
6077
5848
  const ref = React.useRef(null);
6078
5849
  useResizeObserver(ref, entry => {
6079
5850
  // TODO: Remove fallback once most browsers support `borderBoxSize`
6080
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
6081
- if (entry.borderBoxSize != null) {
6082
- setInputPadding(entry.borderBoxSize[0].inlineSize);
5851
+ const inlineSize = entry.borderBoxSize?.[0]?.inlineSize;
5852
+ if (inlineSize != null) {
5853
+ setInputPadding(inlineSize);
6083
5854
  } else {
6084
5855
  const targetStyle = getComputedStyle(entry.target);
6085
5856
  setInputPadding(entry.contentRect.width + Number.parseFloat(targetStyle.paddingInlineStart) + Number.parseFloat(targetStyle.paddingInlineEnd));
@@ -6226,65 +5997,61 @@ function BottomSheet({
6226
5997
  theme: "personal",
6227
5998
  screenMode: theme === 'personal' ? screenMode : 'light',
6228
5999
  isNotRootProvider: true,
6229
- children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition, {
6000
+ children: /*#__PURE__*/jsxRuntime.jsxs(react$1.Transition, {
6230
6001
  show: open,
6231
6002
  className: "np-bottom-sheet-v2-container",
6232
6003
  beforeEnter: () => {
6233
6004
  setFloatingKey(prev => prev + 1);
6234
6005
  },
6235
6006
  afterLeave: onCloseEnd,
6236
- children: /*#__PURE__*/jsxRuntime.jsxs(FocusBoundary, {
6237
- children: [/*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6238
- enter: "np-bottom-sheet-v2-backdrop-container--enter",
6239
- enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
6240
- leave: "np-bottom-sheet-v2-backdrop-container--leave",
6241
- leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
6242
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
6243
- className: "np-bottom-sheet-v2-backdrop"
6244
- })
6245
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
6246
- className: "np-bottom-sheet-v2",
6247
- children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6248
- className: "np-bottom-sheet-v2-content",
6249
- enter: "np-bottom-sheet-v2-content--enter",
6250
- enterFrom: "np-bottom-sheet-v2-content--enter-from",
6251
- leave: "np-bottom-sheet-v2-content--leave",
6252
- leaveTo: "np-bottom-sheet-v2-content--leave-to",
6253
- children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
6254
- context: context,
6255
- initialFocus: initialFocusRef,
6256
- guards: false,
6257
- modal: false,
6258
- children: /*#__PURE__*/jsxRuntime.jsxs("div", {
6259
- // Force inner state invalidation on open
6260
- ref: refs.setFloating,
6261
- className: "np-bottom-sheet-v2-content-inner-container",
6262
- ...getFloatingProps(),
6263
- children: [/*#__PURE__*/jsxRuntime.jsx("div", {
6264
- className: "np-bottom-sheet-v2-header",
6265
- children: /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
6266
- size: exports.Size.SMALL,
6267
- onClick: () => {
6268
- onClose?.();
6269
- }
6270
- })
6271
- }), /*#__PURE__*/jsxRuntime.jsxs("div", {
6272
- className: classNames__default.default('np-bottom-sheet-v2-content-inner', title && 'np-bottom-sheet-v2-content-inner--has-title', {
6273
- 'np-bottom-sheet-v2-content-inner--padding-md': padding === 'md'
6274
- }),
6275
- children: [title ? /*#__PURE__*/jsxRuntime.jsx("h2", {
6276
- className: "np-bottom-sheet-v2-title np-text-title-body",
6277
- children: title
6278
- }) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
6279
- className: "np-bottom-sheet-v2-body np-text-body-default",
6280
- children: children
6281
- })]
6007
+ children: [/*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6008
+ enter: "np-bottom-sheet-v2-backdrop-container--enter",
6009
+ enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
6010
+ leave: "np-bottom-sheet-v2-backdrop-container--leave",
6011
+ leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
6012
+ children: /*#__PURE__*/jsxRuntime.jsx("div", {
6013
+ className: "np-bottom-sheet-v2-backdrop"
6014
+ })
6015
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
6016
+ className: "np-bottom-sheet-v2",
6017
+ children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6018
+ className: "np-bottom-sheet-v2-content",
6019
+ enter: "np-bottom-sheet-v2-content--enter",
6020
+ enterFrom: "np-bottom-sheet-v2-content--enter-from",
6021
+ leave: "np-bottom-sheet-v2-content--leave",
6022
+ leaveTo: "np-bottom-sheet-v2-content--leave-to",
6023
+ children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
6024
+ context: context,
6025
+ initialFocus: initialFocusRef,
6026
+ children: /*#__PURE__*/jsxRuntime.jsxs("div", {
6027
+ // Force inner state invalidation on open
6028
+ ref: refs.setFloating,
6029
+ className: "np-bottom-sheet-v2-content-inner-container",
6030
+ ...getFloatingProps(),
6031
+ children: [/*#__PURE__*/jsxRuntime.jsx("div", {
6032
+ className: "np-bottom-sheet-v2-header",
6033
+ children: /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
6034
+ size: exports.Size.SMALL,
6035
+ onClick: () => {
6036
+ onClose?.();
6037
+ }
6038
+ })
6039
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
6040
+ className: classNames__default.default('np-bottom-sheet-v2-content-inner', title && 'np-bottom-sheet-v2-content-inner--has-title', {
6041
+ 'np-bottom-sheet-v2-content-inner--padding-md': padding === 'md'
6042
+ }),
6043
+ children: [title ? /*#__PURE__*/jsxRuntime.jsx("h2", {
6044
+ className: "np-bottom-sheet-v2-title np-text-title-body",
6045
+ children: title
6046
+ }) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
6047
+ className: "np-bottom-sheet-v2-body np-text-body-default",
6048
+ children: children
6282
6049
  })]
6283
- }, floatingKey)
6284
- })
6050
+ })]
6051
+ }, floatingKey)
6285
6052
  })
6286
- })]
6287
- })
6053
+ })
6054
+ })]
6288
6055
  })
6289
6056
  })
6290
6057
  })]
@@ -6382,36 +6149,32 @@ function Popover({
6382
6149
  setFloatingKey(prev => prev + 1);
6383
6150
  },
6384
6151
  afterLeave: onCloseEnd,
6385
- children: /*#__PURE__*/jsxRuntime.jsx(FocusBoundary, {
6386
- children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
6387
- context: context,
6388
- guards: false,
6389
- modal: false,
6390
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
6391
- // Force inner state invalidation on open
6392
- ref: refs.setFloating,
6393
- className: classNames__default.default('np-popover-v2-container', {
6394
- 'np-popover-v2-container--size-md': size === 'md',
6395
- 'np-popover-v2-container--size-lg': size === 'lg'
6396
- })
6397
- // eslint-disable-next-line react/forbid-dom-props
6398
- ,
6399
- style: floatingStyles,
6400
- ...getFloatingProps(),
6401
- children: /*#__PURE__*/jsxRuntime.jsxs("div", {
6402
- className: classNames__default.default('np-popover-v2', title && 'np-popover-v2--has-title', {
6403
- 'np-popover-v2--padding-md': padding === 'md'
6404
- }),
6405
- children: [title ? /*#__PURE__*/jsxRuntime.jsx("h2", {
6406
- className: "np-popover-v2-title np-text-title-body",
6407
- children: title
6408
- }) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
6409
- className: "np-popover-v2-content np-text-body-default",
6410
- children: children
6411
- })]
6412
- })
6413
- }, floatingKey)
6414
- })
6152
+ children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
6153
+ context: context,
6154
+ children: /*#__PURE__*/jsxRuntime.jsx("div", {
6155
+ // Force inner state invalidation on open
6156
+ ref: refs.setFloating,
6157
+ className: classNames__default.default('np-popover-v2-container', {
6158
+ 'np-popover-v2-container--size-md': size === 'md',
6159
+ 'np-popover-v2-container--size-lg': size === 'lg'
6160
+ })
6161
+ // eslint-disable-next-line react/forbid-dom-props
6162
+ ,
6163
+ style: floatingStyles,
6164
+ ...getFloatingProps(),
6165
+ children: /*#__PURE__*/jsxRuntime.jsxs("div", {
6166
+ className: classNames__default.default('np-popover-v2', title && 'np-popover-v2--has-title', {
6167
+ 'np-popover-v2--padding-md': padding === 'md'
6168
+ }),
6169
+ children: [title ? /*#__PURE__*/jsxRuntime.jsx("h2", {
6170
+ className: "np-popover-v2-title np-text-title-body",
6171
+ children: title
6172
+ }) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
6173
+ className: "np-popover-v2-content np-text-body-default",
6174
+ children: children
6175
+ })]
6176
+ })
6177
+ }, floatingKey)
6415
6178
  })
6416
6179
  })
6417
6180
  })
@@ -6790,6 +6553,7 @@ function SelectInputOptions({
6790
6553
  })
6791
6554
  }) : null, /*#__PURE__*/jsxRuntime.jsxs("section", {
6792
6555
  ref: listboxContainerRef,
6556
+ tabIndex: -1,
6793
6557
  className: classNames__default.default('np-select-input-listbox-container', items.some(item => item.type === 'group') && 'np-select-input-listbox-container--has-group'),
6794
6558
  children: [resultsEmpty ? /*#__PURE__*/jsxRuntime.jsxs("div", {
6795
6559
  id: statusId,
@@ -7342,6 +7106,7 @@ const InputWithDisplayFormat = props => /*#__PURE__*/jsxRuntime.jsx(WithDisplayF
7342
7106
  });
7343
7107
 
7344
7108
  const InstructionsList = ({
7109
+ className,
7345
7110
  dos,
7346
7111
  donts,
7347
7112
  sort = 'dosFirst'
@@ -7366,7 +7131,7 @@ const InstructionsList = ({
7366
7131
  children: [dontsInstructions, dosInstructions]
7367
7132
  });
7368
7133
  return /*#__PURE__*/jsxRuntime.jsx("ul", {
7369
- className: "tw-instructions",
7134
+ className: classNames__default.default('tw-instructions', className),
7370
7135
  children: orderedInstructions
7371
7136
  });
7372
7137
  };
@@ -14798,10 +14563,10 @@ var th = {
14798
14563
  "neptune.ClearButton.ariaLabel": "ล้าง",
14799
14564
  "neptune.CloseButton.ariaLabel": "ปิด",
14800
14565
  "neptune.DateInput.day.label": "วัน",
14801
- "neptune.DateInput.day.placeholder": "DD",
14566
+ "neptune.DateInput.day.placeholder": "วัน",
14802
14567
  "neptune.DateInput.month.label": "เดือน",
14803
14568
  "neptune.DateInput.year.label": "ปี",
14804
- "neptune.DateInput.year.placeholder": "YYYY",
14569
+ "neptune.DateInput.year.placeholder": "ปี",
14805
14570
  "neptune.DateLookup.day": "วัน",
14806
14571
  "neptune.DateLookup.goTo20YearView": "ไปที่มุมมอง 20 ปี",
14807
14572
  "neptune.DateLookup.month": "เดือน",
@@ -14971,10 +14736,10 @@ var zhCN = {
14971
14736
  "neptune.ClearButton.ariaLabel": "清除",
14972
14737
  "neptune.CloseButton.ariaLabel": "关闭",
14973
14738
  "neptune.DateInput.day.label": "日",
14974
- "neptune.DateInput.day.placeholder": "DD",
14739
+ "neptune.DateInput.day.placeholder": "",
14975
14740
  "neptune.DateInput.month.label": "月",
14976
14741
  "neptune.DateInput.year.label": "年",
14977
- "neptune.DateInput.year.placeholder": "YYYY",
14742
+ "neptune.DateInput.year.placeholder": "",
14978
14743
  "neptune.DateLookup.day": "日",
14979
14744
  "neptune.DateLookup.goTo20YearView": "转到 20 年视图",
14980
14745
  "neptune.DateLookup.month": "月",
@@ -14987,7 +14752,7 @@ var zhCN = {
14987
14752
  "neptune.Info.ariaLabel": "更多信息",
14988
14753
  "neptune.Link.opensInNewTab": "(在新标签页中打开)",
14989
14754
  "neptune.MoneyInput.Select.placeholder": "请选择...",
14990
- "neptune.PhoneNumberInput.SelectInput.placeholder": "选择一个选项...",
14755
+ "neptune.PhoneNumberInput.SelectInput.placeholder": "选择其中一项...",
14991
14756
  "neptune.Select.searchPlaceholder": "搜索",
14992
14757
  "neptune.SelectInput.noResultsFound": "找不到结果",
14993
14758
  "neptune.Summary.statusDone": "已完成",
@@ -14996,13 +14761,13 @@ var zhCN = {
14996
14761
  "neptune.Upload.csButtonText": "上传另一个文件?",
14997
14762
  "neptune.Upload.csFailureText": "上传失败。请重试",
14998
14763
  "neptune.Upload.csSuccessText": "上传完毕!",
14999
- "neptune.Upload.csTooLargeMessage": "请提供小于 {maxSize}MB 的文件",
14764
+ "neptune.Upload.csTooLargeMessage": "请提供一个小于 {maxSize} MB 的文件",
15000
14765
  "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
15001
14766
  "neptune.Upload.psButtonText": "取消",
15002
14767
  "neptune.Upload.psProcessingText": "正在上传…",
15003
14768
  "neptune.Upload.usButtonText": "或选择文件",
15004
14769
  "neptune.Upload.usDropMessage": "拖放文件开始上传",
15005
- "neptune.Upload.usPlaceholder": "拖放小于 {maxSize}MB 的文件",
14770
+ "neptune.Upload.usPlaceholder": "拖放一个不超过 {maxSize} MB 的文件",
15006
14771
  "neptune.UploadButton.allFileTypes": "所有文件类型",
15007
14772
  "neptune.UploadButton.dropFiles": "拖放文件开始上传",
15008
14773
  "neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",
@@ -15106,7 +14871,7 @@ const translations = {
15106
14871
  exports.Accordion = Accordion;
15107
14872
  exports.ActionButton = ActionButton;
15108
14873
  exports.ActionOption = ActionOption;
15109
- exports.Alert = Alert$1;
14874
+ exports.Alert = Alert;
15110
14875
  exports.Avatar = Avatar;
15111
14876
  exports.AvatarWrapper = AvatarWrapper;
15112
14877
  exports.Badge = Badge;
@@ -15126,7 +14891,7 @@ exports.CriticalCommsBanner = CriticalCommsBanner;
15126
14891
  exports.DEFAULT_LANG = DEFAULT_LANG;
15127
14892
  exports.DEFAULT_LOCALE = DEFAULT_LOCALE;
15128
14893
  exports.DateInput = DateInput;
15129
- exports.DateLookup = DateLookup$1;
14894
+ exports.DateLookup = DateLookup;
15130
14895
  exports.Decision = Decision;
15131
14896
  exports.DefinitionList = DefinitionList$1;
15132
14897
  exports.Dimmer = Dimmer$1;