mediacube-ui 0.1.434 → 0.1.435

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.435](https://github.com/MediaCubeCo/mcui/compare/v0.1.434...v0.1.435) (2025-11-19)
6
+
5
7
  ### [0.1.434](https://github.com/MediaCubeCo/mcui/compare/v0.1.433...v0.1.434) (2025-11-14)
6
8
 
7
9
  ### [0.1.433](https://github.com/MediaCubeCo/mcui/compare/v0.1.432...v0.1.433) (2025-11-12)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.434",
3
+ "version": "0.1.435",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -439,6 +439,7 @@ export default {
439
439
  this.$el.addEventListener('touchstart', this.handleTouchStart)
440
440
  this.$el.addEventListener('touchend', this.handleTouchEnd)
441
441
  this.$el.addEventListener('touchmove', this.handleTouchMove)
442
+ this.emitDefaultDate()
442
443
  },
443
444
  beforeDestroy() {
444
445
  this.$el.removeEventListener('touchstart', this.handleTouchStart)
@@ -446,6 +447,11 @@ export default {
446
447
  this.$el.removeEventListener('touchmove', this.handleTouchMove)
447
448
  },
448
449
  methods: {
450
+ emitDefaultDate() {
451
+ if (!this.setDefaultToday) return
452
+ if (this.value) return
453
+ this.handleEmitDate(this.prettyValue)
454
+ },
449
455
  async setupDayjsLocale() {
450
456
  const locale = this.lang !== 'ar' && Object.keys(dayjsLocales).includes(this.lang) ? this.lang : 'en'
451
457
  await dayjsLocales[locale]?.()