Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@lumino/widgets

Package Overview
Dependencies
Maintainers
4
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lumino/widgets - npm Package Compare versions

Comparing version 1.19.0 to 1.20.0

33

package.json
{
"name": "@lumino/widgets",
"version": "1.19.0",
"version": "1.20.0",
"description": "Lumino Widgets",

@@ -33,6 +33,6 @@ "homepage": "https://github.com/jupyterlab/lumino",

"style": "style/index.css",
"styleModule": "style/index.js",
"scripts": {
"api": "api-extractor run --local --verbose",
"build": "tsc --build && rollup -c",
"build": "npm run build:src && rollup -c",
"build:src": "tsc --build",
"build:test": "tsc --build tests && cd tests && webpack",

@@ -57,13 +57,13 @@ "clean": "rimraf ./lib && rimraf *.tsbuildinfo && rimraf ./types && rimraf ./dist",

"dependencies": {
"@lumino/algorithm": "^1.3.3",
"@lumino/commands": "^1.12.0",
"@lumino/coreutils": "^1.5.3",
"@lumino/disposable": "^1.4.3",
"@lumino/domutils": "^1.2.3",
"@lumino/dragdrop": "^1.7.1",
"@lumino/keyboard": "^1.2.3",
"@lumino/messaging": "^1.4.3",
"@lumino/properties": "^1.2.3",
"@lumino/signaling": "^1.4.3",
"@lumino/virtualdom": "^1.8.0"
"@lumino/algorithm": "^1.4.0",
"@lumino/commands": "^1.13.0",
"@lumino/coreutils": "^1.6.0",
"@lumino/disposable": "^1.5.0",
"@lumino/domutils": "^1.3.0",
"@lumino/dragdrop": "^1.8.0",
"@lumino/keyboard": "^1.3.0",
"@lumino/messaging": "^1.5.0",
"@lumino/properties": "^1.3.0",
"@lumino/signaling": "^1.5.0",
"@lumino/virtualdom": "^1.9.0"
},

@@ -95,3 +95,3 @@ "devDependencies": {

"typedoc": "~0.15.0",
"typescript": "~3.6.4",
"typescript": "~4.1.3",
"webpack": "^4.41.3",

@@ -104,3 +104,4 @@ "webpack-cli": "^3.3.10"

"jsdelivr": "dist/index.min.js",
"gitHead": "e29f3c7172d2a256046e7fc509d8bacbb9093aa5"
"styleModule": "style/index.js",
"gitHead": "4a19ea2a9273ee8c512c8e7983986c5e4f0c2e23"
}

@@ -21,6 +21,7 @@ import { Message } from '@lumino/messaging';

*/
get direction(): BoxLayout.Direction;
/**
* Set the layout direction for the box layout.
*/
direction: BoxLayout.Direction;
* Set the layout direction for the box layout.
*/
set direction(value: BoxLayout.Direction);
/**

@@ -35,19 +36,21 @@ * Get the content alignment for the box layout.

*/
get alignment(): BoxLayout.Alignment;
/**
* Set the content alignment for the box layout.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire box layout.
*/
alignment: BoxLayout.Alignment;
* Set the content alignment for the box layout.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire box layout.
*/
set alignment(value: BoxLayout.Alignment);
/**
* Get the inter-element spacing for the box layout.
*/
get spacing(): number;
/**
* Set the inter-element spacing for the box layout.
*/
spacing: number;
* Set the inter-element spacing for the box layout.
*/
set spacing(value: number);
/**

@@ -54,0 +57,0 @@ * Perform layout initialization which requires the parent widget.

@@ -20,6 +20,7 @@ import { BoxLayout } from './boxlayout';

*/
get direction(): BoxPanel.Direction;
/**
* Set the layout direction for the box panel.
*/
direction: BoxPanel.Direction;
* Set the layout direction for the box panel.
*/
set direction(value: BoxPanel.Direction);
/**

@@ -34,19 +35,21 @@ * Get the content alignment for the box panel.

*/
get alignment(): BoxPanel.Alignment;
/**
* Set the content alignment for the box panel.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire box layout.
*/
alignment: BoxPanel.Alignment;
* Set the content alignment for the box panel.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire box layout.
*/
set alignment(value: BoxPanel.Alignment);
/**
* Get the inter-element spacing for the box panel.
*/
get spacing(): number;
/**
* Set the inter-element spacing for the box panel.
*/
spacing: number;
* Set the inter-element spacing for the box panel.
*/
set spacing(value: number);
/**

@@ -53,0 +56,0 @@ * A message handler invoked on a `'child-added'` message.

@@ -34,3 +34,3 @@ import { ReadonlyJSONObject } from '@lumino/coreutils';

*/
readonly searchNode: HTMLDivElement;
get searchNode(): HTMLDivElement;
/**

@@ -42,3 +42,3 @@ * The command palette input node.

*/
readonly inputNode: HTMLInputElement;
get inputNode(): HTMLInputElement;
/**

@@ -52,7 +52,7 @@ * The command palette content node.

*/
readonly contentNode: HTMLUListElement;
get contentNode(): HTMLUListElement;
/**
* A read-only array of the command items in the palette.
*/
readonly items: ReadonlyArray<CommandPalette.IItem>;
get items(): ReadonlyArray<CommandPalette.IItem>;
/**

@@ -59,0 +59,0 @@ * Add a command item to the command palette.

@@ -35,10 +35,11 @@ import { IIterator } from '@lumino/algorithm';

*/
get spacing(): number;
/**
* Set the inter-element spacing for the dock layout.
*/
spacing: number;
* Set the inter-element spacing for the dock layout.
*/
set spacing(value: number);
/**
* Whether the dock layout is empty.
*/
readonly isEmpty: boolean;
get isEmpty(): boolean;
/**

@@ -45,0 +46,0 @@ * Create an iterator over all widgets in the layout.

@@ -32,3 +32,3 @@ import { IIterator } from '@lumino/algorithm';

*/
readonly layoutModified: ISignal<this, void>;
get layoutModified(): ISignal<this, void>;
/**

@@ -41,40 +41,44 @@ * The overlay used by the dock panel.

*/
readonly renderer: DockPanel.IRenderer;
get renderer(): DockPanel.IRenderer;
/**
* Get the spacing between the widgets.
*/
get spacing(): number;
/**
* Set the spacing between the widgets.
*/
spacing: number;
* Set the spacing between the widgets.
*/
set spacing(value: number);
/**
* Get the mode for the dock panel.
*/
get mode(): DockPanel.Mode;
/**
* Set the mode for the dock panel.
*
* #### Notes
* Changing the mode is a destructive operation with respect to the
* panel's layout configuration. If layout state must be preserved,
* save the current layout config before changing the mode.
*/
mode: DockPanel.Mode;
* Set the mode for the dock panel.
*
* #### Notes
* Changing the mode is a destructive operation with respect to the
* panel's layout configuration. If layout state must be preserved,
* save the current layout config before changing the mode.
*/
set mode(value: DockPanel.Mode);
/**
* Whether the tabs can be dragged / moved at runtime.
*/
get tabsMovable(): boolean;
/**
* Enable / Disable draggable / movable tabs.
*/
tabsMovable: boolean;
* Enable / Disable draggable / movable tabs.
*/
set tabsMovable(value: boolean);
/**
* Whether the tabs are constrained to their source dock panel
*/
get tabsConstrained(): boolean;
/**
* Constrain/Allow tabs to be dragged outside of this dock panel
*/
tabsConstrained: boolean;
* Constrain/Allow tabs to be dragged outside of this dock panel
*/
set tabsConstrained(value: boolean);
/**
* Whether the dock panel is empty.
*/
readonly isEmpty: boolean;
get isEmpty(): boolean;
/**

@@ -81,0 +85,0 @@ * Create an iterator over the user widgets in the panel.

@@ -22,11 +22,11 @@ import { IDisposable } from '@lumino/disposable';

*/
readonly currentChanged: ISignal<this, FocusTracker.IChangedArgs<T>>;
get currentChanged(): ISignal<this, FocusTracker.IChangedArgs<T>>;
/**
* A signal emitted when the active widget has changed.
*/
readonly activeChanged: ISignal<this, FocusTracker.IChangedArgs<T>>;
get activeChanged(): ISignal<this, FocusTracker.IChangedArgs<T>>;
/**
* A flag indicating whether the tracker is disposed.
*/
readonly isDisposed: boolean;
get isDisposed(): boolean;
/**

@@ -50,3 +50,3 @@ * The current widget in the tracker.

*/
readonly currentWidget: T | null;
get currentWidget(): T | null;
/**

@@ -59,7 +59,7 @@ * The active widget in the tracker.

*/
readonly activeWidget: T | null;
get activeWidget(): T | null;
/**
* A read only array of the widgets being tracked.
*/
readonly widgets: ReadonlyArray<T>;
get widgets(): ReadonlyArray<T>;
/**

@@ -66,0 +66,0 @@ * Get the focus number for a particular widget in the tracker.

@@ -22,33 +22,37 @@ import { IIterator } from '@lumino/algorithm';

*/
get rowCount(): number;
/**
* Set the number of rows in the layout.
*
* #### Notes
* The minimum row count is `1`.
*/
rowCount: number;
* Set the number of rows in the layout.
*
* #### Notes
* The minimum row count is `1`.
*/
set rowCount(value: number);
/**
* Get the number of columns in the layout.
*/
get columnCount(): number;
/**
* Set the number of columns in the layout.
*
* #### Notes
* The minimum column count is `1`.
*/
columnCount: number;
* Set the number of columns in the layout.
*
* #### Notes
* The minimum column count is `1`.
*/
set columnCount(value: number);
/**
* Get the row spacing for the layout.
*/
get rowSpacing(): number;
/**
* Set the row spacing for the layout.
*/
rowSpacing: number;
* Set the row spacing for the layout.
*/
set rowSpacing(value: number);
/**
* Get the column spacing for the layout.
*/
get columnSpacing(): number;
/**
* Set the col spacing for the layout.
*/
columnSpacing: number;
* Set the col spacing for the layout.
*/
set columnSpacing(value: number);
/**

@@ -55,0 +59,0 @@ * Get the stretch factor for a specific row.

@@ -40,14 +40,15 @@ import { IIterable, IIterator } from '@lumino/algorithm';

*/
readonly isDisposed: boolean;
get isDisposed(): boolean;
/**
* Get the parent widget of the layout.
*/
get parent(): Widget | null;
/**
* Set the parent widget of the layout.
*
* #### Notes
* This is set automatically when installing the layout on the parent
* widget. The parent widget should not be set directly by user code.
*/
parent: Widget | null;
* Set the parent widget of the layout.
*
* #### Notes
* This is set automatically when installing the layout on the parent
* widget. The parent widget should not be set directly by user code.
*/
set parent(value: Widget | null);
/**

@@ -62,15 +63,16 @@ * Get the fit policy for the layout.

*/
get fitPolicy(): Layout.FitPolicy;
/**
* Set the fit policy for the layout.
*
* #### Notes
* The fit policy controls the computed size constraints which are
* applied to the parent widget by the layout.
*
* Some layout implementations may ignore the fit policy.
*
* Changing the fit policy will clear the current size constraint
* for the parent widget and then re-fit the parent.
*/
fitPolicy: Layout.FitPolicy;
* Set the fit policy for the layout.
*
* #### Notes
* The fit policy controls the computed size constraints which are
* applied to the parent widget by the layout.
*
* Some layout implementations may ignore the fit policy.
*
* Changing the fit policy will clear the current size constraint
* for the parent widget and then re-fit the parent.
*/
set fitPolicy(value: Layout.FitPolicy);
/**

@@ -432,3 +434,3 @@ * Create an iterator over the widgets in the layout.

*/
readonly minWidth: number;
get minWidth(): number;
/**

@@ -440,3 +442,3 @@ * The computed minimum height of the widget.

*/
readonly minHeight: number;
get minHeight(): number;
/**

@@ -448,3 +450,3 @@ * The computed maximum width of the widget.

*/
readonly maxWidth: number;
get maxWidth(): number;
/**

@@ -456,19 +458,19 @@ * The computed maximum height of the widget.

*/
readonly maxHeight: number;
get maxHeight(): number;
/**
* Whether the layout item is disposed.
*/
readonly isDisposed: boolean;
get isDisposed(): boolean;
/**
* Whether the managed widget is hidden.
*/
readonly isHidden: boolean;
get isHidden(): boolean;
/**
* Whether the managed widget is visible.
*/
readonly isVisible: boolean;
get isVisible(): boolean;
/**
* Whether the managed widget is attached.
*/
readonly isAttached: boolean;
get isAttached(): boolean;
/**

@@ -475,0 +477,0 @@ * Update the computed size limits of the managed widget.

@@ -31,3 +31,3 @@ import { CommandRegistry } from '@lumino/commands';

*/
readonly aboutToClose: ISignal<this, void>;
get aboutToClose(): ISignal<this, void>;
/**

@@ -45,3 +45,3 @@ * A signal emitted when a new menu is requested by the user.

*/
readonly menuRequested: ISignal<this, 'next' | 'previous'>;
get menuRequested(): ISignal<this, 'next' | 'previous'>;
/**

@@ -61,3 +61,3 @@ * The command registry used by the menu.

*/
readonly parentMenu: Menu | null;
get parentMenu(): Menu | null;
/**

@@ -69,11 +69,11 @@ * The child menu of the menu.

*/
readonly childMenu: Menu | null;
get childMenu(): Menu | null;
/**
* The root menu of the menu hierarchy.
*/
readonly rootMenu: Menu;
get rootMenu(): Menu;
/**
* The leaf menu of the menu hierarchy.
*/
readonly leafMenu: Menu;
get leafMenu(): Menu;
/**

@@ -87,13 +87,14 @@ * The menu content node.

*/
readonly contentNode: HTMLUListElement;
get contentNode(): HTMLUListElement;
/**
* Get the currently active menu item.
*/
get activeItem(): Menu.IItem | null;
/**
* Set the currently active menu item.
*
* #### Notes
* If the item cannot be activated, the item will be set to `null`.
*/
activeItem: Menu.IItem | null;
* Set the currently active menu item.
*
* #### Notes
* If the item cannot be activated, the item will be set to `null`.
*/
set activeItem(value: Menu.IItem | null);
/**

@@ -105,13 +106,14 @@ * Get the index of the currently active menu item.

*/
get activeIndex(): number;
/**
* Set the index of the currently active menu item.
*
* #### Notes
* If the item cannot be activated, the index will be set to `-1`.
*/
activeIndex: number;
* Set the index of the currently active menu item.
*
* #### Notes
* If the item cannot be activated, the index will be set to `-1`.
*/
set activeIndex(value: number);
/**
* A read-only array of the menu items in the menu.
*/
readonly items: ReadonlyArray<Menu.IItem>;
get items(): ReadonlyArray<Menu.IItem>;
/**

@@ -118,0 +120,0 @@ * Activate the next selectable item in the menu.

@@ -30,3 +30,3 @@ import { Message } from '@lumino/messaging';

*/
readonly childMenu: Menu | null;
get childMenu(): Menu | null;
/**

@@ -40,13 +40,14 @@ * Get the menu bar content node.

*/
readonly contentNode: HTMLUListElement;
get contentNode(): HTMLUListElement;
/**
* Get the currently active menu.
*/
get activeMenu(): Menu | null;
/**
* Set the currently active menu.
*
* #### Notes
* If the menu does not exist, the menu will be set to `null`.
*/
activeMenu: Menu | null;
* Set the currently active menu.
*
* #### Notes
* If the menu does not exist, the menu will be set to `null`.
*/
set activeMenu(value: Menu | null);
/**

@@ -58,13 +59,14 @@ * Get the index of the currently active menu.

*/
get activeIndex(): number;
/**
* Set the index of the currently active menu.
*
* #### Notes
* If the menu cannot be activated, the index will be set to `-1`.
*/
activeIndex: number;
* Set the index of the currently active menu.
*
* #### Notes
* If the menu cannot be activated, the index will be set to `-1`.
*/
set activeIndex(value: number);
/**
* A read-only array of the menus in the menu bar.
*/
readonly menus: ReadonlyArray<Menu>;
get menus(): ReadonlyArray<Menu>;
/**

@@ -71,0 +73,0 @@ * Open the active menu and activate its first menu item.

@@ -23,3 +23,3 @@ import { PanelLayout } from './panellayout';

*/
readonly widgets: ReadonlyArray<Widget>;
get widgets(): ReadonlyArray<Widget>;
/**

@@ -26,0 +26,0 @@ * Add a widget to the end of the panel.

@@ -27,3 +27,3 @@ import { IIterator } from '@lumino/algorithm';

*/
readonly widgets: ReadonlyArray<Widget>;
get widgets(): ReadonlyArray<Widget>;
/**

@@ -30,0 +30,0 @@ * Create an iterator over the widgets in the layout.

@@ -20,3 +20,3 @@ import { Message } from '@lumino/messaging';

*/
readonly thumbMoved: ISignal<this, number>;
get thumbMoved(): ISignal<this, number>;
/**

@@ -28,3 +28,3 @@ * A signal emitted when the user clicks a step button.

*/
readonly stepRequested: ISignal<this, 'decrement' | 'increment'>;
get stepRequested(): ISignal<this, 'decrement' | 'increment'>;
/**

@@ -36,20 +36,22 @@ * A signal emitted when the user clicks the scroll track.

*/
readonly pageRequested: ISignal<this, 'decrement' | 'increment'>;
get pageRequested(): ISignal<this, 'decrement' | 'increment'>;
/**
* Get the orientation of the scroll bar.
*/
get orientation(): ScrollBar.Orientation;
/**
* Set the orientation of the scroll bar.
*/
orientation: ScrollBar.Orientation;
* Set the orientation of the scroll bar.
*/
set orientation(value: ScrollBar.Orientation);
/**
* Get the current value of the scroll bar.
*/
get value(): number;
/**
* Set the current value of the scroll bar.
*
* #### Notes
* The value will be clamped to the range `[0, maximum]`.
*/
value: number;
* Set the current value of the scroll bar.
*
* #### Notes
* The value will be clamped to the range `[0, maximum]`.
*/
set value(value: number);
/**

@@ -63,19 +65,21 @@ * Get the page size of the scroll bar.

*/
get page(): number;
/**
* Set the page size of the scroll bar.
*
* #### Notes
* The page size will be clamped to the range `[0, Infinity]`.
*/
page: number;
* Set the page size of the scroll bar.
*
* #### Notes
* The page size will be clamped to the range `[0, Infinity]`.
*/
set page(value: number);
/**
* Get the maximum value of the scroll bar.
*/
get maximum(): number;
/**
* Set the maximum value of the scroll bar.
*
* #### Notes
* The max size will be clamped to the range `[0, Infinity]`.
*/
maximum: number;
* Set the maximum value of the scroll bar.
*
* #### Notes
* The max size will be clamped to the range `[0, Infinity]`.
*/
set maximum(value: number);
/**

@@ -87,3 +91,3 @@ * The scroll bar decrement button node.

*/
readonly decrementNode: HTMLDivElement;
get decrementNode(): HTMLDivElement;
/**

@@ -95,3 +99,3 @@ * The scroll bar increment button node.

*/
readonly incrementNode: HTMLDivElement;
get incrementNode(): HTMLDivElement;
/**

@@ -103,3 +107,3 @@ * The scroll bar track node.

*/
readonly trackNode: HTMLDivElement;
get trackNode(): HTMLDivElement;
/**

@@ -111,3 +115,3 @@ * The scroll bar thumb node.

*/
readonly thumbNode: HTMLDivElement;
get thumbNode(): HTMLDivElement;
/**

@@ -114,0 +118,0 @@ * Handle the DOM events for the scroll bar.

@@ -19,11 +19,12 @@ import { IIterator } from '@lumino/algorithm';

*/
get widget(): Widget | null;
/**
* Set the child widget for the layout.
*
* #### Notes
* Setting the child widget will cause the old child widget to be
* automatically disposed. If that is not desired, set the parent
* of the old child to `null` before assigning a new child.
*/
widget: Widget | null;
* Set the child widget for the layout.
*
* #### Notes
* Setting the child widget will cause the old child widget to be
* automatically disposed. If that is not desired, set the parent
* of the old child to `null` before assigning a new child.
*/
set widget(widget: Widget | null);
/**

@@ -30,0 +31,0 @@ * Create an iterator over the widgets in the layout.

@@ -25,6 +25,7 @@ import { Message } from '@lumino/messaging';

*/
get orientation(): SplitLayout.Orientation;
/**
* Set the layout orientation for the split layout.
*/
orientation: SplitLayout.Orientation;
* Set the layout orientation for the split layout.
*/
set orientation(value: SplitLayout.Orientation);
/**

@@ -39,23 +40,25 @@ * Get the content alignment for the split layout.

*/
get alignment(): SplitLayout.Alignment;
/**
* Set the content alignment for the split layout.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire split layout.
*/
alignment: SplitLayout.Alignment;
* Set the content alignment for the split layout.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire split layout.
*/
set alignment(value: SplitLayout.Alignment);
/**
* Get the inter-element spacing for the split layout.
*/
get spacing(): number;
/**
* Set the inter-element spacing for the split layout.
*/
spacing: number;
* Set the inter-element spacing for the split layout.
*/
set spacing(value: number);
/**
* A read-only array of the split handles in the layout.
*/
readonly handles: ReadonlyArray<HTMLDivElement>;
get handles(): ReadonlyArray<HTMLDivElement>;
/**

@@ -62,0 +65,0 @@ * Get the relative sizes of the widgets in the layout.

@@ -25,6 +25,7 @@ import { Message } from '@lumino/messaging';

*/
get orientation(): SplitPanel.Orientation;
/**
* Set the layout orientation for the split panel.
*/
orientation: SplitPanel.Orientation;
* Set the layout orientation for the split panel.
*/
set orientation(value: SplitPanel.Orientation);
/**

@@ -39,27 +40,29 @@ * Get the content alignment for the split panel.

*/
get alignment(): SplitPanel.Alignment;
/**
* Set the content alignment for the split panel.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire split panel.
*/
alignment: SplitPanel.Alignment;
* Set the content alignment for the split panel.
*
* #### Notes
* This is the alignment of the widgets in the layout direction.
*
* The alignment has no effect if the widgets can expand to fill the
* entire split panel.
*/
set alignment(value: SplitPanel.Alignment);
/**
* Get the inter-element spacing for the split panel.
*/
get spacing(): number;
/**
* Set the inter-element spacing for the split panel.
*/
spacing: number;
* Set the inter-element spacing for the split panel.
*/
set spacing(value: number);
/**
* The renderer used by the split panel.
*/
readonly renderer: SplitPanel.IRenderer;
get renderer(): SplitPanel.IRenderer;
/**
* A read-only array of the split handles in the panel.
*/
readonly handles: ReadonlyArray<HTMLDivElement>;
get handles(): ReadonlyArray<HTMLDivElement>;
/**

@@ -66,0 +69,0 @@ * Get the relative sizes of the widgets in the panel.

@@ -21,3 +21,3 @@ import { ISignal } from '@lumino/signaling';

*/
readonly widgetRemoved: ISignal<this, Widget>;
get widgetRemoved(): ISignal<this, Widget>;
/**

@@ -24,0 +24,0 @@ * A message handler invoked on a `'child-added'` message.

@@ -36,3 +36,3 @@ import { Message } from '@lumino/messaging';

*/
readonly currentChanged: ISignal<this, TabBar.ICurrentChangedArgs<T>>;
get currentChanged(): ISignal<this, TabBar.ICurrentChangedArgs<T>>;
/**

@@ -46,3 +46,3 @@ * A signal emitted when a tab is moved by the user.

*/
readonly tabMoved: ISignal<this, TabBar.ITabMovedArgs<T>>;
get tabMoved(): ISignal<this, TabBar.ITabMovedArgs<T>>;
/**

@@ -57,3 +57,3 @@ * A signal emitted when a tab is clicked by the user.

*/
readonly tabActivateRequested: ISignal<this, TabBar.ITabActivateRequestedArgs<T>>;
get tabActivateRequested(): ISignal<this, TabBar.ITabActivateRequestedArgs<T>>;
/**

@@ -65,3 +65,3 @@ * A signal emitted when a tab close icon is clicked.

*/
readonly tabCloseRequested: ISignal<this, TabBar.ITabCloseRequestedArgs<T>>;
get tabCloseRequested(): ISignal<this, TabBar.ITabCloseRequestedArgs<T>>;
/**

@@ -79,3 +79,3 @@ * A signal emitted when a tab is dragged beyond the detach threshold.

*/
readonly tabDetachRequested: ISignal<this, TabBar.ITabDetachRequestedArgs<T>>;
get tabDetachRequested(): ISignal<this, TabBar.ITabDetachRequestedArgs<T>>;
/**

@@ -96,7 +96,8 @@ * The renderer used by the tab bar.

*/
get titlesEditable(): boolean;
/**
* Set whether titles can be user edited.
*
*/
titlesEditable: boolean;
* Set whether titles can be user edited.
*
*/
set titlesEditable(value: boolean);
/**

@@ -123,9 +124,10 @@ * Whether a tab can be deselected by the user.

*/
get currentTitle(): Title<T> | null;
/**
* Set the currently selected title.
*
* #### Notes
* If the title does not exist, the title will be set to `null`.
*/
currentTitle: Title<T> | null;
* Set the currently selected title.
*
* #### Notes
* If the title does not exist, the title will be set to `null`.
*/
set currentTitle(value: Title<T> | null);
/**

@@ -137,16 +139,18 @@ * Get the index of the currently selected tab.

*/
get currentIndex(): number;
/**
* Set the index of the currently selected tab.
*
* #### Notes
* If the value is out of range, the index will be set to `-1`.
*/
currentIndex: number;
* Set the index of the currently selected tab.
*
* #### Notes
* If the value is out of range, the index will be set to `-1`.
*/
set currentIndex(value: number);
/**
* Get the name of the tab bar.
*/
get name(): string;
/**
* Set the name of the tab bar.
*/
name: string;
* Set the name of the tab bar.
*/
set name(value: string);
/**

@@ -158,13 +162,14 @@ * Get the orientation of the tab bar.

*/
get orientation(): TabBar.Orientation;
/**
* Set the orientation of the tab bar.
*
* #### Notes
* This controls whether the tabs are arranged in a row or column.
*/
orientation: TabBar.Orientation;
* Set the orientation of the tab bar.
*
* #### Notes
* This controls whether the tabs are arranged in a row or column.
*/
set orientation(value: TabBar.Orientation);
/**
* A read-only array of the titles in the tab bar.
*/
readonly titles: ReadonlyArray<Title<T>>;
get titles(): ReadonlyArray<Title<T>>;
/**

@@ -178,3 +183,3 @@ * The tab bar content node.

*/
readonly contentNode: HTMLUListElement;
get contentNode(): HTMLUListElement;
/**

@@ -181,0 +186,0 @@ * Add a tab to the end of the tab bar.

@@ -34,3 +34,3 @@ import { ISignal } from '@lumino/signaling';

*/
readonly currentChanged: ISignal<this, TabPanel.ICurrentChangedArgs>;
get currentChanged(): ISignal<this, TabPanel.ICurrentChangedArgs>;
/**

@@ -42,9 +42,10 @@ * Get the index of the currently selected tab.

*/
get currentIndex(): number;
/**
* Set the index of the currently selected tab.
*
* #### Notes
* If the index is out of range, it will be set to `-1`.
*/
currentIndex: number;
* Set the index of the currently selected tab.
*
* #### Notes
* If the index is out of range, it will be set to `-1`.
*/
set currentIndex(value: number);
/**

@@ -56,9 +57,10 @@ * Get the currently selected widget.

*/
get currentWidget(): Widget | null;
/**
* Set the currently selected widget.
*
* #### Notes
* If the widget is not in the panel, it will be set to `null`.
*/
currentWidget: Widget | null;
* Set the currently selected widget.
*
* #### Notes
* If the widget is not in the panel, it will be set to `null`.
*/
set currentWidget(value: Widget | null);
/**

@@ -70,9 +72,10 @@ * Get the whether the tabs are movable by the user.

*/
get tabsMovable(): boolean;
/**
* Set the whether the tabs are movable by the user.
*
* #### Notes
* Tabs can always be moved programmatically.
*/
tabsMovable: boolean;
* Set the whether the tabs are movable by the user.
*
* #### Notes
* Tabs can always be moved programmatically.
*/
set tabsMovable(value: boolean);
/**

@@ -84,9 +87,10 @@ * Get the tab placement for the tab panel.

*/
get tabPlacement(): TabPanel.TabPlacement;
/**
* Set the tab placement for the tab panel.
*
* #### Notes
* This controls the position of the tab bar relative to the content.
*/
tabPlacement: TabPanel.TabPlacement;
* Set the tab placement for the tab panel.
*
* #### Notes
* This controls the position of the tab bar relative to the content.
*/
set tabPlacement(value: TabPanel.TabPlacement);
/**

@@ -109,3 +113,3 @@ * The tab bar used by the tab panel.

*/
readonly widgets: ReadonlyArray<Widget>;
get widgets(): ReadonlyArray<Widget>;
/**

@@ -112,0 +116,0 @@ * Add a widget to the end of the tab panel.

@@ -21,3 +21,3 @@ import { ISignal } from '@lumino/signaling';

*/
readonly changed: ISignal<this, void>;
get changed(): ISignal<this, void>;
/**

@@ -33,6 +33,7 @@ * The object which owns the title.

*/
get label(): string;
/**
* Set the label for the title.
*/
label: string;
* Set the label for the title.
*/
set label(value: string);
/**

@@ -44,6 +45,7 @@ * Get the mnemonic index for the title.

*/
get mnemonic(): number;
/**
* Set the mnemonic index for the title.
*/
mnemonic: number;
* Set the mnemonic index for the title.
*/
set mnemonic(value: number);
/**

@@ -58,12 +60,13 @@ * Get the icon renderer for the title.

*/
get icon(): VirtualElement.IRenderer | undefined | string;
/**
* Set the icon renderer for the title.
*
* #### Notes
* A renderer is an object that supplies a render and unrender function.
*
* DEPRECATED: if set to a string value, the .icon field will function as
* an alias for the .iconClass field, for backwards compatibility
*/
icon: VirtualElement.IRenderer | undefined | string;
* Set the icon renderer for the title.
*
* #### Notes
* A renderer is an object that supplies a render and unrender function.
*
* DEPRECATED: if set to a string value, the .icon field will function as
* an alias for the .iconClass field, for backwards compatibility
*/
set icon(value: VirtualElement.IRenderer | undefined | string);
/**

@@ -75,9 +78,10 @@ * Get the icon class name for the title.

*/
get iconClass(): string;
/**
* Set the icon class name for the title.
*
* #### Notes
* Multiple class names can be separated with whitespace.
*/
iconClass: string;
* Set the icon class name for the title.
*
* #### Notes
* Multiple class names can be separated with whitespace.
*/
set iconClass(value: string);
/**

@@ -89,16 +93,18 @@ * Get the icon label for the title.

*/
get iconLabel(): string;
/**
* Set the icon label for the title.
*
* #### Notes
* Multiple class names can be separated with whitespace.
*/
iconLabel: string;
* Set the icon label for the title.
*
* #### Notes
* Multiple class names can be separated with whitespace.
*/
set iconLabel(value: string);
/**
* @deprecated Use `icon` instead.
*/
get iconRenderer(): VirtualElement.IRenderer | undefined;
/**
* @deprecated Use `icon` instead.
*/
iconRenderer: VirtualElement.IRenderer | undefined;
* @deprecated Use `icon` instead.
*/
set iconRenderer(value: VirtualElement.IRenderer | undefined);
/**

@@ -110,6 +116,7 @@ * Get the caption for the title.

*/
get caption(): string;
/**
* Set the caption for the title.
*/
caption: string;
* Set the caption for the title.
*/
set caption(value: string);
/**

@@ -121,9 +128,10 @@ * Get the extra class name for the title.

*/
get className(): string;
/**
* Set the extra class name for the title.
*
* #### Notes
* Multiple class names can be separated with whitespace.
*/
className: string;
* Set the extra class name for the title.
*
* #### Notes
* Multiple class names can be separated with whitespace.
*/
set className(value: string);
/**

@@ -135,9 +143,10 @@ * Get the closable state for the title.

*/
get closable(): boolean;
/**
* Set the closable state for the title.
*
* #### Notes
* This controls the presence of a close icon when applicable.
*/
closable: boolean;
* Set the closable state for the title.
*
* #### Notes
* This controls the presence of a close icon when applicable.
*/
set closable(value: boolean);
/**

@@ -149,9 +158,10 @@ * Get the dataset for the title.

*/
get dataset(): Title.Dataset;
/**
* Set the dataset for the title.
*
* #### Notes
* This controls the data attributes when applicable.
*/
dataset: Title.Dataset;
* Set the dataset for the title.
*
* #### Notes
* This controls the data attributes when applicable.
*/
set dataset(value: Title.Dataset);
private _label;

@@ -158,0 +168,0 @@ private _caption;

@@ -34,3 +34,3 @@ import { IIterator } from '@lumino/algorithm';

*/
readonly disposed: ISignal<this, void>;
get disposed(): ISignal<this, void>;
/**

@@ -43,11 +43,11 @@ * Get the DOM node owned by the widget.

*/
readonly isDisposed: boolean;
get isDisposed(): boolean;
/**
* Test whether the widget's node is attached to the DOM.
*/
readonly isAttached: boolean;
get isAttached(): boolean;
/**
* Test whether the widget is explicitly hidden.
*/
readonly isHidden: boolean;
get isHidden(): boolean;
/**

@@ -60,3 +60,3 @@ * Test whether the widget is visible.

*/
readonly isVisible: boolean;
get isVisible(): boolean;
/**

@@ -73,42 +73,45 @@ * The title object for the widget.

*/
readonly title: Title<Widget>;
get title(): Title<Widget>;
/**
* Get the id of the widget's DOM node.
*/
get id(): string;
/**
* Set the id of the widget's DOM node.
*/
id: string;
* Set the id of the widget's DOM node.
*/
set id(value: string);
/**
* The dataset for the widget's DOM node.
*/
readonly dataset: DOMStringMap;
get dataset(): DOMStringMap;
/**
* Get the parent of the widget.
*/
get parent(): Widget | null;
/**
* Set the parent of the widget.
*
* #### Notes
* Children are typically added to a widget by using a layout, which
* means user code will not normally set the parent widget directly.
*
* The widget will be automatically removed from its old parent.
*
* This is a no-op if there is no effective parent change.
*/
parent: Widget | null;
* Set the parent of the widget.
*
* #### Notes
* Children are typically added to a widget by using a layout, which
* means user code will not normally set the parent widget directly.
*
* The widget will be automatically removed from its old parent.
*
* This is a no-op if there is no effective parent change.
*/
set parent(value: Widget | null);
/**
* Get the layout for the widget.
*/
get layout(): Layout | null;
/**
* Set the layout for the widget.
*
* #### Notes
* The layout is single-use only. It cannot be changed after the
* first assignment.
*
* The layout is disposed automatically when the widget is disposed.
*/
layout: Layout | null;
* Set the layout for the widget.
*
* #### Notes
* The layout is single-use only. It cannot be changed after the
* first assignment.
*
* The layout is disposed automatically when the widget is disposed.
*/
set layout(value: Layout | null);
/**

@@ -115,0 +118,0 @@ * Create an iterator over the widget's children.

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

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc