@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 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 "Prev" button.
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', 'Prev')
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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 25 Apr 2024 15:30:17 GMT
3
+ * Generated on Thu, 25 Apr 2024 17:34:16 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 25 Apr 2024 15:30:17 GMT
3
+ * Generated on Thu, 25 Apr 2024 17:34:16 GMT
4
4
  */
5
5
 
6
6
  :root.gl-dark {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 25 Apr 2024 15:30:17 GMT
3
+ * Generated on Thu, 25 Apr 2024 17:34:16 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#133a03";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 25 Apr 2024 15:30:17 GMT
3
+ * Generated on Thu, 25 Apr 2024 17:34:16 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#ddfab7";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 25 Apr 2024 15:30:17 GMT
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 15:30:17 GMT
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "79.4.0",
3
+ "version": "79.4.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -151,8 +151,8 @@ describe('GlKeysetPagination', () => {
151
151
  createComponent();
152
152
  });
153
153
 
154
- it('renders the default text: "Prev"', () => {
155
- expect(findPrevButton().text()).toBe('Prev');
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 "Prev" button.
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', 'Prev'),
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": "Prev",
7
+ "GlKeysetPagination.prevText": "Previous",
8
8
  "GlKeysetPagination.navigationLabel": "Pagination",
9
9
  "GlKeysetPagination.nextText": "Next",
10
10
  "GlBreadcrumb.showMoreLabel": "Show more breadcrumbs",