react-spectrum
b9a810b6 - V3 textfield followup (#477)

Commit
6 years ago
V3 textfield followup (#477) * All of textfield stuff from old branch * First stab at changing the styling for textfield and text area * Fixing icon disabled style and moving color into skin.css * Changing Textfield css to support optional icons * Changing textfield and search css to support RTL * Fixing useControlledState so that searchField text deletion works * Adding addition stories to TextField and TextArea * Addressing review comments for css * Reorganizing the css by leveraging 'parent class &' * Flipping validation tooltip positioning if RTL * fixing lint issues * Adding useProvider to TextArea/TextField/SearchField * Replacing Textfiled interfaces with react-types/shared interfaces * Adding forwardRef so that TextField accepts a ref for the input element * Adding focus ring to search clear button and textfield input * Addressing review comments doesn't include internationalization move changes and moving aria types to the react-types package * Fixing lint issues Some TODO's added since I am waiting for filterDOMProps change * Adding ability to exclude props from user provided list to filterDOMProps * Renaming excludeArray to exclude * Changing exclude array to exclude obj Exclude obj merges with base DOMprops and overrides any that overlap * removing extraneous paren * Created TextField and SearchField types in react-types package * Moving intl to searchfield aria * Fixing linter issues: * Removing extra white space * Textfield tests wip, user-event library, type=search bugfix * Updating icons to use v3 * Updating textfield/search packages for v3 icons * Adding Textfield, TextArea, and SearchField v3/v2 common tests * Moving TextField custom class name to root element * Adding more TextArea/TextField tests and fixing eslintrc for jest beforeAll * Reverting change to TextField since it relies on search styles * Adding SearchField specfic tests * Making Textfield related packages private * Temporarily removing some test cases due to RSP-1182 * Adding ClearButton tests * Adding useTextFieldState tests * Adding aria hook tests for textfield/searchfield * Adding textfield stories for additional prop combinations * Moving textfield state interfaces into stately * Fixing Textfield icon styling and icons sizing * Adjusting isRequired behavior for TextField also comes with useSearchFieldState changes since we don't need state in TextField any more * Fixing clearbutton import in button test * Fixing ClearButton and SearchField tests (triggerPress) * Addressing review comments * addressing review comments * removing yarn.lock changes to try and fix build * Addressing review comments * Adding comments about some error messages * Addressing more review comments * Addressing more review stuff * updating ToastContainer test so it doesn't fail build * Changing aria nulls to underfineds * fix yarn.lock * Fixing package dependencies * Deleting extraneous textfield state test textfield state hook is now searchfield state hook * Removing errant TODO comment * Addressing review comments * Addressing review comments * Fixing tests
Author
Parents
Loading