mediacube-ui 0.1.397 → 0.1.399

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.399](https://github.com/MediaCubeCo/mcui/compare/v0.1.398...v0.1.399) (2025-07-28)
6
+
7
+ ### [0.1.398](https://github.com/MediaCubeCo/mcui/compare/v0.1.397...v0.1.398) (2025-07-23)
8
+
5
9
  ### [0.1.397](https://github.com/MediaCubeCo/mcui/compare/v0.1.396...v0.1.397) (2025-07-22)
6
10
 
7
11
  ### [0.1.396](https://github.com/MediaCubeCo/mcui/compare/v0.1.393...v0.1.396) (2025-07-11)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.397",
3
+ "version": "0.1.399",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -403,12 +403,13 @@ export default {
403
403
  },
404
404
  prettyValue() {
405
405
  if (!this.useTimezone) {
406
- if (this.isRange && this.value) return this.value.map(item => new Date(item))
406
+ if (this.isRange && this.value?.filter(Boolean)?.length)
407
+ return this.value.map(item => dayjs.tz(item, 'Europe/London').$d)
407
408
  return this.useFormat || (!this.setDefaultToday && !this.value)
408
409
  ? this.value
409
410
  : this.value
410
- ? new Date(this.value)
411
- : new Date()
411
+ ? new Date(this.value)
412
+ : new Date()
412
413
  }
413
414
  const formattingDate = date =>
414
415
  dayjs.tz(dayjs.utc(date, 'YYYY-MM-DD HH:mm:ss'), this.currentTimezone).format(this.format)
@@ -295,7 +295,9 @@ export default {
295
295
  return
296
296
  }
297
297
 
298
- if (this.lastActiveTabHash === selectedTab.hash) {
298
+ const isSameTab = this.lastActiveTabHash === selectedTab.hash
299
+ const hasActiveTab = this.tabs.some(tab => tab.hash === selectedTabHash && tab.isActive)
300
+ if (isSameTab && hasActiveTab) {
299
301
  this.$emit('clicked', { tab: selectedTab })
300
302
  return
301
303
  }
@@ -192,6 +192,7 @@ export default {
192
192
  //override variables:
193
193
  @import '../../../styles/table.scss';
194
194
 
195
+ $current-background-color: color-mix(in srgb, var(--color-main) 10%, #fff 90%);
195
196
  @mixin col-right-color($color) {
196
197
  .mc-table-col__right {
197
198
  background-color: $color;
@@ -279,7 +280,7 @@ export default {
279
280
  }
280
281
  @include col-right-color($vxe-table-row-hover-background-color);
281
282
  &.row--current {
282
- @include col-right-color(transparent);
283
+ @include col-right-color($current-background-color);
283
284
  }
284
285
  }
285
286
  &.row--current {