@dcrackel/hematournamentui 1.0.56 → 1.0.58
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 +1 -1
- package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.vue +1 -1
- package/src/stories/Organisms/Cards/EventCard/EventCard.stories.js +10 -3
- package/src/stories/Organisms/Cards/EventCard/EventCard.vue +1 -1
- package/src/stories/Organisms/ComplexInputs/DropDown/DropDownMenu.vue +2 -2
- package/src/stories/Organisms/Grids/GridContainer.vue +1 -1
- package/src/stories/Templates/TournamentManagement/EditTournament/ListEvents/ListEvents.vue +2 -0
- package/dist/HemaTouranmentUI-lib.es.js +0 -28688
- package/dist/HemaTouranmentUI-lib.umd.js +0 -184
- package/dist/style.css +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="flex flex-row w-full justify-between">
|
|
3
|
-
<div class="rounded-lg shadow px-2 py-1 w-full flex flex-row mt-0.5 mr-4 border
|
|
3
|
+
<div class="rounded-lg shadow px-2 py-1 w-full flex flex-row mt-0.5 mr-4 border border-dropdownSelect">
|
|
4
4
|
<i class="fa-solid fa-magnifying-glass text-primaryHighlight w-6 mt-1" />
|
|
5
5
|
<BaseInput placeholder="Search on Name, Location, or Date" class="text-quaternary w-full" :addBorder=false :value="filterText" @update:value="handleFilter" />
|
|
6
6
|
</div>
|
|
@@ -4,16 +4,23 @@ export default {
|
|
|
4
4
|
title: 'Organisms/Cards/EventCard',
|
|
5
5
|
component: EventCard,
|
|
6
6
|
tags: ['autodocs'],
|
|
7
|
-
|
|
7
|
+
args: {
|
|
8
8
|
event: {
|
|
9
9
|
EventId: 1,
|
|
10
10
|
TournamentId: 8,
|
|
11
|
-
EventName: "Longsword
|
|
11
|
+
EventName: "Longsword Event For Everyone",
|
|
12
12
|
Date: "2024-05-03",
|
|
13
13
|
StartTime: "12:00:16",
|
|
14
14
|
NumberOfRings: 3,
|
|
15
|
-
WeaponId: 1
|
|
15
|
+
WeaponId: 1,
|
|
16
|
+
Status: "Active",
|
|
17
|
+
RuleSummary: "Pools -> DE -> 3rd Place Faceoff",
|
|
18
|
+
Present: "0",
|
|
19
|
+
Absent: "20",
|
|
20
|
+
Removed: "1",
|
|
16
21
|
}
|
|
22
|
+
},
|
|
23
|
+
argTypes: {
|
|
17
24
|
}
|
|
18
25
|
};
|
|
19
26
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex items-center p-4 border border-dropdownSelect rounded-lg shadow-md w-full mb-
|
|
2
|
+
<div class="flex items-center p-4 border border-dropdownSelect rounded-lg shadow-md w-full mb-6">
|
|
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">
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex flex-row">
|
|
3
3
|
<span>
|
|
4
|
-
<div class="z-10 rounded-lg shadow px-2 py-2 w-40 flex flex-row justify-between border
|
|
4
|
+
<div class="z-10 rounded-lg shadow px-2 py-2 w-40 flex flex-row justify-between border border-dropdownSelect" @click="handleDropDown()">
|
|
5
5
|
<BaseText :text="label" color="quaternary" size="sm" weight="normal" />
|
|
6
6
|
<BaseText :text="selectedItem.text" color="secondary" size="sm" weight="normal" />
|
|
7
7
|
<i class="fa-solid fa-chevron-down text-xs" />
|
|
8
8
|
</div>
|
|
9
9
|
<div v-if="isDropDownOpen" class="flex flex-col w-32 shadow mt-2 z-10 rounded-xl py-1 absolute bg-neutral">
|
|
10
|
-
<a v-for="item in items" :key="item.id" @click="handleClick(item)" class="hover:bg-dropdownSelect py-1 px-2 border
|
|
10
|
+
<a v-for="item in items" :key="item.id" @click="handleClick(item)" class="hover:bg-dropdownSelect py-1 px-2 border border-dropdownSelect last:border-0">
|
|
11
11
|
<BaseText :text="item.text" color="primary" size="xs" weight="normal" />
|
|
12
12
|
</a>
|
|
13
13
|
</div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div class="my-4">
|
|
7
7
|
<FilterAndSortBar :items="dropdownItems" :label="label" :selectedItem="selectedItem" @filterbar="handleFilter" @sort="handleSort"/>
|
|
8
8
|
</div>
|
|
9
|
-
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-
|
|
9
|
+
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5 gap-10 w-full">
|
|
10
10
|
<div v-for="item in filteredItems" :key="item.id" class="w-full">
|
|
11
11
|
<component :is="component" :detail="item" @click="handleClick(item)" @listEvents="handleListEvents(item)" />
|
|
12
12
|
</div>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<section class="mx-4">
|
|
2
3
|
<EditTournamentMenu currentTab="Events"></EditTournamentMenu>
|
|
3
4
|
<div class="w-full flex flex-row justify-center">
|
|
4
5
|
<section class="w-full">
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
</div>
|
|
24
25
|
</section>
|
|
25
26
|
</div>
|
|
27
|
+
</section>
|
|
26
28
|
</template>
|
|
27
29
|
|
|
28
30
|
<script>
|