@gitlab/ui 79.4.0 → 79.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/keyset_pagination/keyset_pagination.js +2 -2
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/package.json +1 -1
- package/src/components/base/keyset_pagination/keyset_pagination.spec.js +2 -2
- package/src/components/base/keyset_pagination/keyset_pagination.vue +2 -2
- package/translations.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [79.4.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v79.4.0...v79.4.1) (2024-04-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **GlKeysetPagination:** set default prev text to "Previous" ([e245aaa](https://gitlab.com/gitlab-org/gitlab-ui/commit/e245aaab8be4835c3ee01d4917d0499289e16a68))
|
|
7
|
+
|
|
1
8
|
# [79.4.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v79.3.0...v79.4.0) (2024-04-25)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -53,13 +53,13 @@ var script = {
|
|
|
53
53
|
default: null
|
|
54
54
|
},
|
|
55
55
|
/**
|
|
56
|
-
* The text that will be rendered inside the "
|
|
56
|
+
* The text that will be rendered inside the "Previous" button.
|
|
57
57
|
* It's important to provide this parameter since the default text is not translatable.
|
|
58
58
|
*/
|
|
59
59
|
prevText: {
|
|
60
60
|
type: String,
|
|
61
61
|
required: false,
|
|
62
|
-
default: () => translate('GlKeysetPagination.prevText', '
|
|
62
|
+
default: () => translate('GlKeysetPagination.prevText', 'Previous')
|
|
63
63
|
},
|
|
64
64
|
/**
|
|
65
65
|
* A link that will be used as the "Prev" button\'s "href" attribute.
|
package/dist/tokens/js/tokens.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on Thu, 25 Apr 2024
|
|
3
|
+
// Generated on Thu, 25 Apr 2024 17:34:16 GMT
|
|
4
4
|
|
|
5
5
|
$gl-text-color-disabled: #89888d !default; // Used for disabled text.
|
|
6
6
|
$gl-text-color-link: #63a6e9 !default; // Used for default text links.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on Thu, 25 Apr 2024
|
|
3
|
+
// Generated on Thu, 25 Apr 2024 17:34:16 GMT
|
|
4
4
|
|
|
5
5
|
$gl-text-color-disabled: #89888d !default; // Used for disabled text.
|
|
6
6
|
$gl-text-color-success: #217645 !default; // Used for text indicating success or validity.
|
package/package.json
CHANGED
|
@@ -151,8 +151,8 @@ describe('GlKeysetPagination', () => {
|
|
|
151
151
|
createComponent();
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
it('renders the default text: "
|
|
155
|
-
expect(findPrevButton().text()).toBe('
|
|
154
|
+
it('renders the default text: "Previous"', () => {
|
|
155
|
+
expect(findPrevButton().text()).toBe('Previous');
|
|
156
156
|
});
|
|
157
157
|
});
|
|
158
158
|
|
|
@@ -53,13 +53,13 @@ export default {
|
|
|
53
53
|
default: null,
|
|
54
54
|
},
|
|
55
55
|
/**
|
|
56
|
-
* The text that will be rendered inside the "
|
|
56
|
+
* The text that will be rendered inside the "Previous" button.
|
|
57
57
|
* It's important to provide this parameter since the default text is not translatable.
|
|
58
58
|
*/
|
|
59
59
|
prevText: {
|
|
60
60
|
type: String,
|
|
61
61
|
required: false,
|
|
62
|
-
default: () => translate('GlKeysetPagination.prevText', '
|
|
62
|
+
default: () => translate('GlKeysetPagination.prevText', 'Previous'),
|
|
63
63
|
},
|
|
64
64
|
/**
|
|
65
65
|
* A link that will be used as the "Prev" button\'s "href" attribute.
|
package/translations.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"GlSorting.sortDescending": "Sort direction: descending",
|
|
5
5
|
"GlSearchBoxByType.clearButtonTitle": "Clear",
|
|
6
6
|
"GlSearchBoxByType.input.placeholder": "Search",
|
|
7
|
-
"GlKeysetPagination.prevText": "
|
|
7
|
+
"GlKeysetPagination.prevText": "Previous",
|
|
8
8
|
"GlKeysetPagination.navigationLabel": "Pagination",
|
|
9
9
|
"GlKeysetPagination.nextText": "Next",
|
|
10
10
|
"GlBreadcrumb.showMoreLabel": "Show more breadcrumbs",
|