@gitlab/ui 38.4.0 → 38.6.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,25 @@
1
+ # [38.6.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v38.5.1...v38.6.0) (2022-04-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * **css:** Add md-max-w-26, md-white-space-nowrap ([bae43c3](https://gitlab.com/gitlab-org/gitlab-ui/commit/bae43c3d64612386b7fd38a8673062155bad4157))
7
+
8
+ ## [38.5.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v38.5.0...v38.5.1) (2022-04-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **GlDatepicker:** fix prop name typo ([973a560](https://gitlab.com/gitlab-org/gitlab-ui/commit/973a56045daa15b7f0809911d34b587025214b76))
14
+
15
+ # [38.5.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v38.4.0...v38.5.0) (2022-04-05)
16
+
17
+
18
+ ### Features
19
+
20
+ * **GlFilteredSearch:** Allow to pass token dynamically ([7c85ea1](https://gitlab.com/gitlab-org/gitlab-ui/commit/7c85ea19c3ffb821fdb4f5f6409e4db816de304e))
21
+ * **GlFilteredSearch:** Allow to pass token dynamically ([38f67eb](https://gitlab.com/gitlab-org/gitlab-ui/commit/38f67eb3df2369f39e1323c1a5c90ab2f7b13847))
22
+
1
23
  # [38.4.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v38.3.0...v38.4.0) (2022-04-04)
2
24
 
3
25
 
@@ -106,7 +106,7 @@ var script = {
106
106
  required: false,
107
107
  default: 0
108
108
  },
109
- arialLabel: {
109
+ ariaLabel: {
110
110
  type: String,
111
111
  required: false,
112
112
  default: ''
@@ -265,7 +265,7 @@ var script = {
265
265
  },
266
266
  disableDayFn: this.disableDayFn,
267
267
  firstDay: this.firstDay,
268
- arialLabel: this.ariaLabel,
268
+ ariaLabel: this.ariaLabel,
269
269
  toString: date => defaultDateFormatter(date),
270
270
  onSelect: this.selected.bind(this),
271
271
  onClose: this.closed.bind(this),
@@ -1,3 +1,4 @@
1
+ import _isEqual from 'lodash/isEqual';
1
2
  import _cloneDeep from 'lodash/cloneDeep';
2
3
  import PortalVue from 'portal-vue';
3
4
  import Vue from 'vue';
@@ -184,15 +185,17 @@ var script = {
184
185
 
185
186
  deep: true,
186
187
  immediate: true
187
- }
188
- },
188
+ },
189
+ value: {
190
+ handler(newValue, oldValue) {
191
+ if (newValue.length && !_isEqual(newValue, oldValue)) {
192
+ this.applyNewValue(_cloneDeep(newValue));
193
+ }
194
+ },
189
195
 
190
- mounted() {
191
- if (this.value.length) {
192
- this.applyNewValue(_cloneDeep(this.value));
196
+ immediate: true
193
197
  }
194
198
  },
195
-
196
199
  methods: {
197
200
  applyNewValue(newValue) {
198
201
  this.tokens = needDenormalization(newValue) ? denormalizeTokens(newValue) : newValue;
@@ -166,6 +166,7 @@ var script = {
166
166
  },
167
167
 
168
168
  currentValue(newValue) {
169
+ if (newValue === this.value) return;
169
170
  this.$emit('input', newValue);
170
171
  }
171
172