@thecb/components 9.0.3-beta.6 → 9.0.3-beta.8
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
|
@@ -48509,7 +48509,10 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48509
48509
|
containerStyles = _ref$containerStyles === void 0 ? "" : _ref$containerStyles,
|
|
48510
48510
|
ariaDescribedBy = _ref.ariaDescribedBy,
|
|
48511
48511
|
_ref$rightContentRole = _ref.rightContentRole,
|
|
48512
|
-
rightContentRole = _ref$rightContentRole === void 0 ? null : _ref$rightContentRole
|
|
48512
|
+
rightContentRole = _ref$rightContentRole === void 0 ? null : _ref$rightContentRole,
|
|
48513
|
+
_ref$ariaLabel = _ref.ariaLabel,
|
|
48514
|
+
_ref$rightIconsLabel = _ref.rightIconsLabel,
|
|
48515
|
+
rightIconsLabel = _ref$rightIconsLabel === void 0 ? null : _ref$rightIconsLabel;
|
|
48513
48516
|
|
|
48514
48517
|
var handleKeyDown = function handleKeyDown(id, e) {
|
|
48515
48518
|
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13 || (e === null || e === void 0 ? void 0 : e.keyCode) === 32) {
|
|
@@ -48635,7 +48638,8 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48635
48638
|
color: CHARADE_GREY,
|
|
48636
48639
|
htmlFor: "radio-input-".concat(computeSectionId(section))
|
|
48637
48640
|
}, section.title))), section.rightIcons && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48638
|
-
childGap: "0.5rem"
|
|
48641
|
+
childGap: "0.5rem",
|
|
48642
|
+
"aria-label": rightIconsLabel
|
|
48639
48643
|
}, section.rightIcons.map(function (icon) {
|
|
48640
48644
|
return /*#__PURE__*/React__default.createElement(RightIcon, _extends({
|
|
48641
48645
|
src: icon.img,
|