@abgov/angular-components 4.7.0-alpha.1 → 4.7.0-alpha.2
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/esm2022/lib/components/index.mjs +1 -2
- package/esm2022/lib/components/microsite-header/microsite-header.mjs +5 -5
- package/fesm2022/abgov-angular-components.mjs +4 -64
- package/fesm2022/abgov-angular-components.mjs.map +1 -1
- package/lib/components/index.d.ts +0 -1
- package/package.json +1 -1
- package/esm2022/lib/components/temporary-notification/temporary-notification.mjs +0 -62
- package/lib/components/temporary-notification/temporary-notification.d.ts +0 -16
|
@@ -66,7 +66,6 @@ export * from "./tab/tab";
|
|
|
66
66
|
export * from "./table/table";
|
|
67
67
|
export * from "./table-sort-header/table-sort-header";
|
|
68
68
|
export * from "./tabs/tabs";
|
|
69
|
-
export * from "./temporary-notification/temporary-notification";
|
|
70
69
|
export * from "./temporary-notification-ctrl/temporary-notification-ctrl";
|
|
71
70
|
export * from "./text/text";
|
|
72
71
|
export * from "./textarea/textarea";
|
package/package.json
CHANGED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, Component, Input } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class GoabTemporaryNotification {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.message = "";
|
|
6
|
-
this.type = "basic";
|
|
7
|
-
this.visible = true;
|
|
8
|
-
this.animationDirection = "down";
|
|
9
|
-
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabTemporaryNotification, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabTemporaryNotification, isStandalone: true, selector: "goab-temporary-notification", inputs: { message: "message", type: "type", duration: "duration", progress: "progress", testId: "testId", actionText: "actionText", visible: "visible", animationDirection: "animationDirection" }, ngImport: i0, template: `
|
|
12
|
-
<goa-temp-notification
|
|
13
|
-
[attr.message]="message"
|
|
14
|
-
[attr.type]="type"
|
|
15
|
-
[attr.duration]="duration"
|
|
16
|
-
[attr.progress]="progress"
|
|
17
|
-
[attr.testid]="testId"
|
|
18
|
-
[attr.action-text]="actionText"
|
|
19
|
-
[attr.visible]="visible"
|
|
20
|
-
[attr.animation-direction]="animationDirection"
|
|
21
|
-
>
|
|
22
|
-
</goa-temp-notification>
|
|
23
|
-
`, isInline: true }); }
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabTemporaryNotification, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{
|
|
28
|
-
standalone: true,
|
|
29
|
-
selector: "goab-temporary-notification",
|
|
30
|
-
template: `
|
|
31
|
-
<goa-temp-notification
|
|
32
|
-
[attr.message]="message"
|
|
33
|
-
[attr.type]="type"
|
|
34
|
-
[attr.duration]="duration"
|
|
35
|
-
[attr.progress]="progress"
|
|
36
|
-
[attr.testid]="testId"
|
|
37
|
-
[attr.action-text]="actionText"
|
|
38
|
-
[attr.visible]="visible"
|
|
39
|
-
[attr.animation-direction]="animationDirection"
|
|
40
|
-
>
|
|
41
|
-
</goa-temp-notification>
|
|
42
|
-
`,
|
|
43
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
44
|
-
}]
|
|
45
|
-
}], propDecorators: { message: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], type: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], duration: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], progress: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], testId: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], actionText: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], visible: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], animationDirection: [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GlmaWNhdGlvbiB7XG4gIEBJbnB1dCgpIG1lc3NhZ2UgPSBcIlwiO1xuICBASW5wdXQoKSB0eXBlOiBTbmFja2JhclR5cGUgPSBcImJhc2ljXCI7XG4gIEBJbnB1dCgpIGR1cmF0aW9uPzogbnVtYmVyO1xuICBASW5wdXQoKSBwcm9ncmVzcz86IG51bWJlcjtcbiAgQElucHV0KCkgdGVzdElkPzogc3RyaW5nO1xuICBASW5wdXQoKSBhY3Rpb25UZXh0Pzogc3RyaW5nO1xuICBASW5wdXQoKSB2aXNpYmxlID0gdHJ1ZTtcbiAgQElucHV0KCkgYW5pbWF0aW9uRGlyZWN0aW9uOiBBbmltYXRpb25EaXJlY3Rpb24gPSBcImRvd25cIjtcbn1cbiJdfQ==
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
type SnackbarType = "basic" | "success" | "failure";
|
|
3
|
-
type AnimationDirection = "up" | "down";
|
|
4
|
-
export declare class GoabTemporaryNotification {
|
|
5
|
-
message: string;
|
|
6
|
-
type: SnackbarType;
|
|
7
|
-
duration?: number;
|
|
8
|
-
progress?: number;
|
|
9
|
-
testId?: string;
|
|
10
|
-
actionText?: string;
|
|
11
|
-
visible: boolean;
|
|
12
|
-
animationDirection: AnimationDirection;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoabTemporaryNotification, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTemporaryNotification, "goab-temporary-notification", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "animationDirection": { "alias": "animationDirection"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
16
|
-
export {};
|