edvoyui-component-library-test-flight 0.0.58 → 0.0.59

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.
@@ -1,5 +1,5 @@
1
1
  export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=script&setup=true&lang.ts";
2
- import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=style&index=0&scoped=473ceac4&lang.scss";
2
+ import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=style&index=0&scoped=ae56eb51&lang.scss";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=EUIDashboardTable.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=script&setup=true&lang.ts";
2
- import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=1d3352f5&lang.scss";
2
+ import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=05e35209&lang.scss";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=EUITable.vue.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "edvoyui-component-library-test-flight",
3
3
  "private": false,
4
- "version": "0.0.58",
4
+ "version": "0.0.59",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/",
@@ -1,9 +1,26 @@
1
1
  <template>
2
2
  <div>
3
- <div class="relative w-full mx-auto overflow-hidden">
3
+ <Transition name="fade" mode="out-in">
4
+ <div
5
+ v-if="loading"
6
+ :class="[
7
+ 'overflow-hidden relative z-0 isolate bg-white backdrop-blur transition-colors duration-150 ease-in-out rounded-xl border border-gray-50',
8
+ tableHeight
9
+ ? tableHeight
10
+ : 'h-[calc(100svh-9rem)] max-h-[calc(100svh-9rem)]',
11
+ ]"
12
+ >
13
+ <div
14
+ class="absolute flex items-center z-[calc(infinity)] w-full h-auto pointer-events-none inset-0"
15
+ >
16
+ <EUICircleLoader />
17
+ </div>
18
+ </div>
19
+ <div v-else class="relative w-full mx-auto overflow-hidden">
4
20
  <div
5
21
  id="dashboard-table"
6
- :class="['overflow-auto scrollbar--thin overscroll-none', tableHeight ? tableHeight : 'h-[calc(100svh-13rem)] max-h-[calc(100svh-13rem)]']"
22
+ :class="['scrollbar--thin overscroll-none',
23
+ computedItems.length === 0 ? 'overflow-hidden' : 'overflow-auto', tableHeight ? tableHeight : 'h-[calc(100svh-13rem)] max-h-[calc(100svh-13rem)]']"
7
24
  ref="tableContainer"
8
25
  @scroll="handleScroll"
9
26
  >
@@ -59,19 +76,9 @@
59
76
  </tr>
60
77
  </thead>
61
78
  <tbody>
62
- <template v-if="loading">
63
- <tr class="norecords">
64
- <td :colspan="headers.length">
65
- <div
66
- class="flex items-center justify-center min-h-96"
67
- >
68
- <EUICircleLoader />
69
- </div>
70
- </td>
71
- </tr>
72
- </template>
79
+
73
80
  <template
74
- v-else-if="computedItems.length > 0"
81
+ v-if="computedItems.length > 0"
75
82
  v-for="(row, rowIndex) in computedItems"
76
83
  :key="`table-row-${rowIndex}`"
77
84
  >
@@ -116,8 +123,8 @@
116
123
  <tr class="norecords">
117
124
  <td :colspan="checkable === true ? headers.length + 1 : headers.length">
118
125
  <div
119
- class="flex items-center justify-center text-xl font-medium text-gray-500 min-h-96"
120
- >
126
+ class="flex items-center justify-center text-xl font-medium text-gray-500 h-[calc(100svh-18rem)] max-w-screen-xl"
127
+ >
121
128
  No matching records found
122
129
  </div>
123
130
  </td>
@@ -158,6 +165,7 @@
158
165
  </template>
159
166
  </div>
160
167
  </div>
168
+ </Transition>
161
169
  </div>
162
170
  </template>
163
171