@destyler/tour 0.2.12 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +4 -4
  2. package/package.json +13 -10
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
3
3
  import { FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, PointerDownOutsideEvent } from "@destyler/dismissable";
4
4
  import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, Required, RequiredBy } from "@destyler/types";
5
5
  //#region src/anatomy.d.ts
6
- export declare const anatomy: import("@destyler/anatomy").AnatomyInstance<"content" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "positioner" | "arrow" | "arrowTip" | "backdrop" | "spotlight">;
6
+ export declare const anatomy: any;
7
7
  //#endregion
8
8
  //#region src/utils/rect.d.ts
9
9
  interface Point {
@@ -361,11 +361,11 @@ interface MachineApi<T extends PropTypes = PropTypes> {
361
361
  export declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;
362
362
  //#endregion
363
363
  //#region src/machine.d.ts
364
- export declare function machine(userContext: UserDefinedContext): import("@destyler/xstate").Machine<MachineContext, MachineState, import("@destyler/xstate").AnyEventObject>;
364
+ export declare function machine(userContext: UserDefinedContext): any;
365
365
  //#endregion
366
366
  //#region src/props.d.ts
367
- export declare const props: ("ids" | "steps" | "stepId" | "onStepChange" | "onStatusChange" | "closeOnInteractOutside" | "closeOnEscape" | "keyboardNavigation" | "preventInteraction" | "spotlightOffset" | "spotlightRadius" | "translations" | "dir" | "id" | "getRootNode" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside")[];
368
- export declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "steps" | "stepId" | "onStepChange" | "onStatusChange" | "closeOnInteractOutside" | "closeOnEscape" | "keyboardNavigation" | "preventInteraction" | "spotlightOffset" | "spotlightRadius" | "translations" | "dir" | "id" | "getRootNode" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside">];
367
+ export declare const props: any;
368
+ export declare const splitProps: any;
369
369
  //#endregion
370
370
  //#region src/utils/wait.d.ts
371
371
  export interface WaitOptions {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@destyler/tour",
3
3
  "type": "module",
4
- "version": "0.2.12",
4
+ "version": "0.3.0",
5
5
  "description": "A guided tour that helps users understand the interface.",
6
6
  "author": "Elone Hoo <elonehoo@gmail.com>",
7
7
  "license": "MIT",
@@ -21,16 +21,19 @@
21
21
  "*.d.ts",
22
22
  "dist"
23
23
  ],
24
+ "engines": {
25
+ "node": ">=22.22.3"
26
+ },
24
27
  "dependencies": {
25
- "@destyler/anatomy": "0.2.12",
26
- "@destyler/dismissable": "0.2.12",
27
- "@destyler/dom": "0.2.12",
28
- "@destyler/focus-trap": "0.2.12",
29
- "@destyler/interact-outside": "0.2.12",
30
- "@destyler/popper": "0.2.12",
31
- "@destyler/types": "0.2.12",
32
- "@destyler/utils": "0.2.12",
33
- "@destyler/xstate": "0.2.12"
28
+ "@destyler/anatomy": "0.3.0",
29
+ "@destyler/dismissable": "0.3.0",
30
+ "@destyler/dom": "0.3.0",
31
+ "@destyler/focus-trap": "0.3.0",
32
+ "@destyler/interact-outside": "0.3.0",
33
+ "@destyler/popper": "0.3.0",
34
+ "@destyler/types": "0.3.0",
35
+ "@destyler/utils": "0.3.0",
36
+ "@destyler/xstate": "0.3.0"
34
37
  },
35
38
  "publishConfig": {
36
39
  "access": "public"