@visiion/forms-library 1.4.0 → 1.4.1

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
@@ -10150,7 +10150,7 @@ var RadioOption = function (_a) {
10150
10150
  var id = _a.id, name = _a.name, value = _a.value, checked = _a.checked, onChange = _a.onChange, label = _a.label, _b = _a.disabled, disabled = _b === void 0 ? false : _b;
10151
10151
  return (jsxs("label", { htmlFor: id, className: "relative flex items-center gap-2 cursor-pointer text-base font-normal rounded-lg transition-all duration-200 ", children: [jsxs("div", { className: "relative flex-shrink-0", children: [jsx("input", { id: id, name: name, type: "radio", value: value, checked: checked, onChange: onChange, disabled: disabled, className: "sr-only" }), jsx("div", { className: "w-5 h-5 rounded-full border-2 flex items-center justify-center ".concat(checked
10152
10152
  ? "border-[#006FB3]"
10153
- : "border-gray-300 bg-white hover:border-blue-300"), children: checked && (jsx("div", { className: "w-3 h-3 rounded-full bg-[#006FB3] transition-all duration-200" })) })] }), jsx("span", { className: "text-gray-700 select-none ".concat(checked ? "font-normal text-gray-900" : ""), children: label })] }));
10153
+ : "border-gray-300 bg-white hover:border-[#006FB3]"), style: { borderColor: "".concat(checked ? "#006FB3" : "#d1d5db") }, children: checked && (jsx("div", { className: "w-3 h-3 rounded-full bg-[#006FB3] transition-all duration-200", style: { background: "#006FB3" } })) })] }), jsx("span", { className: "text-gray-700 select-none ".concat(checked ? "font-normal text-gray-900" : ""), children: label })] }));
10154
10154
  };
10155
10155
 
10156
10156
  var TextInput = function (_a) {
package/dist/index.js CHANGED
@@ -10169,7 +10169,7 @@ var RadioOption = function (_a) {
10169
10169
  var id = _a.id, name = _a.name, value = _a.value, checked = _a.checked, onChange = _a.onChange, label = _a.label, _b = _a.disabled, disabled = _b === void 0 ? false : _b;
10170
10170
  return (jsxRuntime.jsxs("label", { htmlFor: id, className: "relative flex items-center gap-2 cursor-pointer text-base font-normal rounded-lg transition-all duration-200 ", children: [jsxRuntime.jsxs("div", { className: "relative flex-shrink-0", children: [jsxRuntime.jsx("input", { id: id, name: name, type: "radio", value: value, checked: checked, onChange: onChange, disabled: disabled, className: "sr-only" }), jsxRuntime.jsx("div", { className: "w-5 h-5 rounded-full border-2 flex items-center justify-center ".concat(checked
10171
10171
  ? "border-[#006FB3]"
10172
- : "border-gray-300 bg-white hover:border-blue-300"), children: checked && (jsxRuntime.jsx("div", { className: "w-3 h-3 rounded-full bg-[#006FB3] transition-all duration-200" })) })] }), jsxRuntime.jsx("span", { className: "text-gray-700 select-none ".concat(checked ? "font-normal text-gray-900" : ""), children: label })] }));
10172
+ : "border-gray-300 bg-white hover:border-[#006FB3]"), style: { borderColor: "".concat(checked ? "#006FB3" : "#d1d5db") }, children: checked && (jsxRuntime.jsx("div", { className: "w-3 h-3 rounded-full bg-[#006FB3] transition-all duration-200", style: { background: "#006FB3" } })) })] }), jsxRuntime.jsx("span", { className: "text-gray-700 select-none ".concat(checked ? "font-normal text-gray-900" : ""), children: label })] }));
10173
10173
  };
10174
10174
 
10175
10175
  var TextInput = function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visiion/forms-library",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Librería de componentes de formularios reutilizables",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",