componenteshospitais 1.8.0 → 1.8.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/cjs/index.js CHANGED
@@ -1510,7 +1510,7 @@ var InputField = function (_a) {
1510
1510
  maskType === 'time' ? '99:99' :
1511
1511
  maskType === 'date' ? '99/99/9999' :
1512
1512
  maskType === 'cep' ? '99999-999' :
1513
- maskType === 'telefone' ? '(99) 9999-999' : '';
1513
+ maskType === 'telefone' ? '(99) 9999-9999' : '';
1514
1514
  return (React$2.createElement(React$2.Fragment, null,
1515
1515
  label && React$2.createElement("label", { htmlFor: id, style: { color: corLabel ? corLabel : '' } }, label),
1516
1516
  maskType ? (React$2.createElement(reactInputMask, { mask: mask, value: value, onChange: handleChange, disabled: disabled }, function (inputProps) { return (React$2.createElement("input", __assign({}, inputProps, { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, placeholder: placeholder, className: styles$5.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: (disabled ? '#e5e5e5' : (corFundo ? corFundo : '')) }, readOnly: readonly, required: required, onKeyPress: onKeyPress }))); })) : (React$2.createElement("input", { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, value: value, placeholder: placeholder, onChange: handleChange, className: styles$5.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: disabled ? '#e5e5e5' : '' }, readOnly: readonly, disabled: disabled, required: required, maxLength: type === 'text' ? appliedMaxLength : undefined, onKeyPress: onKeyPress })),
package/dist/esm/index.js CHANGED
@@ -1508,7 +1508,7 @@ var InputField = function (_a) {
1508
1508
  maskType === 'time' ? '99:99' :
1509
1509
  maskType === 'date' ? '99/99/9999' :
1510
1510
  maskType === 'cep' ? '99999-999' :
1511
- maskType === 'telefone' ? '(99) 9999-999' : '';
1511
+ maskType === 'telefone' ? '(99) 9999-9999' : '';
1512
1512
  return (React$2.createElement(React$2.Fragment, null,
1513
1513
  label && React$2.createElement("label", { htmlFor: id, style: { color: corLabel ? corLabel : '' } }, label),
1514
1514
  maskType ? (React$2.createElement(reactInputMask, { mask: mask, value: value, onChange: handleChange, disabled: disabled }, function (inputProps) { return (React$2.createElement("input", __assign({}, inputProps, { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, placeholder: placeholder, className: styles$5.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: (disabled ? '#e5e5e5' : (corFundo ? corFundo : '')) }, readOnly: readonly, required: required, onKeyPress: onKeyPress }))); })) : (React$2.createElement("input", { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, value: value, placeholder: placeholder, onChange: handleChange, className: styles$5.inputPadrao, style: { width: largura ? "".concat(largura) : '', backgroundColor: disabled ? '#e5e5e5' : '' }, readOnly: readonly, disabled: disabled, required: required, maxLength: type === 'text' ? appliedMaxLength : undefined, onKeyPress: onKeyPress })),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componenteshospitais",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -58,7 +58,7 @@ const InputField: React.FC<InputFieldProps> = ({
58
58
  maskType === 'time' ? '99:99' :
59
59
  maskType === 'date' ? '99/99/9999' :
60
60
  maskType === 'cep' ? '99999-999' :
61
- maskType === 'telefone' ? '(99) 9999-999' : '';
61
+ maskType === 'telefone' ? '(99) 9999-9999' : '';
62
62
 
63
63
  return (
64
64
  <>