@polymarbot/nuxt-layer-shadcn-ui 0.7.3 → 0.7.4

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.
@@ -207,32 +207,32 @@ onMounted(() => {
207
207
  <template #footer>
208
208
  <slot name="footer">
209
209
  <div class="gap-2 text-xs flex items-center justify-between">
210
+ <span
211
+ v-if="total != null"
212
+ class="text-muted-foreground"
213
+ >
214
+ {{ T('count', { loaded: internalData.length, total }) }}
215
+ </span>
210
216
  <div class="gap-2 flex items-center">
211
- <Tooltip :text="T('refresh')">
217
+ <Tooltip :text="T('scrollToTop')">
212
218
  <Button
213
219
  variant="ghost"
214
220
  size="icon-sm"
215
- icon="rotate-cw"
216
- :disabled="loading"
217
- @click="refresh"
221
+ icon="arrow-up-to-line"
222
+ :disabled="loading || internalData.length === 0"
223
+ @click="scrollToTop"
218
224
  />
219
225
  </Tooltip>
220
- <Tooltip :text="T('scrollToTop')">
226
+ <Tooltip :text="T('refresh')">
221
227
  <Button
222
228
  variant="ghost"
223
229
  size="icon-sm"
224
- icon="arrow-up-to-line"
225
- :disabled="loading || internalData.length === 0"
226
- @click="scrollToTop"
230
+ icon="rotate-cw"
231
+ :disabled="loading"
232
+ @click="refresh"
227
233
  />
228
234
  </Tooltip>
229
235
  </div>
230
- <span
231
- v-if="total != null"
232
- class="text-muted-foreground"
233
- >
234
- {{ T('count', { loaded: internalData.length, total }) }}
235
- </span>
236
236
  </div>
237
237
  </slot>
238
238
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarbot/nuxt-layer-shadcn-ui",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
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": "1cf78baf22c9e3479a08b872135040bc3d9a94d5"
45
+ "gitHead": "a860fba85206b5b12dd129059607f88d9d187493"
46
46
  }