@dcrackel/meyersquaredui 1.0.113 → 1.0.115

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcrackel/meyersquaredui",
3
3
  "private": false,
4
- "version": "1.0.113",
4
+ "version": "1.0.115",
5
5
  "type": "module",
6
6
  "main": "dist/meyersquaredui.cjs.js",
7
7
  "module": "dist/meyersquaredui.esm.js",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="flex items-center justify-between w-full">
2
+ <div class="flex items-center justify-between w-full overflow-x-auto">
3
3
  <div
4
4
  v-for="(phase, index) in phases"
5
5
  :key="index"
@@ -16,7 +16,7 @@
16
16
  <div class="flex flex-col items-center"
17
17
  :class="{'hover:cursor-pointer': index <= currentPhase, 'hover:cursor-default': index > currentPhase}">
18
18
  <div
19
- class="w-8 h-8 flex items-center justify-center rounded-full transition-all duration-300 border-2"
19
+ class="w-6 h-6 md:w-9 md:h-9 flex items-center justify-center rounded-full transition-all duration-300 border-2"
20
20
  :class="{
21
21
  'border-accent': isPhaseActive(index),
22
22
  'border-gray-300': !isPhaseActive(index),
@@ -24,13 +24,13 @@
24
24
  'hover:bg-gray-200': hoveredPhase === index && !isPhaseActive(index) && index <= currentPhase,
25
25
  }"
26
26
  >
27
- <i :class="phase.icon"></i>
27
+ <i :class="[phase.icon, 'text-xs md:text-lg']"></i>
28
28
  </div>
29
29
  <BaseText
30
30
  tag="p"
31
31
  size="sm"
32
32
  :weight="highlightPhase === index ? 'bold' : 'normal'"
33
- class="mt-2 transition-all duration-300"
33
+ class="mt-2 transition-all duration-300 text-xs md:text-sm whitespace-nowrap"
34
34
  :class="{
35
35
  'font-bold text-accent': isPhaseActive(index) || highlightPhase === index,
36
36
  'text-gray-600': !isPhaseActive(index) && highlightPhase !== index,
@@ -44,7 +44,7 @@
44
44
  <!-- Dynamic Line between icons -->
45
45
  <div
46
46
  v-if="index < phases.length - 1"
47
- class="flex-grow h-1 mx-2"
47
+ class="flex-grow h-1 mx-2 min-w-14"
48
48
  :class="{
49
49
  'bg-accent': isPhaseActive(index + 1),
50
50
  'bg-gray-300': !isPhaseActive(index + 1),
@@ -56,10 +56,12 @@
56
56
 
57
57
  <script>
58
58
  import BaseText from "../../Atoms/BaseText/BaseText.vue";
59
+ import Icon from "../../Atoms/Icon/Icon.vue";
59
60
 
60
61
  export default {
61
62
  name: 'ProgressTracker',
62
63
  components: {
64
+ Icon,
63
65
  BaseText
64
66
  },
65
67
  props: {
@@ -10,7 +10,7 @@
10
10
  <BaseText tag="p" size="md" weight="normal">{{ clubName }}</BaseText>
11
11
  </section>
12
12
  <section class="flex md:hidden flex-col">
13
- <BaseText tag="h3" size="md" weight="bold">{{ displayName }}</BaseText>
13
+ <BaseText tag="h3" size="sm" weight="bold">{{ displayName }}</BaseText>
14
14
  <BaseText tag="p" size="xs" weight="normal">{{ clubName }}</BaseText>
15
15
  </section>
16
16
  </div>
@@ -1,10 +1,10 @@
1
1
  <template>
2
- <div class="w-full rounded-lg">
2
+ <div class="w-full pb-2 rounded-lg bg-secondary">
3
3
  <!-- Grid Title -->
4
- <div class="max-w-[1200px] w-full flex justify-between mx-auto py-8 pl-4 rounded-tr-lg rounded-tl-lg">
5
- <BaseText color="primary" size="xl" tag="h3" weight="bold">{{ `Fencers in ${pools[selectedTab].Name}` }}</BaseText>
4
+ <div class="max-w-[1200px] w-full flex justify-between mx-auto py-4 md:py-8 pl-4 pr-4 rounded-tr-lg rounded-tl-lg">
5
+ <BaseText color="primary" size="" tag="h3" weight="bold" class="text-sm md:text-xl">{{ `Fencers in ${pools[selectedTab].Name}` }}</BaseText>
6
6
  <div class="flex">
7
- <BaseText color="primary" size="xl" tag="h3" weight="bold">{{ `${pools[selectedTab].poolStrengthInd} Strength Indicator` }}</BaseText>
7
+ <BaseText color="primary" size="" tag="h3" weight="bold" class="text-sm md:text-xl">{{ `${pools[selectedTab].poolStrengthInd} Strength Indicator` }}</BaseText>
8
8
  <Tooltip :text="tooltipContent" width="w-[500px]" position="left">
9
9
  <Icon icon="fa-circle-info" color="primary" size="md" class="hidden md:block ml-2" />
10
10
  </Tooltip>
@@ -12,15 +12,15 @@
12
12
  </div>
13
13
 
14
14
  <!-- Tabs for Pools -->
15
- <div class="max-w-[1200px] w-full flex mx-auto pt-4 pb-4 pl-4 bg-white rounded-tr-lg rounded-tl-lg">
15
+ <div class="max-w-[1200px] md:w-full flex mx-2 md:mx-auto pt-4 pb-4 pl-4 bg-white rounded-tr-lg rounded-tl-lg">
16
16
  <span v-for="(pool, index) in pools" :key="pool.PoolId">
17
17
  <BaseText
18
18
  color="primary"
19
- size="md"
19
+ size=""
20
20
  tag="p"
21
21
  weight=""
22
22
  title=""
23
- class="mr-10 border-b-2 hover:border-accent pb-2 duration-300 ease-in-out"
23
+ class="mr-10 border-b-2 hover:border-accent pb-2 duration-300 ease-in-out text-sm md:text-lg"
24
24
  :class="selectedTab === index ? 'border-accent' : 'border-white'"
25
25
  @click="selectTab(index)"
26
26
  >
@@ -80,7 +80,7 @@ export default {
80
80
  <strong>Strength Indicator Explanation:</strong><br/>
81
81
  - A negative score means this pool is weaker than the average.<br/>
82
82
  - A positive score means this pool is stronger than the average.<br/><br/>
83
- <em>Note:</em> A small difference is expected, as tournament organizers aim to separate club members for balanced competition.
83
+ <em>Note:</em> Ideally, all pools would be 0. However, A small difference is expected, as tournament organizers aim to separate club members.
84
84
  `
85
85
  };
86
86
  },