@praxisui/dynamic-fields 8.0.0-beta.12 → 8.0.0-beta.14

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.
@@ -4664,12 +4664,9 @@ class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
4664
4664
  if (ariaLabel.length) {
4665
4665
  return ariaLabel;
4666
4666
  }
4667
- return this.label?.trim() ? null : this.humanizeName(metadata?.name);
4667
+ return this.label?.trim() || this.humanizeName(metadata?.name);
4668
4668
  }
4669
4669
  booleanLabelledBy() {
4670
- if (this.label?.trim()) {
4671
- return this.booleanLabelId();
4672
- }
4673
4670
  return null;
4674
4671
  }
4675
4672
  booleanDescribedBy() {
@@ -4797,7 +4794,7 @@ class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
4797
4794
  : null;
4798
4795
  }
4799
4796
  optionAriaLabel(option) {
4800
- return option.label?.trim() ? null : this.humanizeName(this.metadata()?.name);
4797
+ return option.label?.trim() || this.humanizeName(this.metadata()?.name);
4801
4798
  }
4802
4799
  optionSupportingText(option) {
4803
4800
  const parts = [
@@ -4868,7 +4865,7 @@ class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
4868
4865
  [color]="metadata()?.color"
4869
4866
  [indeterminate]="metadata()?.indeterminate"
4870
4867
  [required]="isRequiredCheckbox()"
4871
- [ariaLabel]="booleanAriaLabel()"
4868
+ [aria-label]="booleanAriaLabel()"
4872
4869
  [attr.aria-required]="isRequiredCheckbox() ? 'true' : null"
4873
4870
  [attr.aria-labelledby]="booleanLabelledBy()"
4874
4871
  [attr.aria-describedby]="booleanDescribedBy()"
@@ -4921,7 +4918,7 @@ class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
4921
4918
  class="pdx-checkbox-option-control pdx-checkbox-select-all"
4922
4919
  [checked]="isAllSelected()"
4923
4920
  [color]="metadata()?.color"
4924
- [ariaLabel]="selectAllAriaLabel()"
4921
+ [aria-label]="selectAllAriaLabel()"
4925
4922
  [attr.aria-labelledby]="selectAllLabelId()"
4926
4923
  (change)="toggleSelectAll()"
4927
4924
  (click)="$event.stopPropagation()"
@@ -4949,7 +4946,7 @@ class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
4949
4946
  [disabled]="isOptionDisabled(option)"
4950
4947
  [color]="metadata()?.color"
4951
4948
  [required]="isRequiredCheckbox()"
4952
- [ariaLabel]="optionAriaLabel(option)"
4949
+ [aria-label]="optionAriaLabel(option)"
4953
4950
  [attr.aria-required]="isRequiredCheckbox() ? 'true' : null"
4954
4951
  [attr.aria-labelledby]="optionLabelId(option)"
4955
4952
  [attr.aria-describedby]="optionDescriptionId(option)"
@@ -5003,7 +5000,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
5003
5000
  [color]="metadata()?.color"
5004
5001
  [indeterminate]="metadata()?.indeterminate"
5005
5002
  [required]="isRequiredCheckbox()"
5006
- [ariaLabel]="booleanAriaLabel()"
5003
+ [aria-label]="booleanAriaLabel()"
5007
5004
  [attr.aria-required]="isRequiredCheckbox() ? 'true' : null"
5008
5005
  [attr.aria-labelledby]="booleanLabelledBy()"
5009
5006
  [attr.aria-describedby]="booleanDescribedBy()"
@@ -5056,7 +5053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
5056
5053
  class="pdx-checkbox-option-control pdx-checkbox-select-all"
5057
5054
  [checked]="isAllSelected()"
5058
5055
  [color]="metadata()?.color"
5059
- [ariaLabel]="selectAllAriaLabel()"
5056
+ [aria-label]="selectAllAriaLabel()"
5060
5057
  [attr.aria-labelledby]="selectAllLabelId()"
5061
5058
  (change)="toggleSelectAll()"
5062
5059
  (click)="$event.stopPropagation()"
@@ -5084,7 +5081,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
5084
5081
  [disabled]="isOptionDisabled(option)"
5085
5082
  [color]="metadata()?.color"
5086
5083
  [required]="isRequiredCheckbox()"
5087
- [ariaLabel]="optionAriaLabel(option)"
5084
+ [aria-label]="optionAriaLabel(option)"
5088
5085
  [attr.aria-required]="isRequiredCheckbox() ? 'true' : null"
5089
5086
  [attr.aria-labelledby]="optionLabelId(option)"
5090
5087
  [attr.aria-describedby]="optionDescriptionId(option)"
package/index.d.ts CHANGED
@@ -4944,7 +4944,7 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
4944
4944
  booleanErrorId(): string;
4945
4945
  groupHintId(): string;
4946
4946
  groupErrorId(): string;
4947
- booleanAriaLabel(): string | null;
4947
+ booleanAriaLabel(): string;
4948
4948
  booleanLabelledBy(): string | null;
4949
4949
  booleanDescribedBy(): string | null;
4950
4950
  groupDescribedBy(): string | null;
@@ -4966,10 +4966,10 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
4966
4966
  private humanizeName;
4967
4967
  optionLabelId(option: SelectOption<unknown>): string;
4968
4968
  optionDescriptionId(option: SelectOption<unknown>): string | null;
4969
- optionAriaLabel(option: SelectOption<unknown>): string | null;
4969
+ optionAriaLabel(option: SelectOption<unknown>): string;
4970
4970
  optionSupportingText(option: SelectOption<unknown>): string | null;
4971
4971
  selectAllLabelId(): string;
4972
- selectAllAriaLabel(): string | null;
4972
+ selectAllAriaLabel(): string;
4973
4973
  selectAllLabelText(): string;
4974
4974
  private optionDomToken;
4975
4975
  private optionsFromLegacy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/dynamic-fields",
3
- "version": "8.0.0-beta.12",
3
+ "version": "8.0.0-beta.14",
4
4
  "description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.0",
@@ -10,9 +10,9 @@
10
10
  "@angular/cdk": "^20.1.0",
11
11
  "@angular/router": "^20.1.0",
12
12
  "rxjs": "^7.8.0",
13
- "@praxisui/core": "^8.0.0-beta.12",
14
- "@praxisui/cron-builder": "^8.0.0-beta.12",
15
- "@praxisui/dialog": "^8.0.0-beta.12"
13
+ "@praxisui/core": "^8.0.0-beta.14",
14
+ "@praxisui/cron-builder": "^8.0.0-beta.14",
15
+ "@praxisui/dialog": "^8.0.0-beta.14"
16
16
  },
17
17
  "dependencies": {
18
18
  "libphonenumber-js": "^1.12.41",