@asamuzakjp/dom-selector 8.0.2 → 8.1.2

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.
@@ -12,8 +12,8 @@ export function isCustomElement(node: object, { formAssociated }?: {
12
12
  formAssociated?: boolean | undefined;
13
13
  }): boolean;
14
14
  export function getSlottedTextContent(node: object): string | null;
15
- export function getDirectionality(node: object): string | null;
16
- export function getLanguageAttribute(node: object): string | null;
15
+ export function getDirectionality(node: object, dirCache?: WeakMap<any, any>): string | null;
16
+ export function getLanguageAttribute(node: object, langCache?: WeakMap<any, any>): string | null;
17
17
  export function isContentEditable(node: object): boolean;
18
18
  export function isVisible(node: object): boolean;
19
19
  export function isFocusVisible(node: object): boolean;
@@ -24,3 +24,6 @@ export function isNamespaceDeclared(ns?: string, node?: object): boolean;
24
24
  export function isPreceding(nodeA: object, nodeB: object): boolean;
25
25
  export function compareNodes(a: object, b: object): number;
26
26
  export function sortNodes(nodes?: Array<object> | Set<object>): Array<object>;
27
+ export function findBestSeed(nodes: any[], state?: object): object;
28
+ export function populateHasAllowlist(current: object, list: WeakSet<any>, visitedAncestors: Set<any>): void;
29
+ export function collectAllDescendants(node: Document | DocumentFragment | Element, document: Document): Array<Element>;