@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.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,6 +48757,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48756
48757
|
key: "item-".concat(section.id),
|
|
48757
48758
|
extraStyles: borderStyles,
|
|
48758
48759
|
role: "radio",
|
|
48760
|
+
"aria-label": section.title || console.log("typeof section.title", _typeof(section.title)),
|
|
48759
48761
|
"aria-checked": openSection === section.id,
|
|
48760
48762
|
"aria-disabled": section.disabled,
|
|
48761
48763
|
required: section === null || section === void 0 ? void 0 : section.required
|