@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.cjs.js
CHANGED
|
@@ -26854,12 +26854,14 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
26854
26854
|
groupName = _ref5.groupName,
|
|
26855
26855
|
setValue = _ref5.setValue,
|
|
26856
26856
|
ariaInvalid = _ref5.ariaInvalid,
|
|
26857
|
+
themeValues = _ref5.themeValues,
|
|
26857
26858
|
index = _ref5.index,
|
|
26858
26859
|
_ref5$handleChange = _ref5.handleChange,
|
|
26859
26860
|
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange;
|
|
26860
26861
|
return /*#__PURE__*/React__default.createElement(InputAndLabelContainer, {
|
|
26861
26862
|
align: "center",
|
|
26862
|
-
childGap: "0.5rem"
|
|
26863
|
+
childGap: "0.5rem",
|
|
26864
|
+
backgroundColor: themeValues.backgroundColor
|
|
26863
26865
|
}, /*#__PURE__*/React__default.createElement(HiddenRadioInput, {
|
|
26864
26866
|
"aria-invalid": ariaInvalid,
|
|
26865
26867
|
style: {
|
|
@@ -26878,7 +26880,10 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
26878
26880
|
as: "label",
|
|
26879
26881
|
htmlFor: id,
|
|
26880
26882
|
extraStyles: "\n font-size: 1rem;\n display: flex; \n width: 100%;\n :hover {\n cursor: pointer;\n }\n "
|
|
26881
|
-
}, /*#__PURE__*/React__default.createElement(Circle,
|
|
26883
|
+
}, /*#__PURE__*/React__default.createElement(Circle, {
|
|
26884
|
+
backgroundColor: themeValues.backgroundColor,
|
|
26885
|
+
borderColor: themeValues.borderColor
|
|
26886
|
+
}), labelText));
|
|
26882
26887
|
};
|
|
26883
26888
|
|
|
26884
26889
|
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$t);
|