@dcrackel/hematournamentui 1.0.691 → 1.0.693

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/hematournamentui",
3
3
  "private": false,
4
- "version": "1.0.691",
4
+ "version": "1.0.693",
5
5
  "type": "module",
6
6
  "main": "dist/HemaTournamentUI-lib.umd.js",
7
7
  "module": "dist/HemaTournamentUI-lib.es.js",
@@ -50,7 +50,7 @@
50
50
 
51
51
  <div class="md:border-b border-dropdownSelect mt-3 mb-3"></div>
52
52
 
53
- <div class="px-2 space-y-2 max-h-[70vh] overflow-y-auto">
53
+ <div class="px-2 space-y-2 max-h-[70vh] overflow-y-auto pb-4">
54
54
  <DirectorAssignmentCard
55
55
  v-for="d in directors"
56
56
  :key="d.PersonId"
@@ -59,7 +59,6 @@
59
59
  </section>
60
60
  </div>
61
61
 
62
- <!-- Mobile -->
63
62
  <!-- Mobile -->
64
63
  <section
65
64
  class="relative flex md:hidden items-center border rounded-md bg-poolBox transition overflow-hidden"
@@ -5,7 +5,7 @@
5
5
  @click="selectDirector"
6
6
  >
7
7
  <!-- Portrait -->
8
- <div class="flex mr-3">
8
+ <div class="flex mr-3 flex-none">
9
9
  <div
10
10
  v-if="!portraitURL"
11
11
  class="w-10 h-10 rounded-xl bg-dropdownSelect flex items-center justify-center"
@@ -20,30 +20,38 @@
20
20
  />
21
21
  </div>
22
22
 
23
- <!-- Name + Club -->
24
- <div class="flex flex-col flex-1 text-left">
25
- <BaseText :text="director.DisplayName" size="sm" color="quaternary" weight="bold" />
26
- <div class="flex flex-col items-end mr-2">
27
- <BaseText
28
- v-if="ringName"
29
- :text="ringName"
30
- size="xs"
31
- color="primaryHighlight"
32
- weight="bold"
33
- />
34
- <BaseText
35
- v-else
36
- text="No ring"
37
- size="xs"
38
- color="quinary"
39
- weight="normal"
40
- />
41
- </div>
42
- </div>
23
+ <!-- Name + Ring (left aligned, stacked) -->
24
+ <div class="flex flex-col flex-1 text-left min-w-0">
25
+ <BaseText
26
+ :text="director.DisplayName"
27
+ size="sm"
28
+ color="quaternary"
29
+ weight="bold"
30
+ class="truncate"
31
+ />
43
32
 
33
+ <BaseText
34
+ v-if="ringName"
35
+ :text="ringName"
36
+ size="xs"
37
+ color="primaryHighlight"
38
+ weight="bold"
39
+ class="truncate"
40
+ />
41
+ <BaseText
42
+ v-else
43
+ text="No ring"
44
+ size="xs"
45
+ color="quinary"
46
+ weight="normal"
47
+ class="truncate"
48
+ />
49
+ </div>
44
50
 
45
51
  <!-- Chevron -->
46
- <BaseIcon icon-name="fa-chevron-right" size="sm" color="quinary" hover="primary" />
52
+ <div class="flex-none ml-3">
53
+ <BaseIcon icon-name="fa-chevron-right" size="sm" color="quinary" hover="primary" />
54
+ </div>
47
55
  </button>
48
56
  </template>
49
57
 
@@ -56,10 +64,7 @@ export default {
56
64
  components: { BaseText, BaseIcon },
57
65
  emits: ["select"],
58
66
  props: {
59
- director: {
60
- type: Object,
61
- required: true
62
- }
67
+ director: { type: Object, required: true }
63
68
  },
64
69
  computed: {
65
70
  portraitURL() {