@agorapulse/ui-components 20.2.0 → 20.2.2
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.
|
Binary file
|
|
@@ -1476,8 +1476,8 @@ class NavSelectorMerger {
|
|
|
1476
1476
|
if (this.isInternalLeafLogicValid(newLeaf)) {
|
|
1477
1477
|
newLeaf.viewMoreDisplayable = newLeaf.details.length > newLeaf.viewMoreDetailsDisplayedLimit;
|
|
1478
1478
|
newLeaf.viewMoreDisplayed = oldLeaf.viewMoreDisplayed;
|
|
1479
|
-
newLeaf.displayCounter = oldLeaf.displayCounter;
|
|
1480
1479
|
newLeaf.folded = oldLeaf.folded;
|
|
1480
|
+
newLeaf.displayCounter = newLeaf.folded && newLeaf.counterDisplayable;
|
|
1481
1481
|
newLeaf.selected = oldLeaf.selected;
|
|
1482
1482
|
newLeaf.accessibility.tabIndex = oldLeaf.accessibility.tabIndex;
|
|
1483
1483
|
const oldDetailByUId = associateBy(oldLeaf.details, 'uid');
|
|
@@ -2265,6 +2265,7 @@ class NavSelectorLeafComponent {
|
|
|
2265
2265
|
startSymbolId: action.icon ?? undefined,
|
|
2266
2266
|
disabled: action.status === 'disabled',
|
|
2267
2267
|
featureLockEnabled: action.status === 'locked',
|
|
2268
|
+
dividerEnabled: action.dividerEnabled ?? false
|
|
2268
2269
|
}));
|
|
2269
2270
|
}, ...(ngDevMode ? [{ debugName: "leafActions" }] : []));
|
|
2270
2271
|
constructor(el, navSelectorLeafPresenter) {
|