@jiaozhiye/qm-design-react 1.8.6 → 1.8.8

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.
@@ -244,6 +244,7 @@ export type IFormItem = {
244
244
  headers?: IFetchHeader;
245
245
  withCredentials?: boolean;
246
246
  downloadWithHeaders?: boolean;
247
+ popupClassName?: string;
247
248
  params?: IFetchParams;
248
249
  dataKey?: string;
249
250
  beforeUpload?: UploadProps['beforeUpload'];
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { PlacementType } from '../../tour/src/placements';
3
3
  type StepProps = {
4
4
  id: string;
5
- nodePath: string;
5
+ selector: string;
6
6
  title: string;
7
7
  };
8
8
  type IOptions = Omit<StepProps, 'title'> & {
@@ -19,6 +19,7 @@ type IProps = {
19
19
  placement?: PlacementType;
20
20
  control?: boolean;
21
21
  destroyOnHide?: boolean;
22
+ onSelect?: (selector: string) => void;
22
23
  onChange?: (items: StepProps[], current: number) => void;
23
24
  onClose?: (current: number) => void;
24
25
  onFinish?: () => void;
@@ -29,7 +30,7 @@ type GuideTrackerRef = {
29
30
  CLOSE: () => void;
30
31
  GET_CURRENT_STEP: () => {
31
32
  current: number;
32
- nodePath?: string;
33
+ selector?: string;
33
34
  };
34
35
  };
35
36
  export type GuideTrackerProps = IProps;
@@ -25,5 +25,6 @@ export default class Highlighter {
25
25
  selectFiberForNode: import("lodash").DebouncedFunc<(node: HTMLElement) => void>;
26
26
  getEventTarget(event: MouseEvent): HTMLElement;
27
27
  }
28
+ export declare function getNodeBySelector(selector: string): HTMLElement | null;
28
29
  export declare function getNodeByXPath(xpathString: string): HTMLElement | null;
29
30
  export {};