@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.esm.js
CHANGED
|
@@ -48735,11 +48735,12 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48735
48735
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48736
48736
|
childGap: "0",
|
|
48737
48737
|
role: "radiogroup",
|
|
48738
|
-
required: isRequired
|
|
48738
|
+
required: isRequired,
|
|
48739
|
+
id: "cristin"
|
|
48739
48740
|
}, sections.filter(function (section) {
|
|
48740
48741
|
return !section.hidden;
|
|
48741
48742
|
}).map(function (section) {
|
|
48742
|
-
return /*#__PURE__*/React.createElement(Motion, {
|
|
48743
|
+
return console.log("section", section) || /*#__PURE__*/React.createElement(Motion, {
|
|
48743
48744
|
tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
|
|
48744
48745
|
onKeyDown: function onKeyDown(e) {
|
|
48745
48746
|
return !section.disabled && handleKeyDown(section.id, e);
|
|
@@ -48756,10 +48757,10 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48756
48757
|
key: "item-".concat(section.id),
|
|
48757
48758
|
extraStyles: borderStyles,
|
|
48758
48759
|
role: "radio",
|
|
48759
|
-
"aria-label": section.title,
|
|
48760
|
+
"aria-label": section.title || console.log("typeof section.title", _typeof(section.title)),
|
|
48760
48761
|
"aria-checked": openSection === section.id,
|
|
48761
48762
|
"aria-disabled": section.disabled,
|
|
48762
|
-
required:
|
|
48763
|
+
required: section === null || section === void 0 ? void 0 : section.required
|
|
48763
48764
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48764
48765
|
childGap: "0"
|
|
48765
48766
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -48798,7 +48799,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48798
48799
|
return toggleOpenSection(section.id);
|
|
48799
48800
|
},
|
|
48800
48801
|
tabIndex: "-1",
|
|
48801
|
-
required:
|
|
48802
|
+
required: section === null || section === void 0 ? void 0 : section.required
|
|
48802
48803
|
})), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
|
|
48803
48804
|
align: "center"
|
|
48804
48805
|
}, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
|