@dcrackel/hematournamentui 1.0.280 → 1.0.281
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 +20 -12
- package/dist/HemaTournamentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/src/stories/Molecules/Buttons/BaseButton/BaseButton.vue +1 -1
- package/src/stories/Organisms/Headers/PoolResultsHeader/PoolResultsHeader.vue +1 -1
- package/src/stories/Templates/Menus/Admin/AdminLeftMenu.stories.js +4 -4
- package/src/stories/Templates/Menus/Admin/AdminLeftMenu.vue +21 -11
package/package.json
CHANGED
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
tertiary: `px-2.5 py-0.5 items-center gap-2.5 rounded-md text-center justify-center border border-dropdownSelect hover:bg-dropdownSelect ${props.selected ? 'bg-primary' : 'bg-tertiary'}`,
|
|
69
69
|
bright: `px-3 py-1 items-center gap-2.5 rounded-md text-center justify-center hover:bg-primary text-neutral ${props.selected ? 'bg-primary' : 'bg-bright'}`,
|
|
70
70
|
admin: `px-2.5 py-2 items-center rounded-md gap-2.5 text-center my-1 text-neutral hover:bg-primaryHighlight ${props.selected ? 'bg-primary' : 'bg-primary'}`,
|
|
71
|
-
adminSecondary: `px-2.5 py-2 rounded-xl items-center gap-2.5 text-center my-1 pb-2 border-b border-secondary hover:bg-bright w-
|
|
71
|
+
adminSecondary: `px-2.5 py-2 rounded-xl items-center gap-2.5 text-center my-1 pb-2 border-b border-secondary hover:bg-bright w-full text-neutral ${props.selected ? 'bg-primary' : 'bg-primary'}`,
|
|
72
72
|
iconOnly: `px-0.5 items-center rounded-full text-center text-tertiary shadow border border-dropdownSelect justify-center bg-primaryHighlight`,
|
|
73
73
|
editor: `px-1 items-center rounded-md text-center justify-center hover:bg-tertiary`,
|
|
74
74
|
square: `p-8 my-3 items-center gap-2.5 rounded-md text-center shadow border border-dropdownSelect justify-center hover:bg-tertiary ${props.selected ? 'bg-dropdownSelect' : 'bg-neutral'}`,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div class="mt-1 w-10 mr-3">
|
|
11
11
|
<BaseIcon icon-name="fa-chart-simple-horizontal" size="3xl" color="quaternary" class="" />
|
|
12
12
|
</div>
|
|
13
|
-
<div v-if="event.Status === 'results' || event.Status === 'de' || event.Status === 'completed'" class="w-full">
|
|
13
|
+
<div v-if="event.Status === 'live' || event.Status === 'results' || event.Status === 'de' || event.Status === 'completed'" class="w-full">
|
|
14
14
|
<BaseText text="Pool Standings and Results" size="lg" color="quaternary" weight="bold" class="" />
|
|
15
15
|
<div class="grid grid-cols-3">
|
|
16
16
|
<div class="flex">
|
|
@@ -19,10 +19,10 @@ const Template = args => ({
|
|
|
19
19
|
|
|
20
20
|
export const Default = {
|
|
21
21
|
args: {
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
{
|
|
25
|
-
{
|
|
22
|
+
buttons: [
|
|
23
|
+
{ label: 'Tournaments', iconName: 'fa-trophy' },
|
|
24
|
+
{ label: 'Clubs', iconName: 'fa-users' },
|
|
25
|
+
{ label: 'People', iconName: 'fa-user-group' }
|
|
26
26
|
]
|
|
27
27
|
}
|
|
28
28
|
};
|
|
@@ -7,29 +7,33 @@
|
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
9
|
</section>
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
<section class="flex flex-col p-2 h-full w-full px-4">
|
|
11
12
|
<BaseButton
|
|
12
13
|
v-for="button in buttons"
|
|
13
14
|
:label="button.label"
|
|
14
|
-
|
|
15
|
-
type="
|
|
16
|
-
|
|
15
|
+
:iconName="button.iconName"
|
|
16
|
+
type="adminSecondary"
|
|
17
|
+
size="md"
|
|
17
18
|
@click="handleButtonClick(button)"
|
|
18
19
|
/>
|
|
19
20
|
</section>
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
<section class="flex flex-col justify-end flex-grow">
|
|
23
|
+
<div class="border-t border-neutral p-4 ">
|
|
22
24
|
<BaseButton
|
|
23
|
-
|
|
25
|
+
iconName="fa-user"
|
|
24
26
|
label="Account"
|
|
25
27
|
type="adminSecondary"
|
|
26
|
-
|
|
28
|
+
size="md"
|
|
29
|
+
@click="handleAccount()"
|
|
27
30
|
/>
|
|
28
31
|
<BaseButton
|
|
29
|
-
|
|
32
|
+
iconName="fa-right-to-bracket"
|
|
30
33
|
label="Log Out"
|
|
31
34
|
type="adminSecondary"
|
|
32
|
-
|
|
35
|
+
size="md"
|
|
36
|
+
@click="handleLogOut()"
|
|
33
37
|
/>
|
|
34
38
|
</div>
|
|
35
39
|
</section>
|
|
@@ -56,7 +60,13 @@ export default {
|
|
|
56
60
|
},
|
|
57
61
|
methods: {
|
|
58
62
|
handleButtonClick(button) {
|
|
59
|
-
this.$emit('button
|
|
63
|
+
this.$emit('button:Click', button);
|
|
64
|
+
},
|
|
65
|
+
handleAccount() {
|
|
66
|
+
this.$emit('button:Account');
|
|
67
|
+
},
|
|
68
|
+
handleLogOut() {
|
|
69
|
+
this.$emit('button:Logout');
|
|
60
70
|
}
|
|
61
71
|
}
|
|
62
72
|
};
|