@coolon/angular-ui-powerups 16.1.0-alpha.239 → 16.1.0-alpha.240

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.
@@ -23,6 +23,14 @@ export declare class PopupMenuRendererComponent extends DisposableComponent {
23
23
  TrackBy: typeof Track;
24
24
  constructor();
25
25
  get children(): readonly PopupAwareComponent[];
26
+ /** Children with orphan separators collapsed. When `visibleWhile(...)` hides a command,
27
+ * a separator sitting between hidden items — or at the top/bottom of the resulting
28
+ * menu — would render as an empty visual gap. This filters out (1) leading separators,
29
+ * (2) consecutive separators (all but the first), and (3) trailing separators, treating
30
+ * hidden commands as if they weren't there. Separators are kept only where they actually
31
+ * divide two visible items.
32
+ */
33
+ get renderableChildren(): readonly PopupAwareComponent[];
26
34
  executeCommand(data: PopupAwareComponent): void;
27
35
  isCommandEnabled(data: PopupAwareComponent): boolean;
28
36
  /** A command with `visibleWhile(...)` false collapses out of the menu — matches `visibleWhile`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.239",
3
+ "version": "16.1.0-alpha.240",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",
@@ -12,7 +12,7 @@
12
12
  "@angular/platform-browser-dynamic": "^16.2.9",
13
13
  "@angular/material-moment-adapter": "^16.2.10",
14
14
  "@angular/router": "^16.2.9",
15
- "@coolon/pectin": "^5.0.0-alpha.124",
15
+ "@coolon/pectin": "^5.0.0-alpha.125",
16
16
  "fast-typescript-memoize": "^1.1.1",
17
17
  "lodash-es": "^4.17.21",
18
18
  "marked": "4.0.10",