Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecation warnings #425

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/collections/src/bplustree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import {
*
* #### Notes
* Most operations have `O(log32 n)` or better complexity.
*
* @deprecated This class will be removed in @lumino/collections@^2.0.0
*/
export class BPlusTree<T> implements IIterable<T>, IRetroable<T> {
/**
Expand Down Expand Up @@ -316,6 +318,8 @@ export class BPlusTree<T> implements IIterable<T>, IRetroable<T> {

/**
* The namespace for the `BPlusTree` class statics.
*
* @deprecated This namespace will be removed in @lumino/collections@^2.0.0
*/
export namespace BPlusTree {
/**
Expand Down
7 changes: 7 additions & 0 deletions packages/dragdrop/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ import { DisposableDelegate, IDisposable } from '@lumino/disposable';

/**
* A type alias which defines the possible independent drop actions.
*
* @deprecated This type will be renamed Drag.DropAction in @lumino/dragdrop@^2.0.0
*/
export type DropAction = 'none' | 'copy' | 'link' | 'move';

/**
* A type alias which defines the possible supported drop actions.
*
* @deprecated This type will be renamed Drag.SupportedActions in @lumino/dragdrop@^2.0.0
*/
export type SupportedActions =
| DropAction
Expand All @@ -33,6 +37,9 @@ export type SupportedActions =
* In order to receive `'lm-dragover'`, `'lm-dragleave'`, or `'lm-drop'`
* events, a drop target must cancel the `'lm-dragenter'` event by
* calling the event's `preventDefault()` method.
*
* @deprecated This interface will be deprecated in @lumino/dragdrop@^2.0.0 in favor
* of ``Drag.Event``.
*/
export interface IDragEvent extends MouseEvent {
/**
Expand Down