@gitlab/ui 78.15.0 → 78.15.2

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 16 Apr 2024 20:25:30 GMT
3
+ * Generated on Thu, 18 Apr 2024 11:30:50 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 16 Apr 2024 20:25:30 GMT
3
+ * Generated on Thu, 18 Apr 2024 11:30:50 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 Tue, 16 Apr 2024 20:25:30 GMT
3
+ * Generated on Thu, 18 Apr 2024 11:30:50 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 Tue, 16 Apr 2024 20:25:30 GMT
3
+ * Generated on Thu, 18 Apr 2024 11:30:50 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 Tue, 16 Apr 2024 20:25:30 GMT
3
+ // Generated on Thu, 18 Apr 2024 11:30:50 GMT
4
4
 
5
5
  $gl-text-tertiary: #737278 !default;
6
6
  $gl-text-secondary: #89888d !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 16 Apr 2024 20:25:30 GMT
3
+ // Generated on Thu, 18 Apr 2024 11:30:50 GMT
4
4
 
5
5
  $gl-text-tertiary: #89888d !default;
6
6
  $gl-text-secondary: #737278 !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "78.15.0",
3
+ "version": "78.15.2",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -24,14 +24,14 @@
24
24
 
25
25
  .gl-card-header {
26
26
  @include gl-border-b-solid;
27
- @include gl-rounded-top-left-base;
28
- @include gl-rounded-top-right-base;
27
+ border-top-left-radius: calc($gl-border-radius-base - $gl-border-size-1);
28
+ border-top-right-radius: calc($gl-border-radius-base - $gl-border-size-1);
29
29
  }
30
30
 
31
31
  .gl-card-footer {
32
32
  @include gl-border-t-solid;
33
- @include gl-rounded-bottom-left-base;
34
- @include gl-rounded-bottom-right-base;
33
+ border-bottom-left-radius: calc($gl-border-radius-base - $gl-border-size-1);
34
+ border-bottom-right-radius: calc($gl-border-radius-base - $gl-border-size-1);
35
35
  }
36
36
 
37
37
  .gl-card-header,
@@ -6,8 +6,8 @@ const generateProps = ({
6
6
  hasNextPage = true,
7
7
  startCursor = 'eyJpZCI6IjE3NTg1ODciLCJyZWxlYXNlZF9hdCI6IjIwMjAtMDgtMjAgMTQ6NDc6MDguNTQ1MjE1MDAwIFVUQyJ9',
8
8
  endCursor = 'eyJpZCI6IjEyNjcxNzkiLCJyZWxlYXNlZF9hdCI6IjIwMjAtMDItMTkgMjE6MDA6MDUuODU5NTQ2MDAwIFVUQyJ9',
9
- prevText = 'Prev',
10
- nextText = 'Next',
9
+ prevText,
10
+ nextText,
11
11
  prevButtonLink = '',
12
12
  nextButtonLink = '',
13
13
  disabled = false,
@@ -2,6 +2,7 @@
2
2
  import GlButton from '../button/button.vue';
3
3
  import GlButtonGroup from '../button_group/button_group.vue';
4
4
  import GlIcon from '../icon/icon.vue';
5
+ import { translate } from '../../../utils/i18n';
5
6
 
6
7
  export default {
7
8
  name: 'GlKeysetPagination',
@@ -53,12 +54,12 @@ export default {
53
54
  },
54
55
  /**
55
56
  * The text that will be rendered inside the "Prev" button.
56
- * It\'s important to provide this parameter since the default text is not translatable.
57
+ * It's important to provide this parameter since the default text is not translatable.
57
58
  */
58
59
  prevText: {
59
60
  type: String,
60
61
  required: false,
61
- default: 'Prev',
62
+ default: () => translate('GlKeysetPagination.prevText', 'Prev'),
62
63
  },
63
64
  /**
64
65
  * A link that will be used as the "Prev" button\'s "href" attribute.
@@ -76,16 +77,16 @@ export default {
76
77
  navigationLabel: {
77
78
  type: String,
78
79
  required: false,
79
- default: 'Pagination',
80
+ default: () => translate('GlKeysetPagination.navigationLabel', 'Pagination'),
80
81
  },
81
82
  /**
82
83
  * The text that will be rendered inside the "Next" button.
83
- * It\'s important to provide this parameter since the default text is not translatable.
84
+ * It's important to provide this parameter since the default text is not translatable.
84
85
  */
85
86
  nextText: {
86
87
  type: String,
87
88
  required: false,
88
- default: 'Next',
89
+ default: () => translate('GlKeysetPagination.nextText', 'Next'),
89
90
  },
90
91
  /**
91
92
  * A link that will be used as the "Next" button\'s "href" attribute.
package/translations.json CHANGED
@@ -4,6 +4,9 @@
4
4
  "GlSorting.sortDescending": "Sort direction: descending",
5
5
  "GlSearchBoxByType.clearButtonTitle": "Clear",
6
6
  "GlSearchBoxByType.input.placeholder": "Search",
7
+ "GlKeysetPagination.prevText": "Prev",
8
+ "GlKeysetPagination.navigationLabel": "Pagination",
9
+ "GlKeysetPagination.nextText": "Next",
7
10
  "GlBreadcrumb.showMoreLabel": "Show more breadcrumbs",
8
11
  "GlCollapsibleListbox.srOnlyResultsLabel": "Results count"
9
12
  }