sprintify-ui 0.0.185 → 0.0.186

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.185",
3
+ "version": "0.0.186",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -99,23 +99,22 @@
99
99
  <!-- Pagination -->
100
100
 
101
101
  <div v-if="paginationMetadata" class="mt-4">
102
- <p class="text-center text-sm text-slate-400 sm:text-right">
103
- {{
104
- (paginationMetadata.current_page - 1) *
105
- paginationMetadata.per_page +
106
- 1
107
- }}
108
- -
109
- {{
102
+ <p
103
+ class="text-center text-sm text-slate-500 sm:text-right [&>b]:font-medium [&>b]:text-slate-600"
104
+ v-html="
110
105
  $t('sui.pagination_detail', {
111
- page: Math.min(
106
+ start:
107
+ (paginationMetadata.current_page - 1) *
108
+ paginationMetadata.per_page +
109
+ 1,
110
+ end: Math.min(
112
111
  paginationMetadata.current_page * paginationMetadata.per_page,
113
112
  paginationMetadata.total
114
113
  ),
115
114
  total: paginationMetadata.total,
116
115
  })
117
- }}
118
- </p>
116
+ "
117
+ ></p>
119
118
  </div>
120
119
 
121
120
  <div v-if="paginationMetadata" class="mt-4">
package/src/lang/en.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "of": "of",
47
47
  "or": "or",
48
48
  "page": "Page",
49
- "pagination_detail": "{page} records of {total}",
49
+ "pagination_detail": "Viewing <b>{start} - {end}</b> of <b>{total}</b>",
50
50
  "postal_code_zip_code": "Postal Code / Zip Code",
51
51
  "previous": "Previous",
52
52
  "previous_month": "Previous month",
package/src/lang/fr.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "of": "de",
47
47
  "or": "ou",
48
48
  "page": "Page",
49
- "pagination_detail": "{page} items de {total}",
49
+ "pagination_detail": "Affichage de <b>{start}</b> - <b>{end}</b> de <b>{total}</b>",
50
50
  "postal_code_zip_code": "Code postal",
51
51
  "previous": "Précédent",
52
52
  "previous_month": "Mois précédent",