@agorapulse/ui-components 20.3.0 → 20.3.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.
- package/agorapulse-ui-components-20.3.2.tgz +0 -0
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs +3 -0
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-selection-dropdown.mjs +10 -3
- package/fesm2022/agorapulse-ui-components-selection-dropdown.mjs.map +1 -1
- package/package.json +1 -1
- package/agorapulse-ui-components-20.3.0.tgz +0 -0
|
Binary file
|
|
@@ -1182,6 +1182,9 @@ class NavSelectorBuilder {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
static buildGroup(node, { focusable, multipleModeEnabled, level, idx, totalNumberOfGroups, detailsDisplayedLimit, }) {
|
|
1184
1184
|
const children = this.buildGroupChildren(node, { multipleModeEnabled, groupLevel: level, focusable, detailsDisplayedLimit });
|
|
1185
|
+
if (!children.length) {
|
|
1186
|
+
return null;
|
|
1187
|
+
}
|
|
1185
1188
|
const displayTokenInvalid = children.some(({ displayTokenInvalid }) => displayTokenInvalid);
|
|
1186
1189
|
const selectedChildrenCount = children.filter(({ selected }) => selected).length;
|
|
1187
1190
|
return {
|