diff --git a/package.json b/package.json index 15864fb..65fe28c 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "watch:labextension": "jupyter labextension watch ." }, "dependencies": { - "@conda-store/conda-store-ui": "2024.6.1", + "@conda-store/conda-store-ui": "2024.10.1", "@jupyterlab/application": "^4.0.9", "@jupyterlab/apputils": "^4.1.2", "@jupyterlab/mainmenu": "^4.0.9", diff --git a/src/widget/condaStoreWidget.tsx b/src/widget/condaStoreWidget.tsx index 67c795c..83889b5 100644 --- a/src/widget/condaStoreWidget.tsx +++ b/src/widget/condaStoreWidget.tsx @@ -12,7 +12,10 @@ interface IJlabAppProps extends IAppProps { class JlabApp extends App { constructor({ settings }: IJlabAppProps) { super({ - pref: settings.composite as IAppProps['pref'], + pref: { + ...(settings.composite as IAppProps['pref']), + routerType: 'memory' + }, settings }); diff --git a/yarn.lock b/yarn.lock index b2859a3..7b2d365 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1332,6 +1332,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.4.4": + version: 7.25.9 + resolution: "@babel/runtime@npm:7.25.9" + dependencies: + regenerator-runtime: ^0.14.0 + checksum: ce1c87b166ff728eaee91658a67fb7835314ed157b7a36d49602ffdaaa37fb1fcf2784afd00b55fe1672bec53fb38cba622a056c913611af2a44503097216229 + languageName: node + linkType: hard + "@babel/template@npm:^7.24.7, @babel/template@npm:^7.3.3": version: 7.24.7 resolution: "@babel/template@npm:7.24.7" @@ -1649,9 +1658,9 @@ __metadata: languageName: node linkType: hard -"@conda-store/conda-store-ui@npm:2024.6.1": - version: 2024.6.1 - resolution: "@conda-store/conda-store-ui@npm:2024.6.1" +"@conda-store/conda-store-ui@npm:2024.10.1": + version: 2024.10.1 + resolution: "@conda-store/conda-store-ui@npm:2024.10.1" dependencies: "@codemirror/language": ^6.2.1 "@codemirror/legacy-modes": ^6.1.0 @@ -1672,6 +1681,7 @@ __metadata: date-fns-tz: ^1.3.7 lodash: ^4.17.21 match-sorter: ^6.3.1 + mui-file-dropzone: ^4.0.2 react: ^18.0.0 react-beautiful-dnd: ^13.1.0 react-dom: ^18.0.0 @@ -1681,7 +1691,7 @@ __metadata: redux: ^4.2.0 semver: ^7.3.8 yaml: ^2.1.1 - checksum: 08606656d6d921b57164f7ad2aa1c39f42df5448a7e9a3054368d7b23ffd96609c89937c6d4ed8f2428c354764cf52120fc1368f7aa2e372038b0ae4d9659540 + checksum: ad1d39e1e56bd36e080c2c2c6a2084ee147367bf9fd870161840c773aa0991eae170200fb1b2f9fc93032eb6100e1747ee235b04a0bde2655717bc1b73ab25ad languageName: node linkType: hard @@ -5209,6 +5219,13 @@ __metadata: languageName: node linkType: hard +"attr-accept@npm:^2.0.0": + version: 2.2.4 + resolution: "attr-accept@npm:2.2.4" + checksum: 7b0112e28e3eeb760f4f6bd4ecd8b2467fdb5df7d38d5f8b0a9e83af892023b1f84c594df337b446d5e5eb3f61e18b0470bd9f3aadf39e7853897cbd82cad20d + languageName: node + linkType: hard + "available-typed-arrays@npm:^1.0.7": version: 1.0.7 resolution: "available-typed-arrays@npm:1.0.7" @@ -5587,6 +5604,13 @@ __metadata: languageName: node linkType: hard +"clsx@npm:^1.0.2": + version: 1.2.1 + resolution: "clsx@npm:1.2.1" + checksum: 30befca8019b2eb7dbad38cff6266cf543091dae2825c856a62a8ccf2c3ab9c2907c4d12b288b73101196767f66812365400a227581484a05f968b0307cfaf12 + languageName: node + linkType: hard + "clsx@npm:^2.1.0": version: 2.1.1 resolution: "clsx@npm:2.1.1" @@ -6989,6 +7013,15 @@ __metadata: languageName: node linkType: hard +"file-selector@npm:^0.1.12": + version: 0.1.19 + resolution: "file-selector@npm:0.1.19" + dependencies: + tslib: ^2.0.1 + checksum: 5b105a3ede9139729ada72d6653ae3f4387a7bf2585e8700f9fa53f22457d1f88304fdde9ad7b43b694a5610d67058302257f448a75248fc2225880bca6df5df + languageName: node + linkType: hard + "fill-range@npm:^7.1.1": version: 7.1.1 resolution: "fill-range@npm:7.1.1" @@ -8806,7 +8839,7 @@ __metadata: dependencies: "@babel/core": ^7.0.0 "@babel/preset-env": ^7.0.0 - "@conda-store/conda-store-ui": 2024.6.1 + "@conda-store/conda-store-ui": 2024.10.1 "@jupyterlab/application": ^4.0.9 "@jupyterlab/apputils": ^4.1.2 "@jupyterlab/builder": ^4.0.0 @@ -9403,6 +9436,23 @@ __metadata: languageName: node linkType: hard +"mui-file-dropzone@npm:^4.0.2": + version: 4.0.2 + resolution: "mui-file-dropzone@npm:4.0.2" + dependencies: + "@babel/runtime": ^7.4.4 + clsx: ^1.0.2 + react-dropzone: ^10.2.1 + peerDependencies: + "@mui/icons-material": ^5.0.0 + "@mui/material": ^5.0.0 + prop-types: ^15.7.2 + react: ">= 17.0" + react-dom: ">= 17.0" + checksum: 47b1d7c02670651e36a4be9d634692cd2d99d9c44277026b160566fa2410bc81657ff499f1c967cb3625158dc824af006596779cdc39b9c94d8bd83668176bea + languageName: node + linkType: hard + "nanoid@npm:^3.3.7": version: 3.3.7 resolution: "nanoid@npm:3.3.7" @@ -10176,6 +10226,19 @@ __metadata: languageName: node linkType: hard +"react-dropzone@npm:^10.2.1": + version: 10.2.2 + resolution: "react-dropzone@npm:10.2.2" + dependencies: + attr-accept: ^2.0.0 + file-selector: ^0.1.12 + prop-types: ^15.7.2 + peerDependencies: + react: ">= 16.8" + checksum: af08b78db753dd9c277c64364c153d6cb6d563df3cc4db1731458edcc203cfa41ed3d032c5249822e5eb4d2534232e514d663a025962d08f0e6ea65550411116 + languageName: node + linkType: hard + "react-infinite-scroll-component@npm:^6.1.0": version: 6.1.0 resolution: "react-infinite-scroll-component@npm:6.1.0" @@ -11650,6 +11713,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.0.1": + version: 2.8.0 + resolution: "tslib@npm:2.8.0" + checksum: de852ecd81adfdb4870927e250763345f07dc13fe7f395ce261424966bb122a0992ad844c3ec875c9e63e72afe2220a150712984e44dfd1a8a7e538a064e3d46 + languageName: node + linkType: hard + "tslib@npm:^2.6.2, tslib@npm:~2.6.3": version: 2.6.3 resolution: "tslib@npm:2.6.3"