@bjj/nuxt-layer-shadcn-ui 0.11.3 → 0.11.5

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.
@@ -488,13 +488,16 @@ defineExpose({
488
488
 
489
489
  <!-- Filler: absorbs leftover height so data rows aren't stretched -->
490
490
  <TableRow
491
- v-if="height"
491
+ v-if="height && data?.length"
492
492
  data-virtual-row
493
493
  aria-hidden="true"
494
494
  class="hover:bg-transparent"
495
495
  style="height: 100%"
496
496
  >
497
- <TableCell :colspan="totalColumns" />
497
+ <TableCell
498
+ :colspan="totalColumns"
499
+ class="p-0!"
500
+ />
498
501
  </TableRow>
499
502
  </TableBody>
500
503
 
@@ -209,7 +209,7 @@ onMounted(() => {
209
209
  </template>
210
210
 
211
211
  <template
212
- v-if="hasMore || internalData.length > 0"
212
+ v-if="!isInitialLoad && (hasMore || internalData.length > 0)"
213
213
  #bodyEnd
214
214
  >
215
215
  <div
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bjj/nuxt-layer-shadcn-ui",
3
- "version": "0.11.3",
3
+ "version": "0.11.5",
4
4
  "description": "Nuxt layer providing shadcn-vue based UI components",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -42,5 +42,5 @@
42
42
  "vue-i18n": "^11",
43
43
  "vue-router": "^4 || ^5"
44
44
  },
45
- "gitHead": "c90e3206bff10a9ed1d9f03172db3cdb2e03c44c"
45
+ "gitHead": "5675dbb8547796489532ba94f73ac752cd4c647b"
46
46
  }