@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/dist/HemaTournamentUI-lib.es.js +590 -588
- package/dist/HemaTournamentUI-lib.umd.js +23 -23
- package/package.json +12 -12
- package/src/assets/{M2b.png → logo.png} +0 -0
- package/src/stories/Molecules/Modals/EventWizardModal/EventWizardModal.vue +2 -2
- package/src/stories/Organisms/ScoreBoardParts/ScoreBar/ScoreBar.vue +1 -1
- package/src/stories/Templates/CompetitionDisplays/BoardSelection/BoardSelection.vue +1 -1
- package/src/stories/Templates/EventManagement/PoolLive/PoolLive.vue +4 -1
- package/src/stories/Templates/Menus/Admin/AdminLeftMenu.vue +1 -1
- package/tailwind/tailwind.css +8 -1
- package/tailwind.config.js +108 -123
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcrackel/hematournamentui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
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.
|
|
56
|
-
"@storybook/addon-docs": "^8.2.
|
|
57
|
-
"@storybook/addon-essentials": "^8.2.
|
|
58
|
-
"@storybook/addon-interactions": "^8.2.
|
|
59
|
-
"@storybook/addon-links": "^8.2.
|
|
60
|
-
"@storybook/blocks": "^8.2.
|
|
61
|
-
"@storybook/react": "^8.2.
|
|
62
|
-
"@storybook/test": "^8.2.
|
|
63
|
-
"@storybook/vue3": "^8.2.
|
|
64
|
-
"@storybook/vue3-vite": "^8.2.
|
|
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.
|
|
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
|
-
@
|
|
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('
|
|
53
|
+
console.log('------------------')
|
|
54
54
|
console.log(bout)
|
|
55
55
|
this.$emit('update:submit', bout);
|
|
56
56
|
}
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
<script>
|
|
71
71
|
import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
|
|
72
|
-
import backgroundImage from "../../../../assets/
|
|
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';
|
package/tailwind/tailwind.css
CHANGED
|
@@ -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/
|
|
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
|
+
|
package/tailwind.config.js
CHANGED
|
@@ -1,125 +1,110 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
105
|
-
|
|
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
|
-
|
|
108
|
-
|
|
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
|
+
}
|