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

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
  }
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.347",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",