@dcrackel/hematournamentui 1.0.55 → 1.0.57
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 +4 -4
- package/dist/HemaTouranmentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/{.storybook → src/mocks}/mockRoutes.js +1 -1
- package/src/mocks/tournamentMock.js +99 -0
- package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.stories.js +1 -2
- package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.vue +1 -1
- package/src/stories/Organisms/ComplexInputs/DropDown/DropDownMenu.vue +2 -2
- package/src/stories/Organisms/Grids/GridContainer.vue +1 -1
package/package.json
CHANGED
|
@@ -101,6 +101,105 @@ const mockTournaments = [
|
|
|
101
101
|
}
|
|
102
102
|
],
|
|
103
103
|
"tags": []
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"TournamentId": 5,
|
|
107
|
+
"Name": "Lasers, swords, and cats",
|
|
108
|
+
"StartDate": "2023-12-31",
|
|
109
|
+
"EndDate": "2024-01-01",
|
|
110
|
+
"Description": "<p>This is a test</p>",
|
|
111
|
+
"ClubId": 1,
|
|
112
|
+
"AddressId": 3,
|
|
113
|
+
"Club.Name": "Test Club",
|
|
114
|
+
"Address": [
|
|
115
|
+
{
|
|
116
|
+
"Name": "Test Two",
|
|
117
|
+
"Address1": "2000 Nutter Farm Lane",
|
|
118
|
+
"City": "Delaware",
|
|
119
|
+
"State": "OH",
|
|
120
|
+
"Zip": null,
|
|
121
|
+
"Coordinates": "40.2824683,-83.02237459999999"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"SocialMedia": [
|
|
125
|
+
{
|
|
126
|
+
"Label": "",
|
|
127
|
+
"Link": "https://thisisatest.com"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"images": [
|
|
131
|
+
{
|
|
132
|
+
"URL": "https://node.ferrotas.com:5000/uploads/t-196.png",
|
|
133
|
+
"AltText": "more alt text"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"tags": []
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"TournamentId": 6,
|
|
140
|
+
"Name": "Catmageddon",
|
|
141
|
+
"StartDate": "2023-12-31",
|
|
142
|
+
"EndDate": "2024-01-01",
|
|
143
|
+
"Description": "<p>This is a test</p>",
|
|
144
|
+
"ClubId": 1,
|
|
145
|
+
"AddressId": 3,
|
|
146
|
+
"Club.Name": "Test Club",
|
|
147
|
+
"Address": [
|
|
148
|
+
{
|
|
149
|
+
"Name": "Test Two",
|
|
150
|
+
"Address1": "2000 Nutter Farm Lane",
|
|
151
|
+
"City": "Delaware",
|
|
152
|
+
"State": "OH",
|
|
153
|
+
"Zip": null,
|
|
154
|
+
"Coordinates": "40.2824683,-83.02237459999999"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"SocialMedia": [
|
|
158
|
+
{
|
|
159
|
+
"Label": "",
|
|
160
|
+
"Link": "https://thisisatest.com"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"images": [
|
|
164
|
+
{
|
|
165
|
+
"URL": "https://node.ferrotas.com:5000/uploads/t-196.png",
|
|
166
|
+
"AltText": "more alt text"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"tags": []
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"TournamentId": 7,
|
|
173
|
+
"Name": "Cats and Swords",
|
|
174
|
+
"StartDate": "2023-12-31",
|
|
175
|
+
"EndDate": "2024-01-01",
|
|
176
|
+
"Description": "<p>This is a test</p>",
|
|
177
|
+
"ClubId": 1,
|
|
178
|
+
"AddressId": 3,
|
|
179
|
+
"Club.Name": "Test Club",
|
|
180
|
+
"Address": [
|
|
181
|
+
{
|
|
182
|
+
"Name": "Test Two",
|
|
183
|
+
"Address1": "2000 Nutter Farm Lane",
|
|
184
|
+
"City": "Delaware",
|
|
185
|
+
"State": "OH",
|
|
186
|
+
"Zip": null,
|
|
187
|
+
"Coordinates": "40.2824683,-83.02237459999999"
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"SocialMedia": [
|
|
191
|
+
{
|
|
192
|
+
"Label": "",
|
|
193
|
+
"Link": "https://thisisatest.com"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"images": [
|
|
197
|
+
{
|
|
198
|
+
"URL": "https://node.ferrotas.com:5000/uploads/t-196.png",
|
|
199
|
+
"AltText": "more alt text"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"tags": []
|
|
104
203
|
}
|
|
105
204
|
];
|
|
106
205
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
// Breadcrumb.stories.js
|
|
2
1
|
import Breadcrumb from './Breadcrumb.vue';
|
|
3
2
|
import { vueRouter } from 'storybook-vue3-router';
|
|
4
|
-
import mockRoutes from '
|
|
3
|
+
import mockRoutes from '../../../../mocks/mockRoutes.js';
|
|
5
4
|
import { action } from '@storybook/addon-actions';
|
|
6
5
|
export default {
|
|
7
6
|
title: 'Molecules/Admin/Breadcrumb',
|
|
@@ -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">
|
|
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>
|
|
@@ -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" @click="handleDropDown()">
|
|
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 md:grid-cols-2 lg:grid-cols-3
|
|
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>
|