@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 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.items.length;
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.items.length;
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 };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 30 Aug 2023 06:58:09 GMT
3
+ * Generated on Mon, 04 Sep 2023 15:35:47 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 30 Aug 2023 06:58:09 GMT
3
+ * Generated on Mon, 04 Sep 2023 15:35:47 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 30 Aug 2023 06:58:09 GMT
3
+ * Generated on Mon, 04 Sep 2023 15:35:47 GMT
4
4
  */
5
5
 
6
6
  export const BLACK = "#fff";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 30 Aug 2023 06:58:09 GMT
3
+ * Generated on Mon, 04 Sep 2023 15:35:47 GMT
4
4
  */
5
5
 
6
6
  export const BLACK = "#000";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 30 Aug 2023 06:58:09 GMT
3
+ // Generated on Mon, 04 Sep 2023 15:35:47 GMT
4
4
 
5
5
  $red-950: #fff4f3;
6
6
  $red-900: #fcf1ef;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 30 Aug 2023 06:58:09 GMT
3
+ // Generated on Mon, 04 Sep 2023 15:35:47 GMT
4
4
 
5
5
  $brand-gray-05: #2b2838 !default;
6
6
  $brand-gray-04: #45424d !default;