@thecb/components 9.2.4-beta.3 → 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 +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/radio-section/RadioSection.js +135 -124
- package/src/components/molecules/radio-section/RadioSection.stories.js +6 -1
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,6 +48765,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48764
48765
|
key: "item-".concat(section.id),
|
|
48765
48766
|
extraStyles: borderStyles,
|
|
48766
48767
|
role: "radio",
|
|
48768
|
+
"aria-label": section.title || console.log("typeof section.title", _typeof(section.title)),
|
|
48767
48769
|
"aria-checked": openSection === section.id,
|
|
48768
48770
|
"aria-disabled": section.disabled,
|
|
48769
48771
|
required: section === null || section === void 0 ? void 0 : section.required
|