i18n-dashboard 0.6.2 → 0.6.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.
@@ -313,6 +313,7 @@
313
313
  "profile.edit_modal_title": "Edit account",
314
314
  "profile.name_label": "Full name",
315
315
  "profile.name_placeholder": "John Doe",
316
+ "profile.stats_title": "Activity",
316
317
  "profile.total_translations": "Total translations",
317
318
  "profile.period_1d": "Last 24 hours",
318
319
  "profile.period_7d": "Last 7 days",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18n-dashboard",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "A web dashboard to manage vue-i18n translation keys with database persistence",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,8 +4,14 @@
4
4
  <!-- Loading -->
5
5
  <div v-if="pending" class="space-y-4">
6
6
  <USkeleton class="h-24" />
7
- <div class="grid grid-cols-2 gap-4">
8
- <USkeleton v-for="i in 2" :key="i" class="h-20" />
7
+ <div class="space-y-3">
8
+ <div class="flex items-center justify-between">
9
+ <USkeleton class="h-4 w-16" />
10
+ <USkeleton class="h-8 w-52" />
11
+ </div>
12
+ <div class="grid grid-cols-2 gap-4">
13
+ <USkeleton v-for="i in 2" :key="i" class="h-20" />
14
+ </div>
9
15
  </div>
10
16
  </div>
11
17
 
@@ -51,8 +57,18 @@
51
57
  </div>
52
58
 
53
59
  <!-- Stats -->
54
- <div class="flex items-center justify-between gap-4">
55
- <div class="grid grid-cols-2 gap-4 flex-1">
60
+ <div class="space-y-3">
61
+ <div class="flex items-center justify-between gap-4">
62
+ <p class="text-xs font-semibold text-gray-400 uppercase tracking-wide">{{ t('profile.stats_title', 'Activity') }}</p>
63
+ <USelect
64
+ v-model="period"
65
+ :items="periodOptions"
66
+ class="w-52"
67
+ value-key="value"
68
+ label-key="label"
69
+ />
70
+ </div>
71
+ <div class="grid grid-cols-2 gap-4">
56
72
  <UCard v-for="stat in statCards" :key="stat.label">
57
73
  <div class="flex items-center gap-3">
58
74
  <div class="p-2 rounded-lg" :class="stat.bg">
@@ -65,13 +81,6 @@
65
81
  </div>
66
82
  </UCard>
67
83
  </div>
68
- <USelect
69
- v-model="period"
70
- :items="periodOptions"
71
- class="w-52 shrink-0"
72
- value-key="value"
73
- label-key="label"
74
- />
75
84
  </div>
76
85
 
77
86
  <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 items-start">