componenteshospitais 3.1.3 → 3.1.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.
package/dist/cjs/index.js CHANGED
@@ -249,35 +249,7 @@ var InputField = function (_a) {
249
249
  backgroundColor: (disabled ? '#e5e5e5' : (corFundo ? corFundo : '')),
250
250
  borderRadius: (borderRadius ? "".concat(borderRadius, "px") : ''),
251
251
  border: (border ? border : '')
252
- }, readOnly: readonly, required: required, checked: checked, onKeyPress: onKeyPress })
253
- // <InputMask
254
- // mask={mask}
255
- // value={value}
256
- // onChange={handleChange}
257
- // disabled={disabled}
258
- // >
259
- // {(inputProps: any) => (
260
- // <input
261
- // {...inputProps}
262
- // type={type === 'password' && isPasswordVisible ? 'text' : type}
263
- // id={id}
264
- // name={id}
265
- // placeholder={placeholder}
266
- // className={styles.inputPadrao}
267
- // style={{
268
- // width: largura ? `${largura}` : '',
269
- // backgroundColor: (disabled ? '#e5e5e5' : (corFundo ? corFundo : '')),
270
- // borderRadius: (borderRadius ? `${borderRadius}px` : ''),
271
- // border: (border ? border : '')
272
- // }}
273
- // readOnly={readonly}
274
- // required={required}
275
- // checked={checked}
276
- // onKeyPress={onKeyPress}
277
- // />
278
- // )}
279
- // </InputMask>
280
- ) : (React.createElement("input", { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, value: value, placeholder: placeholder, onChange: handleChange, className: styles$5.inputPadrao, style: {
252
+ }, readOnly: readonly, required: required, checked: checked, onKeyPress: onKeyPress })) : (React.createElement("input", { type: type === 'password' && isPasswordVisible ? 'text' : type, id: id, name: id, value: value, placeholder: placeholder, onChange: handleChange, className: styles$5.inputPadrao, style: {
281
253
  width: largura ? "".concat(largura) : '',
282
254
  backgroundColor: (disabled ? '#e5e5e5' : (corFundo ? corFundo : '')),
283
255
  borderRadius: (borderRadius ? "".concat(borderRadius, "px") : ''),
@@ -16429,7 +16401,7 @@ var TableStandard = function (_a) {
16429
16401
  };
16430
16402
 
16431
16403
  var TextAreaField = function (_a) {
16432
- var id = _a.id, placeholder = _a.placeholder, onChange = _a.onChange, value = _a.value, label = _a.label, largura = _a.largura, readonly = _a.readonly, disabled = _a.disabled, required = _a.required, maxLength = _a.maxLength, onKeyPress = _a.onKeyPress, onBlur = _a.onBlur, corFundo = _a.corFundo, corLabel = _a.corLabel, borderRadius = _a.borderRadius, border = _a.border;
16404
+ var id = _a.id, placeholder = _a.placeholder, onChange = _a.onChange, value = _a.value, label = _a.label, largura = _a.largura, readonly = _a.readonly, disabled = _a.disabled, required = _a.required, maxLength = _a.maxLength, onKeyPress = _a.onKeyPress, onBlur = _a.onBlur, corFundo = _a.corFundo, corLabel = _a.corLabel, borderRadius = _a.borderRadius, border = _a.border, rows = _a.rows, cols = _a.cols;
16433
16405
  var appliedMaxLength = maxLength !== undefined ? maxLength : 524288;
16434
16406
  return (React.createElement(React.Fragment, null,
16435
16407
  label && React.createElement("label", { htmlFor: id, style: { color: corLabel ? corLabel : '' } }, label),
@@ -16441,7 +16413,7 @@ var TextAreaField = function (_a) {
16441
16413
  height: '6rem',
16442
16414
  borderRadius: (borderRadius ? "".concat(borderRadius, "px") : ''),
16443
16415
  border: (border ? border : '')
16444
- }, readOnly: readonly, disabled: disabled, required: required, maxLength: appliedMaxLength, onKeyPress: onKeyPress, onBlur: onBlur }))));
16416
+ }, readOnly: readonly, disabled: disabled, required: required, maxLength: appliedMaxLength, onKeyPress: onKeyPress, onBlur: onBlur, rows: rows, cols: cols }))));
16445
16417
  };
16446
16418
 
16447
16419
  exports.Busca = Busca;