* Revert "Revert "Select panel loading states (#4929)" (#5136)"
This reverts commit f93eb9b.
* Use published primer/behaviors
* Revert snapshot change to TextInput
* Huh ok never mind
* Use role in test
* Prevent active descendant from resetting when items change
* Allow loading state to be managed by the user
* Encounter the loading state for the initial state announcement
* It's working
* Cleanup
* Fix linting issues
* Revert snapshots
* test(vrt): update snapshots
* Backport #5551 to this PR
* Fix auto-focus behavior
* Add test to ensure focus behavior
* Allow consumers to pass an inputRef; DRY up timeout cleanup; simplify nullish coercion
* DRY up announcement code; restore useAnnouncements hook for non-SelectPanel cases
* Fix types tests
* Remove testing ID
* Remove confusing componentManagesLoading control in async story
---------
Co-authored-by: Cameron Dutro <camertron@gmail.com>
Co-authored-by: francinelucca <francinelucca@users.noreply.github.com>
Co-authored-by: Marie Lucca <40550942+francinelucca@users.noreply.github.com>
Reverts #4929