@gitlab/ui 79.4.0 → 80.0.0
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 +23 -0
- package/dist/components/base/keyset_pagination/keyset_pagination.js +2 -2
- package/dist/tokens/css/tokens.css +2 -2
- package/dist/tokens/css/tokens.dark.css +2 -2
- package/dist/tokens/js/tokens.dark.js +2 -2
- package/dist/tokens/js/tokens.js +2 -2
- package/dist/tokens/json/tokens.dark.json +2 -2
- package/dist/tokens/json/tokens.json +2 -2
- package/dist/tokens/scss/_tokens.dark.scss +2 -2
- package/dist/tokens/scss/_tokens.scss +2 -2
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +2 -2
- package/src/components/base/keyset_pagination/keyset_pagination.spec.js +2 -2
- package/src/components/base/keyset_pagination/keyset_pagination.vue +2 -2
- package/src/components/charts/stacked_column/stacked_column.md +1 -1
- package/src/scss/utilities.scss +0 -30
- package/src/scss/utility-mixins/spacing.scss +0 -18
- package/src/tokens/text.dark.tokens.json +1 -1
- package/src/tokens/text.tokens.json +1 -1
- package/translations.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "80.0.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"emoji-regex": "^10.0.0",
|
|
139
139
|
"eslint": "8.57.0",
|
|
140
140
|
"eslint-import-resolver-jest": "3.0.2",
|
|
141
|
-
"eslint-plugin-cypress": "
|
|
141
|
+
"eslint-plugin-cypress": "3.0.0",
|
|
142
142
|
"eslint-plugin-storybook": "0.8.0",
|
|
143
143
|
"glob": "10.3.3",
|
|
144
144
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
The `presentation` property allows you to change between a stacked and tiled presentation style. It
|
|
2
|
-
is only setup to accept `stacked` or `tiled` as values, the default value is `
|
|
2
|
+
is only setup to accept `stacked` or `tiled` as values, the default value is `stacked`.
|
|
3
3
|
|
|
4
4
|
The `stacked` presentation allows to view multiple series of the same stack as a single column,
|
|
5
5
|
while `tiled` presents the information in multiple columns for each series of a stack.
|
package/src/scss/utilities.scss
CHANGED
|
@@ -6757,36 +6757,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
6757
6757
|
margin-left: -#{$gl-spacing-scale-6} !important;
|
|
6758
6758
|
margin-right: -#{$gl-spacing-scale-6} !important;
|
|
6759
6759
|
}
|
|
6760
|
-
.gl-gap-x-3 {
|
|
6761
|
-
> * + * {
|
|
6762
|
-
margin-left: #{$gl-spacing-scale-3};
|
|
6763
|
-
}
|
|
6764
|
-
}
|
|
6765
|
-
.gl-gap-x-3\! {
|
|
6766
|
-
> * + * {
|
|
6767
|
-
margin-left: #{$gl-spacing-scale-3} !important;
|
|
6768
|
-
}
|
|
6769
|
-
}
|
|
6770
|
-
.gl-gap-x-5 {
|
|
6771
|
-
> * + * {
|
|
6772
|
-
margin-left: #{$gl-spacing-scale-5};
|
|
6773
|
-
}
|
|
6774
|
-
}
|
|
6775
|
-
.gl-gap-x-5\! {
|
|
6776
|
-
> * + * {
|
|
6777
|
-
margin-left: #{$gl-spacing-scale-5} !important;
|
|
6778
|
-
}
|
|
6779
|
-
}
|
|
6780
|
-
.gl-gap-y-3 {
|
|
6781
|
-
> * + * {
|
|
6782
|
-
margin-top: #{$gl-spacing-scale-3};
|
|
6783
|
-
}
|
|
6784
|
-
}
|
|
6785
|
-
.gl-gap-y-3\! {
|
|
6786
|
-
> * + * {
|
|
6787
|
-
margin-top: #{$gl-spacing-scale-3} !important;
|
|
6788
|
-
}
|
|
6789
|
-
}
|
|
6790
6760
|
.gl-gap-1 {
|
|
6791
6761
|
gap: $gl-spacing-scale-1;
|
|
6792
6762
|
}
|
|
@@ -864,24 +864,6 @@
|
|
|
864
864
|
* - Utilities should be refactored to use gap after dropping Safari 13.x support
|
|
865
865
|
*/
|
|
866
866
|
|
|
867
|
-
@mixin gl-gap-x-3 {
|
|
868
|
-
> * + * {
|
|
869
|
-
margin-left: #{$gl-spacing-scale-3};
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
@mixin gl-gap-x-5 {
|
|
874
|
-
> * + * {
|
|
875
|
-
margin-left: #{$gl-spacing-scale-5};
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
@mixin gl-gap-y-3 {
|
|
880
|
-
> * + * {
|
|
881
|
-
margin-top: #{$gl-spacing-scale-3};
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
|
|
885
867
|
@mixin gl-gap-1 {
|
|
886
868
|
gap: $gl-spacing-scale-1;
|
|
887
869
|
}
|
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",
|