@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/package.json
CHANGED
|
@@ -119,9 +119,7 @@ const RadioSection = ({
|
|
|
119
119
|
<Stack childGap="0">
|
|
120
120
|
<Box
|
|
121
121
|
padding={
|
|
122
|
-
section.hideRadioButton
|
|
123
|
-
? "1.5rem"
|
|
124
|
-
: "1.25rem 1.5rem 1.25rem 1.25rem"
|
|
122
|
+
section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem"
|
|
125
123
|
}
|
|
126
124
|
background={
|
|
127
125
|
section.disabled
|
|
@@ -160,7 +158,9 @@ const RadioSection = ({
|
|
|
160
158
|
<Box padding="0">
|
|
161
159
|
<RadioButton
|
|
162
160
|
name={
|
|
163
|
-
|
|
161
|
+
typeof section.title === "string"
|
|
162
|
+
? createIdFromString(section.title)
|
|
163
|
+
: section.id
|
|
164
164
|
}
|
|
165
165
|
ariaDescribedBy={ariaDescribedBy}
|
|
166
166
|
radioOn={openSection === section.id}
|