@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.esm.js
CHANGED
|
@@ -48499,7 +48499,9 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48499
48499
|
openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight,
|
|
48500
48500
|
_ref$containerStyles = _ref.containerStyles,
|
|
48501
48501
|
containerStyles = _ref$containerStyles === void 0 ? "" : _ref$containerStyles,
|
|
48502
|
-
ariaDescribedBy = _ref.ariaDescribedBy
|
|
48502
|
+
ariaDescribedBy = _ref.ariaDescribedBy,
|
|
48503
|
+
_ref$rightContentRole = _ref.rightContentRole,
|
|
48504
|
+
rightContentRole = _ref$rightContentRole === void 0 ? null : _ref$rightContentRole;
|
|
48503
48505
|
|
|
48504
48506
|
var handleKeyDown = function handleKeyDown(id, e) {
|
|
48505
48507
|
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13 || (e === null || e === void 0 ? void 0 : e.keyCode) === 32) {
|
|
@@ -48627,13 +48629,15 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48627
48629
|
}, section.title))), section.rightIcons && /*#__PURE__*/React.createElement(Cluster, {
|
|
48628
48630
|
childGap: "0.5rem"
|
|
48629
48631
|
}, section.rightIcons.map(function (icon) {
|
|
48630
|
-
return /*#__PURE__*/React.createElement(RightIcon, {
|
|
48632
|
+
return /*#__PURE__*/React.createElement(RightIcon, _extends({
|
|
48631
48633
|
src: icon.img,
|
|
48632
48634
|
key: icon.img,
|
|
48633
48635
|
fade: !icon.enabled,
|
|
48634
48636
|
isMobile: isMobile,
|
|
48635
48637
|
alt: icon.altText
|
|
48636
|
-
}
|
|
48638
|
+
}, rightContentRole !== null ? {
|
|
48639
|
+
role: rightContentRole || "presentation"
|
|
48640
|
+
} : {}));
|
|
48637
48641
|
})), section.rightTitleContent && /*#__PURE__*/React.createElement(Fragment$1, null, section.rightTitleContent))), /*#__PURE__*/React.createElement(AnimatePresence, {
|
|
48638
48642
|
initial: false
|
|
48639
48643
|
}, openSection === section.id && /*#__PURE__*/React.createElement(Motion, {
|