ahdjs 0.0.42 → 0.0.44

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.
@@ -11,7 +11,7 @@ declare class AHD extends GuideChimp {
11
11
  attachPlugins(): Promise<void>;
12
12
  initializeSiteMap(refetch: boolean): Promise<void>;
13
13
  getHelpContent(url: string, refetch: boolean): Promise<any>;
14
- showPageTour(url: string, refetch: boolean, forceShow: boolean): Promise<void>;
14
+ showPageTour(url: string, refetch: boolean, forceShow?: boolean): Promise<void>;
15
15
  showAppBanner(url: string, refetch: boolean): Promise<any>;
16
16
  fetchFaqs(slug: any): Promise<any>;
17
17
  showPageBeacons(url: string, refetch: boolean): Promise<void>;
@@ -0,0 +1,34 @@
1
+ export namespace TRIGGER_EVENTS {
2
+ const onClick: string;
3
+ const onHover: string;
4
+ const onPageLoad: string;
5
+ const onLongPress: string;
6
+ }
7
+ export namespace ANIMATION_TYPES {
8
+ const instant: string;
9
+ const fadeIn: string;
10
+ const slide: string;
11
+ }
12
+ export namespace DISMISSAL_SETTINGS {
13
+ const onOutsideClick: string;
14
+ const dismissButtonClickOnly: string;
15
+ const buttonClickOnly: string;
16
+ }
17
+ export namespace POSITION {
18
+ const top: string;
19
+ const bottom: string;
20
+ const left: string;
21
+ const right: string;
22
+ }
23
+ export namespace ICON_TYPE {
24
+ const help: string;
25
+ const info: string;
26
+ const warning: string;
27
+ const beacon: string;
28
+ }
29
+ export function animationMode(type: any): "none" | "fadeIn 1s ease-in" | "slideUp 1s forwards";
30
+ export namespace TRIGGER_MODE {
31
+ const icon: string;
32
+ const noIcon: string;
33
+ const label: string;
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ahdjs",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/types/index.d.ts",