@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.cjs.js
CHANGED
|
@@ -48764,9 +48764,10 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48764
48764
|
key: "item-".concat(section.id),
|
|
48765
48765
|
extraStyles: borderStyles,
|
|
48766
48766
|
role: "radio",
|
|
48767
|
+
"aria-label": section.title,
|
|
48767
48768
|
"aria-checked": openSection === section.id,
|
|
48768
48769
|
"aria-disabled": section.disabled,
|
|
48769
|
-
required: section === null || section === void 0 ? void 0 : section.required
|
|
48770
|
+
required: (section === null || section === void 0 ? void 0 : section.required) || isRequired
|
|
48770
48771
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
48771
48772
|
childGap: "0"
|
|
48772
48773
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -48805,7 +48806,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48805
48806
|
return toggleOpenSection(section.id);
|
|
48806
48807
|
},
|
|
48807
48808
|
tabIndex: "-1",
|
|
48808
|
-
required: section === null || section === void 0 ? void 0 : section.required
|
|
48809
|
+
required: (section === null || section === void 0 ? void 0 : section.required) || isRequired
|
|
48809
48810
|
})), section.titleIcon && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48810
48811
|
align: "center"
|
|
48811
48812
|
}, section.titleIcon), /*#__PURE__*/React__default.createElement(Box, {
|