@dcrackel/hematournamentui 1.0.94 → 1.0.96

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.94",
4
+ "version": "1.0.96",
5
5
  "type": "module",
6
6
  "main": "dist/HemaTouranmentUI-lib.umd.js",
7
7
  "module": "dist/HemaTouranmentUI-lib.es.js",
@@ -7,8 +7,8 @@
7
7
  </section>
8
8
 
9
9
  <section v-if="mode === 'planning'" class="flex rounded-xl border border-dropdownSelect mt-2 px-4 pt-2 pb-4 bg-neutral w-1/3 shadow">
10
- <div class="mt-1 w-10 pr-4">
11
- <BaseIcon icon-name="fa-clipboard-list" size="3xl" color="primaryHighlight" class="" />
10
+ <div class="mt-1 w-10 mr-3">
11
+ <BaseIcon icon-name="fa-lightbulb-on" size="3xl" color="quaternary" class="" />
12
12
  </div>
13
13
  <span class="w-full">
14
14
  <BaseText text="Pools are in Planning Mode" size="lg" color="quaternary" weight="bold" class="" />
@@ -17,8 +17,8 @@
17
17
 
18
18
  </section>
19
19
  <section v-if="mode === 'preparation'" class="flex rounded-xl border border-dropdownSelect mt-2 px-4 pt-2 pb-4 bg-neutral w-1/3 shadow">
20
- <div class="mt-1 w-10 pr-4">
21
- <BaseIcon icon-name="fa-wrench" size="3xl" color="primaryHighlight" class="" />
20
+ <div class="mt-1 w-10 mr-3">
21
+ <BaseIcon icon-name="fa-ballot-check" size="3xl" color="quaternary" class="" />
22
22
  </div>
23
23
  <span class="w-full">
24
24
  <BaseText text="Pools are Preparation Mode" size="lg" color="quaternary" weight="bold" class="" />
@@ -26,8 +26,8 @@
26
26
  </span>
27
27
  </section>
28
28
  <section v-if="mode === 'live'" class="flex rounded-xl border border-dropdownSelect mt-2 px-4 pt-2 pb-4 bg-neutral w-1/3 shadow">
29
- <div class="mt-1 w-10 pr-4">
30
- <BaseIcon icon-name="fa-play" size="3xl" color="primaryHighlight" class="" />
29
+ <div class="mt-1 w-10 mr-3">
30
+ <BaseIcon icon-name="fa-play" size="3xl" color="quaternary" class="" />
31
31
  </div>
32
32
  <span class="w-full">
33
33
  <BaseText text="Pools are now live!" size="lg" color="quaternary" weight="bold" class="" />
@@ -10,7 +10,8 @@ export default {
10
10
  args: {
11
11
  event: eventPersonGetPoolAssignmentEvent,
12
12
  poolAssignments: eventPersonGetInitialPoolAssignments,
13
- staff: eventPersonGetInitialStaff
13
+ staff: eventPersonGetInitialStaff,
14
+ mode: 'planning'
14
15
  },
15
16
  argTypes: {
16
17
  event: {
@@ -31,7 +32,7 @@ export const Default = {
31
32
  event:eventPersonGetPoolAssignmentEvent,
32
33
  poolAssignments: eventPersonGetInitialPoolAssignments,
33
34
  staff: eventPersonGetInitialStaff,
34
- mode: 'Planning'
35
+ mode: 'planning'
35
36
  }
36
37
  };
37
38
 
@@ -40,7 +41,7 @@ export const planningMode = {
40
41
  event:eventPersonGetPoolAssignmentEvent,
41
42
  poolAssignments: eventPersonGetInitialPoolAssignments,
42
43
  staff: eventPersonGetInitialStaff,
43
- mode: 'Planning'
44
+ mode: 'planning'
44
45
  }
45
46
  };
46
47
 
@@ -49,7 +50,7 @@ export const singleFlight = {
49
50
  event:modifiedEvent,
50
51
  poolAssignments: eventPersonGetInitialPoolAssignments,
51
52
  staff: eventPersonGetInitialStaff,
52
- mode: 'Preparation'
53
+ mode: 'preparation'
53
54
  }
54
55
  };
55
56
 
@@ -58,7 +59,7 @@ export const NoPoolsYet = {
58
59
  event:modifiedEvent,
59
60
  poolAssignments: [],
60
61
  staff: [],
61
- mode: 'Preparation'
62
+ mode: 'preparation'
62
63
  }
63
64
  };
64
65
 
@@ -93,6 +94,6 @@ export const liveMode = {
93
94
  event:eventPersonGetPoolAssignmentEvent,
94
95
  poolAssignments: eventPersonGetInitialPoolAssignments,
95
96
  staff: staff,
96
- mode: 'Live'
97
+ mode: 'live'
97
98
  }
98
99
  };
@@ -29,10 +29,10 @@
29
29
  </div>
30
30
  </div>
31
31
 
32
- <div v-if="filteredPools.length > 1 && mode !== 'Complete'" class="grid grid-cols-2 gap-4 mx-8 mt-8">
33
- <BaseButton v-if="mode === 'Planning' || mode === 'Preparation'" label="Reset Pools" size="md" icon-name="fa-rotate-right" icon-style="fa-solid" type="graySecondary" :icon-left="true" class="max-w-96 justify-self-end" @click="handleReset" />
34
- <BaseButton v-if="mode === 'Planning'" label="Start Event" size="md" icon-name="fa-caret-right" icon-style="fa-solid" type="secondary" :icon-left="false" class="max-w-96 justify-self-start" @click="handleStart" />
35
- <BaseButton v-if="mode === 'Preparation'" label="Make Pools Live" size="md" icon-name="fa-caret-right" icon-style="fa-solid" type="secondary" :icon-left="false" class="max-w-96 justify-self-start" @click="handleGoLive" />
32
+ <div v-if="filteredPools.length > 1 && mode !== 'complete'" class="grid grid-cols-2 gap-4 mx-8 mt-8">
33
+ <BaseButton v-if="mode === 'planning' || mode === 'preparation'" label="Reset Pools" size="md" icon-name="fa-rotate-right" icon-style="fa-solid" type="graySecondary" :icon-left="true" class="max-w-96 justify-self-end" @click="handleReset" />
34
+ <BaseButton v-if="mode === 'planning'" label="Start Checkin" size="md" icon-name="fa-caret-right" icon-style="fa-solid" type="secondary" :icon-left="false" class="max-w-96 justify-self-start" @click="handleStart" />
35
+ <BaseButton v-if="mode === 'preparation'" label="Make Pools Live" size="md" icon-name="fa-caret-right" icon-style="fa-solid" type="secondary" :icon-left="false" class="max-w-96 justify-self-start" @click="handleGoLive" />
36
36
  </div>
37
37
  </section>
38
38
  </template>
@@ -62,7 +62,7 @@ export default {
62
62
  mode: {
63
63
  type: String,
64
64
  required: true,
65
- validator: value => ['Planning', 'Preparation', 'Live', 'Complete'].includes(value)
65
+ validator: value => ['planning','preparation','live','results','de','completed'].includes(value)
66
66
  },
67
67
  staff: {
68
68
  type: Array,