- Remove leftover logging statements
- Default to the current year instead of 2020 for year-less date inputs
- Fix value bindings not always causing updates (@asdfghjkkl11)
- Add Svelte 5 support
- Add MMM format to allow short month names (@peterbell215)
- Add date-fns 3 support
- Disable autocomplete for date input (@gianarb)
- Add component slot, for adding your own child elements
- Don't clamp time of day when settig date/month/year
- Fix time field sometimes showing a value outside
min
/max
- Fix time field losing highlight after pressing left/right arrow keys
- Use numeric keyboard in time field
- Fix time field not losing highlight
- Fix view not updating when value changes externally with
browseWithoutSelecting
- Add
required
prop (@ChromuSx) - Add
id
prop (@portfolioris)
- Add
timePrecision
prop for showing a time picker (@nihanmubashshir)
- Add date to
select
event detail
- Add
dynamicPositioning
prop to avoid the date popup appearing outside the screen (@stinger567) DateInput
: Avoid errors whenundefined
is passed as value (@happysalada)
- Add 'yy' format (@erezarnon)
- Fix wrong version published
- Add Svelte 4 support
- Fix Firefox autopunctuation
- Fix blank date picker when no date is selected and current date is outside min/max range
- Fix browsing not working with
browseWithoutSelecting
when a date is selected
- Add
class
prop (@jdtjenkins) - Fix vite-plugin-svelte resolve config conflict warning
- Outline today in the date picker (@VladimirLakodei)
- Fix month/year not updating when
value
is assigned to
- Fix buttons causing form submissions
- Improve Tailwind compatibility
- Fix accessibility hints
- Improve Tailwind compatibility
- Fix month dropdown left/right arrow shortcuts
- Add
disabled
property
- Fix broken month dropdown on Firefox
- Fix unreliable clamping to min/max dates
- Fix month
Up/Down
arrow key shortcuts
- Add
browseWithoutSelecting
property - Use well-supported
:focus
instead of:focus-within
- Breaking: Allow DateInput/DatePicker value to be
null
- Breaking: The value is now
null
by default - Use
rem
for sizing the DatePicker - Make the DatePicker slightly larger
- Make the calendar tabbable
- Add
Shift/Alt+Up/Down
shortcut for changing year - Add
Shift/Alt+Left/Right
shortcut for changing month - Fix styling issue for languages with long month names
- Add
closeOnSelection
property for DateInput
- Hide disabled dates
- Fix disabled dates not reacting to
min
andmax
being updated
- Fix some dates showing as wrong weekdays
- Fix invalid input fields resetting when clicked
- Add
Escape
shortcut for closing DatePicker popup - Add
Enter
shortcut for opening/closing DatePicker popup
- Replace all
any
types
- Fix invisible dropdown menu in dark mode on Windows Chrome
- Fix flash of incorrect month/year value on page load
- Add internationalization support, including setting the first day of the week. Can be configured manually as well as using
date-fns
.
- Fix dates showing under the wrong weekday
- Fix
--date-input-width
not working
- Initial release