@rolster/react-components 18.15.21 → 18.15.23

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/es/index.js CHANGED
@@ -1435,8 +1435,8 @@ function RlsInput({ children, disabled, formControl, onValue, placeholder, type,
1435
1435
  }
1436
1436
  return (jsxRuntimeExports.jsxs("div", { className: renderClassStatus('rls-input', {
1437
1437
  focused: formControl?.focused ?? focused,
1438
- disabled: formControl?.disabled ?? disabled
1439
- }), children: [jsxRuntimeExports.jsx("input", { ref: formControl?.elementRef, className: "rls-input__component", autoComplete: "off", type: type ?? 'text', placeholder: placeholder, disabled: formControl?.disabled ?? disabled, onFocus: onFocus, onBlur: onBlur, onChange: onChange, value: formControl?.value ?? value ?? '' }), jsxRuntimeExports.jsx("span", { className: "rls-input__value", children: children })] }));
1438
+ disabled: formControl?.disabled || disabled
1439
+ }), children: [jsxRuntimeExports.jsx("input", { ref: formControl?.elementRef, className: "rls-input__component", autoComplete: "off", type: type ?? 'text', placeholder: placeholder, disabled: formControl?.disabled || disabled, onFocus: onFocus, onBlur: onBlur, onChange: onChange, value: formControl?.value ?? value ?? '' }), jsxRuntimeExports.jsx("span", { className: "rls-input__value", children: children })] }));
1440
1440
  }
1441
1441
 
1442
1442
  function RlsInputMoney({ decimals, disabled, formControl, onValue, placeholder, symbol, value }) {
@@ -1473,7 +1473,7 @@ function RlsInputPassword({ disabled, formControl, onValue, placeholder, type })
1473
1473
  }
1474
1474
  return (jsxRuntimeExports.jsx("div", { className: renderClassStatus('rls-input-password', {
1475
1475
  focused: formControl?.focused ?? focused,
1476
- disabled
1476
+ disabled: formControl?.disabled || disabled
1477
1477
  }), children: jsxRuntimeExports.jsx("input", { className: "rls-input-password__component", autoComplete: "off", type: type ?? 'password', placeholder: placeholder, disabled: disabled, onFocus: onFocus, onBlur: onBlur, onChange: onChange }) }));
1478
1478
  }
1479
1479