@thecb/components 9.2.4-beta.3 → 9.2.4-beta.4
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 +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/radio-section/RadioSection.js +3 -2
- package/src/components/molecules/radio-section/RadioSection.stories.js +6 -1
package/dist/index.esm.js
CHANGED
|
@@ -48756,9 +48756,10 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48756
48756
|
key: "item-".concat(section.id),
|
|
48757
48757
|
extraStyles: borderStyles,
|
|
48758
48758
|
role: "radio",
|
|
48759
|
+
"aria-label": section.title,
|
|
48759
48760
|
"aria-checked": openSection === section.id,
|
|
48760
48761
|
"aria-disabled": section.disabled,
|
|
48761
|
-
required: section === null || section === void 0 ? void 0 : section.required
|
|
48762
|
+
required: (section === null || section === void 0 ? void 0 : section.required) || isRequired
|
|
48762
48763
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48763
48764
|
childGap: "0"
|
|
48764
48765
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -48797,7 +48798,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48797
48798
|
return toggleOpenSection(section.id);
|
|
48798
48799
|
},
|
|
48799
48800
|
tabIndex: "-1",
|
|
48800
|
-
required: section === null || section === void 0 ? void 0 : section.required
|
|
48801
|
+
required: (section === null || section === void 0 ? void 0 : section.required) || isRequired
|
|
48801
48802
|
})), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
|
|
48802
48803
|
align: "center"
|
|
48803
48804
|
}, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
|