buildo / bento-design-system

A customizable and extensible Design System framework for React.js projects
https://www.bento-ds.com
MIT License
107 stars 12 forks source link

Add text and select input #814

Closed federico-ercoles closed 9 months ago

federico-ercoles commented 10 months ago

This PR separates the input components from their field counterparts for Text and Select, similarly to what we already had for Number and Checkbox. Naming for these components was inferred from the existing examples. I've had to refactor the NumberInput component, in order to align it with the new components, which I think would make the PR breaking.

I've done some basic testing in Storybook to confirm that there should be no visual or functional regression for the existing Field components, and also to confirm the functionality of the Input components.