@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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [78.15.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.15.1...v78.15.2) (2024-04-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **GlCard:** Fixing header and foter inner border radii ([1c28af7](https://gitlab.com/gitlab-org/gitlab-ui/commit/1c28af7aeabc3df2c13038fda97c42d294a0e476))
7
+
8
+ ## [78.15.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.15.0...v78.15.1) (2024-04-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **GlKeysetPagination:** externalize labels ([9057c19](https://gitlab.com/gitlab-org/gitlab-ui/commit/9057c1910477f1e5a9252900b3c67cd10c2eb2bf))
14
+
1
15
  # [78.15.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.14.1...v78.15.0) (2024-04-16)
2
16
 
3
17
 
@@ -1,6 +1,7 @@
1
1
  import GlButton from '../button/button';
2
2
  import GlButtonGroup from '../button_group/button_group';
3
3
  import GlIcon from '../icon/icon';
4
+ import { translate } from '../../../utils/i18n';
4
5
  import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
5
6
 
6
7
  var script = {
@@ -53,12 +54,12 @@ var script = {
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 @@ var script = {
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.