mediacube-ui 0.1.367 → 0.1.369

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.369](https://github.com/MediaCubeCo/mcui/compare/v0.1.368...v0.1.369) (2025-03-25)
6
+
7
+ ### [0.1.368](https://github.com/MediaCubeCo/mcui/compare/v0.1.367...v0.1.368) (2025-03-25)
8
+
5
9
  ### [0.1.367](https://github.com/MediaCubeCo/mcui/compare/v0.1.366...v0.1.367) (2025-03-24)
6
10
 
7
11
  ### [0.1.366](https://github.com/MediaCubeCo/mcui/compare/v0.1.365...v0.1.366) (2025-03-18)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.367",
3
+ "version": "0.1.369",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -44,7 +44,11 @@
44
44
  </component>
45
45
  <div v-if="sortLoading || $attrs.loading" :class="footerClasses" class="mc-table-wrapper__footer">
46
46
  <div v-if="footerInfo !== 'total'" class="mc-table-wrapper__tint"></div>
47
- <div v-if="($attrs.loading && scrollIsBottom) || sortLoading" class="mc-table-wrapper__loading">
47
+ <div
48
+ v-if="($attrs.loading && scrollIsBottom) || sortLoading"
49
+ :style="loadingWrapperStyle"
50
+ class="mc-table-wrapper__loading"
51
+ >
48
52
  <mc-svg-icon class="mc-table-wrapper__load-icon" name="loader" />
49
53
  <mc-title color="outline-gray">{{ placeholders.loading }}</mc-title>
50
54
  </div>
@@ -330,6 +334,11 @@ export default {
330
334
  }
331
335
  return attrs
332
336
  },
337
+ loadingWrapperStyle() {
338
+ return {
339
+ width: this.cardIsOpen ? `${this.firstColsWidth}px` : '100%',
340
+ }
341
+ },
333
342
  canShowLoader() {
334
343
  return !this.scrollable && this.hasMore
335
344
  },
@@ -405,6 +414,13 @@ export default {
405
414
  '$attrs.loading'() {
406
415
  this.checkHorizontalScroll()
407
416
  },
417
+ totalFooter() {
418
+ if (this.footerInfo === 'total') {
419
+ this.$nextTick(() => {
420
+ this.api.updateFooter()
421
+ })
422
+ }
423
+ },
408
424
  },
409
425
  mounted() {
410
426
  this.setFirstColsWidth()
@@ -491,6 +507,7 @@ export default {
491
507
  ? columns.filter((c, i) => !!i)
492
508
  : columns.filter(col => col.fixed !== 'left')
493
509
  hideColumns.forEach(col => (col.visible = false))
510
+ this.tableBodyScrollLeft = false
494
511
  this.$refs.xTable.refreshColumn()
495
512
  } else {
496
513
  this.$refs.xTable.resetColumn()
@@ -759,17 +776,18 @@ export default {
759
776
  }
760
777
 
761
778
  .vxe-body--row {
762
- &.row--current {
763
- td,
764
- th {
765
- background-color: color-mix(in srgb, var(--color-main) 10%, #fff 90%) !important;
779
+ &.row {
780
+ &--current {
781
+ td,
782
+ th {
783
+ background-color: color-mix(in srgb, var(--color-main) 10%, #fff 90%) !important;
784
+ }
766
785
  }
767
- }
768
-
769
- &:hover {
770
- td,
771
- th {
772
- background-color: $color-hover-gray;
786
+ &--hover {
787
+ td:last-child,
788
+ td:first-child {
789
+ background-color: $color-hover-gray;
790
+ }
773
791
  }
774
792
  }
775
793
  }