@thecb/components 8.0.4-beta.4 → 8.0.4-beta.5

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": "8.0.4-beta.4",
3
+ "version": "8.0.4-beta.5",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -56,10 +56,15 @@ const RadioButtonWithLabel = ({
56
56
  groupName,
57
57
  setValue,
58
58
  ariaInvalid,
59
+ themeValues,
59
60
  index,
60
61
  handleChange = noop // optional, for custom event handling in ingesting app
61
62
  }) => (
62
- <InputAndLabelContainer align="center" childGap="0.5rem">
63
+ <InputAndLabelContainer
64
+ align="center"
65
+ childGap="0.5rem"
66
+ backgroundColor={themeValues.backgroundColor}
67
+ >
63
68
  <HiddenRadioInput
64
69
  aria-invalid={ariaInvalid}
65
70
  style={{ marginTop: 0 }}
@@ -85,7 +90,10 @@ const RadioButtonWithLabel = ({
85
90
  }
86
91
  `}
87
92
  >
88
- <Circle />
93
+ <Circle
94
+ backgroundColor={themeValues.backgroundColor}
95
+ borderColor={themeValues.borderColor}
96
+ />
89
97
  {labelText}
90
98
  </Text>
91
99
  </InputAndLabelContainer>