@thecb/components 9.3.1-beta.8 → 9.3.1

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 (39) hide show
  1. package/dist/index.cjs.js +114 -143
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +3 -1
  4. package/dist/index.esm.js +114 -144
  5. package/dist/index.esm.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/components/atoms/button-with-action/ButtonWithAction.js +76 -70
  8. package/src/components/atoms/checkbox/Checkbox.js +2 -1
  9. package/src/components/atoms/dropdown/Dropdown.js +3 -3
  10. package/src/components/atoms/icons/KebabMenuIcon.d.ts +1 -0
  11. package/src/components/atoms/icons/KebabMenuIcon.js +38 -0
  12. package/src/components/atoms/icons/TrashIcon.js +42 -40
  13. package/src/components/atoms/icons/icons.stories.js +3 -1
  14. package/src/components/atoms/icons/index.d.ts +1 -0
  15. package/src/components/atoms/icons/index.js +3 -1
  16. package/src/components/atoms/layouts/Motion.js +7 -10
  17. package/src/components/atoms/toggle-switch/ToggleSwitch.js +2 -1
  18. package/src/components/molecules/collapsible-section/CollapsibleSection.js +2 -1
  19. package/src/components/molecules/popover/Popover.js +2 -1
  20. package/src/components/molecules/popup-menu/PopupMenu.js +152 -0
  21. package/src/components/molecules/popup-menu/PopupMenu.stories.js +40 -0
  22. package/src/components/molecules/popup-menu/PopupMenu.styled.js +20 -0
  23. package/src/components/molecules/popup-menu/PopupMenu.theme.js +11 -0
  24. package/src/components/molecules/popup-menu/index.d.ts +25 -0
  25. package/src/components/molecules/popup-menu/index.js +3 -0
  26. package/src/components/molecules/popup-menu/popup-menu-item/PopupMenuItem.js +79 -0
  27. package/src/components/molecules/popup-menu/popup-menu-item/PopupMenuItem.styled.js +27 -0
  28. package/src/components/molecules/popup-menu/popup-menu-item/PopupMenuItem.theme.js +23 -0
  29. package/src/components/molecules/radio-section/RadioSection.js +177 -284
  30. package/src/components/molecules/radio-section/RadioSection.stories.js +11 -42
  31. package/src/components/molecules/radio-section/radio-button/RadioButton.js +1 -1
  32. package/src/constants/keyboard.js +7 -0
  33. package/src/util/general.js +10 -0
  34. package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
  35. package/src/.DS_Store +0 -0
  36. package/src/components/.DS_Store +0 -0
  37. package/src/components/atoms/.DS_Store +0 -0
  38. package/src/components/atoms/icons/.DS_Store +0 -0
  39. /package/src/components/atoms/icons/{ExternalLinkIcon.js → ExternalLinkicon.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -731,6 +731,8 @@ interface XCircleIconSmallProps {
731
731
  declare const XCircleIconSmall: React.FC<Expand<XCircleIconSmallProps> &
732
732
  React.HTMLAttributes<HTMLElement>>;
733
733
 
734
+ declare const KebabMenuIcon: JSX.Element;
735
+
734
736
  interface BoxProps {
735
737
  autocompleteValue?: string;
736
738
  padding?: string;
@@ -1185,5 +1187,5 @@ interface DefaultPageTemplateProps {
1185
1187
  declare const DefaultPageTemplate: React.FC<Expand<DefaultPageTemplateProps> &
1186
1188
  React.HTMLAttributes<HTMLElement>>;
1187
1189
 
1188
- export { AddValidatorAction, Alert, AlertProps, ArrowDownCircleIconSmall, ArrowDownCircleIconSmallProps, ArrowLeftCircleIconMedium, ArrowLeftCircleIconMediumProps, ArrowLeftCircleIconSmall, ArrowLeftCircleIconSmallProps, ArrowRightCircleIconSmall, ArrowRightCircleIconSmallProps, ArrowUpCircleIconSmall, ArrowUpCircleIconSmallProps, BankIconLarge, BankIconLargeProps, Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, Center, CenterProps, ChargebackIconMedium, ChargebackIconMediumProps, ChargebackIconSmall, ChargebackIconSmallProps, ChargebackReversalIconMedium, ChargebackReversalIconMediumProps, ChargebackReversalIconSmall, ChargebackReversalIconSmallProps, ClearAction, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ErrorMessageDictionary, ExternalLink, ExternalLinkProps, Field, FieldActionPayload, FieldActions, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectOption, FormSelectProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KioskImage, Loading, LoadingProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PointOfSaleImage, Popover, PopoverProps, ProfileImage, RadioGroup, RadioGroupProps, ReduxAction, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RemoveValidatorAction, RevenueManagementImage, SearchableSelect, SearchableSelectOption, SearchableSelectProps, SetAction, Spinner, SpinnerProps, Stack, StackProps, StandardCheckoutImage, SuccessfulIconMedium, SuccessfulIconMediumProps, SuccessfulIconSmall, SuccessfulIconSmallProps, Switcher, SwitcherProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeading, TableHeadingProps, TableListItem, TableListItemProps, TableProps, TableRow, TableRowProps, Text, TextProps, Title, TitleProps, ToastNotification, ToastNotificationProps, ToastVariants, ValidatorFn, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps, index_d as constants, index as hooks };
1190
+ export { AddValidatorAction, Alert, AlertProps, ArrowDownCircleIconSmall, ArrowDownCircleIconSmallProps, ArrowLeftCircleIconMedium, ArrowLeftCircleIconMediumProps, ArrowLeftCircleIconSmall, ArrowLeftCircleIconSmallProps, ArrowRightCircleIconSmall, ArrowRightCircleIconSmallProps, ArrowUpCircleIconSmall, ArrowUpCircleIconSmallProps, BankIconLarge, BankIconLargeProps, Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, Center, CenterProps, ChargebackIconMedium, ChargebackIconMediumProps, ChargebackIconSmall, ChargebackIconSmallProps, ChargebackReversalIconMedium, ChargebackReversalIconMediumProps, ChargebackReversalIconSmall, ChargebackReversalIconSmallProps, ClearAction, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, EditableTable, EditableTableProps, ErrorMessageDictionary, ExternalLink, ExternalLinkProps, Field, FieldActionPayload, FieldActions, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectOption, FormSelectProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KebabMenuIcon, KioskImage, Loading, LoadingProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PointOfSaleImage, Popover, PopoverProps, ProfileImage, RadioGroup, RadioGroupProps, ReduxAction, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RemoveValidatorAction, RevenueManagementImage, SearchableSelect, SearchableSelectOption, SearchableSelectProps, SetAction, Spinner, SpinnerProps, Stack, StackProps, StandardCheckoutImage, SuccessfulIconMedium, SuccessfulIconMediumProps, SuccessfulIconSmall, SuccessfulIconSmallProps, Switcher, SwitcherProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeading, TableHeadingProps, TableListItem, TableListItemProps, TableProps, TableRow, TableRowProps, Text, TextProps, Title, TitleProps, ToastNotification, ToastNotificationProps, ToastVariants, ValidatorFn, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps, index_d as constants, index as hooks };
1189
1191
  //# sourceMappingURL=index.d.ts.map
package/dist/index.esm.js CHANGED
@@ -6363,6 +6363,15 @@ var titleCaseString = function titleCaseString(string) {
6363
6363
  var kebabCaseString = function kebabCaseString(string) {
6364
6364
  return string === null || string === void 0 ? void 0 : string.replaceAll(" ", "-").toLowerCase();
6365
6365
  };
6366
+ var wrapIndex = function wrapIndex(index, length) {
6367
+ if (index <= -1) {
6368
+ return length - 1;
6369
+ } else if (index >= length) {
6370
+ return 0;
6371
+ } else {
6372
+ return index;
6373
+ }
6374
+ };
6366
6375
 
6367
6376
  var general = /*#__PURE__*/Object.freeze({
6368
6377
  __proto__: null,
@@ -6383,7 +6392,8 @@ var general = /*#__PURE__*/Object.freeze({
6383
6392
  throttle: throttle,
6384
6393
  titleCaseWord: titleCaseWord,
6385
6394
  titleCaseString: titleCaseString,
6386
- kebabCaseString: kebabCaseString
6395
+ kebabCaseString: kebabCaseString,
6396
+ wrapIndex: wrapIndex
6387
6397
  });
6388
6398
 
6389
6399
  var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
@@ -12503,7 +12513,7 @@ var _excluded$f = ["position", "padding", "children"];
12503
12513
  This should be sufficient for most scenarios, but if you need to, you have the ability to make Motion act like all of the other primitives using the props provided.
12504
12514
  */
12505
12515
 
12506
- var Motion = function Motion(_ref) {
12516
+ var Motion = /*#__PURE__*/forwardRef(function (_ref, ref) {
12507
12517
  var _ref$position = _ref.position,
12508
12518
  position = _ref$position === void 0 ? "relative" : _ref$position,
12509
12519
  _ref$padding = _ref.padding,
@@ -12513,9 +12523,10 @@ var Motion = function Motion(_ref) {
12513
12523
 
12514
12524
  return /*#__PURE__*/React.createElement(MotionWrapper, _extends({
12515
12525
  position: position,
12516
- padding: padding
12526
+ padding: padding,
12527
+ ref: ref
12517
12528
  }, rest), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
12518
- };
12529
+ });
12519
12530
 
12520
12531
  var ReelStyled = styled.div.withConfig({
12521
12532
  displayName: "Reelstyled__ReelStyled",
@@ -12918,7 +12929,7 @@ var Spinner = function Spinner(_ref) {
12918
12929
  */
12919
12930
 
12920
12931
 
12921
- var ButtonWithAction = function ButtonWithAction(_ref2) {
12932
+ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12922
12933
  var _ref2$action = _ref2.action,
12923
12934
  action = _ref2$action === void 0 ? noop : _ref2$action,
12924
12935
  _ref2$variant = _ref2.variant,
@@ -12949,6 +12960,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
12949
12960
  var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
12950
12961
  var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ".concat(extraDisabledStyles, "\n ");
12951
12962
  return /*#__PURE__*/React.createElement(Box, _extends({
12963
+ ref: ref,
12952
12964
  variant: variant,
12953
12965
  padding: themeValues.padding,
12954
12966
  minHeight: themeValues.height,
@@ -12977,7 +12989,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
12977
12989
  textWrap: textWrap,
12978
12990
  extraStyles: textExtraStyles
12979
12991
  }, text)));
12980
- };
12992
+ });
12981
12993
 
12982
12994
  var primaryColor = {
12983
12995
  info: "".concat(WHITE),
@@ -15291,7 +15303,8 @@ var ShoppingCartIcon = function ShoppingCartIcon() {
15291
15303
  };
15292
15304
 
15293
15305
  var TrashIcon = function TrashIcon(_ref) {
15294
- var themeValues = _ref.themeValues;
15306
+ var themeValues = _ref.themeValues,
15307
+ iconFill = _ref.iconFill;
15295
15308
  return /*#__PURE__*/React.createElement("svg", {
15296
15309
  width: "20px",
15297
15310
  height: "20px",
@@ -15315,12 +15328,12 @@ var TrashIcon = function TrashIcon(_ref) {
15315
15328
  xlinkHref: "#trash-path-1"
15316
15329
  })), /*#__PURE__*/React.createElement("use", {
15317
15330
  id: "trash-Mask",
15318
- fill: themeValues.singleIconColor,
15331
+ fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor,
15319
15332
  fillRule: "nonzero",
15320
15333
  xlinkHref: "#trash-path-1"
15321
15334
  }), /*#__PURE__*/React.createElement("polygon", {
15322
15335
  id: "trash-Path",
15323
- fill: themeValues.singleIconColor,
15336
+ fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor,
15324
15337
  fillRule: "nonzero",
15325
15338
  mask: "url(#trash-mask-2)",
15326
15339
  points: "0 0 20 0 20 20 0 20"
@@ -18251,6 +18264,34 @@ var PlusCircleIcon = function PlusCircleIcon(_ref) {
18251
18264
  }));
18252
18265
  };
18253
18266
 
18267
+ var KebabMenuIcon = function KebabMenuIcon() {
18268
+ return /*#__PURE__*/React.createElement("svg", {
18269
+ xmlns: "http://www.w3.org/2000/svg",
18270
+ width: "21",
18271
+ height: "32",
18272
+ viewBox: "0 0 21 32",
18273
+ fill: "none"
18274
+ }, /*#__PURE__*/React.createElement("path", {
18275
+ d: "M0 4C0 1.79086 1.79086 0 4 0L17 0C19.2091 0 21 1.79086 21 4V28C21 30.2091 19.2091 32 17 32H4C1.79086 32 0 30.2091 0 28L0 4Z",
18276
+ fill: "none"
18277
+ }), /*#__PURE__*/React.createElement("path", {
18278
+ fillRule: "evenodd",
18279
+ clipRule: "evenodd",
18280
+ d: "M10.5 6C9.39333 6 8.5 6.89333 8.5 8C8.5 9.10667 9.39333 10 10.5 10C11.6067 10 12.5 9.10667 12.5 8C12.5 6.89333 11.6067 6 10.5 6Z",
18281
+ fill: "#3B5BDB"
18282
+ }), /*#__PURE__*/React.createElement("path", {
18283
+ fillRule: "evenodd",
18284
+ clipRule: "evenodd",
18285
+ d: "M10.5 14C9.39333 14 8.5 14.8933 8.5 16C8.5 17.1067 9.39333 18 10.5 18C11.6067 18 12.5 17.1067 12.5 16C12.5 14.8933 11.6067 14 10.5 14Z",
18286
+ fill: "#3B5BDB"
18287
+ }), /*#__PURE__*/React.createElement("path", {
18288
+ fillRule: "evenodd",
18289
+ clipRule: "evenodd",
18290
+ d: "M10.5 22C9.39333 22 8.5 22.9067 8.5 24C8.5 25.0933 9.40667 26 10.5 26C11.5933 26 12.5 25.0933 12.5 24C12.5 22.9067 11.6067 22 10.5 22Z",
18291
+ fill: "#3B5BDB"
18292
+ }));
18293
+ };
18294
+
18254
18295
  var color$2 = "#15749D";
18255
18296
  var hoverColor$1 = "#116285";
18256
18297
  var activeColor$1 = "#0E506D";
@@ -22077,6 +22118,14 @@ var fallbackValues$d = {
22077
22118
  disabledCheckedStyles: disabledCheckedStyles
22078
22119
  };
22079
22120
 
22121
+ var ARROW_LEFT = 37;
22122
+ var ARROW_UP = 38;
22123
+ var ARROW_RIGHT = 39;
22124
+ var ARROW_DOWN = 40;
22125
+ var ENTER = 13;
22126
+ var ESCAPE = 27;
22127
+ var SPACEBAR = 32;
22128
+
22080
22129
  var CheckboxContainer = styled.div.withConfig({
22081
22130
  displayName: "Checkbox__CheckboxContainer",
22082
22131
  componentId: "sc-36kqbv-0"
@@ -22147,7 +22196,7 @@ var Checkbox = function Checkbox(_ref4) {
22147
22196
  setFocused = _useState2[1];
22148
22197
 
22149
22198
  var handleClick = function handleClick(e, func) {
22150
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
22199
+ if (e.keyCode === ENTER) {
22151
22200
  func();
22152
22201
  }
22153
22202
  };
@@ -24053,10 +24102,9 @@ var Dropdown = function Dropdown(_ref13) {
24053
24102
  dataQa: "".concat(ariaLabelledby, "-dropdown")
24054
24103
  }, /*#__PURE__*/React.createElement(Box, {
24055
24104
  as: "input",
24056
- "aria-multiline": "false",
24057
24105
  autoComplete: autocompleteValue,
24058
24106
  "aria-controls": "".concat(ariaLabelledby, "_listbox"),
24059
- "aria-activedescendant": "focused_option",
24107
+ "aria-activedescendant": isOpen ? "focused_option" : undefined,
24060
24108
  "aria-owns": "".concat(ariaLabelledby, "_listbox"),
24061
24109
  "aria-haspopup": "listbox",
24062
24110
  "aria-labelledby": ariaLabelledby,
@@ -24120,7 +24168,7 @@ var Dropdown = function Dropdown(_ref13) {
24120
24168
  return handleItemSelection(e, choice, i);
24121
24169
  },
24122
24170
  onKeyDown: function onKeyDown(e) {
24123
- if (e.keyCode === 13) {
24171
+ if (e.keyCode === ENTER) {
24124
24172
  handleItemSelection(e, choice, i);
24125
24173
  }
24126
24174
  },
@@ -25486,7 +25534,7 @@ var Popover = function Popover(_ref) {
25486
25534
  handleTogglePopover(false);
25487
25535
  },
25488
25536
  onKeyDown: function onKeyDown(e) {
25489
- if (e.keyCode === 27) {
25537
+ if (e.keyCode === ESCAPE) {
25490
25538
  handleTogglePopover(false);
25491
25539
  }
25492
25540
  },
@@ -27381,8 +27429,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
27381
27429
  name = _ref2.name,
27382
27430
  _ref2$disabled = _ref2.disabled,
27383
27431
  disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
27384
- _ref2$ariaDescribedBy = _ref2.ariaDescribedBy,
27385
- ariaDescribedBy = _ref2$ariaDescribedBy === void 0 ? "" : _ref2$ariaDescribedBy,
27432
+ ariaDescribedBy = _ref2.ariaDescribedBy,
27386
27433
  themeValues = _ref2.themeValues,
27387
27434
  _ref2$ariaLabelledBy = _ref2.ariaLabelledBy,
27388
27435
  ariaLabelledBy = _ref2$ariaLabelledBy === void 0 ? "" : _ref2$ariaLabelledBy,
@@ -38298,7 +38345,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
38298
38345
  });
38299
38346
 
38300
38347
  var handleKeyDown = function handleKeyDown(e) {
38301
- if (e.keyCode === 13) {
38348
+ if (e.keyCode === ENTER) {
38302
38349
  onToggle();
38303
38350
  }
38304
38351
  };
@@ -39827,7 +39874,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
39827
39874
  extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
39828
39875
 
39829
39876
  var handleKeyDown = function handleKeyDown(e) {
39830
- if (e.keyCode === 13) {
39877
+ if (e.keyCode === ENTER) {
39831
39878
  toggleSection();
39832
39879
  }
39833
39880
  };
@@ -48634,6 +48681,7 @@ var fallbackValues$Q = {
48634
48681
  focusStyles: focusStyles
48635
48682
  };
48636
48683
 
48684
+ var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired"];
48637
48685
  /*
48638
48686
  Takes an array of section objects, each object should look like:
48639
48687
  {
@@ -48662,8 +48710,6 @@ var idString = function idString(section) {
48662
48710
  };
48663
48711
 
48664
48712
  var RadioSection = function RadioSection(_ref) {
48665
- var _sections$;
48666
-
48667
48713
  var themeValues = _ref.themeValues,
48668
48714
  isMobile = _ref.isMobile,
48669
48715
  supportsTouch = _ref.supportsTouch,
@@ -48682,12 +48728,39 @@ var RadioSection = function RadioSection(_ref) {
48682
48728
  containerStyles = _ref$containerStyles === void 0 ? "" : _ref$containerStyles,
48683
48729
  ariaDescribedBy = _ref.ariaDescribedBy,
48684
48730
  _ref$isSectionRequire = _ref.isSectionRequired,
48685
- isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire;
48686
- var areSectionsGrouped = typeof (sections === null || sections === void 0 ? void 0 : (_sections$ = sections[0]) === null || _sections$ === void 0 ? void 0 : _sections$[0]) !== "undefined";
48731
+ isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
48732
+ rest = _objectWithoutProperties(_ref, _excluded$z);
48733
+
48734
+ var _useState = useState(null),
48735
+ _useState2 = _slicedToArray(_useState, 2),
48736
+ focused = _useState2[0],
48737
+ setFocused = _useState2[1];
48738
+
48739
+ var sectionRefs = useRef(_toConsumableArray(Array(sections.length)).map(function () {
48740
+ return /*#__PURE__*/createRef();
48741
+ }));
48687
48742
 
48688
- var handleKeyDown = function handleKeyDown(id, e) {
48689
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13 || (e === null || e === void 0 ? void 0 : e.keyCode) === 32) {
48743
+ var handleKeyDown = function handleKeyDown(id, e, i) {
48744
+ if (e.currentTarget !== e.target) {
48745
+ return;
48746
+ } // Allow Enter and Space to select a section
48747
+
48748
+
48749
+ if (e.keyCode === ENTER || e.keyCode === SPACEBAR) {
48750
+ e.preventDefault();
48690
48751
  toggleOpenSection(id);
48752
+ } // Allow Up and Down arrow navigation between sections
48753
+
48754
+
48755
+ if (e.keyCode == ARROW_UP || e.keyCode == ARROW_DOWN || e.keyCode == ARROW_LEFT || e.keyCode == ARROW_RIGHT) {
48756
+ var _sectionRefs$current$, _sectionRefs$current$2, _sections$nextIndex, _sections$nextIndex2;
48757
+
48758
+ e.preventDefault();
48759
+ var indexIncrement = e.keyCode == ARROW_RIGHT || e.keyCode == ARROW_DOWN ? 1 : -1;
48760
+ var nextIndex = wrapIndex(i + indexIncrement, sections.length);
48761
+ sectionRefs === null || sectionRefs === void 0 ? void 0 : (_sectionRefs$current$ = sectionRefs.current[nextIndex]) === null || _sectionRefs$current$ === void 0 ? void 0 : (_sectionRefs$current$2 = _sectionRefs$current$.current) === null || _sectionRefs$current$2 === void 0 ? void 0 : _sectionRefs$current$2.focus();
48762
+ setFocused((_sections$nextIndex = sections[nextIndex]) === null || _sections$nextIndex === void 0 ? void 0 : _sections$nextIndex.id);
48763
+ toggleOpenSection((_sections$nextIndex2 = sections[nextIndex]) === null || _sections$nextIndex2 === void 0 ? void 0 : _sections$nextIndex2.id);
48691
48764
  }
48692
48765
  };
48693
48766
 
@@ -48726,44 +48799,41 @@ var RadioSection = function RadioSection(_ref) {
48726
48799
  var fade = _ref4.fade;
48727
48800
  return fade && "opacity: 0.4;";
48728
48801
  });
48729
-
48730
- var _useState = useState(null),
48731
- _useState2 = _slicedToArray(_useState, 2),
48732
- focused = _useState2[0],
48733
- setFocused = _useState2[1];
48734
-
48735
48802
  return /*#__PURE__*/React.createElement(Box, {
48736
48803
  padding: "1px",
48737
48804
  border: "1px solid ".concat(themeValues.borderColor),
48738
48805
  borderRadius: "4px",
48739
48806
  extraStyles: containerStyles
48740
- }, /*#__PURE__*/React.createElement(Stack, {
48807
+ }, /*#__PURE__*/React.createElement(Stack, _extends({
48741
48808
  childGap: "0",
48742
48809
  role: "radiogroup",
48743
48810
  "aria-required": isSectionRequired
48744
- }, !areSectionsGrouped && sections.filter(function (section) {
48811
+ }, rest), sections.filter(function (section) {
48745
48812
  return !section.hidden;
48746
- }).map(function (section) {
48813
+ }).map(function (section, i) {
48747
48814
  return /*#__PURE__*/React.createElement(Motion, {
48748
48815
  tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
48749
- onKeyDown: function onKeyDown(e) {
48750
- return !section.disabled && handleKeyDown(section.id, e);
48816
+ ref: sectionRefs.current[i],
48817
+ onBlur: function onBlur() {
48818
+ return !section.disabled && setFocused(null);
48751
48819
  },
48752
48820
  onFocus: function onFocus() {
48753
48821
  return !section.disabled && setFocused(section.id);
48754
48822
  },
48755
- onBlur: function onBlur() {
48756
- return !section.disabled && setFocused(null);
48823
+ onKeyDown: function onKeyDown(e) {
48824
+ return !section.disabled && handleKeyDown(section.id, e, i);
48757
48825
  },
48758
48826
  hoverStyles: themeValues.focusStyles,
48759
48827
  animate: openSection === section.id ? "open" : "closed",
48760
48828
  initial: initiallyOpen ? "open" : "closed",
48761
- key: "item-".concat(sections.indexOf(section)),
48829
+ key: "item-".concat(section.id),
48762
48830
  extraStyles: borderStyles,
48763
48831
  role: "radio",
48764
48832
  "aria-checked": openSection === section.id,
48765
48833
  "aria-disabled": section.disabled,
48766
- "aria-required": section === null || section === void 0 ? void 0 : section.required
48834
+ "aria-required": section.required,
48835
+ "aria-labelledby": section.id,
48836
+ "aria-describedby": "right-icons-".concat(idString(section))
48767
48837
  }, /*#__PURE__*/React.createElement(Stack, {
48768
48838
  childGap: "0"
48769
48839
  }, /*#__PURE__*/React.createElement(Box, {
@@ -48802,7 +48872,7 @@ var RadioSection = function RadioSection(_ref) {
48802
48872
  return toggleOpenSection(section.id);
48803
48873
  },
48804
48874
  tabIndex: "-1",
48805
- isRequired: section === null || section === void 0 ? void 0 : section.required
48875
+ isRequired: section.required
48806
48876
  })), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
48807
48877
  align: "center"
48808
48878
  }, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
@@ -48812,9 +48882,10 @@ var RadioSection = function RadioSection(_ref) {
48812
48882
  htmlFor: "radio-input-".concat(idString(section)),
48813
48883
  color: CHARADE_GREY
48814
48884
  }, section.title))), section.rightIcons && /*#__PURE__*/React.createElement(Cluster, {
48885
+ id: "right-icons-".concat(idString(section)),
48815
48886
  childGap: "0.5rem",
48816
- "aria-label": (section === null || section === void 0 ? void 0 : section.rightIconsLabel) || null,
48817
- role: (section === null || section === void 0 ? void 0 : section.rightIconsRole) || null
48887
+ "aria-label": section.rightIconsLabel || null,
48888
+ role: section.rightIconsRole || null
48818
48889
  }, section.rightIcons.map(function (icon) {
48819
48890
  return /*#__PURE__*/React.createElement(RightIcon, {
48820
48891
  src: icon.img,
@@ -48837,107 +48908,6 @@ var RadioSection = function RadioSection(_ref) {
48837
48908
  variants: wrapper,
48838
48909
  extraStyles: "transform-origin: 100% 0;"
48839
48910
  }, section.content))));
48840
- }), areSectionsGrouped && sections.map(function (sectionGroup) {
48841
- return sectionGroup.filter(function (section) {
48842
- return !section.hidden;
48843
- }).map(function (section) {
48844
- return /*#__PURE__*/React.createElement(Motion, {
48845
- tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
48846
- onKeyDown: function onKeyDown(e) {
48847
- return !section.disabled && handleKeyDown(section.id, e);
48848
- },
48849
- onFocus: function onFocus() {
48850
- return !section.disabled && setFocused(section.id);
48851
- },
48852
- onBlur: function onBlur() {
48853
- return !section.disabled && setFocused(null);
48854
- },
48855
- hoverStyles: themeValues.focusStyles,
48856
- animate: openSection === section.id ? "open" : "closed",
48857
- initial: initiallyOpen ? "open" : "closed",
48858
- key: "item-".concat(sections.indexOf(sectionGroup), "-").concat(sectionGroup.indexOf(section)),
48859
- extraStyles: borderStyles,
48860
- role: "radio",
48861
- "aria-checked": openSection === section.id,
48862
- "aria-disabled": section.disabled,
48863
- "aria-required": section === null || section === void 0 ? void 0 : section.required
48864
- }, /*#__PURE__*/React.createElement(Stack, {
48865
- childGap: "0"
48866
- }, /*#__PURE__*/React.createElement(Box, {
48867
- padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
48868
- background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
48869
- onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
48870
- return toggleOpenSection(section.id);
48871
- },
48872
- onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
48873
- return toggleOpenSection(section.id);
48874
- } : noop,
48875
- key: "header-".concat(section.id),
48876
- borderSize: "0px",
48877
- borderColor: themeValues.borderColor,
48878
- borderWidthOverride: openSection === section.id && !!section.content ? "0px 0px 1px 0px" : "",
48879
- extraStyles: !section.disabled ? "cursor: pointer;" : "",
48880
- dataQa: section.dataQa ? section.dataQa : section.id
48881
- }, /*#__PURE__*/React.createElement(Cluster, {
48882
- justify: "space-between",
48883
- align: "center",
48884
- childGap: "1px",
48885
- nowrap: true
48886
- }, /*#__PURE__*/React.createElement(Cluster, {
48887
- justify: "flex-start",
48888
- align: "center",
48889
- nowrap: true
48890
- }, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
48891
- padding: "0"
48892
- }, /*#__PURE__*/React.createElement(RadioButton$2, {
48893
- id: "radio-input-".concat(idString(section)),
48894
- name: idString(section),
48895
- ariaDescribedBy: ariaDescribedBy,
48896
- radioOn: openSection === section.id,
48897
- radioFocused: focused === section.id,
48898
- toggleRadio: section.disabled ? noop : function () {
48899
- return toggleOpenSection(section.id);
48900
- },
48901
- tabIndex: "-1",
48902
- isRequired: section === null || section === void 0 ? void 0 : section.required
48903
- })), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
48904
- align: "center"
48905
- }, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
48906
- padding: section.titleIcon ? "0 0 0 8px" : "0"
48907
- }, /*#__PURE__*/React.createElement(Text$1, {
48908
- as: "label",
48909
- htmlFor: "radio-input-".concat(idString(section)),
48910
- color: CHARADE_GREY
48911
- }, section.title))), section.rightIcons && /*#__PURE__*/React.createElement(Cluster, {
48912
- childGap: "0.5rem",
48913
- "aria-label": (section === null || section === void 0 ? void 0 : section.rightIconsLabel) || null,
48914
- role: (section === null || section === void 0 ? void 0 : section.rightIconsRole) || null
48915
- }, section.rightIcons.map(function (icon) {
48916
- return /*#__PURE__*/React.createElement(RightIcon, {
48917
- src: icon.img,
48918
- key: icon.img,
48919
- fade: !icon.enabled,
48920
- isMobile: isMobile,
48921
- alt: icon.altText,
48922
- "aria-disabled": !icon.enabled
48923
- });
48924
- })), section.rightTitleContent && /*#__PURE__*/React.createElement(Fragment$1, null, section.rightTitleContent))), /*#__PURE__*/React.createElement(AnimatePresence, {
48925
- initial: false
48926
- }, openSection === section.id && /*#__PURE__*/React.createElement(Motion, {
48927
- key: "content-".concat(section.id),
48928
- padding: "0",
48929
- background: themeValues.bodyBackgroundColor,
48930
- layoutTransition: true,
48931
- initial: "closed",
48932
- animate: "open",
48933
- exit: "closed",
48934
- variants: wrapper,
48935
- extraStyles: "transform-origin: 100% 0;"
48936
- }, section.content))), sectionGroup.indexOf(section) === sectionGroup.length - 1 && /*#__PURE__*/React.createElement(SolidDivider$1, {
48937
- borderSize: "2px",
48938
- borderColor: themeValues.borderColor
48939
- }));
48940
- });
48941
48911
  })));
48942
48912
  };
48943
48913
 
@@ -49871,5 +49841,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
49871
49841
  useToastNotification: useToastNotification
49872
49842
  });
49873
49843
 
49874
- export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$5 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$4 as hooks, index$6 as util, withWindowSize };
49844
+ export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$5 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$4 as hooks, index$6 as util, withWindowSize };
49875
49845
  //# sourceMappingURL=index.esm.js.map