Compare commits

..

No commits in common. 'main' and 'v0.3.0' have entirely different histories.
main ... v0.3.0

@ -1,6 +1,6 @@
{
"name": "@tiny-components/datepicker",
"version": "0.3.2",
"version": "0.3.0",
"description": "Datepicker for Desktop and Mobile",
"repository": {
"type": "git",

@ -68,7 +68,6 @@ export default {
store.on('update-props', (data) => {
this.state.date = dayjs(this.props.date)
this.update()
})
this.createWeeksAndDays()
@ -151,10 +150,6 @@ export default {
this.state.date = this.state.date.month(event.target.value)
this.createWeeksAndDays()
store.trigger(this.state.namespace + 'change', {
date: this.state.date.clone()
})
this.update()
},
@ -168,10 +163,6 @@ export default {
this.state.date = this.state.date.year(event.target.value)
this.createWeeksAndDays()
store.trigger(this.state.namespace + 'change', {
date: this.state.date.clone()
})
this.update()
},
@ -186,10 +177,6 @@ export default {
this.state.date = this.state.date.subtract(1, 'month')
this.createWeeksAndDays()
store.trigger(this.state.namespace + 'change', {
date: this.state.date.clone()
})
this.update()
},
@ -204,10 +191,6 @@ export default {
this.state.date = this.state.date.add(1, 'month')
this.createWeeksAndDays()
store.trigger(this.state.namespace + 'change', {
date: this.state.date.clone()
})
this.update()
},
@ -221,10 +204,6 @@ export default {
this.state.date = this.state.date.subtract(1, 'year')
this.createWeeksAndDays()
store.trigger(this.state.namespace + 'change', {
date: this.state.date.clone()
})
this.update()
},
@ -238,10 +217,6 @@ export default {
this.state.date = this.state.date.add(1, 'year')
this.createWeeksAndDays()
store.trigger(this.state.namespace + 'change', {
date: this.state.date.clone()
})
this.update()
},

Loading…
Cancel
Save