All changes when a new version is released are documented here.
- First commit
- Fix minor bug
- Major update
- Change all props to easy usage
- Support dark mode
- Fix closable when selected picker
- Major update
- Change props
:class-name
to:theme
- Fix style when purge Tailwind CSS is enable
- Add new props
auto-close
- Fix reset picker when away
- Move dayjs to
peerDependencies
- Move Tailwind CSS to
peerDependencies
- Move Documentation to Vue Tailwind Picker
- Fix bug can't select
previous
year - Add new props
:start-from-monday
default isfalse
- 🎉 Tailwind CSS Datepicker SSR support now
- Support empty initial value
<template>
<VueTailWindPicker
:init="false"
@change="(v) => value = v">
<input v-model="value" placeholder="Example initial value">
</VueTailWindPicker>
</template>
// ...
<script >
export default {
components: { VueTailWindPicker: () => import('vue-tailwind-picker'), },
data(){
return {
value: ''
}
},
// ...
}
</script>
- Add new props
init
, defaulttrue
, iftrue
set initial value withstart-date
, else set value with default value fromv-model
of input.
- Add selected props to props
- Fix issues format date
- Added support for Tailwind CSS 2.0.0