@gitlab/ui 86.4.0 → 86.4.1
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/CHANGELOG.md +7 -0
- package/dist/components/base/pagination/pagination.js +6 -6
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +1 -1
- package/src/components/base/label/label.scss +1 -1
- package/src/components/base/pagination/pagination.vue +6 -6
- package/translations.js +6 -0
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&:has(*:first-child:focus) {
|
|
27
|
-
@include gl-focus($color: var(--label-background-color, --gl-background-color-default), $important: true);
|
|
27
|
+
@include gl-focus($color: var(--label-background-color, var(--gl-background-color-default)), $important: true);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.gl-label-link {
|
|
@@ -84,7 +84,7 @@ export default {
|
|
|
84
84
|
prevText: {
|
|
85
85
|
type: String,
|
|
86
86
|
required: false,
|
|
87
|
-
default: 'Previous',
|
|
87
|
+
default: translate('GlPagination.prevText', 'Previous'),
|
|
88
88
|
},
|
|
89
89
|
/**
|
|
90
90
|
* When using the compact pagination, use this prop to pass the next page number
|
|
@@ -100,7 +100,7 @@ export default {
|
|
|
100
100
|
nextText: {
|
|
101
101
|
type: String,
|
|
102
102
|
required: false,
|
|
103
|
-
default: 'Next',
|
|
103
|
+
default: translate('GlPagination.nextText', 'Next'),
|
|
104
104
|
},
|
|
105
105
|
/**
|
|
106
106
|
* Text for the ellipsis (overridden by "ellipsis-left" and "ellipsis-right" slots)
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
labelFirstPage: {
|
|
117
117
|
type: String,
|
|
118
118
|
required: false,
|
|
119
|
-
default: 'Go to first page',
|
|
119
|
+
default: translate('GlPagination.labelFirstPage', 'Go to first page'),
|
|
120
120
|
},
|
|
121
121
|
/**
|
|
122
122
|
* aria-label for the previous page item
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
124
124
|
labelPrevPage: {
|
|
125
125
|
type: String,
|
|
126
126
|
required: false,
|
|
127
|
-
default: 'Go to previous page',
|
|
127
|
+
default: translate('GlPagination.labelPrevPage', 'Go to previous page'),
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
130
|
* aria-label for the next page item
|
|
@@ -132,7 +132,7 @@ export default {
|
|
|
132
132
|
labelNextPage: {
|
|
133
133
|
type: String,
|
|
134
134
|
required: false,
|
|
135
|
-
default: 'Go to next page',
|
|
135
|
+
default: translate('GlPagination.labelNextPage', 'Go to next page'),
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
138
138
|
* aria-label for the last page item
|
|
@@ -140,7 +140,7 @@ export default {
|
|
|
140
140
|
labelLastPage: {
|
|
141
141
|
type: String,
|
|
142
142
|
required: false,
|
|
143
|
-
default: 'Go to last page',
|
|
143
|
+
default: translate('GlPagination.labelLastPage', 'Go to last page'),
|
|
144
144
|
},
|
|
145
145
|
/**
|
|
146
146
|
* aria-label getter for numbered page items, defaults to "Go to page <page_number>"
|
package/translations.js
CHANGED
|
@@ -6,7 +6,13 @@ export default {
|
|
|
6
6
|
'GlKeysetPagination.navigationLabel': 'Pagination',
|
|
7
7
|
'GlKeysetPagination.nextText': 'Next',
|
|
8
8
|
'GlKeysetPagination.prevText': 'Previous',
|
|
9
|
+
'GlPagination.labelFirstPage': 'Go to first page',
|
|
10
|
+
'GlPagination.labelLastPage': 'Go to last page',
|
|
11
|
+
'GlPagination.labelNextPage': 'Go to next page',
|
|
9
12
|
'GlPagination.labelPage': 'Go to page %{page}',
|
|
13
|
+
'GlPagination.labelPrevPage': 'Go to previous page',
|
|
14
|
+
'GlPagination.nextText': 'Next',
|
|
15
|
+
'GlPagination.prevText': 'Previous',
|
|
10
16
|
'GlSearchBoxByType.clearButtonTitle': 'Clear',
|
|
11
17
|
'GlSearchBoxByType.input.placeholder': 'Search',
|
|
12
18
|
'GlSorting.sortAscending': 'Sort direction: ascending',
|