Skip to content

Releases: dan-lee/timescape

[email protected]

25 Dec 11:06
9857c10
Compare
Choose a tag to compare

Patch Changes

[email protected]

22 Nov 07:39
10e9136
Compare
Choose a tag to compare

Minor Changes

  • #42 854718e Thanks @dan-lee! - ⚠️ Breaking change:

    This introduces the disallowPartial option while simultaneously allowing partial input by default:

    Each segment of the date input can now be set independently, allowing certain parts to remain empty. The options.date property will only return a Date instance when all segments are set. Otherwise, it will return undefined.

    This improvement brings the component closer to standard web behavior, allowing partial date inputs instead of requiring fully completed dates as before.

    Note: This is a breaking change, if you want to keep the old behavior, you can to set disallowPartial to true.

[email protected]

12 Nov 10:08
Compare
Choose a tag to compare

Patch Changes

  • #44 8e07ead Thanks @dan-lee! - Added the ability to prevent the default keydown event handling. If you want to handle keydown events yourself, you can now prevent the default behavior by using onKeyDownCapture (or the equivalent in your framework) and calling preventDefault() in your handler.

    <input
      onKeyDownCapture={(e) => {
        if (e.key === 'Enter') {
          e.preventDefault()
        }
      }}
    />

[email protected]

09 Oct 06:46
Compare
Choose a tag to compare

Patch Changes

[email protected]

08 Oct 21:15
Compare
Choose a tag to compare

Minor Changes

  • #34 7dee0c4 Thanks @dan-lee! - Add a wheelControl option that allows to control the input fields with the mouse wheel or touchpad.

[email protected]

30 Sep 07:18
Compare
Choose a tag to compare

Patch Changes

[email protected]

19 Aug 09:36
Compare
Choose a tag to compare

Patch Changes

  • #27 24d68fe Thanks @dan-lee! - Maintain correct AM/PM value when changing hours in hour12 mode

[email protected]

30 Jul 08:08
Compare
Choose a tag to compare

Minor Changes

[email protected]

19 Jul 15:35
Compare
Choose a tag to compare

Patch Changes

[email protected]

19 May 11:45
7e9df21
Compare
Choose a tag to compare

Patch Changes