Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
821 B
Text
16 lines
821 B
Text
/**
|
|
* `document.activeElement` will not enter shadow roots to find the element
|
|
* that has focus; use this method if you need to traverse through any shadow
|
|
* roots to find the actual, specific focused element.
|
|
*/
|
|
export declare function deepActiveElement(doc: Document): Element | null;
|
|
export declare function getEnclosingShadowRootForNode(node: Node): Node | null;
|
|
export declare function rangeOfWord(rootNode: Node, offset: number, stopCharacters: string, stayWithinNode: Node, direction?: string): Range;
|
|
/**
|
|
* Appends the list of `styles` as individual `<style>` elements to the
|
|
* given `node`.
|
|
*
|
|
* @param node the `Node` to append the `<style>` elements to.
|
|
* @param styles an optional list of styles to append to the `node`.
|
|
*/
|
|
export declare function appendStyle(node: Node, ...styles: string[]): void;
|