@thecb/components 9.0.3-beta.7 → 9.0.3-beta.9

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
@@ -48510,7 +48510,9 @@ var RadioSection = function RadioSection(_ref) {
48510
48510
  ariaDescribedBy = _ref.ariaDescribedBy,
48511
48511
  _ref$rightContentRole = _ref.rightContentRole,
48512
48512
  rightContentRole = _ref$rightContentRole === void 0 ? null : _ref$rightContentRole,
48513
- _ref$ariaLabel = _ref.ariaLabel;
48513
+ _ref$ariaLabel = _ref.ariaLabel,
48514
+ _ref$rightIconsLabel = _ref.rightIconsLabel,
48515
+ rightIconsLabel = _ref$rightIconsLabel === void 0 ? null : _ref$rightIconsLabel;
48514
48516
 
48515
48517
  var handleKeyDown = function handleKeyDown(id, e) {
48516
48518
  if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13 || (e === null || e === void 0 ? void 0 : e.keyCode) === 32) {
@@ -48636,9 +48638,10 @@ var RadioSection = function RadioSection(_ref) {
48636
48638
  color: CHARADE_GREY,
48637
48639
  htmlFor: "radio-input-".concat(computeSectionId(section))
48638
48640
  }, section.title))), section.rightIcons && /*#__PURE__*/React__default.createElement(Cluster, {
48639
- childGap: "0.5rem",
48641
+ childGap: "0.5rem"
48642
+ }, /*#__PURE__*/React__default.createElement("div", rightIconsLabel !== null ? {
48640
48643
  "aria-label": rightIconsLabel
48641
- }, section.rightIcons.map(function (icon) {
48644
+ } : {}, section.rightIcons.map(function (icon) {
48642
48645
  return /*#__PURE__*/React__default.createElement(RightIcon, _extends({
48643
48646
  src: icon.img,
48644
48647
  key: icon.img,
@@ -48648,7 +48651,7 @@ var RadioSection = function RadioSection(_ref) {
48648
48651
  }, rightContentRole !== null ? {
48649
48652
  role: rightContentRole || "presentation"
48650
48653
  } : {}));
48651
- })), section.rightTitleContent && /*#__PURE__*/React__default.createElement(React.Fragment, null, section.rightTitleContent))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
48654
+ }))), section.rightTitleContent && /*#__PURE__*/React__default.createElement(React.Fragment, null, section.rightTitleContent))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
48652
48655
  initial: false
48653
48656
  }, openSection === section.id && /*#__PURE__*/React__default.createElement(Motion, {
48654
48657
  key: "content-".concat(section.id),