@ngrdt/forms 0.0.22 → 0.0.23

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/index.d.ts CHANGED
@@ -12,8 +12,8 @@ import { Highlightable } from '@angular/cdk/a11y';
12
12
 
13
13
  declare abstract class RdtBaseFormInputComponent<TExt, TInt = TExt> extends RdtInteractiveElementComponent implements ControlValueAccessor, OnInit, OnDestroy {
14
14
  readonly injector: Injector;
15
- protected readonly _control: _angular_core.WritableSignal<AbstractControl<TExt, TExt, any> | null>;
16
- readonly control: Signal<AbstractControl<TExt, TExt, any> | null>;
15
+ protected readonly _control: _angular_core.WritableSignal<AbstractControl<TExt, TExt> | null>;
16
+ readonly control: Signal<AbstractControl<TExt, TExt> | null>;
17
17
  readonly label: _angular_core.InputSignal<string>;
18
18
  readonly placeholder: _angular_core.InputSignal<string>;
19
19
  readonly externalValue: _angular_core.ModelSignal<TExt | null>;
@@ -30,9 +30,9 @@ declare abstract class RdtBaseFormInputComponent<TExt, TInt = TExt> extends RdtI
30
30
  protected readonly requiredEffect: _angular_core.EffectRef;
31
31
  private readonly requiredError;
32
32
  private readonly controlErrors;
33
- readonly errors: Signal<{
33
+ readonly errors: Signal<ValidationErrors | {
34
34
  required: boolean;
35
- } | ValidationErrors | null>;
35
+ } | null>;
36
36
  readonly visibleErrors: Signal<ValidationErrors | null>;
37
37
  get ngControl(): NgControl | null;
38
38
  private _ngControl;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@ngrdt/forms",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "peerDependencies": {
5
- "@ngrdt/core": "^0.0.22",
6
- "@ngrdt/utils": "^0.0.22",
7
- "@angular/core": "^20.1.0",
8
- "@angular/forms": "^20.1.0",
9
- "rxjs": "^7.5.0",
10
- "@ngrx/signals": "^20.0.0",
11
- "@angular/cdk": "^20.2.0"
5
+ "@ngrdt/core": "^0.0.23",
6
+ "@ngrdt/utils": "^0.0.23",
7
+ "@angular/core": ">=18.2.0",
8
+ "@angular/forms": ">=18.2.0",
9
+ "rxjs": ">=7.0.0",
10
+ "@ngrx/signals": ">=18.2.0",
11
+ "@angular/cdk": ">=18.2.0"
12
12
  },
13
13
  "sideEffects": false,
14
14
  "module": "fesm2022/ngrdt-forms.mjs",