opus-toolkit-components 0.2.3 → 0.2.4

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.
@@ -722,7 +722,8 @@ function Input(_ref) {
722
722
  name,
723
723
  isValid = true,
724
724
  errorMessage = `${label} is required`,
725
- onChange
725
+ onChange,
726
+ value
726
727
  } = _ref;
727
728
  const inputClasses = `rounded-md bg-white border px-4 py-3 text-md font-normal text-gray-900 ${isValid ? 'border-slate-500' : 'border-rose-500'}`;
728
729
  return /*#__PURE__*/external_react_default().createElement("div", {
@@ -732,7 +733,8 @@ function Input(_ref) {
732
733
  type: type,
733
734
  name: name,
734
735
  placeholder: placeholder,
735
- onChange: onChange
736
+ onChange: onChange,
737
+ value: value
736
738
  }), !isValid && /*#__PURE__*/external_react_default().createElement("span", {
737
739
  className: "text-rose-500 text-sm"
738
740
  }, errorMessage));
@@ -9069,4 +9071,4 @@ function Dropdown(_ref) {
9069
9071
  /******/ })()
9070
9072
  ;
9071
9073
  });
9072
- //# sourceMappingURL=main.10d428f5ec38bca77e8f.js.map
9074
+ //# sourceMappingURL=main.354919c3ad193cd58738.js.map