@evotor-dev/ui-kit 7.0.2 → 7.0.3

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.
@@ -12,6 +12,22 @@ export declare class EvoLetContext<T> {
12
12
  export declare class EvoLetDirective<T> {
13
13
  evoLet: T;
14
14
  constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<EvoLetContext<T>>);
15
+ /**
16
+ * Assert the correct type of the expression bound to the `evoLet` input within the template.
17
+ *
18
+ * The presence of this static field is a signal to the Ivy template type check compiler that
19
+ * when the `EvoLetDirective` structural directive renders its template, the type of the expression bound
20
+ * to `evoLet` should be narrowed in some way. For `EvoLetDirective`, the binding expression itself is used to
21
+ * narrow its type, which allows the strictNullChecks feature of TypeScript to work with `EvoLetDirective`.
22
+ */
23
+ static ngTemplateGuard_evoLet: 'binding';
24
+ /**
25
+ * Asserts the correct type of the context for the template that `EvoLetDirective` will render.
26
+ *
27
+ * The presence of this method is a signal to the Ivy template type-check compiler that the
28
+ * `EvoLetDirective` structural directive renders its template with a specific context type.
29
+ */
30
+ static ngTemplateContextGuard<T>(dir: EvoLetDirective<T>, ctx: any): ctx is EvoLetContext<T>;
15
31
  static ɵfac: i0.ɵɵFactoryDeclaration<EvoLetDirective<any>, never>;
16
32
  static ɵdir: i0.ɵɵDirectiveDeclaration<EvoLetDirective<any>, "[evoLet]", never, { "evoLet": "evoLet"; }, {}, never>;
17
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evotor-dev/ui-kit",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": ">=13.3.9",
6
6
  "@angular/common": ">=13.4.0",