@thecb/components 10.11.2-beta.1 → 10.11.2-beta.3

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": "10.11.2-beta.1",
3
+ "version": "10.11.2-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -100,7 +100,9 @@ const EditableList = ({
100
100
  disabled={expiredItem === EXPIRED}
101
101
  >
102
102
  <Text variant="p" color={CHARADE_GREY}>
103
- {renderItem(item)}
103
+ {renderItem && typeof renderItem === "function"
104
+ ? renderItem(item)
105
+ : item}
104
106
  </Text>
105
107
  <EditableListItemControls>
106
108
  {item.isPrimary && (
@@ -24,7 +24,6 @@ const config = [
24
24
  export const radioGroup = () => (
25
25
  <RadioGroup
26
26
  headingText="Radio Group Title"
27
- headingFontSize="1rem"
28
27
  config={config}
29
28
  groupName="radio-button-group"
30
29
  field={{