react-shepherd 5.0.3 → 6.0.0

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/dist/index.d.ts CHANGED
@@ -1,14 +1,16 @@
1
1
  import { Consumer } from 'react';
2
2
  import { Context } from 'react';
3
- import { default as default_2 } from 'shepherd.js';
3
+ import { default as default_2 } from '@shepherdpro/pro-js';
4
+ import { default as default_3 } from 'shepherd.js';
4
5
  import { FC } from 'react';
5
6
  import { ReactNode } from 'react';
6
- import { ShepherdPro } from 'shepherd.js/tour';
7
+ import { ShepherdBase } from 'shepherd.js';
8
+ import { ShepherdPro } from '@shepherdpro/pro-js';
7
9
 
8
10
  export declare const JourneyMethods: Consumer<ShepherdContextType | undefined>;
9
11
 
10
12
  declare interface ShepherdContextType {
11
- Shepherd: typeof default_2;
13
+ Shepherd: typeof default_2 | typeof default_3;
12
14
  }
13
15
 
14
16
  export declare const ShepherdJourneyContext: Context<ShepherdContextType | undefined>;
@@ -22,6 +24,6 @@ declare interface ShepherdProviderProps {
22
24
  children?: ReactNode;
23
25
  }
24
26
 
25
- export declare const useShepherd: () => ShepherdPro;
27
+ export declare const useShepherd: () => ShepherdPro | ShepherdBase;
26
28
 
27
29
  export { }