@thecb/components 9.0.3-beta.5 → 9.0.3-beta.6

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.cjs.js CHANGED
@@ -48507,7 +48507,9 @@ var RadioSection = function RadioSection(_ref) {
48507
48507
  openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight,
48508
48508
  _ref$containerStyles = _ref.containerStyles,
48509
48509
  containerStyles = _ref$containerStyles === void 0 ? "" : _ref$containerStyles,
48510
- ariaDescribedBy = _ref.ariaDescribedBy;
48510
+ ariaDescribedBy = _ref.ariaDescribedBy,
48511
+ _ref$rightContentRole = _ref.rightContentRole,
48512
+ rightContentRole = _ref$rightContentRole === void 0 ? null : _ref$rightContentRole;
48511
48513
 
48512
48514
  var handleKeyDown = function handleKeyDown(id, e) {
48513
48515
  if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13 || (e === null || e === void 0 ? void 0 : e.keyCode) === 32) {
@@ -48635,13 +48637,15 @@ var RadioSection = function RadioSection(_ref) {
48635
48637
  }, section.title))), section.rightIcons && /*#__PURE__*/React__default.createElement(Cluster, {
48636
48638
  childGap: "0.5rem"
48637
48639
  }, section.rightIcons.map(function (icon) {
48638
- return /*#__PURE__*/React__default.createElement(RightIcon, {
48640
+ return /*#__PURE__*/React__default.createElement(RightIcon, _extends({
48639
48641
  src: icon.img,
48640
48642
  key: icon.img,
48641
48643
  fade: !icon.enabled,
48642
48644
  isMobile: isMobile,
48643
48645
  alt: icon.altText
48644
- });
48646
+ }, rightContentRole !== null ? {
48647
+ role: rightContentRole || "presentation"
48648
+ } : {}));
48645
48649
  })), section.rightTitleContent && /*#__PURE__*/React__default.createElement(React.Fragment, null, section.rightTitleContent))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
48646
48650
  initial: false
48647
48651
  }, openSection === section.id && /*#__PURE__*/React__default.createElement(Motion, {