@bjj/nuxt-layer-shadcn-ui 0.12.15 → 0.12.16

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.
@@ -275,6 +275,7 @@ const headerCellClass = 'h-auto bg-border px-4 py-3 text-xs font-normal text-for
275
275
  const headerDividerClass = 'relative after:absolute after:top-1/2 after:right-0 after:h-4 after:w-px after:-translate-y-1/2 after:bg-muted-foreground/25'
276
276
  const stickyLeftClass = 'sticky left-0 z-10'
277
277
  const emptyCellClass = 'h-0.5 w-2.5 bg-muted-foreground/50 inline-block rounded-full align-middle'
278
+ const footerViewportClass = 'sticky left-0 box-border w-[100cqw] px-4 py-2'
278
279
 
279
280
  const selectionColumnClass = '[&:has([role=checkbox])]:pr-4'
280
281
  const selectionColumnStyle = { width: '1%' }
@@ -291,7 +292,10 @@ defineExpose({
291
292
  <template>
292
293
  <div
293
294
  :class="cn(
294
- 'rounded-lg bg-border px-1 text-foreground relative overflow-hidden',
295
+ `
296
+ rounded-lg bg-border px-1 text-foreground @container relative
297
+ overflow-hidden
298
+ `,
295
299
  !$slots.footer && 'pb-1',
296
300
  height && 'has-sticky-bounds',
297
301
  )"
@@ -505,9 +509,11 @@ defineExpose({
505
509
  <TableRow>
506
510
  <TableCell
507
511
  :colspan="totalColumns"
508
- class="bg-border"
512
+ class="bg-border p-0!"
509
513
  >
510
- <slot name="footer" />
514
+ <div :class="footerViewportClass">
515
+ <slot name="footer" />
516
+ </div>
511
517
  </TableCell>
512
518
  </TableRow>
513
519
  </TableFooter>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bjj/nuxt-layer-shadcn-ui",
3
- "version": "0.12.15",
3
+ "version": "0.12.16",
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": "3deaf92ca377fee069ffee61b359676aa75a90c4"
45
+ "gitHead": "e4a930eee97e686f984f1970ec4cb4e6baec363e"
46
46
  }