Private
Public Access
1
0

feat: Fluent UI Outlook Lite + connections mockup

This commit is contained in:
2026-04-14 18:52:25 +00:00
parent 1199eff6c3
commit dfa4010406
34820 changed files with 1003813 additions and 205 deletions

View File

@@ -0,0 +1,20 @@
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export declare function getActiveElement(doc: Document): Element | null;
export declare function nodeContains(node: Node | null | undefined, otherNode: Node | null | undefined): boolean;
export declare function getParentNode(node: Node | null | undefined): ParentNode | null;
export declare function getParentElement(element: HTMLElement | null | undefined): HTMLElement | null;
export declare function getFirstChild(node: Node | null | undefined): ChildNode | null;
export declare function getLastChild(node: Node | null | undefined): ChildNode | null;
export declare function getNextSibling(node: Node | null | undefined): ChildNode | null;
export declare function getPreviousSibling(node: Node | null | undefined): ChildNode | null;
export declare function getFirstElementChild(element: Element | null | undefined): Element | null;
export declare function getLastElementChild(element: Element | null | undefined): Element | null;
export declare function getNextElementSibling(element: Element | null | undefined): Element | null;
export declare function getPreviousElementSibling(element: Element | null | undefined): Element | null;
export declare function appendChild(parent: Node, child: Node): Node;
export declare function insertBefore(parent: Node, child: Node, referenceChild: Node | null): Node;
export declare function getSelection(ref: Node): Selection | null;
export declare function getElementsByName(referenceElement: HTMLElement, name: string): NodeListOf<HTMLElement>;

View File

@@ -0,0 +1,22 @@
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export declare class ShadowMutationObserver implements MutationObserver {
private static _shadowObservers;
private _root?;
private _options?;
private _callback;
private _observer;
private _subObservers;
private _isObserving;
private static _overrideAttachShadow;
constructor(callback: MutationCallback);
private _callbackWrapper;
private _addSubObserver;
disconnect(): void;
observe(target: Node, options?: MutationObserverInit): void;
private _walkShadows;
takeRecords(): MutationRecord[];
}
export declare function createShadowMutationObserver(callback: MutationCallback): MutationObserver;

View File

@@ -0,0 +1,25 @@
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export declare class ShadowTreeWalker implements TreeWalker {
readonly filter: NodeFilter | null;
readonly root: Node;
readonly whatToShow: number;
private _doc;
private _walkerStack;
private _currentNode;
private _currentSetFor;
constructor(doc: Document, root: Node, whatToShow?: number, filter?: NodeFilter | null);
private _acceptNode;
get currentNode(): Node;
set currentNode(node: Node);
firstChild(): Node | null;
lastChild(): Node | null;
nextNode(): Node | null;
previousNode(): Node | null;
nextSibling(): Node | null;
previousSibling(): Node | null;
parentNode(): Node | null;
}
export declare function createShadowTreeWalker(doc: Document, root: Node, whatToShow?: number, filter?: NodeFilter | null): ShadowTreeWalker;

View File

@@ -0,0 +1,8 @@
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export { createShadowTreeWalker as createTreeWalker } from "./ShadowTreeWalker";
export { createShadowMutationObserver as createMutationObserver } from "./ShadowMutationObserver";
export { appendChild, getActiveElement, getFirstChild, getFirstElementChild, getLastChild, getLastElementChild, getNextElementSibling, getNextSibling, getParentElement, getParentNode, getPreviousElementSibling, getPreviousSibling, getSelection, getElementsByName, insertBefore, nodeContains, } from "./DOMFunctions";
export { getElementById, querySelector, querySelectorAll, } from "./querySelector";

View File

@@ -0,0 +1,7 @@
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export declare function querySelectorAll(node: ParentNode, selector: string): Element[];
export declare function querySelector(node: ParentNode, selector: string): Element | null;
export declare function getElementById(doc: Document, id: string): HTMLElement | null;