@ethlete/cdk 5.0.0-next.52 → 5.0.0-next.54
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,5 +1,17 @@
|
|
|
1
1
|
# @ethlete/cdk
|
|
2
2
|
|
|
3
|
+
## 5.0.0-next.54
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- The cdk migration knows the et-segmented-button-group-scrollable class from components.
|
|
8
|
+
|
|
9
|
+
## 5.0.0-next.53
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Stop the single combobox from emitting an empty `filterChange` before the label of a set value when its options load after the filter debounce.
|
|
14
|
+
|
|
3
15
|
## 5.0.0-next.52
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/fesm2022/ethlete-cdk.mjs
CHANGED
|
@@ -20625,8 +20625,12 @@ var ComboboxDirective = class ComboboxDirective {
|
|
|
20625
20625
|
this._hasTypedSinceSelectionSync = false;
|
|
20626
20626
|
this._selectionModel.setSelectionFromValue$(this._input.value);
|
|
20627
20627
|
}
|
|
20628
|
+
_awaitsLabelOfValue() {
|
|
20629
|
+
const value = this._input.value;
|
|
20630
|
+
return !this._selectionModel.allowMultiple && value !== null && value !== void 0 && value !== "" && !Array.isArray(value);
|
|
20631
|
+
}
|
|
20628
20632
|
_initDispatchFilterChanges() {
|
|
20629
|
-
this._currentFilter$.pipe(skipWhile(() => this.filterInternal), debounceTime(300), distinctUntilChanged(), takeUntil(this._destroy$), tap((v) => this.filterChange.emit(v))).subscribe();
|
|
20633
|
+
this._currentFilter$.pipe(skipWhile(() => this.filterInternal), skipWhile((filter) => filter === "" && this._awaitsLabelOfValue()), debounceTime(300), distinctUntilChanged(), takeUntil(this._destroy$), tap((v) => this.filterChange.emit(v))).subscribe();
|
|
20630
20634
|
}
|
|
20631
20635
|
_closeBodyOnDisable() {
|
|
20632
20636
|
this._input.disabled$.pipe(tap((disabled) => {
|