@coolon/angular-ui-powerups 16.1.0-alpha.346 → 16.1.0-alpha.348

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.
@@ -4,8 +4,20 @@ import * as i0 from "@angular/core";
4
4
  export declare class CheckboxInputComponent extends AbstractValueInputComponent<boolean> {
5
5
  color: 'primary' | 'warn' | 'accent';
6
6
  labelPosition: 'before' | 'after';
7
+ /**
8
+ * Whether the checkbox reserves the space that lines its box up with outlined form fields: the
9
+ * top padding every density gives it, and the margin form.scss leaves for a field's float label.
10
+ * Keep it on in a row of outlined fields, where the box must sit level with their text.
11
+ *
12
+ * Turn it off where no outlined field sits beside the checkbox, such as a list of checkboxes on
13
+ * their own or a checkbox beside a button. The checkbox then takes only its own height, so it
14
+ * centres on the row like anything else — at every density, since the space is for the fields
15
+ * and not for the checkbox.
16
+ */
17
+ alignWithFields: boolean;
18
+ get noFieldAlignment(): boolean;
7
19
  constructor();
8
20
  select($event: MatCheckboxChange): void;
9
21
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxInputComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxInputComponent, "aup-checkbox-input", never, { "color": { "alias": "color"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; }, {}, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxInputComponent, "aup-checkbox-input", never, { "color": { "alias": "color"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "alignWithFields": { "alias": "alignWithFields"; "required": false; }; }, {}, never, never, false, never>;
11
23
  }
@@ -23,7 +23,13 @@ export declare class TreeLabelCellRendererComponent<T extends object> extends Di
23
23
  get isRoot(): boolean;
24
24
  get isLeaf(): boolean;
25
25
  get node(): T;
26
- expandOrCollapse($event: MouseEvent, node: T): void;
26
+ /** Whether the node can open and close, so its icon is a toggle button rather than a picture. */
27
+ get hasChildren(): boolean;
28
+ /**
29
+ * Opens or closes the node as the user's choice. A click on the toggle selects no row, and neither does Enter or
30
+ * Space on it, which the template stops before they reach the table.
31
+ */
32
+ expandOrCollapse($event: Event, node: T): void;
27
33
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeLabelCellRendererComponent<any>, never>;
28
34
  static ɵcmp: i0.ɵɵComponentDeclaration<TreeLabelCellRendererComponent<any>, "aup-tree-label-cell-renderer", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "secondaryLabel": { "alias": "secondaryLabel"; "required": false; }; "showsConnectors": { "alias": "showsConnectors"; "required": false; }; "iconFactory": { "alias": "iconFactory"; "required": false; }; "treeTableModel": { "alias": "treeTableModel"; "required": false; }; }, {}, never, never, false, never>;
29
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.346",
3
+ "version": "16.1.0-alpha.348",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",