@thecb/components 7.10.1-beta.8 → 7.10.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.10.1-beta.8",
3
+ "version": "7.10.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -150,7 +150,7 @@ const RadioSection = ({
150
150
  <Cluster
151
151
  justify="space-between"
152
152
  align="center"
153
- childGap="0.5rem"
153
+ childGap="1px"
154
154
  nowrap
155
155
  >
156
156
  <Cluster justify="flex-start" align="center" nowrap>
@@ -158,7 +158,9 @@ const RadioSection = ({
158
158
  <Box padding="0">
159
159
  <RadioButton
160
160
  name={
161
- createIdFromString(section.title) || section.id
161
+ typeof section.title === "string"
162
+ ? createIdFromString(section.title)
163
+ : section.id
162
164
  }
163
165
  ariaDescribedBy={ariaDescribedBy}
164
166
  radioOn={openSection === section.id}