@igo2/common 16.0.0-rc.4 → 16.0.0-rc.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.
@@ -1,7 +1,7 @@
1
1
  import { Placement } from '@floating-ui/utils';
2
2
  export interface InteractiveTourStep {
3
3
  element?: string;
4
- position?: Placement;
4
+ position?: InteractiveTourPlacement;
5
5
  title?: string;
6
6
  text: string;
7
7
  beforeShow?: InteractiveTourAction;
@@ -14,6 +14,7 @@ export interface InteractiveTourStep {
14
14
  disableInteraction?: boolean;
15
15
  noBackButton?: boolean;
16
16
  }
17
+ type InteractiveTourPlacement = 'auto' | Placement;
17
18
  export interface InteractiveTourAction {
18
19
  element?: string;
19
20
  action: 'click';
@@ -23,7 +24,7 @@ export interface InteractiveTourAction {
23
24
  }
24
25
  export interface InteractiveTourOptions {
25
26
  steps: InteractiveTourStep[];
26
- position?: string;
27
+ position?: InteractiveTourPlacement;
27
28
  title?: string;
28
29
  highlightClass?: string;
29
30
  class?: string;
@@ -31,3 +32,4 @@ export interface InteractiveTourOptions {
31
32
  disableInteraction?: boolean;
32
33
  conditions?: string[];
33
34
  }
35
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/common",
3
- "version": "16.0.0-rc.4",
3
+ "version": "16.0.0-rc.6",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -38,8 +38,8 @@
38
38
  "@angular/material": "^16.2.4",
39
39
  "@angular/platform-browser": "^16.2.5",
40
40
  "@floating-ui/utils": "^0.1.4",
41
- "@igo2/core": "^16.0.0-rc.4",
42
- "@igo2/utils": "^16.0.0-rc.4",
41
+ "@igo2/core": "^16.0.0-rc.6",
42
+ "@igo2/utils": "^16.0.0-rc.6",
43
43
  "angular-shepherd": "16.0.0",
44
44
  "scroll-into-view-if-needed": "^3.0.0",
45
45
  "typy": "^3.3.0",