@ng-forge/dynamic-forms-material 0.1.3 → 0.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-forge/dynamic-forms-material",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "description": "Angular Material integration for @ng-forge/dynamic-forms. Pre-built Material Design form components.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -28,11 +28,11 @@
28
28
  "node": ">=18"
29
29
  },
30
30
  "peerDependencies": {
31
- "@angular/common": "~21.0.5",
32
- "@angular/core": "~21.0.5",
33
- "@angular/forms": "~21.0.5",
34
- "@angular/material": "~21.0.0",
35
- "@ng-forge/dynamic-forms": "~0.1.3",
31
+ "@angular/common": ">=21.0.6",
32
+ "@angular/core": ">=21.0.6",
33
+ "@angular/forms": ">=21.0.6",
34
+ "@angular/material": ">=21.0.5",
35
+ "@ng-forge/dynamic-forms": "~0.2.0",
36
36
  "rxjs": ">=7.0.0"
37
37
  },
38
38
  "module": "fesm2022/ng-forge-dynamic-forms-material.mjs",
@@ -140,6 +140,8 @@ declare class MatInputFieldComponent implements MatInputComponent {
140
140
  * Note: We cannot use [readonly] or [attr.readonly] bindings because Angular throws
141
141
  * NG8022: "Binding to '[readonly]' is not allowed on nodes using the '[field]' directive"
142
142
  *
143
+ * Uses afterRenderEffect to ensure DOM is ready before manipulating attributes.
144
+ *
143
145
  * @see https://github.com/angular/angular/issues/65897
144
146
  */
145
147
  private readonly syncReadonlyToDom;
@@ -152,6 +154,8 @@ declare class MatInputFieldComponent implements MatInputComponent {
152
154
  readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
153
155
  readonly effectiveAppearance: _angular_core.Signal<_angular_material_form_field.MatFormFieldAppearance>;
154
156
  readonly effectiveSubscriptSizing: _angular_core.Signal<_angular_material_form_field.SubscriptSizing>;
157
+ /** Computed input type - defaults to 'text' if not specified in props */
158
+ readonly inputType: _angular_core.Signal<"number" | "email" | "text" | "password" | "tel" | "url">;
155
159
  readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
156
160
  readonly showErrors: _angular_core.Signal<boolean>;
157
161
  readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;