tabster
Advanced tools
Comparing version 5.0.0-canary.3 to 5.0.0-canary.4
@@ -8,5 +8,7 @@ /*! | ||
declare class Restorer extends TabsterPart<RestorerProps> implements RestorerInterface { | ||
private _hasFocus; | ||
constructor(tabster: TabsterCore, element: HTMLElement, props: RestorerProps); | ||
dispose(): void; | ||
private _onFocusOut; | ||
private _onFocusIn; | ||
} | ||
@@ -13,0 +15,0 @@ export declare class RestorerAPI implements RestorerAPIType { |
@@ -16,3 +16,2 @@ /*! | ||
private _setFocusedTimer; | ||
private _setTabbableTimer; | ||
private _onDispose; | ||
@@ -24,3 +23,4 @@ constructor(tabster: Types.TabsterCore, element: HTMLElement, onDispose: (root: Root) => void, props: Types.RootProps, sys: Types.SysProps | undefined); | ||
private _setFocused; | ||
private _onFocus; | ||
private _onFocusIn; | ||
private _onFocusOut; | ||
private _add; | ||
@@ -27,0 +27,0 @@ private _remove; |
@@ -35,2 +35,8 @@ /*! | ||
rootDummyInputs?: boolean; | ||
/** | ||
* A callback that will be called for the uncontrolled areas with `trapsFocus` | ||
* when Tabster wants to know is the element is currently trapping focus and | ||
* Tabster should not interfere with handling Tab. | ||
*/ | ||
isTrappingFocus?: (element: HTMLElement) => boolean; | ||
} | ||
@@ -578,3 +584,2 @@ export type GetTabster = () => TabsterCore; | ||
element: HTMLElement; | ||
fromAdjacent?: boolean; | ||
} | ||
@@ -587,2 +592,3 @@ interface RootAPIInternal { | ||
export interface UncontrolledAPI { | ||
isTrappingFocus(element: HTMLElement): boolean; | ||
} | ||
@@ -589,0 +595,0 @@ interface ModalizerAPIInternal extends TabsterPartWithAcceptElement { |
@@ -11,3 +11,5 @@ /*! | ||
export declare class UncontrolledAPI implements Types.UncontrolledAPI { | ||
constructor(); | ||
private _isTrappingFocus?; | ||
constructor(isTrappingFocus?: (element: HTMLElement) => boolean); | ||
isTrappingFocus(element: HTMLElement): boolean; | ||
} |
@@ -35,2 +35,8 @@ /*! | ||
rootDummyInputs?: boolean; | ||
/** | ||
* A callback that will be called for the uncontrolled areas with `trapsFocus` | ||
* when Tabster wants to know is the element is currently trapping focus and | ||
* Tabster should not interfere with handling Tab. | ||
*/ | ||
isTrappingFocus?: (element: HTMLElement) => boolean; | ||
} | ||
@@ -578,3 +584,2 @@ type GetTabster = () => TabsterCore; | ||
element: HTMLElement; | ||
fromAdjacent?: boolean; | ||
} | ||
@@ -587,2 +592,3 @@ interface RootAPIInternal { | ||
interface UncontrolledAPI { | ||
isTrappingFocus(element: HTMLElement): boolean; | ||
} | ||
@@ -589,0 +595,0 @@ interface ModalizerAPIInternal extends TabsterPartWithAcceptElement { |
{ | ||
"name": "tabster", | ||
"version": "5.0.0-canary.3", | ||
"version": "5.0.0-canary.4", | ||
"description": "Focus Management Tools for Web", | ||
@@ -5,0 +5,0 @@ "author": "Marat Abdullin <marata@microsoft.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1929458
16849