@thecb/components 9.2.4-beta.4 → 9.2.4-beta.5

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
@@ -48743,11 +48743,12 @@ var RadioSection = function RadioSection(_ref) {
48743
48743
  }, /*#__PURE__*/React__default.createElement(Stack, {
48744
48744
  childGap: "0",
48745
48745
  role: "radiogroup",
48746
- required: isRequired
48746
+ required: isRequired,
48747
+ id: "cristin"
48747
48748
  }, sections.filter(function (section) {
48748
48749
  return !section.hidden;
48749
48750
  }).map(function (section) {
48750
- return /*#__PURE__*/React__default.createElement(Motion, {
48751
+ return console.log("section", section) || /*#__PURE__*/React__default.createElement(Motion, {
48751
48752
  tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
48752
48753
  onKeyDown: function onKeyDown(e) {
48753
48754
  return !section.disabled && handleKeyDown(section.id, e);
@@ -48764,10 +48765,10 @@ var RadioSection = function RadioSection(_ref) {
48764
48765
  key: "item-".concat(section.id),
48765
48766
  extraStyles: borderStyles,
48766
48767
  role: "radio",
48767
- "aria-label": section.title,
48768
+ "aria-label": section.title || console.log("typeof section.title", _typeof(section.title)),
48768
48769
  "aria-checked": openSection === section.id,
48769
48770
  "aria-disabled": section.disabled,
48770
- required: (section === null || section === void 0 ? void 0 : section.required) || isRequired
48771
+ required: section === null || section === void 0 ? void 0 : section.required
48771
48772
  }, /*#__PURE__*/React__default.createElement(Stack, {
48772
48773
  childGap: "0"
48773
48774
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -48806,7 +48807,7 @@ var RadioSection = function RadioSection(_ref) {
48806
48807
  return toggleOpenSection(section.id);
48807
48808
  },
48808
48809
  tabIndex: "-1",
48809
- required: (section === null || section === void 0 ? void 0 : section.required) || isRequired
48810
+ required: section === null || section === void 0 ? void 0 : section.required
48810
48811
  })), section.titleIcon && /*#__PURE__*/React__default.createElement(Cluster, {
48811
48812
  align: "center"
48812
48813
  }, section.titleIcon), /*#__PURE__*/React__default.createElement(Box, {