@destyler/tour 0.0.7-beta.7 → 0.0.7-beta.9

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,378 +1,383 @@
1
- import * as _zag_js_anatomy from '@zag-js/anatomy';
2
- import { DirectionProperty, CommonProperties, Required, PropTypes, RequiredBy, NormalizeProps } from '@zag-js/types';
3
- import * as _zag_js_core from '@zag-js/core';
4
- import { StateMachine, Machine } from '@zag-js/core';
5
- import { InteractOutsideHandlers } from '@zag-js/dismissable';
6
- export { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/dismissable';
7
- import { Placement, AnchorRect } from '@zag-js/popper';
8
-
9
- declare const anatomy: _zag_js_anatomy.AnatomyInstance<"content" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "positioner" | "arrow" | "arrowTip" | "backdrop" | "spotlight">;
1
+ import * as _destyler_anatomy0 from "@destyler/anatomy";
2
+ import { AnchorRect, Placement } from "@destyler/popper";
3
+ import * as _destyler_xstate0 from "@destyler/xstate";
4
+ import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
5
+ import { FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, PointerDownOutsideEvent } from "@destyler/dismissable";
6
+ import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, Required, RequiredBy } from "@destyler/types";
10
7
 
8
+ //#region src/anatomy.d.ts
9
+ declare const anatomy: _destyler_anatomy0.AnatomyInstance<"content" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "positioner" | "arrow" | "arrowTip" | "backdrop" | "spotlight">;
10
+ //#endregion
11
+ //#region src/utils/rect.d.ts
11
12
  interface Point {
12
- x: number;
13
- y: number;
13
+ x: number;
14
+ y: number;
14
15
  }
15
-
16
+ //#endregion
17
+ //#region src/types.d.ts
16
18
  interface StepEffectArgs {
17
- next: () => void;
18
- goto: (id: string) => void;
19
- dismiss: () => void;
20
- show: () => void;
21
- update: (data: Partial<StepBaseDetails>) => void;
22
- target?: (() => HTMLElement | null) | undefined;
19
+ next: () => void;
20
+ goto: (id: string) => void;
21
+ dismiss: () => void;
22
+ show: () => void;
23
+ update: (data: Partial<StepBaseDetails>) => void;
24
+ target?: (() => HTMLElement | null) | undefined;
23
25
  }
24
26
  type StepType = 'tooltip' | 'dialog' | 'wait' | 'floating';
25
27
  type StepActionType = 'next' | 'prev' | 'dismiss';
26
28
  type StepActionFn = (actionMap: StepActionMap) => void;
27
29
  type StepPlacement = Placement | 'center';
28
30
  interface StepAction {
29
- /**
30
- * The label of the action
31
- */
32
- label: string;
33
- /**
34
- * The action to perform
35
- */
36
- action?: StepActionType | StepActionFn | undefined;
37
- /**
38
- * The attributes to apply to the action trigger
39
- */
40
- attrs?: Record<string, any> | undefined;
31
+ /**
32
+ * The label of the action
33
+ */
34
+ label: string;
35
+ /**
36
+ * The action to perform
37
+ */
38
+ action?: StepActionType | StepActionFn | undefined;
39
+ /**
40
+ * The attributes to apply to the action trigger
41
+ */
42
+ attrs?: Record<string, any> | undefined;
41
43
  }
42
44
  interface StepBaseDetails {
43
- /**
44
- * The type of the step. If no target is provided,
45
- * the step will be treated as a modal step.
46
- */
47
- type?: StepType | undefined;
48
- /**
49
- * Function to return the target element to highlight
50
- */
51
- target?: () => HTMLElement | null;
52
- /**
53
- * The title of the step
54
- */
55
- title: any;
56
- /**
57
- * The description of the step
58
- */
59
- description: any;
60
- /**
61
- * The placement of the step
62
- */
63
- placement?: StepPlacement | undefined;
64
- /**
65
- * The offset between the content and the target
66
- */
67
- offset?: {
68
- mainAxis?: number;
69
- crossAxis?: number;
70
- } | undefined;
71
- /**
72
- * Additional metadata of the step
73
- */
74
- meta?: Record<string, any> | undefined;
75
- /**
76
- * Whether to show a backdrop behind the step
77
- */
78
- backdrop?: boolean | undefined;
79
- /**
80
- * Whether to show an arrow tip on the step
81
- */
82
- arrow?: boolean | undefined;
83
- /**
84
- * The actions to perform when the step is completed
85
- */
86
- actions?: StepAction[] | undefined;
45
+ /**
46
+ * The type of the step. If no target is provided,
47
+ * the step will be treated as a modal step.
48
+ */
49
+ type?: StepType | undefined;
50
+ /**
51
+ * Function to return the target element to highlight
52
+ */
53
+ target?: () => HTMLElement | null;
54
+ /**
55
+ * The title of the step
56
+ */
57
+ title: any;
58
+ /**
59
+ * The description of the step
60
+ */
61
+ description: any;
62
+ /**
63
+ * The placement of the step
64
+ */
65
+ placement?: StepPlacement | undefined;
66
+ /**
67
+ * The offset between the content and the target
68
+ */
69
+ offset?: {
70
+ mainAxis?: number;
71
+ crossAxis?: number;
72
+ } | undefined;
73
+ /**
74
+ * Additional metadata of the step
75
+ */
76
+ meta?: Record<string, any> | undefined;
77
+ /**
78
+ * Whether to show a backdrop behind the step
79
+ */
80
+ backdrop?: boolean | undefined;
81
+ /**
82
+ * Whether to show an arrow tip on the step
83
+ */
84
+ arrow?: boolean | undefined;
85
+ /**
86
+ * The actions to perform when the step is completed
87
+ */
88
+ actions?: StepAction[] | undefined;
87
89
  }
88
90
  interface StepDetails extends StepBaseDetails {
89
- /**
90
- * The unique identifier of the step
91
- */
92
- id: string;
93
- /**
94
- * The effect to run before the step is shown
95
- */
96
- effect?: (args: StepEffectArgs) => VoidFunction;
91
+ /**
92
+ * The unique identifier of the step
93
+ */
94
+ id: string;
95
+ /**
96
+ * The effect to run before the step is shown
97
+ */
98
+ effect?: (args: StepEffectArgs) => VoidFunction;
97
99
  }
98
100
  interface StepChangeDetails {
99
- stepId: string | null;
100
- stepIndex: number;
101
- totalSteps: number;
102
- complete: boolean;
103
- progress: number;
101
+ stepId: string | null;
102
+ stepIndex: number;
103
+ totalSteps: number;
104
+ complete: boolean;
105
+ progress: number;
104
106
  }
105
107
  type StepStatus = 'idle' | 'started' | 'skipped' | 'completed' | 'dismissed' | 'not-found';
106
108
  interface StepActionMap {
107
- next: () => void;
108
- prev: () => void;
109
- dismiss: () => void;
110
- goto: (id: string) => void;
109
+ next: () => void;
110
+ prev: () => void;
111
+ dismiss: () => void;
112
+ goto: (id: string) => void;
111
113
  }
112
114
  interface StatusChangeDetails {
113
- status: StepStatus;
114
- stepId: string | null;
115
- stepIndex: number;
115
+ status: StepStatus;
116
+ stepId: string | null;
117
+ stepIndex: number;
116
118
  }
117
119
  interface ProgressTextDetails {
118
- current: number;
119
- total: number;
120
+ current: number;
121
+ total: number;
120
122
  }
121
123
  interface IntlTranslations {
122
- progressText?: (details: ProgressTextDetails) => string;
123
- nextStep?: string | undefined;
124
- prevStep?: string | undefined;
125
- close?: string | undefined;
126
- skip?: string | undefined;
124
+ progressText?: (details: ProgressTextDetails) => string;
125
+ nextStep?: string | undefined;
126
+ prevStep?: string | undefined;
127
+ close?: string | undefined;
128
+ skip?: string | undefined;
127
129
  }
128
130
  type ElementIds = Partial<{
129
- content: string;
130
- title: string;
131
- description: string;
132
- positioner: string;
133
- backdrop: string;
134
- arrow: string;
131
+ content: string;
132
+ title: string;
133
+ description: string;
134
+ positioner: string;
135
+ backdrop: string;
136
+ arrow: string;
135
137
  }>;
136
138
  interface PublicContext extends DirectionProperty, CommonProperties, InteractOutsideHandlers {
137
- /**
138
- * The ids of the elements in the tour. Useful for composition.
139
- */
140
- ids?: ElementIds | undefined;
141
- /**
142
- * The steps of the tour
143
- */
144
- steps: StepDetails[];
145
- /**
146
- * The id of the currently highlighted step
147
- */
148
- stepId: string | null;
149
- /**
150
- * Callback when the highlighted step changes
151
- */
152
- onStepChange?: (details: StepChangeDetails) => void;
153
- /**
154
- * Callback when the tour is opened or closed
155
- */
156
- onStatusChange?: (details: StatusChangeDetails) => void;
157
- /**
158
- * Whether to close the tour when the user clicks outside the tour
159
- * @default true
160
- */
161
- closeOnInteractOutside: boolean;
162
- /**
163
- * Whether to close the tour when the user presses the escape key
164
- * @default true
165
- */
166
- closeOnEscape: boolean;
167
- /**
168
- * Whether to allow keyboard navigation (right/left arrow keys to navigate between steps)
169
- * @default true
170
- */
171
- keyboardNavigation: boolean;
172
- /**
173
- * Prevents interaction with the rest of the page while the tour is open
174
- * @default false
175
- */
176
- preventInteraction: boolean;
177
- /**
178
- * The offsets to apply to the spotlight
179
- * @default "{ x: 10, y: 10 }"
180
- */
181
- spotlightOffset: Point;
182
- /**
183
- * The radius of the spotlight clip path
184
- * @default 4
185
- */
186
- spotlightRadius: number;
187
- /**
188
- * The translations for the tour
189
- */
190
- translations: IntlTranslations;
139
+ /**
140
+ * The ids of the elements in the tour. Useful for composition.
141
+ */
142
+ ids?: ElementIds | undefined;
143
+ /**
144
+ * The steps of the tour
145
+ */
146
+ steps: StepDetails[];
147
+ /**
148
+ * The id of the currently highlighted step
149
+ */
150
+ stepId: string | null;
151
+ /**
152
+ * Callback when the highlighted step changes
153
+ */
154
+ onStepChange?: (details: StepChangeDetails) => void;
155
+ /**
156
+ * Callback when the tour is opened or closed
157
+ */
158
+ onStatusChange?: (details: StatusChangeDetails) => void;
159
+ /**
160
+ * Whether to close the tour when the user clicks outside the tour
161
+ * @default true
162
+ */
163
+ closeOnInteractOutside: boolean;
164
+ /**
165
+ * Whether to close the tour when the user presses the escape key
166
+ * @default true
167
+ */
168
+ closeOnEscape: boolean;
169
+ /**
170
+ * Whether to allow keyboard navigation (right/left arrow keys to navigate between steps)
171
+ * @default true
172
+ */
173
+ keyboardNavigation: boolean;
174
+ /**
175
+ * Prevents interaction with the rest of the page while the tour is open
176
+ * @default false
177
+ */
178
+ preventInteraction: boolean;
179
+ /**
180
+ * The offsets to apply to the spotlight
181
+ * @default "{ x: 10, y: 10 }"
182
+ */
183
+ spotlightOffset: Point;
184
+ /**
185
+ * The radius of the spotlight clip path
186
+ * @default 4
187
+ */
188
+ spotlightRadius: number;
189
+ /**
190
+ * The translations for the tour
191
+ */
192
+ translations: IntlTranslations;
191
193
  }
192
194
  interface PrivateContext {
193
- /**
194
- * @internal
195
- * The rect of the current step's target element
196
- */
197
- targetRect: Required<AnchorRect>;
198
- /**
199
- * @internal
200
- * The current placement of the menu
201
- */
202
- currentPlacement?: StepPlacement | undefined;
203
- /**
204
- * @internal
205
- * The size of the boundary element (default to the window size)
206
- */
207
- boundarySize: {
208
- width: number;
209
- height: number;
210
- };
211
- /**
212
- * @internal
213
- * The function to cleanup the target attributes
214
- */
215
- _targetCleanup?: VoidFunction | undefined;
216
- /**
217
- * @internal
218
- * The function to cleanup the step effects
219
- */
220
- _effectCleanup?: VoidFunction | undefined;
221
- /**
222
- * @internal
223
- * The resolved target element
224
- */
225
- resolvedTarget: {
226
- value: HTMLElement | null;
227
- };
195
+ /**
196
+ * @internal
197
+ * The rect of the current step's target element
198
+ */
199
+ targetRect: Required<AnchorRect>;
200
+ /**
201
+ * @internal
202
+ * The current placement of the menu
203
+ */
204
+ currentPlacement?: StepPlacement | undefined;
205
+ /**
206
+ * @internal
207
+ * The size of the boundary element (default to the window size)
208
+ */
209
+ boundarySize: {
210
+ width: number;
211
+ height: number;
212
+ };
213
+ /**
214
+ * @internal
215
+ * The function to cleanup the target attributes
216
+ */
217
+ _targetCleanup?: VoidFunction | undefined;
218
+ /**
219
+ * @internal
220
+ * The function to cleanup the step effects
221
+ */
222
+ _effectCleanup?: VoidFunction | undefined;
223
+ /**
224
+ * @internal
225
+ * The resolved target element
226
+ */
227
+ resolvedTarget: {
228
+ value: HTMLElement | null;
229
+ };
228
230
  }
229
231
  type ComputedContext = Readonly<{
230
- /**
231
- * The current step details
232
- */
233
- step: StepDetails | null;
234
- /**
235
- * The index of the current step
236
- */
237
- stepIndex: number;
238
- /**
239
- * Whether there is a next step
240
- */
241
- hasNextStep: boolean;
242
- /**
243
- * Whether there is a previous step
244
- */
245
- hasPrevStep: boolean;
246
- /**
247
- * Whether the current step is the first step
248
- */
249
- isFirstStep: boolean;
250
- /**
251
- * Whether the current step is the last step
252
- */
253
- isLastStep: boolean;
232
+ /**
233
+ * The current step details
234
+ */
235
+ step: StepDetails | null;
236
+ /**
237
+ * The index of the current step
238
+ */
239
+ stepIndex: number;
240
+ /**
241
+ * Whether there is a next step
242
+ */
243
+ hasNextStep: boolean;
244
+ /**
245
+ * Whether there is a previous step
246
+ */
247
+ hasPrevStep: boolean;
248
+ /**
249
+ * Whether the current step is the first step
250
+ */
251
+ isFirstStep: boolean;
252
+ /**
253
+ * Whether the current step is the last step
254
+ */
255
+ isLastStep: boolean;
254
256
  }>;
255
257
  type UserDefinedContext = RequiredBy<PublicContext, 'id'>;
256
- interface MachineContext extends PublicContext, PrivateContext, ComputedContext {
257
- }
258
+ interface MachineContext extends PublicContext, PrivateContext, ComputedContext {}
258
259
  interface MachineState {
259
- tags: 'closed' | 'open';
260
- value: 'tour.inactive' | 'tour.active' | 'step.waiting' | 'target.resolving' | 'target.scrolling';
260
+ tags: 'closed' | 'open';
261
+ value: 'tour.inactive' | 'tour.active' | 'step.waiting' | 'target.resolving' | 'target.scrolling';
261
262
  }
262
- type State = StateMachine.State<MachineContext, MachineState>;
263
- type Send = StateMachine.Send<StateMachine.AnyEventObject>;
264
- type Service = Machine<MachineContext, MachineState, StateMachine.AnyEventObject>;
263
+ type State = XState<MachineContext, MachineState>;
264
+ type Send = XSend<AnyEventObject>;
265
+ type Service = Machine<MachineContext, MachineState, AnyEventObject>;
265
266
  interface StepActionTriggerProps {
266
- action: StepAction;
267
+ action: StepAction;
267
268
  }
268
269
  interface MachineApi<T extends PropTypes = PropTypes> {
269
- /**
270
- * Whether the tour is open
271
- */
272
- open: boolean;
273
- /**
274
- * The total number of steps
275
- */
276
- totalSteps: number;
277
- /**
278
- * The index of the current step
279
- */
280
- stepIndex: number;
281
- /**
282
- * The current step details
283
- */
284
- step: StepDetails | null;
285
- /**
286
- * Whether there is a next step
287
- */
288
- hasNextStep: boolean;
289
- /**
290
- * Whether there is a previous step
291
- */
292
- hasPrevStep: boolean;
293
- /**
294
- * Whether the current step is the first step
295
- */
296
- firstStep: boolean;
297
- /**
298
- * Whether the current step is the last step
299
- */
300
- lastStep: boolean;
301
- /**
302
- * Add a new step to the tour
303
- */
304
- addStep: (step: StepDetails) => void;
305
- /**
306
- * Remove a step from the tour
307
- */
308
- removeStep: (id: string) => void;
309
- /**
310
- * Update a step in the tour with partial details
311
- */
312
- updateStep: (id: string, stepOverrides: Partial<StepDetails>) => void;
313
- /**
314
- * Set the steps of the tour
315
- */
316
- setSteps: (steps: StepDetails[]) => void;
317
- /**
318
- * Set the current step of the tour
319
- */
320
- setStep: (id: string) => void;
321
- /**
322
- * Start the tour at a specific step (or the first step if not provided)
323
- */
324
- start: (id?: string) => void;
325
- /**
326
- * Check if a step is valid
327
- */
328
- isValidStep: (id: string) => boolean;
329
- /**
330
- * Check if a step is visible
331
- */
332
- isCurrentStep: (id: string) => boolean;
333
- /**
334
- * Move to the next step
335
- */
336
- next: () => void;
337
- /**
338
- * Move to the previous step
339
- */
340
- prev: () => void;
341
- /**
342
- * Returns the progress text
343
- */
344
- getProgressText: () => string;
345
- /**
346
- * Returns the progress percent
347
- */
348
- getProgressPercent: () => number;
349
- getBackdropProps: () => T['element'];
350
- getSpotlightProps: () => T['element'];
351
- getProgressTextProps: () => T['element'];
352
- getPositionerProps: () => T['element'];
353
- getArrowProps: () => T['element'];
354
- getArrowTipProps: () => T['element'];
355
- getContentProps: () => T['element'];
356
- getTitleProps: () => T['element'];
357
- getDescriptionProps: () => T['element'];
358
- getCloseTriggerProps: () => T['button'];
359
- getActionTriggerProps: (props: StepActionTriggerProps) => T['button'];
270
+ /**
271
+ * Whether the tour is open
272
+ */
273
+ open: boolean;
274
+ /**
275
+ * The total number of steps
276
+ */
277
+ totalSteps: number;
278
+ /**
279
+ * The index of the current step
280
+ */
281
+ stepIndex: number;
282
+ /**
283
+ * The current step details
284
+ */
285
+ step: StepDetails | null;
286
+ /**
287
+ * Whether there is a next step
288
+ */
289
+ hasNextStep: boolean;
290
+ /**
291
+ * Whether there is a previous step
292
+ */
293
+ hasPrevStep: boolean;
294
+ /**
295
+ * Whether the current step is the first step
296
+ */
297
+ firstStep: boolean;
298
+ /**
299
+ * Whether the current step is the last step
300
+ */
301
+ lastStep: boolean;
302
+ /**
303
+ * Add a new step to the tour
304
+ */
305
+ addStep: (step: StepDetails) => void;
306
+ /**
307
+ * Remove a step from the tour
308
+ */
309
+ removeStep: (id: string) => void;
310
+ /**
311
+ * Update a step in the tour with partial details
312
+ */
313
+ updateStep: (id: string, stepOverrides: Partial<StepDetails>) => void;
314
+ /**
315
+ * Set the steps of the tour
316
+ */
317
+ setSteps: (steps: StepDetails[]) => void;
318
+ /**
319
+ * Set the current step of the tour
320
+ */
321
+ setStep: (id: string) => void;
322
+ /**
323
+ * Start the tour at a specific step (or the first step if not provided)
324
+ */
325
+ start: (id?: string) => void;
326
+ /**
327
+ * Check if a step is valid
328
+ */
329
+ isValidStep: (id: string) => boolean;
330
+ /**
331
+ * Check if a step is visible
332
+ */
333
+ isCurrentStep: (id: string) => boolean;
334
+ /**
335
+ * Move to the next step
336
+ */
337
+ next: () => void;
338
+ /**
339
+ * Move to the previous step
340
+ */
341
+ prev: () => void;
342
+ /**
343
+ * Returns the progress text
344
+ */
345
+ getProgressText: () => string;
346
+ /**
347
+ * Returns the progress percent
348
+ */
349
+ getProgressPercent: () => number;
350
+ getBackdropProps: () => T['element'];
351
+ getSpotlightProps: () => T['element'];
352
+ getProgressTextProps: () => T['element'];
353
+ getPositionerProps: () => T['element'];
354
+ getArrowProps: () => T['element'];
355
+ getArrowTipProps: () => T['element'];
356
+ getContentProps: () => T['element'];
357
+ getTitleProps: () => T['element'];
358
+ getDescriptionProps: () => T['element'];
359
+ getCloseTriggerProps: () => T['button'];
360
+ getActionTriggerProps: (props: StepActionTriggerProps) => T['button'];
360
361
  }
361
-
362
+ //#endregion
363
+ //#region src/connect.d.ts
362
364
  declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;
363
-
364
- declare function machine(userContext: UserDefinedContext): _zag_js_core.Machine<MachineContext, MachineState, _zag_js_core.StateMachine.AnyEventObject>;
365
-
365
+ //#endregion
366
+ //#region src/machine.d.ts
367
+ declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
368
+ //#endregion
369
+ //#region src/props.d.ts
366
370
  declare const props: ("ids" | "steps" | "stepId" | "onStepChange" | "onStatusChange" | "closeOnInteractOutside" | "closeOnEscape" | "keyboardNavigation" | "preventInteraction" | "spotlightOffset" | "spotlightRadius" | "translations" | "dir" | "id" | "getRootNode" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside")[];
367
371
  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">];
368
-
372
+ //#endregion
373
+ //#region src/utils/wait.d.ts
369
374
  interface WaitOptions {
370
- timeout: number;
371
- rootNode?: Document | ShadowRoot | undefined;
375
+ timeout: number;
376
+ rootNode?: Document | ShadowRoot | undefined;
372
377
  }
373
378
  type WaitForPromiseReturn<T> = [Promise<T>, () => void];
374
379
  declare function waitForElement(target: () => HTMLElement, options: WaitOptions): WaitForPromiseReturn<HTMLElement>;
375
380
  type EditableElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
376
381
  declare function waitForElementValue(target: () => EditableElement | null, value: string, options: WaitOptions): WaitForPromiseReturn<void>;
377
-
378
- export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type IntlTranslations, type Point, type ProgressTextDetails, type Service, type StatusChangeDetails, type StepAction, type StepActionMap, type StepActionTriggerProps, type StepBaseDetails, type StepChangeDetails, type StepDetails, type StepEffectArgs, type StepPlacement, type StepStatus, type StepType, type WaitOptions, anatomy, connect, machine, props, splitProps, waitForElement, waitForElementValue };
382
+ //#endregion
383
+ export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type FocusOutsideEvent, type InteractOutsideEvent, type IntlTranslations, type Point, type PointerDownOutsideEvent, type ProgressTextDetails, type Service, type StatusChangeDetails, type StepAction, type StepActionMap, type StepActionTriggerProps, type StepBaseDetails, type StepChangeDetails, type StepDetails, type StepEffectArgs, type StepPlacement, type StepStatus, type StepType, WaitOptions, anatomy, connect, machine, props, splitProps, waitForElement, waitForElementValue };