ca-components 1.9.1 → 1.9.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/assets/scss/opacity.scss +14 -0
- package/assets/scss/sizing.scss +2 -0
- package/assets/scss/styles.scss +1 -0
- package/fesm2022/ca-components.mjs +210 -169
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-toast-messages/ca-toast-messages.component.d.ts +7 -1
- package/lib/components/ca-toast-messages/pipes/index.d.ts +1 -0
- package/lib/components/ca-toast-messages/pipes/toast-stack.pipe.d.ts +7 -0
- package/package.json +1 -1
|
@@ -9,10 +9,15 @@ export declare class CaToastMessagesComponent implements OnInit {
|
|
|
9
9
|
additionalMessage: string;
|
|
10
10
|
isFailedMessage: boolean;
|
|
11
11
|
isStorybookExample: boolean;
|
|
12
|
+
set toastIndex(value: number);
|
|
13
|
+
set toastLength(value: number);
|
|
12
14
|
removeToast: EventEmitter<void>;
|
|
15
|
+
tryAgain: EventEmitter<void>;
|
|
13
16
|
private autoCloseTimer;
|
|
14
17
|
isVisible: boolean;
|
|
15
18
|
isHoverActive: boolean;
|
|
19
|
+
_toastIndex: number;
|
|
20
|
+
_toastLength: number;
|
|
16
21
|
sharedSvgRoutes: typeof SharedSvgRoutes;
|
|
17
22
|
constructor();
|
|
18
23
|
ngOnInit(): void;
|
|
@@ -20,6 +25,7 @@ export declare class CaToastMessagesComponent implements OnInit {
|
|
|
20
25
|
startCloseAnimation(): void;
|
|
21
26
|
onAnimationDone(): void;
|
|
22
27
|
private startAutoCloseTimer;
|
|
28
|
+
onTryAgain(): void;
|
|
23
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaToastMessagesComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaToastMessagesComponent, "app-ca-toast-messages", never, { "type": { "alias": "type"; "required": false; }; "toastTitle": { "alias": "toastTitle"; "required": false; }; "toastMessage": { "alias": "toastMessage"; "required": false; }; "additionalMessage": { "alias": "additionalMessage"; "required": false; }; "isFailedMessage": { "alias": "isFailedMessage"; "required": false; }; "isStorybookExample": { "alias": "isStorybookExample"; "required": false; }; }, { "removeToast": "removeToast"; }, never, never, true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaToastMessagesComponent, "app-ca-toast-messages", never, { "type": { "alias": "type"; "required": false; }; "toastTitle": { "alias": "toastTitle"; "required": false; }; "toastMessage": { "alias": "toastMessage"; "required": false; }; "additionalMessage": { "alias": "additionalMessage"; "required": false; }; "isFailedMessage": { "alias": "isFailedMessage"; "required": false; }; "isStorybookExample": { "alias": "isStorybookExample"; "required": false; }; "toastIndex": { "alias": "toastIndex"; "required": false; }; "toastLength": { "alias": "toastLength"; "required": false; }; }, { "removeToast": "removeToast"; "tryAgain": "tryAgain"; }, never, never, true, never>;
|
|
25
31
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToastStackPipe implements PipeTransform {
|
|
4
|
+
transform(index: number, total: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastStackPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToastStackPipe, "toastStack", true>;
|
|
7
|
+
}
|