@polymarbot/nuxt-layer-shadcn-ui 0.10.1 → 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: '';
@@ -15,14 +15,14 @@
15
15
  },
16
16
  "dateTime": "YYYY-MM-DD HH:mm:ss",
17
17
  "duration": {
18
- "days": "د",
18
+ "days": "ي",
19
19
  "hours": "س",
20
20
  "minutes": "د",
21
21
  "seconds": "ث"
22
22
  }
23
23
  },
24
24
  "symbols": {
25
- "connector": "الفاصل"
25
+ "connector": ""
26
26
  }
27
27
  },
28
28
  "components": {
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "InfiniteDataTable": {
58
58
  "allLoaded": "— सभी लोड हो गए —",
59
- "count": "{loaded} of {total} लोड हो गया",
59
+ "count": "{loaded} में से {total} लोड हो गया",
60
60
  "loadFailed": "लोड करने में विफल",
61
61
  "scrollToTop": "शीर्ष पर जाएं"
62
62
  },
@@ -16,7 +16,7 @@
16
16
  "dateTime": "YYYY-MM-DD HH:mm:ss",
17
17
  "duration": {
18
18
  "days": "h",
19
- "hours": "h",
19
+ "hours": "j",
20
20
  "minutes": "m",
21
21
  "seconds": "d"
22
22
  }
@@ -65,7 +65,7 @@
65
65
  "startPlaceholder": "最小値"
66
66
  },
67
67
  "Pagination": {
68
- "pageReport": "{first}{last}件 / 全{total}件"
68
+ "pageReport": "{first}{last}件 / 全{total}件"
69
69
  },
70
70
  "SearchSelect": {
71
71
  "createNew": "新規作成",
@@ -52,7 +52,7 @@
52
52
  "startPlaceholder": "开始日期"
53
53
  },
54
54
  "Dropdown": {
55
- "empty": "无项目"
55
+ "empty": "暂无项目"
56
56
  },
57
57
  "InfiniteDataTable": {
58
58
  "allLoaded": "全部已加载",
@@ -69,12 +69,12 @@
69
69
  },
70
70
  "SearchSelect": {
71
71
  "createNew": "新建",
72
- "noItems": "无选项",
73
- "noSearchItems": "无结果"
72
+ "noItems": "暂无选项",
73
+ "noSearchItems": "暂无结果"
74
74
  },
75
75
  "Select": {
76
76
  "itemsSelected": "已选择 {count} 项",
77
- "noItems": "无选项",
77
+ "noItems": "暂无选项",
78
78
  "placeholder": "请选择",
79
79
  "searchPlaceholder": "搜索..."
80
80
  },
@@ -84,7 +84,7 @@
84
84
  "titleDirectory": "点击或拖动目录到此区域上传",
85
85
  "titleMultiple": "点击或拖动文件到此区域上传"
86
86
  },
87
- "empty": "无文件",
87
+ "empty": "暂无文件",
88
88
  "error": {
89
89
  "accept": "{files} 不是支持的文件类型 ({accept})。",
90
90
  "oversize": "{files} 超过 {size} 大小限制。"
@@ -36,7 +36,7 @@
36
36
  "copyToClipboard": "複製"
37
37
  },
38
38
  "DataTable": {
39
- "empty": "無資料"
39
+ "empty": "暫無資料"
40
40
  },
41
41
  "DatePicker": {
42
42
  "format": {
@@ -52,11 +52,11 @@
52
52
  "startPlaceholder": "開始日期"
53
53
  },
54
54
  "Dropdown": {
55
- "empty": "沒有項目"
55
+ "empty": "暫無項目"
56
56
  },
57
57
  "InfiniteDataTable": {
58
58
  "allLoaded": "— 全部已載入 —",
59
- "count": "{loaded} {total} 已載入",
59
+ "count": "{loaded} / {total} 已載入",
60
60
  "loadFailed": "載入失敗",
61
61
  "scrollToTop": "回到頂部"
62
62
  },
@@ -69,12 +69,12 @@
69
69
  },
70
70
  "SearchSelect": {
71
71
  "createNew": "建立新項",
72
- "noItems": "無選項",
73
- "noSearchItems": "無搜尋結果"
72
+ "noItems": "暫無選項",
73
+ "noSearchItems": "暫無結果"
74
74
  },
75
75
  "Select": {
76
76
  "itemsSelected": "已選擇 {count} 項",
77
- "noItems": "無選項",
77
+ "noItems": "暫無選項",
78
78
  "placeholder": "請選擇",
79
79
  "searchPlaceholder": "搜尋..."
80
80
  },
@@ -84,7 +84,7 @@
84
84
  "titleDirectory": "在此點擊或拖曳資料夾以上傳",
85
85
  "titleMultiple": "在此點擊或拖曳檔案以上傳"
86
86
  },
87
- "empty": "無檔案",
87
+ "empty": "暫無檔案",
88
88
  "error": {
89
89
  "accept": "{files} 不是可接受的檔案類型({accept})。",
90
90
  "oversize": "{files} 超過 {size} 的大小限制。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarbot/nuxt-layer-shadcn-ui",
3
- "version": "0.10.1",
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": "d2dff840130e925b9459c2df9dd60b7b7b548bfb"
45
+ "gitHead": "1c96483d768a3ba2df56952d5ee1e949e8c914fe"
46
46
  }