@code-inspector/core 1.3.6 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-inspector/core",
3
- "version": "1.3.6",
3
+ "version": "1.4.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "types/index.d.ts",
@@ -44,7 +44,9 @@ export declare class CodeInspectorComponent extends LitElement {
44
44
  locate: boolean;
45
45
  copy: boolean | string;
46
46
  target: string;
47
+ targetNode: HTMLElement | null;
47
48
  ip: string;
49
+ private wheelThrottling;
48
50
  modeKey: string;
49
51
  position: {
50
52
  top: number;
@@ -150,8 +152,13 @@ export declare class CodeInspectorComponent extends LitElement {
150
152
  copyToClipboard(text: string): void;
151
153
  private fallbackCopy;
152
154
  handleDrag: (e: MouseEvent | TouchEvent) => void;
155
+ getValidNodeList: (nodePath: HTMLElement[]) => {
156
+ node: HTMLElement;
157
+ isAstro: boolean;
158
+ }[];
153
159
  isSamePositionNode: (node1: HTMLElement, node2: HTMLElement) => boolean;
154
160
  handleMouseMove: (e: MouseEvent | TouchEvent) => Promise<void>;
161
+ handleWheel: (e: WheelEvent) => void;
155
162
  handleMouseClick: (e: MouseEvent | TouchEvent) => void;
156
163
  handleContextMenu: (e: MouseEvent) => void;
157
164
  generateNodeTree: (nodePath: HTMLElement[]) => TreeNode;