@dcrackel/hematournamentui 1.0.232 → 1.0.233
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/dist/HemaTournamentUI-lib.es.js +5 -5
- package/dist/HemaTournamentUI-lib.umd.js +1 -1
- package/package.json +1 -1
- package/src/mocks/eventPersonGetInitialPoolAssignments2.js +569 -1030
- package/src/stories/Organisms/Cards/TableauFencerCard/TableauFencerCard.vue +2 -2
- package/src/stories/Organisms/Containers/TableauLines/SpacingConfig.js +1 -1
- package/src/stories/Templates/EventManagement/Bracket/Bracket.stories.js +9 -0
- package/src/stories/Templates/Menus/Admin/AdminLeftMenu.vue +1 -1
- package/tailwind.config.js +9 -0
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
<img v-if="portraitURL" :src="portraitURL" alt="Portrait" class="w-9 h-9 rounded-r-md">
|
|
17
17
|
</div>
|
|
18
18
|
<div class="flex flex-col justify-center ml-2">
|
|
19
|
-
<BaseText :text="name" :size="large ? 'sm' : 'xs'" :weight="large ? 'bold' : 'normal'" color="quaternary" class="text-nowrap overflow-hidden"/>
|
|
20
|
-
<BaseText v-if="club.length > 1 && large" color="quinary" :text="club.substring(0,
|
|
19
|
+
<BaseText :text="name" :size="large ? 'sm' : 'xs'" :weight="large ? 'bold' : 'normal'" color="quaternary" class="truncate text-nowrap overflow-hidden"/>
|
|
20
|
+
<BaseText v-if="club.length > 1 && large" color="quinary" :text="club.substring(0,28)" size="xs" class="truncate text-nowrap overflow-hidden"/>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
@@ -36,7 +36,7 @@ export const spacingConfig = {
|
|
|
36
36
|
'Table of 8': { getTopSpace: 'mt-[1.3rem]', getConnectorHeight: 'h-[7rem]', getTopSpaceForLine: 'mt-[3.25rem]' },
|
|
37
37
|
Quarterfinal: { getTopSpace: 'mt-[4.7rem]', getConnectorHeight: 'h-[14rem]', getTopSpaceForLine: 'mt-[7rem]' },
|
|
38
38
|
Semifinal: { getTopSpace: 'mt-[12.7rem]', getConnectorHeight: 'h-[28.3rem]', getTopSpaceForLine: '' },
|
|
39
|
-
Final: { getTopSpace: 'h-[
|
|
39
|
+
Final: { getTopSpace: 'h-[30rem] mt-[25rem] -ml-[309px]', getBottomLine: 'h-[30rem] mt-[2.5rem] -ml-[309px]' },
|
|
40
40
|
'Third Place': { getTopSpace: 'hidden', getConnectorHeight: 'hidden', getTopSpaceForLine: 'hidden' },
|
|
41
41
|
},
|
|
42
42
|
small: {
|
|
@@ -49,3 +49,12 @@ export const TableOfEight = {
|
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
+
export const TableWithTwentyTwo = {
|
|
53
|
+
args: {
|
|
54
|
+
bouts: getDEWithBouts22Fencers.pools[0].Bouts,
|
|
55
|
+
eventRules: getDEWithBouts22Fencers.eventRules,
|
|
56
|
+
hostingClubColors: getDEWithBouts22Fencers.hostingClubColors,
|
|
57
|
+
connectedToServer: true
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="bg-secondary min-h-screen flex flex-col justify-between">
|
|
2
|
+
<div class="bg-secondary min-h-screen flex flex-col justify-between w-[150]">
|
|
3
3
|
<section class="h-28 border-b border-neutral">
|
|
4
4
|
<div class="flex flex-col justify-center h-28">
|
|
5
5
|
<div class="flex justify-center">
|
package/tailwind.config.js
CHANGED
|
@@ -39,6 +39,12 @@ module.exports = {
|
|
|
39
39
|
],
|
|
40
40
|
theme: {
|
|
41
41
|
extend: {
|
|
42
|
+
scrollbar: {
|
|
43
|
+
DEFAULT: {
|
|
44
|
+
thumb: 'bg-gray-800 rounded-full',
|
|
45
|
+
track: 'bg-gray-300',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
42
48
|
fontFamily: {
|
|
43
49
|
sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont'],
|
|
44
50
|
'roboto-mono': ['Roboto Mono', 'monospace'],
|
|
@@ -94,6 +100,9 @@ module.exports = {
|
|
|
94
100
|
},
|
|
95
101
|
},
|
|
96
102
|
},
|
|
103
|
+
variants: {
|
|
104
|
+
scrollbar: ['rounded'],
|
|
105
|
+
},
|
|
97
106
|
plugins: [
|
|
98
107
|
function ({ addBase, theme }) {
|
|
99
108
|
addBase({
|