@golstats/gsc-top-player 1.0.15 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-top-player",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "dist/gsc-top-player.umd.js",
5
5
  "module": "dist/gsc-top-player.es.js",
6
6
  "exports": {
package/src/App.vue CHANGED
@@ -50,7 +50,7 @@ const gameData = {
50
50
  :season="gameData.seasonId"
51
51
  :team-view="1"
52
52
  :use-dummy-data="true"
53
- :show-position="false"
53
+ :show-position="true"
54
54
  />
55
55
  <!-- Ejemplo con datos reales (useDummyData: false) -->
56
56
  <!--
@@ -2,7 +2,7 @@
2
2
  <div>
3
3
  <div v-if="type == 0" :class="$style.headerTopsGamesReports">
4
4
  <div :class="$style.playerRowReports" id="player-row">
5
- <div :class="$style.headerTopGameReports">
5
+ <div :class="$style.headerTopGameReportsAuto">
6
6
  <div :class="$style.playerPhotoGamesReports" id="container-player-photp">
7
7
  <div :class="$style.tablePositionWrapperGamesReports">
8
8
  <b :class="$style.tablePositionGamesReports"><template v-if="showPosition">{{ data.top }}</template></b>
@@ -581,7 +581,7 @@ body {
581
581
  height: inherit;
582
582
  }
583
583
 
584
- .headerTopGameReports {
584
+ .headerTopGameReportsAuto {
585
585
  align-self: stretch;
586
586
  border-radius: var(--br-5xs-reports) var(--br-5xs-reports) 0px 0px;
587
587
  background-color: v-bind(backgroundColorHeader);
@@ -732,7 +732,7 @@ body {
732
732
  display: none;
733
733
  }
734
734
 
735
- .headerTopGameReports {
735
+ .headerTopGameReportsAuto {
736
736
  gap: var(--gap-0-reports);
737
737
  align-items: center;
738
738
  justify-content: flex-end;
@@ -834,7 +834,7 @@ body {
834
834
  gap: 9px;
835
835
  }
836
836
 
837
- .headerTopGameReports {
837
+ .headerTopGameReportsAuto {
838
838
  height: 80px;
839
839
  gap: var(--gap-0-reports);
840
840
  align-items: center;
@@ -883,7 +883,7 @@ body {
883
883
  }
884
884
 
885
885
  @container header-tops (max-width: 300px) {
886
- .headerTopGameReports {
886
+ .headerTopGameReportsAuto {
887
887
  position: relative;
888
888
  height: 88px;
889
889
  align-items: flex-end;
@@ -517,15 +517,15 @@ export default {
517
517
  rowwPlayerClass() {
518
518
  const width = this.elementSize.width
519
519
  if (width <= 300) {
520
- return this.$style.rowwPlayer300Games
520
+ return this.$style.rowwPlayer300GamesReports
521
521
  } else if (width <= 420) {
522
- return this.$style.rowwPlayer420Games
522
+ return this.$style.rowwPlayer420GamesReports
523
523
  } else if (width <= 460) {
524
- return this.$style.rowwPlayer460Games
524
+ return this.$style.rowwPlayer460GamesReports
525
525
  } else if (width <= 960) {
526
- return this.$style.rowwPlayer960Games
526
+ return this.$style.rowwPlayer960GamesReports
527
527
  } else {
528
- return this.$style.rowwPlayerGames
528
+ return this.$style.rowwPlayerGamesReports
529
529
  }
530
530
  },
531
531
  },
@@ -666,7 +666,7 @@ export default {
666
666
  justify-content: flex-start;
667
667
  gap: var(--gap-xsrow);
668
668
  }
669
- .rowwPlayerGames {
669
+ .rowwPlayerGamesReports {
670
670
  align-self: stretch;
671
671
  display: flex;
672
672
  height: v-bind(height) !important;
@@ -682,7 +682,7 @@ export default {
682
682
  font-family: v-bind(fontFamily);
683
683
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
684
684
  }
685
- .rowwPlayer300Games {
685
+ .rowwPlayer300GamesReports {
686
686
  align-self: stretch;
687
687
  display: flex;
688
688
  height: 45px !important;
@@ -698,7 +698,7 @@ export default {
698
698
  padding: 0 8px;
699
699
  box-sizing: border-box;
700
700
  }
701
- .rowwPlayer960Games {
701
+ .rowwPlayer960GamesReports {
702
702
  align-self: stretch;
703
703
  display: flex;
704
704
  height: v-bind(height) !important;
@@ -713,7 +713,7 @@ export default {
713
713
  font-family: v-bind(fontFamily);
714
714
  gap: var(--gap-0row);
715
715
  }
716
- .rowwPlayer420Games {
716
+ .rowwPlayer420GamesReports {
717
717
  align-self: stretch;
718
718
  display: flex;
719
719
  height: 59px !important;
@@ -729,7 +729,7 @@ export default {
729
729
  padding: 0 13px;
730
730
  box-sizing: border-box;
731
731
  }
732
- .rowwPlayer460Games {
732
+ .rowwPlayer460GamesReports {
733
733
  align-self: stretch;
734
734
  display: flex;
735
735
  height: 59px !important;
@@ -9,7 +9,7 @@
9
9
  </div>
10
10
  <div class="row-table-carrousel">
11
11
  <template v-for="(player, index) in topData[0]" :key="index">
12
- <template v-if="player.top == 1">
12
+ <template v-if="player.top == 1 && showPosition">
13
13
  <GSCLeaders
14
14
  @mediadata="emitEventMedia($event, category, categoryName)"
15
15
  :type="typeTable"