<commit_before># ChilliSource.Web.Forms        ![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
This project is part of the ChilliSource framework developed by [BlueChilli](https://github.com/BlueChilli).

# Summary
ChilliSource.Web.Forms is a collection of React form components, helpers and abstractions that are shared across all React-based ChilliSource.Web frameworks.

# Main Features

## Reusable Components
Standard components like `input`, `button` and the rest are already available to use directly in React projects. Our components build upon these standard components to provide React-style way of using them. The list:
- `CheckBox`
- `DatePicker`
- `DropZone`
- `Form`
- `Input`
- `Number`
- `Radio`
- `Select` (base component for CheckBox & Radio)
- `Switch`
- `TextArea`

## State Retention
The state of the form is stored within the `Form` itself. Although this framework can be used with Redux, not having it within your stack will not prevent you from using it.

## Validations
All the components can have their own validation(even custom validation is allowed) with custom validation messages as your project requires. The `Validation` component provides the necessary implementation so that you can directly start using them.
```js
<Input name="sample-input" required maxLength="6">
  <Validation isFor="required">This input can not be blank.</Validation>
  <Validation isFor="maxLength">You can only enter a max of 50 characters</Validation>
</Input>
```

# Installation
The library is available via NPM here
```
npm install --save cs-web-forms
```

# Releases
See the [releases](https://github.com/BlueChilli/ChilliSource.Web.Forms/releases).

# Contribution
Please see the [contribution guide](https://github.com/BlueChilli/ChilliSource.Web/blob/master/CONTRIBUTING.md).

# License<commit_msg>:tada:  updated README<commit_after># ChilliSource.Web.Forms        ![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
This project is part of the ChilliSource framework developed by [BlueChilli](https://github.com/BlueChilli).

# Summary
ChilliSource.Web.Forms is a collection of React form components, helpers and abstractions that are shared across all React-based ChilliSource.Web frameworks.

# Main Features

## Reusable Components
Standard components like `input`, `button` and the rest are already available to use directly in React projects. Our components build upon these standard components to provide React-style way of using them. The list:
- `CheckBox`
- `DatePicker`
- `DropZone`
- `Form`
- `Input`
- `Number`
- `Radio`
- `Select`
- `Switch` (base component for CheckBox & Radio)
- `TextArea`

## State Retention
The state of the form is stored within the `Form` itself. Although this framework can be used with Redux, not having it within your stack will not prevent you from using it.

## Validations
All the components can have their own validation(even custom validation is allowed) with custom validation messages as your project requires. The `Validation` component provides the necessary implementation so that you can directly start using them.
```js
<Input name="sample-input" required maxLength="6">
  <Validation isFor="required">This input can not be blank.</Validation>
  <Validation isFor="maxLength">You can only enter a max of 50 characters</Validation>
</Input>
```

# Installation
The library is available via NPM here
```
npm install --save cs.forms
```

# Releases
See the [releases](https://github.com/BlueChilli/ChilliSource.Web.Forms/releases).

# Contribution
Please see the [contribution guide](https://github.com/BlueChilli/ChilliSource.Web/blob/master/CONTRIBUTING.md).

# License
{'fraction_non_alphanumeric': 0.09719575279063436, 'fraction_numerical': 0.0016335420637081405, 'mean_word_length': 4.859649122807017, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 8, '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': '7162187', 'n_tokens_mistral': 1039, 'n_tokens_neox': 982, 'n_words': 407}