@dcrackel/hematournamentui 1.0.54 → 1.0.56

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.54",
4
+ "version": "1.0.56",
5
5
  "type": "module",
6
6
  "main": "dist/HemaTouranmentUI-lib.umd.js",
7
7
  "module": "dist/HemaTouranmentUI-lib.es.js",
@@ -1,5 +1,5 @@
1
1
  // .storybook/mockRoutes.js
2
- import config from "./main.js";
2
+ import config from "../../.storybook/main.js";
3
3
 
4
4
  export const routes = [
5
5
  { path: '/', component: { template: '<div>Home</div>' } },
@@ -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 '../../../../../.storybook/mockRoutes.js';
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 boarder-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,7 +1,7 @@
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 boarder-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" />
@@ -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 3xl:grid-cols-4 gap-6 w-full">
9
+ <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5 3xl:grid-cols-6 gap-7 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,5 +1,5 @@
1
1
  <template>
2
- <TabBar class="border-b mb-5">
2
+ <TabBar class="border-b border-dropdownSelect mb-5">
3
3
  <BaseButton
4
4
  :selected="currentTab === 'Basic'"
5
5
  class="flex flex-row mx-3"