@gitlab/ui 66.3.0 → 66.4.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 +14 -0
- package/dist/components/base/new_dropdowns/listbox/listbox.js +2 -2
- package/dist/components/base/new_dropdowns/listbox/mock_data.js +7 -1
- 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/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +16 -16
- package/src/components/base/new_dropdowns/listbox/listbox.spec.js +42 -1
- package/src/components/base/new_dropdowns/listbox/listbox.vue +2 -2
- package/src/components/base/new_dropdowns/listbox/mock_data.js +5 -0
- package/src/scss/utilities.scss +6 -0
- package/src/scss/utility-mixins/spacing.scss +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [66.4.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v66.3.1...v66.4.0) (2023-09-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **css:** Add gl-gap-1 class ([8248bf7](https://gitlab.com/gitlab-org/gitlab-ui/commit/8248bf73385db0b15a87c03dc8ccc4310e0f7306))
|
|
7
|
+
|
|
8
|
+
## [66.3.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v66.3.0...v66.3.1) (2023-09-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **GlCollapsibleListbox:** show/hide select all and reset buttons for groups ([867e9c5](https://gitlab.com/gitlab-org/gitlab-ui/commit/867e9c5948f21a1bfb94502ac56f6248c6ab0b4a))
|
|
14
|
+
|
|
1
15
|
# [66.3.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v66.2.0...v66.3.0) (2023-08-30)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -401,7 +401,7 @@ var script = {
|
|
|
401
401
|
return false;
|
|
402
402
|
}
|
|
403
403
|
if (this.multiple) {
|
|
404
|
-
return this.selected.length === this.
|
|
404
|
+
return this.selected.length === this.flattenedOptions.length;
|
|
405
405
|
}
|
|
406
406
|
return Boolean(this.selected);
|
|
407
407
|
},
|
|
@@ -420,7 +420,7 @@ var script = {
|
|
|
420
420
|
if (!this.hasItems) {
|
|
421
421
|
return false;
|
|
422
422
|
}
|
|
423
|
-
return this.selected.length !== this.
|
|
423
|
+
return this.selected.length !== this.flattenedOptions.length;
|
|
424
424
|
},
|
|
425
425
|
showIntersectionObserver() {
|
|
426
426
|
return this.infiniteScroll && !this.infiniteScrollLoading && !this.loading && !this.searching;
|
|
@@ -63,6 +63,12 @@ const mockGroups = [{
|
|
|
63
63
|
value: 'v2.1'
|
|
64
64
|
}]
|
|
65
65
|
}];
|
|
66
|
+
const mockGroupOptionsValues = mockGroups.map(group => group.options).flat().map(_ref2 => {
|
|
67
|
+
let {
|
|
68
|
+
value
|
|
69
|
+
} = _ref2;
|
|
70
|
+
return value;
|
|
71
|
+
});
|
|
66
72
|
const mockGroupsWithTextSrOnly = [{
|
|
67
73
|
text: 'Default',
|
|
68
74
|
options: [{
|
|
@@ -109,4 +115,4 @@ const mockUsers = [{
|
|
|
109
115
|
icon: 'bin'
|
|
110
116
|
}];
|
|
111
117
|
|
|
112
|
-
export { mockGroups, mockGroupsWithTextSrOnly, mockOptions, mockOptionsValues, mockUsers };
|
|
118
|
+
export { mockGroupOptionsValues, mockGroups, mockGroupsWithTextSrOnly, mockOptions, mockOptionsValues, mockUsers };
|
package/dist/tokens/js/tokens.js
CHANGED