@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/dist/index.esm.js
CHANGED
|
@@ -26846,12 +26846,14 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
26846
26846
|
groupName = _ref5.groupName,
|
|
26847
26847
|
setValue = _ref5.setValue,
|
|
26848
26848
|
ariaInvalid = _ref5.ariaInvalid,
|
|
26849
|
+
themeValues = _ref5.themeValues,
|
|
26849
26850
|
index = _ref5.index,
|
|
26850
26851
|
_ref5$handleChange = _ref5.handleChange,
|
|
26851
26852
|
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange;
|
|
26852
26853
|
return /*#__PURE__*/React.createElement(InputAndLabelContainer, {
|
|
26853
26854
|
align: "center",
|
|
26854
|
-
childGap: "0.5rem"
|
|
26855
|
+
childGap: "0.5rem",
|
|
26856
|
+
backgroundColor: themeValues.backgroundColor
|
|
26855
26857
|
}, /*#__PURE__*/React.createElement(HiddenRadioInput, {
|
|
26856
26858
|
"aria-invalid": ariaInvalid,
|
|
26857
26859
|
style: {
|
|
@@ -26870,7 +26872,10 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
26870
26872
|
as: "label",
|
|
26871
26873
|
htmlFor: id,
|
|
26872
26874
|
extraStyles: "\n font-size: 1rem;\n display: flex; \n width: 100%;\n :hover {\n cursor: pointer;\n }\n "
|
|
26873
|
-
}, /*#__PURE__*/React.createElement(Circle,
|
|
26875
|
+
}, /*#__PURE__*/React.createElement(Circle, {
|
|
26876
|
+
backgroundColor: themeValues.backgroundColor,
|
|
26877
|
+
borderColor: themeValues.borderColor
|
|
26878
|
+
}), labelText));
|
|
26874
26879
|
};
|
|
26875
26880
|
|
|
26876
26881
|
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$t);
|