Skip to content

Commit

Permalink
Version Packages (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 1, 2024
1 parent eb17dfa commit 63dfe48
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .changeset/tame-bees-cross.md

This file was deleted.

38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

## 2.12.0

### Minor Changes

- eb17dfa: feat: added disabledDates and enabledDates properties

## 2.11.0 - 2024 Feb 26

- 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`
Expand All @@ -9,76 +16,98 @@
- Fix time field not losing highlight

## 2.10.1 - 2023 Dec 6

- Fix view not updating when value changes externally with `browseWithoutSelecting`

## 2.10.0 - 2023 Nov 15

- Add `required` prop (@ChromuSx)
- Add `id` prop (@portfolioris)

## 2.9.0 - 2023 Nov 3

- Add `timePrecision` prop for showing a time picker (@nihanmubashshir)

## 2.8.0 - 2023 Sep 29

- Add date to `select` event detail

## 2.7.0 - 2023 Sep 23

- Add `dynamicPositioning` prop to avoid the date popup appearing outside the screen (@stinger567)
- `DateInput`: Avoid errors when `undefined` is passed as value (@happysalada)

## 2.6.0 - 2023 Jul 11

- Add 'yy' format (@erezarnon)

## 2.5.1 - 2023 Jul 2

- Fix wrong version published

## 2.5.0 - 2023 Jul 2

- Add Svelte 4 support

## 2.4.3 - 2023 May 3

- Fix Firefox autopunctuation

## 2.4.2 - 2023 Apr 29

- Fix blank date picker when no date is selected and current date is outside min/max range

## 2.4.1 - 2023 Apr 29

- Fix browsing not working with `browseWithoutSelecting` when a date is selected

## 2.4.0 - 2023 Apr 29

- Add `class` prop (@jdtjenkins)
- Fix vite-plugin-svelte resolve config conflict warning

## 2.3.0 - 2023 Mar 9

- Outline today in the date picker (@VladimirLakodei)

## 2.2.5 - 2022 Dec 13

- Fix month/year not updating when `value` is assigned to

## 2.2.4 - 2022 Dec 1

- Fix buttons causing form submissions

## 2.2.3 - 2022 Nov 10

- Improve Tailwind compatibility

## 2.2.2 - 2022 Nov 10

- Fix accessibility hints
- Improve Tailwind compatibility

## 2.2.1 - 2022 Oct 24

- Fix month dropdown left/right arrow shortcuts

## 2.2.0 - 2022 Sep 6

- Add `disabled` property

## 2.1.1 - 2022 Aug 15

- Fix broken month dropdown on Firefox
- Fix unreliable clamping to min/max dates
- Fix month `Up/Down` arrow key shortcuts

## 2.1.0 - 2022 Jul 31

- Add `browseWithoutSelecting` property
- Use well-supported `:focus` instead of `:focus-within`

## 2.0.0 - 2021 Feb 17

- **Breaking**: Allow DateInput/DatePicker value to be `null`
- **Breaking**: The value is now `null` by default
- Use `rem` for sizing the DatePicker
Expand All @@ -89,33 +118,42 @@
- Fix styling issue for languages with long month names

## 1.3.0 - 2021 Jan 4

- Add `closeOnSelection` property for DateInput

## 1.2.0 - 2021 Dec 22

- Hide disabled dates
- Fix disabled dates not reacting to `min` and `max` being updated

## 1.1.1 - 2021 Dec 11

- Fix some dates showing as wrong weekdays
- Fix invalid input fields resetting when clicked

## 1.1.0 - 2021 Oct 19

- Add `Escape` shortcut for closing DatePicker popup
- Add `Enter` shortcut for opening/closing DatePicker popup

## 1.0.0 - 2021 Oct 6

- Replace all `any` types

## 0.2.1 - 2021 Oct 2

- Fix invisible dropdown menu in dark mode on Windows Chrome
- Fix flash of incorrect month/year value on page load

## 0.2.0 - 2021 Oct 2

- Add internationalization support, including setting the first day of the week. Can be configured manually as well as using `date-fns`.

## 0.1.1 - 2021 Oct 2

- Fix dates showing under the wrong weekday
- Fix `--date-input-width` not working

## 0.1.0 - 2021 Sep 30

- Initial release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@undp-data/date-picker-svelte",
"version": "2.11.0",
"version": "2.12.0",
"description": "Date and time picker for Svelte",
"type": "module",
"scripts": {
Expand Down

0 comments on commit 63dfe48

Please sign in to comment.