@gitlab/ui 94.6.0 → 94.6.1

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,10 @@
1
+ ## [94.6.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v94.6.0...v94.6.1) (2024-10-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **GlBreadcrumb:** Fix items watcher behavior ([f4256e4](https://gitlab.com/gitlab-org/gitlab-ui/commit/f4256e41fec4d2b5ede133b4f0d070ffa049d78b))
7
+
1
8
  # [94.6.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v94.5.0...v94.6.0) (2024-10-01)
2
9
 
3
10
 
@@ -129,8 +129,9 @@ var script = {
129
129
  this.overflowingItems = [];
130
130
  },
131
131
  async measureAndMakeBreadcrumbsFit() {
132
- this.resizeDone = false;
133
132
  this.resetItems();
133
+ if (!this.autoResize) return;
134
+ this.resizeDone = false;
134
135
 
135
136
  // Wait for DOM update so all items get rendered and can be measured.
136
137
  await this.$nextTick();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "94.6.0",
3
+ "version": "94.6.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -121,8 +121,9 @@ export default {
121
121
  this.overflowingItems = [];
122
122
  },
123
123
  async measureAndMakeBreadcrumbsFit() {
124
- this.resizeDone = false;
125
124
  this.resetItems();
125
+ if (!this.autoResize) return;
126
+ this.resizeDone = false;
126
127
 
127
128
  // Wait for DOM update so all items get rendered and can be measured.
128
129
  await this.$nextTick();