@acorex/components 20.7.4 → 20.7.6

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/toast/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AXLocation, AXStyleColorType, MXBaseComponent } from '@acorex/cdk/common';
1
+ import { AXLocation, AXStyleColorType, AXStyleLookType, MXBaseComponent } from '@acorex/cdk/common';
2
2
  import { AXOverlayRef } from '@acorex/cdk/overlay';
3
3
  import * as i0 from '@angular/core';
4
4
  import { OnInit, InjectionToken } from '@angular/core';
@@ -16,6 +16,7 @@ interface AXToastDisplayConfig {
16
16
  closeButton?: boolean;
17
17
  location?: AXLocation;
18
18
  color: AXStyleColorType;
19
+ look?: AXStyleLookType;
19
20
  timeOut?: number;
20
21
  timeOutProgress?: boolean;
21
22
  pauseOnHover?: boolean;
@@ -27,6 +28,7 @@ interface AXToastData {
27
28
  location: AXLocation;
28
29
  closeButton: boolean;
29
30
  color: AXStyleColorType;
31
+ look: AXStyleLookType;
30
32
  timeOut?: number;
31
33
  timeOutProgress: boolean;
32
34
  closeAllButton?: boolean;
@@ -123,6 +125,7 @@ declare class AXToastService {
123
125
  declare class AXToastComponent extends MXBaseComponent implements OnInit {
124
126
  /** Toast configuration data */
125
127
  config: i0.InputSignal<AXToastData>;
128
+ protected hostClass: i0.Signal<string>;
126
129
  /** @internal Callback function to close the toast */
127
130
  onClose: i0.InputSignal<() => void>;
128
131
  toastService: AXToastService;
@@ -161,6 +164,7 @@ interface AXToastConfig {
161
164
  location: AXLocation;
162
165
  limit: number;
163
166
  pauseOnHover: boolean;
167
+ look: AXStyleLookType;
164
168
  }
165
169
  declare const AX_TOAST_CONFIG: InjectionToken<AXToastConfig>;
166
170
  declare const AXToastDefaultConfig: AXToastConfig;