@polymarbot/nuxt-layer-shadcn-ui 0.10.2 → 0.10.3

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.
@@ -270,7 +270,7 @@ export const Loading: Story = {
270
270
  ...noControls,
271
271
  docs: {
272
272
  source: {
273
- code: '<DataTable :data="data" :columns="columns" loading />',
273
+ code: '<DataTable :data="[]" :columns="columns" loading />',
274
274
  },
275
275
  },
276
276
  },
@@ -279,7 +279,7 @@ export const Loading: Story = {
279
279
  setup: () => ({ data: sampleData, basicColumns }),
280
280
  template: `
281
281
  <div class="w-full">
282
- <DataTable :data="data" :columns="basicColumns" loading />
282
+ <DataTable :data="[]" :columns="basicColumns" loading />
283
283
  </div>
284
284
  `,
285
285
  }),
@@ -468,6 +468,17 @@ defineExpose({
468
468
  <slot name="bodyEnd" />
469
469
  </TableCell>
470
470
  </TableRow>
471
+
472
+ <!-- Filler: absorbs leftover height so data rows aren't stretched -->
473
+ <TableRow
474
+ v-if="height"
475
+ data-virtual-row
476
+ aria-hidden="true"
477
+ class="hover:bg-transparent"
478
+ style="height: 100%"
479
+ >
480
+ <TableCell :colspan="totalColumns" />
481
+ </TableRow>
471
482
  </TableBody>
472
483
 
473
484
  <TableFooter
@@ -526,6 +537,10 @@ defineExpose({
526
537
  background: var(--cell-bg);
527
538
  }
528
539
 
540
+ :deep(tbody tr:has(+ tr[aria-hidden="true"])) {
541
+ border-bottom: 0;
542
+ }
543
+
529
544
  /* Frozen column shadow via ::before — ::after is reserved for header divider */
530
545
  :deep([data-shadow])::before {
531
546
  content: '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarbot/nuxt-layer-shadcn-ui",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
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": "454f223be647d9bb2416d9d9ecf49294c424af4d"
45
+ "gitHead": "1c96483d768a3ba2df56952d5ee1e949e8c914fe"
46
46
  }