Skip to content

Commit

Permalink
Update packages to ipywidgets 8
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc authored and martinRenou committed Mar 3, 2022
1 parent 6f0f639 commit 06e68fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,17 @@
"eslint:fix": "eslint src --ext .ts --fix"
},
"dependencies": {
"@jupyter-widgets/base": "^2.0.2 || ^3 || ^4.0.0",
"@jupyter-widgets/base": "^2.0.2 || ^3 || ^4.0.0 || ^5.0.0",
"@jupyter-widgets/base-manager": "^1.0.0",
"d3-array": "^2.4.0",
"d3-geo": "^1.11.9",
"d3-scale": "^3.2.1",
"underscore": "^1.9.2"
},
"devDependencies": {
"@jupyterlab/builder": "^3.0.0",
"@phosphor/application": "^1.7.3",
"@phosphor/widgets": "^1.9.3",
"@lumino/application": "^1.7.3",
"@lumino/widgets": "^1.9.3",
"@types/expect.js": "^0.3.29",
"@types/d3-array": "^2.0.0",
"@types/d3-geo": "^1.11.1",
Expand Down
5 changes: 3 additions & 2 deletions src/scales/ScaleModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
* limitations under the License.
*/

import { ManagerBase, WidgetModel } from '@jupyter-widgets/base';
import { WidgetModel } from '@jupyter-widgets/base';
import { ManagerBase } from '@jupyter-widgets/base-manager';

import { MODULE_NAME, SEMVER_RANGE } from '../version';

export interface IModelOptions {
model_id: string;
comm?: any;
widget_manager: ManagerBase<any>;
widget_manager: ManagerBase;
}

export abstract class ScaleModel extends WidgetModel {
Expand Down

0 comments on commit 06e68fd

Please sign in to comment.