diff --git a/CHANGELOG.md b/CHANGELOG.md index 425bccd..29e5652 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file. ## [1.0.2] -- Expose `placeholder`, `clear` function to slot. +- Expose `placeholder`, `clear` function to slot, work if using slot, [Example](https://litepie.com/#use-slot). ## [1.0.3] @@ -23,13 +23,19 @@ All notable changes to this project will be documented in this file. ## [1.0.4] -- Fixed `shortcuts` when use custom. +- Fixed `shortcuts` if custom, [Example](https://litepie.com/#custom-shortcuts). ## [1.0.5] - Added dayjs `customParseFormat` plugin, to correctly parse from `formatter` props ([#3](https://github.com/kenhyuwa/litepie-datepicker/pull/3)). - Added keyboard event `keyup` for update value ([#5](https://github.com/kenhyuwa/litepie-datepicker/pull/5)). +## [1.0.6] + +- New props `footer`, [Example](https://litepie.com/#footer). +- Redesign layout, for breakpoint `768 ~ 1024`. +- Hide Next/Prev button if months active. + [Released]: https://github.com/kenhyuwa/litepie-datepicker/ [1.0.0]: https://github.com/kenhyuwa/litepie-datepicker/releases/tag/v1.0.0 [1.0.1]: https://github.com/kenhyuwa/litepie-datepicker/releases/tag/v1.0.1 @@ -37,3 +43,4 @@ All notable changes to this project will be documented in this file. [1.0.3]: https://github.com/kenhyuwa/litepie-datepicker/releases/tag/v1.0.3 [1.0.4]: https://github.com/kenhyuwa/litepie-datepicker/releases/tag/v1.0.4 [1.0.5]: https://github.com/kenhyuwa/litepie-datepicker/releases/tag/v1.0.5 +[1.0.6]: https://github.com/kenhyuwa/litepie-datepicker/releases/tag/v1.0.6 diff --git a/dev/serve.vue b/dev/serve.vue index af195f9..face785 100644 --- a/dev/serve.vue +++ b/dev/serve.vue @@ -99,11 +99,11 @@ export default defineComponent({ ]; }; onMounted(() => { - // dateValue.value = { - // startDate: new Date(2021, 9, 1), - // endDate: '2021-09-01' - // }; - dateValue.value = [new Date(2019, 9, 8), new Date(2019, 9, 19)]; + dateValue.value = { + startDate: '20 Mar 2021', + endDate: '20 Aug 2021' + }; + // dateValue.value = [new Date(2019, 9, 8), new Date(2019, 9, 19)]; // dateValue.value = `${new Date(2019, 9, 8).toString()} ~ ${new Date( // 2019, // 9, diff --git a/docs/src/App.vue b/docs/src/App.vue index b30f8bf..bcad712 100644 --- a/docs/src/App.vue +++ b/docs/src/App.vue @@ -1,6 +1,6 @@