TimePicker

A time of day or a range of them, chosen from scrolling columns or typed into the field.

Anotomy

Structure of the time picker and how its internal parts are composed. These are its semantic parts, so they are also what the classNames and styles objects accept. The panel's parts go in a nested popup object.

TimePicker

TimePicker anotomy
NameDescription
1rootThe field's box: border, background, radius and padding. variant, size and status change it here.
2prefixThe node from prefix, before the time.
3inputThe text field showing the time in format, or the placeholder while empty.
4suffixThe clock glyph at the end. suffixIcon replaces it.
5popup.rootThe positioned layer around the panel. It is portalled to <body>, so these keys are how you reach it.
6popup.containerThe panel itself: background, radius and shadow.
7popup.contentThe scrolling columns, one per unit in format: hours, minutes and seconds by default.
8popup.itemOne time cell in a column.
9popup.footerThe row with Now and OK. showNow and needConfirm control them, and renderExtraFooter adds a row above.

TimePicker.RangePicker

The range picker takes the same keys. It has two inputs and one panel.
TimePicker.RangePicker anotomy
NameDescription
1rootThe field's box, holding both inputs and the arrow between them.
2prefixThe node from prefix, before the start time.
3inputEach of the two text fields. The one being edited has the bar under it.
4suffixThe clock glyph at the end.
5popup.rootThe positioned layer around the panel.
6popup.containerThe panel. It opens under the input being edited and picks that end's time.
7popup.contentThe scrolling columns.
8popup.itemOne time cell.
9popup.footerThe row with Now and OK. OK moves on to the other end.