@thecb/components 7.8.0 → 7.8.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -5007,7 +5007,9 @@ var INFO_BLUE = "#E4F4FD";
5007
5007
  var HOVER_LIGHT_BLUE = "#EFFAFF";
5008
5008
  var MATISSE_BLUE = "#15749D";
5009
5009
  var ROYAL_BLUE = "#3181E3";
5010
- var ASTRAL_BLUE = "#3176AA"; // GREEN
5010
+ var ASTRAL_BLUE = "#3176AA";
5011
+ var SAPPHIRE_BLUE = "#116285";
5012
+ var PEACOCK_BLUE = "#0E506D"; // GREEN
5011
5013
 
5012
5014
  var FOREST_GREEN = "#19b03F";
5013
5015
  var MEADOW_GREEN = "#16C98D";
@@ -5030,6 +5032,7 @@ var RED = "#FF0000";
5030
5032
  var CRIMSON_RED = "#ED1C24";
5031
5033
  var THUNDERBIRD_RED = "#C3191F";
5032
5034
  var RAZZMATAZZ_RED = "#D11053";
5035
+ var RASPBERRY = "#ED125F";
5033
5036
  var FANTASY_RED = "#FCF4F4";
5034
5037
  var COSMOS_RED = "#FFD0D3";
5035
5038
  var BLUSH_RED = "#FFF0F5"; // Second level color constants
@@ -5114,6 +5117,8 @@ var colors = /*#__PURE__*/Object.freeze({
5114
5117
  MATISSE_BLUE: MATISSE_BLUE,
5115
5118
  ROYAL_BLUE: ROYAL_BLUE,
5116
5119
  ASTRAL_BLUE: ASTRAL_BLUE,
5120
+ SAPPHIRE_BLUE: SAPPHIRE_BLUE,
5121
+ PEACOCK_BLUE: PEACOCK_BLUE,
5117
5122
  FOREST_GREEN: FOREST_GREEN,
5118
5123
  MEADOW_GREEN: MEADOW_GREEN,
5119
5124
  POLAR_GREEN: POLAR_GREEN,
@@ -5135,6 +5140,7 @@ var colors = /*#__PURE__*/Object.freeze({
5135
5140
  FANTASY_RED: FANTASY_RED,
5136
5141
  COSMOS_RED: COSMOS_RED,
5137
5142
  BLUSH_RED: BLUSH_RED,
5143
+ RASPBERRY: RASPBERRY,
5138
5144
  ALERT_COLORS: ALERT_COLORS,
5139
5145
  ERROR_COLOR: ERROR_COLOR
5140
5146
  });
@@ -6659,7 +6665,7 @@ var ClusterInnerWrapper = styled.div.withConfig({
6659
6665
  return childGap;
6660
6666
  });
6661
6667
 
6662
- var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"];
6668
+ var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children", "innerWrapperAs"];
6663
6669
  /*
6664
6670
  Cluster components suit any groups of elements that differ in
6665
6671
  length and are liable to wrap. Buttons that appear together at the
@@ -6683,6 +6689,8 @@ var Cluster = function Cluster(_ref) {
6683
6689
  flexGrow = _ref.flexGrow,
6684
6690
  extraStyles = _ref.extraStyles,
6685
6691
  children = _ref.children,
6692
+ _ref$innerWrapperAs = _ref.innerWrapperAs,
6693
+ innerWrapperAs = _ref$innerWrapperAs === void 0 ? "div" : _ref$innerWrapperAs,
6686
6694
  rest = _objectWithoutProperties(_ref, _excluded$6);
6687
6695
 
6688
6696
  return /*#__PURE__*/React.createElement(ClusterWrapper, _extends({
@@ -6698,7 +6706,8 @@ var Cluster = function Cluster(_ref) {
6698
6706
  childGap: childGap,
6699
6707
  minHeight: minHeight,
6700
6708
  minWidth: minWidth,
6701
- $nowrap: nowrap
6709
+ $nowrap: nowrap,
6710
+ as: innerWrapperAs
6702
6711
  }, safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null))));
6703
6712
  };
6704
6713
 
@@ -12535,10 +12544,6 @@ var Reel = function Reel(_ref) {
12535
12544
  }), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
12536
12545
  };
12537
12546
 
12538
- /*
12539
- For now I'm using string values, eventually shared components library will have its own constants file
12540
- for colors/values that should be used here instead
12541
- */
12542
12547
  var padding = {
12543
12548
  primary: "0.75rem 1.5rem",
12544
12549
  secondary: "0.75rem 1.5rem",
@@ -12554,18 +12559,18 @@ var padding = {
12554
12559
  whitePrimary: "1.125rem 0.75rem"
12555
12560
  };
12556
12561
  var color$1 = {
12557
- primary: "#FFFFFF",
12558
- secondary: "#15749D",
12559
- back: "#15749D",
12560
- smallPrimary: "#FFFFFF",
12561
- smallSecondary: "#15749D",
12562
- smallGhost: "#15749D",
12563
- ghost: "#15749D",
12564
- tertiary: "#15749D",
12565
- danger: "#FFFFFF",
12566
- dangerSecondary: "#D11053",
12567
- whiteSecondary: "#FFFFFF",
12568
- whitePrimary: "#FFFFFF"
12562
+ primary: WHITE,
12563
+ secondary: MATISSE_BLUE,
12564
+ back: MATISSE_BLUE,
12565
+ smallPrimary: WHITE,
12566
+ smallSecondary: MATISSE_BLUE,
12567
+ smallGhost: MATISSE_BLUE,
12568
+ ghost: MATISSE_BLUE,
12569
+ tertiary: MATISSE_BLUE,
12570
+ danger: WHITE,
12571
+ dangerSecondary: ERROR_COLOR,
12572
+ whiteSecondary: WHITE,
12573
+ whitePrimary: WHITE
12569
12574
  };
12570
12575
  var fontSizeVariant = {
12571
12576
  primary: "pS",
@@ -12624,116 +12629,116 @@ var minWidth = {
12624
12629
  whitePrimary: "130px"
12625
12630
  };
12626
12631
  var backgroundColor = {
12627
- primary: "#15749D",
12628
- secondary: "transparent",
12629
- back: "transparent",
12630
- smallPrimary: "#15749D",
12631
- smallSecondary: "transparent",
12632
- smallGhost: "transparent",
12633
- ghost: "transparent",
12634
- tertiary: "transparent",
12635
- danger: "#ED125F",
12636
- dangerSecondary: "transparent",
12637
- whiteSecondary: "transparent",
12638
- whitePrimary: "transparent"
12632
+ primary: MATISSE_BLUE,
12633
+ secondary: TRANSPARENT,
12634
+ back: TRANSPARENT,
12635
+ smallPrimary: MATISSE_BLUE,
12636
+ smallSecondary: TRANSPARENT,
12637
+ smallGhost: TRANSPARENT,
12638
+ ghost: TRANSPARENT,
12639
+ tertiary: TRANSPARENT,
12640
+ danger: RASPBERRY,
12641
+ dangerSecondary: TRANSPARENT,
12642
+ whiteSecondary: TRANSPARENT,
12643
+ whitePrimary: TRANSPARENT
12639
12644
  };
12640
12645
  var border = {
12641
- primary: "2px solid #15749D",
12642
- secondary: "2px solid #15749D",
12643
- back: "2px solid #15749D",
12644
- smallPrimary: "2px solid #15749D",
12645
- smallSecondary: "2px solid #15749D",
12646
+ primary: "2px solid " + MATISSE_BLUE,
12647
+ secondary: "2px solid " + MATISSE_BLUE,
12648
+ back: "2px solid " + MATISSE_BLUE,
12649
+ smallPrimary: "2px solid " + MATISSE_BLUE,
12650
+ smallSecondary: "2px solid " + MATISSE_BLUE,
12646
12651
  smallGhost: "none",
12647
12652
  ghost: "none",
12648
12653
  tertiary: "none",
12649
- danger: "2px solid #ED125F",
12650
- dangerSecondary: "2px solid #D11053",
12651
- whiteSecondary: "2px solid white",
12652
- whitePrimary: "2px solid transparent"
12654
+ danger: "2px solid " + RASPBERRY,
12655
+ dangerSecondary: "2px solid " + ERROR_COLOR,
12656
+ whiteSecondary: "2px solid " + WHITE,
12657
+ whitePrimary: "2px solid " + TRANSPARENT
12653
12658
  };
12654
12659
  var hoverBackgroundColor = {
12655
- primary: "#116285",
12660
+ primary: SAPPHIRE_BLUE,
12656
12661
  secondary: "#DBEAF0",
12657
- back: "transparent",
12658
- smallPrimary: "#116285",
12662
+ back: TRANSPARENT,
12663
+ smallPrimary: SAPPHIRE_BLUE,
12659
12664
  smallSecondary: "#DBEAF0",
12660
- smallGhost: "transparent",
12661
- ghost: "transparent",
12662
- tertiary: "transparent",
12665
+ smallGhost: TRANSPARENT,
12666
+ ghost: TRANSPARENT,
12667
+ tertiary: TRANSPARENT,
12663
12668
  danger: "#BA002C",
12664
- dangerSecondary: "transparent",
12665
- whiteSecondary: "transparent",
12666
- whitePrimary: "transparent"
12669
+ dangerSecondary: "#FAE7EE",
12670
+ whiteSecondary: TRANSPARENT,
12671
+ whitePrimary: TRANSPARENT
12667
12672
  };
12668
12673
  var hoverBorderColor = {
12669
- primary: "#116285",
12670
- secondary: "#15749D",
12674
+ primary: SAPPHIRE_BLUE,
12675
+ secondary: MATISSE_BLUE,
12671
12676
  back: "#DCEAF1",
12672
- smallPrimary: "#116285",
12673
- smallSecondary: "#15749D",
12674
- smallGhost: "transparent",
12675
- ghost: "transparent",
12676
- tertiary: "transparent",
12677
+ smallPrimary: SAPPHIRE_BLUE,
12678
+ smallSecondary: MATISSE_BLUE,
12679
+ smallGhost: TRANSPARENT,
12680
+ ghost: TRANSPARENT,
12681
+ tertiary: TRANSPARENT,
12677
12682
  danger: "#BA002C",
12678
12683
  dangerSecondary: "#B10541",
12679
- whiteSecondary: "2px solid transparent",
12680
- whitePrimary: "2px solid transparent"
12684
+ whiteSecondary: "2px solid " + TRANSPARENT,
12685
+ whitePrimary: "2px solid " + TRANSPARENT
12681
12686
  };
12682
12687
  var hoverColor = {
12683
- primary: "#FFFFFF",
12684
- secondary: "#116285",
12685
- back: "#116285",
12686
- smallPrimary: "#FFFFFF",
12687
- smallSecondary: "#116285",
12688
- smallGhost: "#116285",
12689
- ghost: "#116285",
12690
- tertiary: "#116285",
12691
- danger: "#FFFFFF",
12688
+ primary: WHITE,
12689
+ secondary: SAPPHIRE_BLUE,
12690
+ back: SAPPHIRE_BLUE,
12691
+ smallPrimary: WHITE,
12692
+ smallSecondary: SAPPHIRE_BLUE,
12693
+ smallGhost: SAPPHIRE_BLUE,
12694
+ ghost: SAPPHIRE_BLUE,
12695
+ tertiary: SAPPHIRE_BLUE,
12696
+ danger: WHITE,
12692
12697
  dangerSecondary: "#B10541",
12693
- whiteSecondary: "#FFFFFF",
12694
- whitePrimary: "#FFFFFF"
12698
+ whiteSecondary: WHITE,
12699
+ whitePrimary: WHITE
12695
12700
  };
12696
12701
  var activeBackgroundColor = {
12697
- primary: "#0E506D",
12702
+ primary: PEACOCK_BLUE,
12698
12703
  secondary: "#B8D5E1",
12699
- back: "transparent",
12700
- smallPrimary: "#0E506D",
12704
+ back: TRANSPARENT,
12705
+ smallPrimary: PEACOCK_BLUE,
12701
12706
  smallSecondary: "#B8D5E1",
12702
- smallGhost: "transparent",
12703
- ghost: "transparent",
12704
- tertiary: "transparent",
12707
+ smallGhost: TRANSPARENT,
12708
+ ghost: TRANSPARENT,
12709
+ tertiary: TRANSPARENT,
12705
12710
  danger: "#870000",
12706
- dangerSecondary: "transparent",
12707
- whiteSecondary: "transparent",
12708
- whitePrimary: "transparent"
12711
+ dangerSecondary: "#FAE7EE",
12712
+ whiteSecondary: TRANSPARENT,
12713
+ whitePrimary: TRANSPARENT
12709
12714
  };
12710
12715
  var activeBorderColor = {
12711
- primary: "#0E506D",
12712
- secondary: "#15749D",
12713
- back: "#0E506D",
12714
- smallPrimary: "#0E506D",
12715
- smallSecondary: "#15749D",
12716
- smallGhost: "transparent",
12717
- ghost: "transparent",
12718
- tertiary: "transparent",
12716
+ primary: PEACOCK_BLUE,
12717
+ secondary: MATISSE_BLUE,
12718
+ back: PEACOCK_BLUE,
12719
+ smallPrimary: PEACOCK_BLUE,
12720
+ smallSecondary: MATISSE_BLUE,
12721
+ smallGhost: TRANSPARENT,
12722
+ ghost: TRANSPARENT,
12723
+ tertiary: TRANSPARENT,
12719
12724
  danger: "#870000",
12720
12725
  dangerSecondary: "#910029",
12721
- whiteSecondary: "2px solid transparent",
12722
- whitePrimary: "2px solid transparent"
12726
+ whiteSecondary: "2px solid " + TRANSPARENT,
12727
+ whitePrimary: "2px solid " + TRANSPARENT
12723
12728
  };
12724
12729
  var activeColor = {
12725
- primary: "#FFFFFF",
12726
- secondary: "#15749D",
12727
- back: "#0E506D",
12728
- smallPrimary: "#FFFFFF",
12729
- smallSecondary: "#0E506D",
12730
- smallGhost: "#0E506D",
12731
- ghost: "#0E506D",
12732
- tertiary: "#0E506D",
12733
- danger: "#FFFFFF",
12730
+ primary: WHITE,
12731
+ secondary: MATISSE_BLUE,
12732
+ back: PEACOCK_BLUE,
12733
+ smallPrimary: WHITE,
12734
+ smallSecondary: PEACOCK_BLUE,
12735
+ smallGhost: PEACOCK_BLUE,
12736
+ ghost: PEACOCK_BLUE,
12737
+ tertiary: PEACOCK_BLUE,
12738
+ danger: WHITE,
12734
12739
  dangerSecondary: "#910029",
12735
- whiteSecondary: "#FFFFFF",
12736
- whitePrimary: "#FFFFFF"
12740
+ whiteSecondary: WHITE,
12741
+ whitePrimary: WHITE
12737
12742
  };
12738
12743
  var fallbackValues$1 = {
12739
12744
  padding: padding,
@@ -40324,13 +40329,15 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
40324
40329
  maxWidth: "76.5rem"
40325
40330
  }, /*#__PURE__*/React.createElement(Reel, {
40326
40331
  padding: "0",
40327
- childGap: "4.5rem",
40332
+ childGap: "0",
40328
40333
  childWidth: "11rem",
40329
40334
  justifyContent: "space-evenly",
40330
40335
  disableScroll: true,
40331
40336
  useOrderedList: useOrderedList,
40332
40337
  useUnorderedList: useUnorderedList
40333
40338
  }, repeat( /*#__PURE__*/React.createElement(Box, null), boxesBefore), tabs.map(function (t, i) {
40339
+ var _t$toLowerCase;
40340
+
40334
40341
  return /*#__PURE__*/React.createElement(Box, {
40335
40342
  key: t,
40336
40343
  borderSize: "3px",
@@ -40338,7 +40345,8 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
40338
40345
  borderWidthOverride: "0 0 3px 0",
40339
40346
  extraStyles: "text-align: center; display: block;",
40340
40347
  as: "li",
40341
- "aria-current": highlightIndex == i ? "step" : ""
40348
+ "aria-current": highlightIndex == i ? "step" : "",
40349
+ id: "".concat(t === null || t === void 0 ? void 0 : (_t$toLowerCase = t.toLowerCase()) === null || _t$toLowerCase === void 0 ? void 0 : _t$toLowerCase.replace(/\s/g, "-"), "-tab")
40342
40350
  }, /*#__PURE__*/React.createElement(Text$1, {
40343
40351
  variant: "p",
40344
40352
  textAlign: "center",
@@ -40349,7 +40357,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
40349
40357
  }), repeat( /*#__PURE__*/React.createElement(Box, null), boxesAfter))));
40350
40358
  };
40351
40359
 
40352
- var HighlightTabRow$1 = /*#__PURE__*/memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$F));
40360
+ var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$F);
40353
40361
 
40354
40362
  var AccountBillIcon = function AccountBillIcon() {
40355
40363
  return /*#__PURE__*/React.createElement("svg", {
@@ -45538,19 +45546,28 @@ var Module = function Module(_ref) {
45538
45546
  variant = _ref$variant === void 0 ? "default" : _ref$variant,
45539
45547
  fontSize = _ref.fontSize,
45540
45548
  as = _ref.as,
45549
+ _ref$titleID = _ref.titleID,
45550
+ titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
45551
+ rightTitleContent = _ref.rightTitleContent,
45541
45552
  children = _ref.children;
45542
45553
  var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
45543
45554
  var computedFontSize = fontSize || themedFontSize;
45544
45555
  var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
45545
45556
  var computedElemType = as || themedElemType;
45546
- return /*#__PURE__*/React.createElement(Fragment$1, null, heading && /*#__PURE__*/React.createElement(Title$1, {
45557
+ var headingText = /*#__PURE__*/React.createElement(Title$1, {
45547
45558
  weight: themeValues.fontWeight,
45548
45559
  color: themeValues.fontColor,
45549
45560
  margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
45550
45561
  textAlign: themeValues.textAlign,
45551
45562
  as: computedElemType,
45552
- extraStyles: "font-size: ".concat(computedFontSize, ";")
45553
- }, heading), /*#__PURE__*/React.createElement(Box, {
45563
+ extraStyles: "font-size: ".concat(computedFontSize, ";"),
45564
+ id: titleID
45565
+ }, heading);
45566
+ return /*#__PURE__*/React.createElement(Fragment$1, null, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React.createElement(Cluster, {
45567
+ justify: "space-between",
45568
+ align: "center",
45569
+ nowrap: true
45570
+ }, headingText, rightTitleContent), /*#__PURE__*/React.createElement(Box, {
45554
45571
  padding: "0 0 ".concat(spacingBottom)
45555
45572
  }, /*#__PURE__*/React.createElement(Box, {
45556
45573
  padding: padding,
@@ -46536,6 +46553,7 @@ var PrevNextPlaceholder = function PrevNextPlaceholder(_ref) {
46536
46553
 
46537
46554
  var PrevNextButton = function PrevNextButton(_ref2) {
46538
46555
  var action = _ref2.action,
46556
+ ariaLabel = _ref2.ariaLabel,
46539
46557
  arrowColor = _ref2.arrowColor,
46540
46558
  borderRadius = _ref2.borderRadius,
46541
46559
  buttonHeight = _ref2.buttonHeight,
@@ -46545,12 +46563,14 @@ var PrevNextButton = function PrevNextButton(_ref2) {
46545
46563
  return /*#__PURE__*/React.createElement(Box, {
46546
46564
  padding: "0",
46547
46565
  minHeight: buttonHeight,
46548
- extraStyles: "max-height: ".concat(buttonHeight, ";")
46566
+ extraStyles: "max-height: ".concat(buttonHeight, ";"),
46567
+ as: "li"
46549
46568
  }, /*#__PURE__*/React.createElement(ButtonWithAction, {
46550
46569
  action: action,
46551
46570
  contentOverride: true,
46552
46571
  dataQa: type,
46553
- extraStyles: "\n background-color: ".concat(numberColor, ";\n border-color: ").concat(numberColor, ";\n border-radius: ").concat(borderRadius, ";\n margin: 0;\n max-height: ").concat(buttonHeight, ";\n min-height: 100%;\n min-width: ").concat(buttonWidth, ";\n padding: 0;\n &:focus {\n outline: none\n }\n ")
46572
+ "aria-label": ariaLabel,
46573
+ extraStyles: "\n background-color: ".concat(numberColor, ";\n border-color: ").concat(numberColor, ";\n border-radius: ").concat(borderRadius, ";\n margin: 0;\n max-height: ").concat(buttonHeight, ";\n min-height: 100%;\n min-width: ").concat(buttonWidth, ";\n padding: 0;\n ")
46554
46574
  }, /*#__PURE__*/React.createElement(Box, {
46555
46575
  padding: "0",
46556
46576
  extraStyles: type === "prev" && "transform: scaleX(-1)"
@@ -46633,13 +46653,18 @@ var Pagination = function Pagination(_ref3) {
46633
46653
  var _useContext = useContext(ThemeContext),
46634
46654
  isMobile = _useContext.isMobile;
46635
46655
 
46636
- var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\n > * > span {\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, "\n }\n margin: 0;\n &:hover {\n background-color: ").concat(themeValues.hoverBackgroundColor, "\n }\n &:focus {\n outline: none\n }\n ");
46656
+ var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\n > * > span {\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, "\n }\n margin: 0;\n &:hover {\n background-color: ").concat(themeValues.hoverBackgroundColor, "\n }\n ");
46637
46657
  var extraDisabledStyles = "\n border: ".concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.activeColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n &:focus {\n box-shadow: none;\n }\n &:hover {\n background-color: initial;\n }\n ");
46638
46658
  return /*#__PURE__*/React.createElement(Cluster, {
46639
46659
  justify: "center",
46640
- childGap: childGap
46660
+ childGap: childGap,
46661
+ overflow: true,
46662
+ as: "nav",
46663
+ innerWrapperAs: "ul",
46664
+ extraStyles: "> ul { padding: 0px; > li { list-style-type: none; } };"
46641
46665
  }, currentPage > 1 ? /*#__PURE__*/React.createElement(PrevNextButton, {
46642
46666
  action: pagePrevious,
46667
+ ariaLabel: "Previous Page Button",
46643
46668
  arrowColor: arrowColor !== null && arrowColor !== void 0 ? arrowColor : themeValues.arrowColor,
46644
46669
  borderRadius: borderRadius,
46645
46670
  buttonHeight: buttonHeight,
@@ -46661,13 +46686,16 @@ var Pagination = function Pagination(_ref3) {
46661
46686
  }, "".concat(currentPage, " of ").concat(pageCount)))) : getPagesPanel(currentPage, pageCount).map(function (item, index) {
46662
46687
  return item.isButton ? /*#__PURE__*/React.createElement(Box, {
46663
46688
  padding: "0",
46664
- extraStyles: "max-height: ".concat(buttonHeight, ";")
46689
+ extraStyles: "max-height: ".concat(buttonHeight, ";"),
46690
+ as: "li"
46665
46691
  }, /*#__PURE__*/React.createElement(ButtonWithAction, {
46666
46692
  variant: "ghost",
46667
46693
  key: item.index,
46668
46694
  text: item.index,
46669
46695
  disabled: item.active,
46670
46696
  extraDisabledStyles: extraDisabledStyles,
46697
+ "aria-current": item.active ? "page" : undefined,
46698
+ "aria-label": "".concat(item.active ? "Current " : "", "Page ").concat(item.index, " Button"),
46671
46699
  action: !item.active ? function () {
46672
46700
  return setCurrentPage({
46673
46701
  pageNumber: item.index
@@ -46688,6 +46716,7 @@ var Pagination = function Pagination(_ref3) {
46688
46716
  }, "...")));
46689
46717
  }), currentPage < pageCount ? /*#__PURE__*/React.createElement(PrevNextButton, {
46690
46718
  action: pageNext,
46719
+ ariaLabel: "Next Page Button",
46691
46720
  arrowColor: arrowColor !== null && arrowColor !== void 0 ? arrowColor : themeValues.arrowColor,
46692
46721
  borderRadius: borderRadius,
46693
46722
  buttonHeight: buttonHeight,