timepicker-ui-react Changelog
Notable changes to timepicker-ui-react, the React wrapper for timepicker-ui, newest first. The package follows Semantic Versioning.
Version 1.5.0 - 2026-10-14
Added
onShow,onSelectSecond,onSwitchView,onWheelScrollStartandonWheelScrollEndprops - They also work inoptions.callbacks.onSelectPeriodandonSwitchFaceprops - For the core's newselect:periodandswitch:faceevents.SelectSecondEventDatatype - Re-exported. It is the payload ofonSelectSecond.- Callback prop descriptions - Callback props show the core's JSDoc descriptions in your editor.
- Clearer option names (from core) - Such as
ui.initialViewforui.mobile. The old names still work until 5.0. - Optional seconds (from core) - Turn them on with
clock.showSeconds: true. - Keyboard control of the clock face (from core)
Changed
- Updated
timepicker-uifrom 4.4.0 to 4.5.0 - See the timepicker-ui 4.5.0 changelog. - Callbacks during create - Callback props now also get events fired while the picker is created, such as an inline picker's
openor anerrorduring init. - Wrapper callbacks stay in the wrapper - The core instance no longer holds them, so
TimepickerUI.getById(id).options.callbackswon't list them. - Server markup - The
<input>is now wrapped in<div class="tp-ui">on the server too, so markup snapshots change. A<Timepicker>inside a<p>now gets React's nesting warning. optionschanges on an open picker (from core) - The picker re-renders and resets a selection that was not confirmed.behavior.returnFocus(from core) - FormerlyfocusInputAfterClose. It still defaults tofalse. We recommendtrue, which becomes the default in 5.0.
Deprecated
OptionTypesandHideEventData(from core) - UseTimepickerOptionsinstead ofOptionTypes.HideEventDatawas never emitted. Both will be removed in 5.0.
Fixed
options.callbackscalled twice - The core and the wrapper both called them. They are now called once.- Old callback props kept firing - After a callback prop changed, the handler from the first render no longer fires next to the new one.
- Equal
optionsobjects - A new but equaloptionsobject, such as inlineoptions={{...}}, no longer callsupdate(), so an open picker keeps its selection. - Documented re-exports - The package now exports
TimepickerUI,PluginRegistry,EventEmitterand the core types. Before, onlyTimepickerandTimepickerPropswere exported. - Conditional unmount - Unmounting a
<Timepicker>while its parent stays rendered, such as{show && <Timepicker />}, no longer throwsNotFoundErrorand breaks the React tree. - Range values in
valueordefaultValue- Withrange.enabled, a range value such as"10:00 AM - 12:00 PM"no longer firesonError. Dateinclock.currentTime.time- An equalDateno longer callsupdate()on every render.
Version 1.4.0 - 2026-06-10
Added
blueprintandblueprint-darkthemes - Setoptions.ui.themeand importtimepicker-ui/theme-blueprint.cssortimepicker-ui/theme-blueprint-dark.css. There are now 12 themes.- 16 accessibility labels - New
options.labelsentries for screen-reader and ARIA text, such ashourLabel,announceHourandinvalidTimeFormat. - Home, End, PageUp and PageDown (from core) - On the clock spinbuttons and the wheel columns.
Changed
- Updated
timepicker-uifrom 4.3.0 to 4.4.0 - See the timepicker-ui 4.4.0 changelog. - Screen-reader text (from core) - ARIA text reads from the
labelsgroup, clock spinbuttons exposearia-valuetext, and the focus trap skipsaria-disabled/aria-hiddenelements.
Fixed
- High-contrast focus halo rendering (from core)
- Firefox spinner buttons (from core) - The native spinner buttons no longer show on the clock inputs.
- Stuck page scroll (from core) - The scroll lock is now counted per picker, so the page no longer stays unscrollable after several pickers open and close.
theme-crane-straight.css(from core) - The file is now in the core packageexportsmap.
Version 1.3.0 - 2026-03-29
Added
TemplateProviderandClearHandlertypes - Re-exported, for the plugintemplateProviderandclearHandlerhooks.- Plugin
templateProviderandclearHandlerhooks (from core) - Plugins can register their own modal templates and their own Clear button logic. PluginRegistry.getTemplateProvider()andgetClearHandler()(from core) - Available on the re-exportedPluginRegistry.
Changed
- Updated
timepicker-uifrom 4.2.1 to 4.3.0 - See the timepicker-ui 4.3.0 changelog. - Unused plugins left out of the bundle (from core) - The wheel, range and timezone plugins are only bundled when you import them.
Version 1.2.0 - 2026-03-24
Added
onClearprop - Called when the Clear button is clicked. Maps tocallbacks.onClearand theclearevent.- Clear and wheel types - Re-exported
ClearEventData,ClearBehaviorOptions,WheelOptions,WheelScrollStartEventDataandWheelScrollEndEventData.
Changed
- Updated
timepicker-uifrom 4.1.7 to 4.2.1 - See the timepicker-ui 4.2.1 changelog.
Version 1.1.2 - 2026-03-08
Changed
- Updated
timepicker-uifrom 4.1.6 to 4.1.7 - See the timepicker-ui 4.1.7 changelog.
Version 1.1.1 - 2026-02-14
Added
- Range plugin types - Re-exported
RangeOptions,RangeConfirmEventData,RangeSwitchEventDataandRangeValidationEventData.
Changed
- Updated
timepicker-uifrom 4.1.2 to 4.1.6 - See the timepicker-ui 4.1.6 changelog.
Version 1.1.0 - 2026-02-08
Added
onTimezoneChangeprop - Callback for the timezone plugin.onRangeConfirm,onRangeSwitchandonRangeValidationprops - Callbacks for the range plugin.TimezoneChangeEventDataandTimepickerEventMaptypes - Re-exported fromtimepicker-ui.
Changed
- Updated
timepicker-uifrom 4.0.3 to 4.1.2 - See the timepicker-ui 4.1.2 changelog.
Version 1.0.1 - 2026-01-24
Changed
- Updated
timepicker-uifrom 4.0.2 to 4.0.3 - See the timepicker-ui 4.0.3 changelog.
Version 1.0.0 - 2025-11-23
Added
Timepickercomponent - First release. Renders a timepicker-ui input in React.- Controlled and uncontrolled - Pass
valuefor a controlled picker ordefaultValuefor an uncontrolled one. forwardRef- Works with React Hook Form and other form libraries.- Input props - Standard
<input>props go straight to the input, with noinputPropswrapper. - Callback props - The core callbacks as props, such as
onConfirm,onCancel,onUpdateandonError. optionsprop - Takes the grouped core options:clock,ui,labelsandbehavior.- SSR-safe - Works with Next.js, Remix, Gatsby and other server-rendering frameworks.
- ESM only - The package ships as a tree-shakeable ES module.
- Re-exported core types - Types come straight from
timepicker-ui, with no duplicated interfaces. - React 17 or newer -
reactandreact-dom17 or newer are peer dependencies.