@dcrackel/hematournamentui 1.0.310 → 1.0.312

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/eslint.config.js CHANGED
@@ -1,13 +1,12 @@
1
- // eslint.config.js
2
-
3
1
  import vue from 'eslint-plugin-vue';
4
2
  import jest from 'eslint-plugin-jest';
5
3
  import prettier from 'eslint-plugin-prettier';
6
4
  import storybook from 'eslint-plugin-storybook';
5
+ import vueParser from 'vue-eslint-parser';
7
6
 
8
7
  export default [
9
8
  {
10
- ignores: ['node_modules/**/*'],
9
+ ignores: ['node_modules/**/*', 'dist/**/*', 'storybook-static/**/*', 'tailwind/output.css'],
11
10
  },
12
11
  {
13
12
  files: ['**/*.vue', '**/*.js'],
@@ -18,6 +17,7 @@ export default [
18
17
  storybook,
19
18
  },
20
19
  languageOptions: {
20
+ parser: vueParser,
21
21
  ecmaVersion: 2020,
22
22
  sourceType: 'module',
23
23
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcrackel/hematournamentui",
3
3
  "private": false,
4
- "version": "1.0.310",
4
+ "version": "1.0.312",
5
5
  "type": "module",
6
6
  "main": "dist/HemaTournamentUI-lib.umd.js",
7
7
  "module": "dist/HemaTournamentUI-lib.es.js",
@@ -82,6 +82,7 @@
82
82
  "storybook-vue3-router": "^5.0.0",
83
83
  "tailwindcss": "^3.4.10",
84
84
  "vite": "^5.4.2",
85
- "vitest": "^2.0.5"
85
+ "vitest": "^2.0.5",
86
+ "vue-eslint-parser": "^9.4.3"
86
87
  }
87
88
  }
@@ -1,13 +1,13 @@
1
1
  <template>
2
- <div class="mt-3">
2
+ <div class="mt-0">
3
3
  <div class="flex flex-col w-full relative">
4
4
  <section v-if="!localDisplays.length">
5
5
  <img alt="Small desert scene with wind blowing." class="w-96 mx-auto" :src="emptyDesertIcon"/>
6
6
  <div class="w-full flex justify-center">
7
7
  <div class="w-96">
8
- <BaseText text="No Results Yet!" size="lg" color="quinary" weight="bold" class="text-center"/>
8
+ <BaseText text="No Displays Currently!" size="lg" color="quinary" weight="bold" class="text-center"/>
9
9
  <BaseText
10
- text="Pool results will be displayed here once all bouts have completed and the 'Generate Pool Results' button has been clicked on the Pools Tab."
10
+ text="No Displays are added, click the add button to add a scoreboard or flight board!"
11
11
  size="sm" color="quinary" class="text-center"/>
12
12
  </div>
13
13
  </div>
@@ -1,6 +1,9 @@
1
1
  <template>
2
2
  <section>
3
3
  <EditEventsTopMenu :currentTab="'Displays'" :tabs="tabs" @tabMenuClick="handleTabMenuClick"/>
4
+ <div class="w-full flex justify-start mb-4">
5
+ <BaseButton iconName="fa-circle-plus" label="Add Display" icon-class="fa-regular" size="sm" type="primary" @click="openModal"/>
6
+ </div>
4
7
  <ClubDisplayContainer
5
8
  :displays="displays"
6
9
  :eventDropDown="eventDropDown"
@@ -9,9 +12,7 @@
9
12
  @update:selectedStaff="handleAssignmentStaff"
10
13
  @update:selectedEvent="handleAssignmentEvent"
11
14
  />
12
- <div class="w-full flex justify-end mt-4">
13
- <BaseButton iconName="fa-circle-plus" label="Add Display" icon-class="fa-regular" size="xs" type="primary" @click="openModal"/>
14
- </div>
15
+ <div class="w-full flex justify-end mt-4"></div>
15
16
 
16
17
  <AddDisplayModal :show="showModal"
17
18
  :isAdmin="isAdmin"
@@ -26,6 +26,9 @@
26
26
  </section>
27
27
 
28
28
  <div v-if="personsInTournament.length === 0" class="mb-10">
29
+ <div class="flex items-center border border-dropdownSelect rounded-lg shadow-lg bg-poolBox">
30
+ <BaseText text="Remember to assign staff to your event!" size="lg" color="quaternary" weight="bold" class="w-full text-center py-2"/>
31
+ </div>
29
32
  <img alt="Small desert scene with wind blowing." class="w-96 mx-auto" :src="emptyDesertIcon"/>
30
33
  <BaseText :color="'primaryHighlight'" :size="'lg'" :text="'0 fencers have been added!'"
31
34
  :weight="'normal'" data-testid="text-num-events"/>