This element will replace some existing gr-select (beginning with the
patch range selector) and most likely the file dropdown in
gr-diff-view.
On wider/desktop screens, a custom dropdown appears, and on
smaller/mobile devices, a native select appears. This element handles
determining which to display and when.
This element requires an array of 'items'.
Items must contain a value and text. They can also include the
following:
- bottomText: (a second, more subtle row of text)
- date: (a date to get displayed/formatted on the top row/right side)
- triggerText: The text to display on the dropdown trigger when
the particular option is selected.
- mobileText: the text to use as the option text on mobile devices.
When mobileText or triggerText are not set, they fall back to text.
Change-Id: Ie8842d8833a1ecf7c260b88c389d3f3a4f93944b