fix: Fix issues

Stephen requested to merge fix-style-formElement-issues into master
  • Added the global style config to a styles object,
  • Changed onChange function in EmailInput, PasswordInput and TextInput, replaced value with e.currentTarget.value
  • Changed Input component styles, Added them to a field object, It's what is required to style the field part
  • Removed variant prop from TextInput replaced its value with {errors ? "input-error" : "input"}

Merge request reports