diff --git a/licenses.yaml b/licenses.yaml index 0300dc77d0b0..b521443d2487 100644 --- a/licenses.yaml +++ b/licenses.yaml @@ -4931,6 +4931,15 @@ version: 3.26.1 --- +name: "@blueprintjs/popover2" +license_category: binary +module: web-console +license_name: Apache License version 2.0 +copyright: Palantir Technologies +version: 0.10.1 + +--- + name: "@hypnosphi/create-react-context" license_category: binary module: web-console @@ -4941,6 +4950,16 @@ license_file_path: licenses/bin/@hypnosphi-create-react-context.MIT --- +name: "@popperjs/core" +license_category: binary +module: web-console +license_name: MIT License +copyright: Federico Zivolo +version: 2.9.2 +license_file_path: licenses/bin/@popperjs-core.MIT + +--- + name: "@types/dom4" license_category: binary module: web-console @@ -5498,6 +5517,16 @@ license_file_path: licenses/bin/react-dom.MIT --- +name: "react-fast-compare" +license_category: binary +module: web-console +license_name: MIT License +copyright: Chris Bolin +version: 3.2.0 +license_file_path: licenses/bin/react-fast-compare.MIT + +--- + name: "react-is" license_category: binary module: web-console diff --git a/licenses/bin/@popperjs-core.MIT b/licenses/bin/@popperjs-core.MIT new file mode 100644 index 000000000000..0370c4581eb5 --- /dev/null +++ b/licenses/bin/@popperjs-core.MIT @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2019 Federico Zivolo + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/licenses/bin/react-fast-compare.MIT b/licenses/bin/react-fast-compare.MIT new file mode 100644 index 000000000000..948353952d26 --- /dev/null +++ b/licenses/bin/react-fast-compare.MIT @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2018 Formidable Labs +Copyright (c) 2017 Evgeny Poberezkin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/web-console/package-lock.json b/web-console/package-lock.json index eaeec9fb19b5..1e009c8d1d86 100644 --- a/web-console/package-lock.json +++ b/web-console/package-lock.json @@ -3077,6 +3077,36 @@ } } }, + "@blueprintjs/popover2": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@blueprintjs/popover2/-/popover2-0.10.1.tgz", + "integrity": "sha512-5zo4TsoGO79yA/CCsENE7cVuSk3BEMzS99iWDdesyh9I9AU0rkSYcaKbAmpIrWfO9Oe4s8lRPms0OrXF2fs94Q==", + "requires": { + "@blueprintjs/core": "^3.45.0", + "@popperjs/core": "^2.5.4", + "classnames": "^2.2", + "dom4": "^2.1.5", + "react-popper": "^2.2.4", + "resize-observer-polyfill": "^1.5.1", + "tslib": "~1.13.0" + }, + "dependencies": { + "react-popper": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.2.5.tgz", + "integrity": "sha512-kxGkS80eQGtLl18+uig1UIf9MKixFSyPxglsgLBxlYnyDf65BiY9B3nZSc6C9XUNDgStROB0fMQlTEz1KxGddw==", + "requires": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + } + }, + "tslib": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", + "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==" + } + } + }, "@cnakazawa/watch": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", @@ -4294,6 +4324,11 @@ "integrity": "sha512-6RglhutqrGFMO1MNUXp95RBuYIuc8wTnMAV5MUhLmjTOy78ncwOw7RgeQ/HeymkKXRhZd0s2DNrM1rL7unk3MQ==", "dev": true }, + "@popperjs/core": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.9.2.tgz", + "integrity": "sha512-VZMYa7+fXHdwIq1TDhSXoVmSPEGM/aa+6Aiq3nVVJ9bXr24zScr+NlKFKC3iPljA7ho/GAZr+d2jOf5GIRC30Q==" + }, "@sheerun/mutationobserver-shim": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz", @@ -18325,6 +18360,11 @@ } } }, + "react-fast-compare": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", + "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" + }, "react-is": { "version": "16.8.6", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz", diff --git a/web-console/package.json b/web-console/package.json index 54e4e83f6982..9d687ecde741 100644 --- a/web-console/package.json +++ b/web-console/package.json @@ -69,6 +69,7 @@ "@blueprintjs/core": "^3.45.0", "@blueprintjs/datetime": "^3.23.4", "@blueprintjs/icons": "^3.26.1", + "@blueprintjs/popover2": "^0.10.1", "axios": "^0.21.1", "brace": "^0.11.1", "classnames": "^2.2.6", diff --git a/web-console/src/components/action-cell/action-cell.tsx b/web-console/src/components/action-cell/action-cell.tsx index 2bc8988df005..9863e616aabb 100644 --- a/web-console/src/components/action-cell/action-cell.tsx +++ b/web-console/src/components/action-cell/action-cell.tsx @@ -16,8 +16,9 @@ * limitations under the License. */ -import { Popover, Position } from '@blueprintjs/core'; +import { Position } from '@blueprintjs/core'; import { IconNames } from '@blueprintjs/icons'; +import { Popover2 } from '@blueprintjs/popover2'; import React from 'react'; import { BasicAction, basicActionsToMenu } from '../../utils/basic-action'; @@ -42,9 +43,9 @@ export const ActionCell = React.memo(function ActionCell(props: ActionCellProps)
The console is running in restricted mode.
@@ -192,7 +192,7 @@ const RestrictedMode = React.memo(function RestrictedMode(props: RestrictedModeP position={Position.BOTTOM_RIGHT} > -