@thecb/components 7.10.1-beta.7 → 7.10.1-beta.9
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
CHANGED
|
@@ -48042,7 +48042,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48042
48042
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
48043
48043
|
childGap: "0"
|
|
48044
48044
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
48045
|
-
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem
|
|
48045
|
+
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
|
|
48046
48046
|
background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
|
|
48047
48047
|
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
48048
48048
|
return toggleOpenSection(section.id);
|
|
@@ -48068,7 +48068,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48068
48068
|
}, !section.hideRadioButton && /*#__PURE__*/React__default.createElement(Box, {
|
|
48069
48069
|
padding: "0"
|
|
48070
48070
|
}, /*#__PURE__*/React__default.createElement(RadioButton$2, {
|
|
48071
|
-
name: createIdFromString(section.title)
|
|
48071
|
+
name: typeof section.title === "string" ? createIdFromString(section.title) : section.id,
|
|
48072
48072
|
ariaDescribedBy: ariaDescribedBy,
|
|
48073
48073
|
radioOn: openSection === section.id,
|
|
48074
48074
|
radioFocused: focused === section.id,
|