@dcrackel/hematournamentui 1.0.53 → 1.0.55
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/HemaTouranmentUI-lib.es.js +7 -7
- package/dist/HemaTouranmentUI-lib.umd.js +2 -2
- package/package.json +2 -2
- package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.vue +1 -1
- package/src/stories/Organisms/Cards/EventCard/EventCard.vue +4 -4
- package/src/stories/Organisms/Grids/GridContainer.vue +0 -1
- package/src/stories/Templates/Menus/Admin/AdminLeftMenu.vue +1 -1
- package/src/stories/Templates/Menus/EditTournamentMenu/EditTournamentMenu.vue +1 -1
- package/tailwind.config.js +60 -60
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.55",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/HemaTouranmentUI-lib.umd.js",
|
|
7
7
|
"module": "dist/HemaTouranmentUI-lib.es.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"preview": "vite preview",
|
|
13
13
|
"build-storybook": "npm run build:tailwind && storybook build",
|
|
14
14
|
"build:tailwind": "tailwindcss build ./tailwind/tailwind.css -o ./tailwind/output.css",
|
|
15
|
-
"storybook": "
|
|
15
|
+
"storybook": "concurrently \"npm run watch:tailwind\" \"npm run watch:storybook\"",
|
|
16
16
|
"watch:storybook": "storybook dev -p 6006",
|
|
17
17
|
"watch:tailwind": "tailwindcss build ./tailwind/tailwind.css -o ./tailwind/output.css --watch",
|
|
18
18
|
"test": "vitest",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<BaseText :text="detail.Name" color="primary" size="xl" weight="semi-bold" />
|
|
4
4
|
<BaseText :text="detail.Address && detail.Address[0].Name" color="primary" size="sm" weight="normal" />
|
|
5
5
|
<div class="mt-4 flex flex-col">
|
|
6
|
-
<div class="mt-4 flex flex-col
|
|
6
|
+
<div class="mt-4 flex flex-col h-20" >
|
|
7
7
|
<span v-html="formattedDescription"></span>
|
|
8
8
|
<span v-if="isTruncated" @click="toggleDescription" class="text-blue-500 cursor-pointer text-right mr-2">
|
|
9
9
|
{{ showMoreDescription ? ' << less ' : 'more >>' }}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex items-center p-4 border border-
|
|
2
|
+
<div class="flex items-center p-4 border border-dropdownSelect rounded-lg shadow-md w-full mb-5">
|
|
3
3
|
<div class="w-full flex flex-row justify-between">
|
|
4
4
|
<section class="flex flex-row justify-start">
|
|
5
5
|
<div class="flex flex-col pl-4">
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
<div class="flex flex-row">
|
|
20
20
|
<section class="w-20 h-16 bg-eventBoxBlue rounded-xl m-1">
|
|
21
21
|
<div class="flex flex-col justify-between h-14 py-2 pl-1">
|
|
22
|
-
<p class="flex flex-row justify-center w-full"><BaseText :text="event.Present" size="
|
|
22
|
+
<p class="flex flex-row justify-center w-full pb-1"><BaseText :text="event.Present" size="lg" color="quinary" weight="bold" /></p>
|
|
23
23
|
<p class="flex flex-row justify-center w-full"><BaseText text="PRESENT" size="xs" color="quinary" /></p>
|
|
24
24
|
</div>
|
|
25
25
|
</section>
|
|
26
26
|
<section class="w-20 h-16 bg-eventBoxGreen rounded-xl m-1">
|
|
27
27
|
<div class="flex flex-col justify-between h-14 py-2 pl-1">
|
|
28
|
-
<p class="flex flex-row justify-center w-full"><BaseText :text="event.Absent" size="
|
|
28
|
+
<p class="flex flex-row justify-center w-full pb-1"><BaseText :text="event.Absent" size="lg" color="quinary" weight="bold" /></p>
|
|
29
29
|
<p class="flex flex-row justify-center w-full"><BaseText text="ABSENT" size="xs" color="quinary" /></p>
|
|
30
30
|
</div>
|
|
31
31
|
</section>
|
|
32
32
|
<section class="w-20 h-16 bg-eventBoxRed rounded-xl m-1">
|
|
33
33
|
<div class="flex flex-col justify-between h-14 py-2 pl-1">
|
|
34
|
-
<p class="flex flex-row justify-center w-full"><BaseText :text="event.Removed" size="
|
|
34
|
+
<p class="flex flex-row justify-center w-full pb-1"><BaseText :text="event.Removed" size="lg" color="quinary" weight="bold" /></p>
|
|
35
35
|
<p class="flex flex-row justify-center w-full"><BaseText text="REMOVED" size="xs" color="quinary" /></p>
|
|
36
36
|
</div>
|
|
37
37
|
</section>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="bg-secondary
|
|
2
|
+
<div class="bg-secondary min-h-screen flex flex-col justify-between">
|
|
3
3
|
<section class="h-28 border-b border-neutral">
|
|
4
4
|
<div class="flex flex-col justify-center h-28">
|
|
5
5
|
<div class="flex justify-center">
|
package/tailwind.config.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
/** @type {import('tailwindcss').Config} */
|
|
2
2
|
export default {
|
|
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
|
-
plugins: [
|
|
48
|
-
function ({ addBase, theme }) {
|
|
49
|
-
addBase({
|
|
50
|
-
h1: {
|
|
51
|
-
fontSize: theme('fontSize.3xl'),
|
|
52
|
-
lineHeight: theme('lineHeight.leading-h1'),
|
|
53
|
-
},
|
|
54
|
-
h2: {
|
|
55
|
-
fontSize: theme('fontSize.2xl'),
|
|
56
|
-
lineHeight: theme('lineHeight.h2'),
|
|
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
|
+
],
|
|
12
|
+
theme: {
|
|
13
|
+
extend: {
|
|
14
|
+
fontFamily: {
|
|
15
|
+
sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont']
|
|
16
|
+
},
|
|
17
|
+
lineHeight: {
|
|
18
|
+
'h1': '1.25',
|
|
19
|
+
'h2': '1.5',
|
|
20
|
+
'h3': '1.75'
|
|
21
|
+
},
|
|
22
|
+
colors: {
|
|
23
|
+
accepted: '#1D7E64',
|
|
24
|
+
acceptedBorder: '#ADCFC6',
|
|
25
|
+
acceptedHighlight: '#E5F6F1',
|
|
26
|
+
alarm: '#FD546F',
|
|
27
|
+
alarmText: '#F90229',
|
|
28
|
+
alert: '#FFD255',
|
|
29
|
+
bright: '#6190f2',
|
|
30
|
+
dropdownSelect: '#D5E4EE',
|
|
31
|
+
neutral: '#FFFFFF',
|
|
32
|
+
primary: '#141B33',
|
|
33
|
+
primaryHighlight: '#52586C',
|
|
34
|
+
quaternary: '#8991AC',
|
|
35
|
+
quinary: '#989daa',
|
|
36
|
+
secondary: '#2B324B',
|
|
37
|
+
tertiary: '#F6FAFD',
|
|
38
|
+
eventBoxBlue: '#eff4f7',
|
|
39
|
+
eventBoxGreen: '#f2f7ef',
|
|
40
|
+
eventBoxRed: '#f7efef',
|
|
41
|
+
},
|
|
42
|
+
boxShadow: {
|
|
43
|
+
custom: 'var(--tw-shadow)',
|
|
44
|
+
},
|
|
57
45
|
},
|
|
58
|
-
h3: {
|
|
59
|
-
fontSize: theme('fontSize.xl'),
|
|
60
|
-
lineHeight: theme('lineHeight.h3'),
|
|
61
|
-
},
|
|
62
|
-
});
|
|
63
46
|
},
|
|
64
|
-
|
|
47
|
+
plugins: [
|
|
48
|
+
function ({addBase, theme}) {
|
|
49
|
+
addBase({
|
|
50
|
+
h1: {
|
|
51
|
+
fontSize: theme('fontSize.3xl'),
|
|
52
|
+
lineHeight: theme('lineHeight.leading-h1'),
|
|
53
|
+
},
|
|
54
|
+
h2: {
|
|
55
|
+
fontSize: theme('fontSize.2xl'),
|
|
56
|
+
lineHeight: theme('lineHeight.h2'),
|
|
57
|
+
},
|
|
58
|
+
h3: {
|
|
59
|
+
fontSize: theme('fontSize.xl'),
|
|
60
|
+
lineHeight: theme('lineHeight.h3'),
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
65
|
}
|