@jupyterlab/docmanager
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -29,3 +29,6 @@ // Copyright (c) Jupyter Development Team. | ||
Dialog.cancelButton(), | ||
Dialog.okButton({ label: trans.__('Rename') }) | ||
Dialog.okButton({ | ||
label: trans.__('Rename'), | ||
ariaLabel: trans.__('Rename File') | ||
}) | ||
] | ||
@@ -72,3 +75,6 @@ }).then(result => { | ||
Dialog.cancelButton(), | ||
Dialog.warnButton({ label: trans.__('Overwrite') }) | ||
Dialog.warnButton({ | ||
label: trans.__('Overwrite'), | ||
ariaLabel: trans.__('Overwrite Existing File') | ||
}) | ||
] | ||
@@ -75,0 +81,0 @@ }; |
@@ -350,7 +350,13 @@ // Copyright (c) Jupyter Development Team. | ||
Dialog.okButton({ | ||
label: isDirty ? trans.__('Close and save') : trans.__('Close') | ||
label: isDirty ? trans.__('Close and save') : trans.__('Close'), | ||
ariaLabel: isDirty | ||
? trans.__('Close and save Document') | ||
: trans.__('Close Document') | ||
}) | ||
]; | ||
if (isDirty) { | ||
buttons.splice(1, 0, Dialog.warnButton({ label: trans.__('Close without saving') })); | ||
buttons.splice(1, 0, Dialog.warnButton({ | ||
label: trans.__('Close without saving'), | ||
ariaLabel: trans.__('Close Document without saving') | ||
})); | ||
} | ||
@@ -388,3 +394,6 @@ const confirm = await showDialog({ | ||
Dialog.cancelButton(), | ||
Dialog.warnButton({ label: trans.__('Discard') }), | ||
Dialog.warnButton({ | ||
label: trans.__('Discard'), | ||
ariaLabel: trans.__('Discard changes to file') | ||
}), | ||
Dialog.okButton({ label: saveLabel }) | ||
@@ -391,0 +400,0 @@ ] |
{ | ||
"name": "@jupyterlab/docmanager", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "JupyterLab - Document Manager", | ||
@@ -45,9 +45,9 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^4.0.0", | ||
"@jupyterlab/coreutils": "^6.0.0", | ||
"@jupyterlab/docregistry": "^4.0.0", | ||
"@jupyterlab/services": "^7.0.0", | ||
"@jupyterlab/statusbar": "^4.0.0", | ||
"@jupyterlab/translation": "^4.0.0", | ||
"@jupyterlab/ui-components": "^4.0.0", | ||
"@jupyterlab/apputils": "^4.1.1", | ||
"@jupyterlab/coreutils": "^6.0.1", | ||
"@jupyterlab/docregistry": "^4.0.1", | ||
"@jupyterlab/services": "^7.0.1", | ||
"@jupyterlab/statusbar": "^4.0.1", | ||
"@jupyterlab/translation": "^4.0.1", | ||
"@jupyterlab/ui-components": "^4.0.1", | ||
"@lumino/algorithm": "^2.0.0", | ||
@@ -63,3 +63,3 @@ "@lumino/coreutils": "^2.1.1", | ||
"devDependencies": { | ||
"@jupyterlab/testing": "^4.0.0", | ||
"@jupyterlab/testing": "^4.0.1", | ||
"@types/jest": "^29.2.0", | ||
@@ -66,0 +66,0 @@ "jest": "^29.2.0", |
@@ -57,3 +57,6 @@ // Copyright (c) Jupyter Development Team. | ||
Dialog.cancelButton(), | ||
Dialog.okButton({ label: trans.__('Rename') }) | ||
Dialog.okButton({ | ||
label: trans.__('Rename'), | ||
ariaLabel: trans.__('Rename File') | ||
}) | ||
] | ||
@@ -119,3 +122,6 @@ }).then(result => { | ||
Dialog.cancelButton(), | ||
Dialog.warnButton({ label: trans.__('Overwrite') }) | ||
Dialog.warnButton({ | ||
label: trans.__('Overwrite'), | ||
ariaLabel: trans.__('Overwrite Existing File') | ||
}) | ||
] | ||
@@ -122,0 +128,0 @@ }; |
@@ -397,3 +397,6 @@ // Copyright (c) Jupyter Development Team. | ||
Dialog.okButton({ | ||
label: isDirty ? trans.__('Close and save') : trans.__('Close') | ||
label: isDirty ? trans.__('Close and save') : trans.__('Close'), | ||
ariaLabel: isDirty | ||
? trans.__('Close and save Document') | ||
: trans.__('Close Document') | ||
}) | ||
@@ -405,3 +408,6 @@ ]; | ||
0, | ||
Dialog.warnButton({ label: trans.__('Close without saving') }) | ||
Dialog.warnButton({ | ||
label: trans.__('Close without saving'), | ||
ariaLabel: trans.__('Close Document without saving') | ||
}) | ||
); | ||
@@ -445,3 +451,6 @@ } | ||
Dialog.cancelButton(), | ||
Dialog.warnButton({ label: trans.__('Discard') }), | ||
Dialog.warnButton({ | ||
label: trans.__('Discard'), | ||
ariaLabel: trans.__('Discard changes to file') | ||
}), | ||
Dialog.okButton({ label: saveLabel }) | ||
@@ -448,0 +457,0 @@ ] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
196967
4905
+ Added@jupyterlab/apputils@4.4.3(transitive)
+ Added@jupyterlab/codeeditor@4.3.3(transitive)
+ Added@jupyterlab/coreutils@6.3.3(transitive)
+ Added@jupyterlab/docregistry@4.3.3(transitive)
+ Added@jupyterlab/nbformat@4.3.3(transitive)
+ Added@jupyterlab/observables@5.3.3(transitive)
+ Added@jupyterlab/rendermime@4.3.3(transitive)
+ Added@jupyterlab/rendermime-interfaces@3.11.3(transitive)
+ Added@jupyterlab/services@7.3.3(transitive)
+ Added@jupyterlab/settingregistry@4.3.3(transitive)
+ Added@jupyterlab/statedb@4.3.3(transitive)
+ Added@jupyterlab/statusbar@4.3.3(transitive)
+ Added@jupyterlab/translation@4.3.3(transitive)
+ Added@jupyterlab/ui-components@4.3.3(transitive)
+ Added@types/react@18.3.17(transitive)
+ Addedmarkdown-to-jsx@7.7.1(transitive)
+ Addedyjs@13.6.20(transitive)
- Removed@jupyterlab/apputils@4.4.4(transitive)
- Removed@jupyterlab/codeeditor@4.3.4(transitive)
- Removed@jupyterlab/coreutils@6.3.4(transitive)
- Removed@jupyterlab/docregistry@4.3.4(transitive)
- Removed@jupyterlab/nbformat@4.3.4(transitive)
- Removed@jupyterlab/observables@5.3.4(transitive)
- Removed@jupyterlab/rendermime@4.3.4(transitive)
- Removed@jupyterlab/rendermime-interfaces@3.11.4(transitive)
- Removed@jupyterlab/services@7.3.4(transitive)
- Removed@jupyterlab/settingregistry@4.3.4(transitive)
- Removed@jupyterlab/statedb@4.3.4(transitive)
- Removed@jupyterlab/statusbar@4.3.4(transitive)
- Removed@jupyterlab/translation@4.3.4(transitive)
- Removed@jupyterlab/ui-components@4.3.4(transitive)
- Removed@types/react@18.3.18(transitive)
- Removedmarkdown-to-jsx@7.7.2(transitive)
- Removedyjs@13.6.21(transitive)
Updated@jupyterlab/apputils@^4.1.1
Updated@jupyterlab/coreutils@^6.0.1
Updated@jupyterlab/services@^7.0.1
Updated@jupyterlab/statusbar@^4.0.1