mediacube-ui 0.1.233 → 0.1.235

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,10 @@
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.235](https://github.com/MediaCubeCo/mcui/compare/v0.1.234...v0.1.235) (2024-03-15)
6
+
7
+ ### [0.1.234](https://github.com/MediaCubeCo/mcui/compare/v0.1.233...v0.1.234) (2024-03-14)
8
+
5
9
  ### [0.1.233](https://github.com/MediaCubeCo/mcui/compare/v0.1.232...v0.1.233) (2024-03-12)
6
10
 
7
11
  ### [0.1.232](https://github.com/MediaCubeCo/mcui/compare/v0.1.231...v0.1.232) (2024-03-11)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.233",
3
+ "version": "0.1.235",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -425,14 +425,14 @@ export default {
425
425
  },
426
426
  },
427
427
  mounted() {
428
- document.addEventListener('touchstart', this.handleTouchStart)
429
- document.addEventListener('touchend', this.handleTouchEnd)
430
- document.addEventListener('touchmove', this.handleTouchMove)
428
+ this.$el.addEventListener('touchstart', this.handleTouchStart)
429
+ this.$el.addEventListener('touchend', this.handleTouchEnd)
430
+ this.$el.addEventListener('touchmove', this.handleTouchMove)
431
431
  },
432
432
  beforeDestroy() {
433
- document.removeEventListener('touchstart', this.handleTouchStart)
434
- document.removeEventListener('touchend', this.handleTouchEnd)
435
- document.addEventListener('touchmove', this.handleTouchMove)
433
+ this.$el.removeEventListener('touchstart', this.handleTouchStart)
434
+ this.$el.removeEventListener('touchend', this.handleTouchEnd)
435
+ this.$el.removeEventListener('touchmove', this.handleTouchMove)
436
436
  },
437
437
  methods: {
438
438
  async setupDayjsLocale() {
@@ -558,11 +558,14 @@ export default {
558
558
  this.isScrolling = true
559
559
  },
560
560
  handleTouchEnd(event) {
561
+ if (!event) return
561
562
  if (!this.isScrolling && !this.isTouchEnd) {
562
563
  this.isTouchEnd = true
563
564
  event.preventDefault()
564
565
  event.stopPropagation()
565
- event.target.click()
566
+ if (event.target.click !== undefined) {
567
+ event.target.click()
568
+ }
566
569
  this.isTouchEnd = false
567
570
  }
568
571
  },
@@ -289,6 +289,16 @@ export default {
289
289
  }
290
290
  }
291
291
  }
292
+ .mc-side-bar-button {
293
+ &__tooltip {
294
+ width: calc(100% - #{$space-250});
295
+ .mc-button {
296
+ &__text {
297
+ margin-inline-end: $space-zero;
298
+ }
299
+ }
300
+ }
301
+ }
292
302
  }
293
303
  &__head {
294
304
  display: flex;