<commit_before>import PropTypes from 'prop-types';
import React from 'react';
import classNames from 'classnames';
import settings from '../../globals/js/settings';
import FormItem from '../FormItem';
import Input from '../Input/Input';

const { prefix } = settings;

/** Text inputs enable the user to interact with and input content and data. This component can be used for long and short form entries. */
const TextInput = (props) => {
  const {
    additional,
    disabled,
    labelText,
    className,
    id,
    formItemClassName,
    placeholder,
    type,
    onChange,
    onClick,
    hideLabel,
    invalid,
    invalidText,
    helperText,
    inputRef,
    light,
    pattern,
    ...other
  } = props;

  const textInputClasses = classNames(`${prefix}--text`, className, {
    [`${prefix}--text--light`]: light,
    [`${prefix}--text--helpertext`]: helperText,
    [`${prefix}--text--nolabel`]: hideLabel,<commit_msg>fix(TextInput): removed additional property<commit_after>import PropTypes from 'prop-types';
import React from 'react';
import classNames from 'classnames';
import settings from '../../globals/js/settings';
import FormItem from '../FormItem';
import Input from '../Input/Input';

const { prefix } = settings;

/** Text inputs enable the user to interact with and input content and data. This component can be used for long and short form entries. */
const TextInput = (props) => {
  const {
    disabled,
    labelText,
    className,
    id,
    formItemClassName,
    placeholder,
    type,
    onChange,
    onClick,
    hideLabel,
    invalid,
    invalidText,
    helperText,
    inputRef,
    light,
    pattern,
    ...other
  } = props;

  const textInputClasses = classNames(`${prefix}--text`, className, {
    [`${prefix}--text--light`]: light,
    [`${prefix}--text--helpertext`]: helperText,
    [`${prefix}--text--nolabel`]: hideLabel,
{'fraction_non_alphanumeric': 0.1381509032943677, 'fraction_numerical': 0.0, 'mean_word_length': 3.1751662971175167, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4610458', 'n_tokens_mistral': 538, 'n_tokens_neox': 547, 'n_words': 169}