opus-toolkit-components 1.2.9 → 1.3.0
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.
|
@@ -4166,7 +4166,7 @@ const RadioButton = _ref => {
|
|
|
4166
4166
|
return /*#__PURE__*/external_react_default().createElement("label", {
|
|
4167
4167
|
key: option.value,
|
|
4168
4168
|
htmlFor: id,
|
|
4169
|
-
className: "py-2 px-4 border rounded-lg transition duration-200 flex items-center
|
|
4169
|
+
className: "py-2 px-4 mb-2 border hover:border-[--color-primary-btn] rounded-lg transition duration-200 flex items-center ".concat(selectedValue === option.value ? 'bg-[--color-primary-btn] text-[--color-white] border-[--color-stroke]' : "bg-[--color-input-bg] text-[--color-text-strong] ".concat(!isValid && selectedValue === '' ? 'border-[--color-util-red]' : 'border-[--color-stroke]'), " ").concat(disabled ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer')
|
|
4170
4170
|
}, /*#__PURE__*/external_react_default().createElement("input", {
|
|
4171
4171
|
id: id,
|
|
4172
4172
|
type: "radio",
|
|
@@ -4190,7 +4190,7 @@ const RadioButton = _ref => {
|
|
|
4190
4190
|
as: "span",
|
|
4191
4191
|
variant: "small",
|
|
4192
4192
|
id: "".concat(name, "-error"),
|
|
4193
|
-
className: "text-[--color-util-red]
|
|
4193
|
+
className: "text-[--color-util-red]"
|
|
4194
4194
|
}, errorMessage));
|
|
4195
4195
|
};
|
|
4196
4196
|
RadioButton.displayName = 'RadioButton';
|