@haiilo/catalyst-angular 10.25.3 → 10.27.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/esm2020/lib/datetime/datetime.component.mjs +1 -1
- package/esm2020/lib/directives/date-value-accessor.mjs +26 -8
- package/esm2020/lib/directives/proxies.mjs +7 -7
- package/esm2020/lib/directives/time-value-accessor.mjs +26 -8
- package/fesm2015/haiilo-catalyst-angular.mjs +69 -27
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +61 -27
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/directives/date-value-accessor.d.ts +8 -4
- package/lib/directives/proxies.d.ts +2 -2
- package/lib/directives/time-value-accessor.d.ts +8 -4
- package/package.json +3 -3
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
2
3
|
import { ValueAccessor } from './value-accessor';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateValueAccessor extends ValueAccessor {
|
|
5
|
-
|
|
5
|
+
export declare class DateValueAccessor extends ValueAccessor implements AfterViewInit {
|
|
6
|
+
private readonly ngControl?;
|
|
7
|
+
constructor(el: ElementRef, ngControl?: NgControl | undefined);
|
|
6
8
|
get nativeElement(): any;
|
|
9
|
+
ngAfterViewInit(): void;
|
|
7
10
|
writeValue(value: any): void;
|
|
8
11
|
handleChangeEvent(value: any): void;
|
|
12
|
+
updateErrors(): void;
|
|
9
13
|
private toISO;
|
|
10
14
|
private toDate;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor,
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor, [null, { optional: true; skipSelf: true; }]>;
|
|
12
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "cat-date, cat-date-inline", never, {}, {}, never, never, false>;
|
|
13
17
|
}
|
|
@@ -24,7 +24,7 @@ export declare class CatBadge {
|
|
|
24
24
|
protected el: HTMLElement;
|
|
25
25
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatBadge, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CatBadge, "cat-badge", never, { "color": "color"; "pulse": "pulse"; "round": "round"; "size": "size"; "variant": "variant"; }, {}, never, ["*"], false>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CatBadge, "cat-badge", never, { "color": "color"; "icon": "icon"; "iconOnly": "iconOnly"; "iconRight": "iconRight"; "pulse": "pulse"; "round": "round"; "size": "size"; "variant": "variant"; }, {}, never, ["*"], false>;
|
|
28
28
|
}
|
|
29
29
|
export declare interface CatBadge extends Components.CatBadge {
|
|
30
30
|
}
|
|
@@ -344,7 +344,7 @@ export declare class CatSpinner {
|
|
|
344
344
|
protected el: HTMLElement;
|
|
345
345
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
346
346
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatSpinner, never>;
|
|
347
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CatSpinner, "cat-spinner", never, { "a11yLabel": "a11yLabel"; "size": "size"; }, {}, never, ["*"], false>;
|
|
347
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CatSpinner, "cat-spinner", never, { "a11yLabel": "a11yLabel"; "size": "size"; "value": "value"; }, {}, never, ["*"], false>;
|
|
348
348
|
}
|
|
349
349
|
export declare interface CatSpinner extends Components.CatSpinner {
|
|
350
350
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
2
3
|
import { ValueAccessor } from './value-accessor';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TimeValueAccessor extends ValueAccessor {
|
|
5
|
-
|
|
5
|
+
export declare class TimeValueAccessor extends ValueAccessor implements AfterViewInit {
|
|
6
|
+
private readonly ngControl?;
|
|
7
|
+
constructor(el: ElementRef, ngControl?: NgControl | undefined);
|
|
6
8
|
get nativeElement(): any;
|
|
9
|
+
ngAfterViewInit(): void;
|
|
7
10
|
writeValue(value: any): void;
|
|
8
11
|
handleChangeEvent(value: any): void;
|
|
9
|
-
|
|
12
|
+
updateErrors(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeValueAccessor, [null, { optional: true; skipSelf: true; }]>;
|
|
10
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TimeValueAccessor, "cat-time", never, {}, {}, never, never, false>;
|
|
11
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haiilo/catalyst-angular",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.27.0",
|
|
4
4
|
"description": "Angular wrapper for Catalyst Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"loglevel": "1.8.1",
|
|
16
16
|
"tslib": "^2.3.0",
|
|
17
|
-
"@haiilo/catalyst
|
|
18
|
-
"@haiilo/catalyst": "10.
|
|
17
|
+
"@haiilo/catalyst": "10.27.0",
|
|
18
|
+
"@haiilo/catalyst-tokens": "10.27.0"
|
|
19
19
|
},
|
|
20
20
|
"module": "fesm2015/haiilo-catalyst-angular.mjs",
|
|
21
21
|
"es2020": "fesm2020/haiilo-catalyst-angular.mjs",
|