@dcrackel/hematournamentui 1.0.262 → 1.0.265

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.262",
4
+ "version": "1.0.265",
5
5
  "type": "module",
6
6
  "main": "dist/HemaTournamentUI-lib.umd.js",
7
7
  "module": "dist/HemaTournamentUI-lib.es.js",
@@ -52,16 +52,16 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@chromatic-com/storybook": "^1.6.1",
55
- "@storybook/addon-actions": "^8.2.7",
56
- "@storybook/addon-docs": "^8.2.7",
57
- "@storybook/addon-essentials": "^8.2.7",
58
- "@storybook/addon-interactions": "^8.2.7",
59
- "@storybook/addon-links": "^8.2.7",
60
- "@storybook/blocks": "^8.2.7",
61
- "@storybook/react": "^8.2.7",
62
- "@storybook/test": "^8.2.7",
63
- "@storybook/vue3": "^8.2.7",
64
- "@storybook/vue3-vite": "^8.2.7",
55
+ "@storybook/addon-actions": "^8.2.8",
56
+ "@storybook/addon-docs": "^8.2.8",
57
+ "@storybook/addon-essentials": "^8.2.8",
58
+ "@storybook/addon-interactions": "^8.2.8",
59
+ "@storybook/addon-links": "^8.2.8",
60
+ "@storybook/blocks": "^8.2.8",
61
+ "@storybook/react": "^8.2.8",
62
+ "@storybook/test": "^8.2.8",
63
+ "@storybook/vue3": "^8.2.8",
64
+ "@storybook/vue3-vite": "^8.2.8",
65
65
  "@vitejs/plugin-vue": "^5.0.0",
66
66
  "@vitest/coverage-v8": "^1.1.0",
67
67
  "@vue/cli-plugin-babel": "^5.0.8",
@@ -70,7 +70,7 @@
70
70
  "eslint": "^8.56.0",
71
71
  "eslint-plugin-storybook": "^0.8.0",
72
72
  "eslint-plugin-vue": "^9.20.1",
73
- "storybook": "^8.2.7",
73
+ "storybook": "^8.2.8",
74
74
  "storybook-vue3-router": "^5.0.0",
75
75
  "tailwindcss": "^3.4.3",
76
76
  "vite": "^5.0.10",
Binary file
@@ -14,7 +14,7 @@
14
14
  <BaseIcon icon-name="fa-circle-xmark" size="lg" color="quaternary" hover="alarm" @click="close"/>
15
15
  </div>
16
16
  <EditEventWizard :event="event" :rules="rules" :weapons="weapons"
17
- @update:submit="handleSubmitBout" />
17
+ @submit:bout="handleSubmitBout" />
18
18
  </div>
19
19
  </div>
20
20
  </transition>
@@ -50,7 +50,7 @@ export default {
50
50
  this.$emit('update:closeModal', this.bout);
51
51
  },
52
52
  handleSubmitBout(bout) {
53
- console.log('Event Wizard Modal!!')
53
+ console.log('------------------')
54
54
  console.log(bout)
55
55
  this.$emit('update:submit', bout);
56
56
  }
@@ -6,7 +6,7 @@
6
6
  <ScoreBoardTimer v-if="!bout.MaxPasses"
7
7
  :initialTime="bout.TimeLeft"
8
8
  :timerStatus="bout.TimerStatus"
9
- :ringName="bout.Pool.RingName"
9
+ :ringName="bout.RingName"
10
10
  :directorName="bout.RefName"
11
11
  />
12
12
  <ScoreBoardPasses v-if="bout.MaxPasses"
@@ -69,7 +69,7 @@
69
69
 
70
70
  <script>
71
71
  import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
72
- import backgroundImage from "../../../../assets/M2b.png";
72
+ import backgroundImage from "../../../../assets/logo.png";
73
73
  import DropDownMenu from "../../../Organisms/ComplexInputs/DropDown/DropDownMenu.vue";
74
74
  import BaseText from "../../../Atoms/Text/BaseText.vue";
75
75
 
@@ -18,7 +18,7 @@
18
18
  <BoutCard :bout="{}" :hostingClubColors="hostingClubColors" :isWaiting="true"/>
19
19
  </div>
20
20
  <div v-for="bout in activeBouts" :key="bout.BoutId" class="w-3/4 my-4">
21
- <BoutCard :bout="bout" :hostingClubColors="hostingClubColors" @action:startBout="directBout"/>
21
+ <BoutCard :bout="bout" :hostingClubColors="hostingClubColors" @action:startBout="directBout" @action:resumeBout="directBout" />
22
22
  </div>
23
23
  </div>
24
24
  </section>
@@ -215,6 +215,9 @@ export default {
215
215
  this.$emit('submit:bout', updatedBout);
216
216
  },
217
217
  directBout(bout) {
218
+ const activeBouts = this.bouts.filter(b => b.Status === 'Active');
219
+ activeBouts.forEach(b => b.Status = 'Scheduled');
220
+
218
221
  const updatedBout = this.bouts.find(b => b.BoutId === bout.BoutId);
219
222
  if (updatedBout) {
220
223
  updatedBout.Status = 'Active';
@@ -38,7 +38,7 @@
38
38
 
39
39
  <script>
40
40
  import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
41
- import logoImage from '../../../../assets/M2b.png';
41
+ import logoImage from '../../../../assets/logo.png';
42
42
 
43
43
  export default {
44
44
  name: 'AdminLeftMenu',
@@ -7,4 +7,11 @@
7
7
  @import '@fontsource/inter/600.css';
8
8
  @import '@fontsource/inter/700.css';
9
9
  @import '@fontsource/roboto-mono/index.css';
10
- @import '@fontsource/fira-code/index.css';
10
+ @import '@fontsource/roboto-mono/400.css';
11
+ @import '@fontsource/roboto-mono/700.css';
12
+ @import '@fontsource/fira-code/400.css';
13
+ @import '@fontsource/fira-code/700.css';
14
+ @import '@fontsource/fira-code/index.css';
15
+ @import '@fontsource/fira-code/index.css';
16
+
17
+
@@ -1,125 +1,110 @@
1
- // tailwind.config.js
2
- module.exports = {
3
- content: [
4
- "./index.html",
5
- "./src/**/*.{vue,js,ts,jsx,tsx}",
6
- ],
7
- safelist: [
8
- 'text-accepted',
9
- 'bg-acceptedHighlight',
10
- 'hover:text-alarm',
11
- 'bg-pink',
12
- 'bg-red',
13
- 'bg-blue',
14
- 'bg-orange',
15
- 'bg-purple',
16
- 'bg-gold',
17
- 'bg-green',
18
- 'bg-silver',
19
- 'bg-rose',
20
- 'bg-navy',
21
- 'text-pink',
22
- 'text-red',
23
- 'text-blue',
24
- 'text-orange',
25
- 'text-purple',
26
- 'text-gold',
27
- 'text-green',
28
- 'text-silver',
29
- 'text-rose',
30
- 'text-navy',
31
- 'border-rose',
32
- 'border-navy',
33
- 'border-red',
34
- 'border-blue',
35
- 'border-gold',
36
- 'border-green',
37
- 'border-purple',
38
- 'border-silver'
39
- ],
40
- theme: {
41
- extend: {
42
- scrollbar: {
43
- DEFAULT: {
44
- thumb: 'bg-gray-800 rounded-full',
45
- track: 'bg-gray-300',
46
- },
47
- },
48
- fontFamily: {
49
- sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont'],
50
- 'roboto-mono': ['Roboto Mono', 'monospace'],
51
- 'fira-code': ['Fira Code', 'monospace'],
52
- },
53
- lineHeight: {
54
- 'h1': '1.25',
55
- 'h2': '1.5',
56
- 'h3': '1.75'
57
- },
58
- colors: {
59
- accepted: '#1D7E64',
60
- acceptedBorder: '#ADCFC6',
61
- winGreen: '#68e269',
62
- acceptedHighlight: '#E5F6F1',
63
- alarm: '#FD546F',
64
- alarmHighlight: '#FED5D6',
65
- lossRed: '#ff7477',
66
- alarmText: '#F90229',
67
- alert: '#FFD255',
68
- bright: '#6190f2',
69
- toggleBackground: '#A9C4D6',
70
- dropdownSelect: '#D5E4EE',
71
- neutral: '#FFFFFF',
72
- primary: '#141B33',
73
- primaryHighlight: '#52586C',
74
- quaternary: '#8991AC',
75
- quaternaryHighlight: '#ACB2C5',
76
- quinary: '#989daa',
77
- secondary: '#2B324B',
78
- graySecondary: '#C0C5CA',
79
- tertiary: '#F6FAFD',
80
- gridBoxHeader: '#DBE6ED',
81
- eventBoxBlue: '#eff4f7',
82
- eventBoxGreen: '#f3f7ef',
83
- eventBoxRed: '#f7efef',
84
- poolSetup: '#F6FAFD',
85
- poolBox: '#f7f8fb',
86
- loadingModalBG: '#fcfcfc',
87
- pink: '#D88DB7',
88
- red: '#C74444',
89
- blue: '#375085',
90
- orange: '#C78544',
91
- purple: '#4B3A89',
92
- gold: '#ECE672',
93
- green: '#427958',
94
- silver: '#a0a0a0',
95
- rose: '#904f69',
96
- navy: '#182a3a'
97
-
98
- },
99
- boxShadow: {
100
- custom: 'var(--tw-shadow)',
101
- },
102
- },
1
+ /** @type {import('tailwindcss').Config} */
2
+ export default {
3
+ content: [
4
+ "./index.html",
5
+ "./src/**/*.{vue,js,ts,jsx,tsx}",
6
+ ],
7
+ safelist: [
8
+ 'text-accepted',
9
+ 'bg-acceptedHighlight',
10
+ 'hover:text-alarm',
11
+ 'bg-pink',
12
+ 'bg-red',
13
+ 'bg-blue',
14
+ 'bg-orange',
15
+ 'bg-purple',
16
+ 'bg-gold',
17
+ 'bg-green',
18
+ 'bg-silver',
19
+ 'bg-rose',
20
+ 'bg-navy',
21
+ 'text-pink',
22
+ 'text-red',
23
+ 'text-blue',
24
+ 'text-orange',
25
+ 'text-purple',
26
+ 'text-gold',
27
+ 'text-green',
28
+ 'text-silver',
29
+ 'text-rose',
30
+ 'text-navy',
31
+ 'border-rose',
32
+ 'border-navy',
33
+ 'border-red',
34
+ 'border-blue',
35
+ 'border-gold',
36
+ 'border-green',
37
+ 'border-purple',
38
+ 'border-silver'
39
+ ],
40
+ theme: {
41
+ extend: {
42
+ fontFamily: {
43
+ sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont']
44
+ },
45
+ lineHeight: {
46
+ 'h1': '1.25',
47
+ 'h2': '1.5',
48
+ 'h3': '1.75'
49
+ },
50
+ colors: {
51
+ accepted: '#1D7E64',
52
+ acceptedBorder: '#ADCFC6',
53
+ winGreen: '#68e269',
54
+ acceptedHighlight: '#E5F6F1',
55
+ alarm: '#FD546F',
56
+ alarmHighlight: '#FED5D6',
57
+ lossRed: '#ff7477',
58
+ alarmText: '#F90229',
59
+ alert: '#FFD255',
60
+ bright: '#6190f2',
61
+ toggleBackground: '#A9C4D6',
62
+ dropdownSelect: '#D5E4EE',
63
+ neutral: '#FFFFFF',
64
+ primary: '#141B33',
65
+ primaryHighlight: '#52586C',
66
+ quaternary: '#8991AC',
67
+ quaternaryHighlight: '#ACB2C5',
68
+ quinary: '#989daa',
69
+ secondary: '#2B324B',
70
+ graySecondary: '#C0C5CA',
71
+ tertiary: '#F6FAFD',
72
+ gridBoxHeader: '#DBE6ED',
73
+ eventBoxBlue: '#eff4f7',
74
+ eventBoxGreen: '#f3f7ef',
75
+ eventBoxRed: '#f7efef',
76
+ poolSetup: '#F6FAFD',
77
+ poolBox: '#f7f8fb',
78
+ loadingModalBG: '#fcfcfc',
79
+ pink: '#D88DB7',
80
+ red: '#C74444',
81
+ blue: '#375085',
82
+ orange: '#C78544',
83
+ purple: '#4B3A89',
84
+ gold: '#ECE672',
85
+ green: '#427958',
86
+ silver: '#a0a0a0',
87
+ rose: '#904f69',
88
+ navy: '#182a3a'
89
+ }
103
90
  },
104
- variants: {
105
- scrollbar: ['rounded'],
91
+ },
92
+ plugins: [
93
+ function ({ addBase, theme }) {
94
+ addBase({
95
+ h1: {
96
+ fontSize: theme('fontSize.3xl'),
97
+ lineHeight: theme('lineHeight.leading-h1'),
98
+ },
99
+ h2: {
100
+ fontSize: theme('fontSize.2xl'),
101
+ lineHeight: theme('lineHeight.h2'),
102
+ },
103
+ h3: {
104
+ fontSize: theme('fontSize.xl'),
105
+ lineHeight: theme('lineHeight.h3'),
106
+ },
107
+ });
106
108
  },
107
- plugins: [
108
- function ({ addBase, theme }) {
109
- addBase({
110
- h1: {
111
- fontSize: theme('fontSize.3xl'),
112
- lineHeight: theme('lineHeight.h1'),
113
- },
114
- h2: {
115
- fontSize: theme('fontSize.2xl'),
116
- lineHeight: theme('lineHeight.h2'),
117
- },
118
- h3: {
119
- fontSize: theme('fontSize.xl'),
120
- lineHeight: theme('lineHeight.h3'),
121
- },
122
- });
123
- }
124
- ],
125
- };
109
+ ],
110
+ }