Update to PF 4.159.1 (#1560)

Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jenny 2021-11-18 09:11:41 -05:00 committed by GitHub
parent ff4f58404a
commit 4959c3f0ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 78 additions and 81 deletions

134
package-lock.json generated
View file

@ -8,11 +8,11 @@
"license": "Apache", "license": "Apache",
"dependencies": { "dependencies": {
"@keycloak/keycloak-admin-client": "^16.0.0-dev.48", "@keycloak/keycloak-admin-client": "^16.0.0-dev.48",
"@patternfly/patternfly": "^4.151.4", "@patternfly/patternfly": "^4.159.1",
"@patternfly/react-code-editor": "^4.9.8", "@patternfly/react-code-editor": "^4.16.4",
"@patternfly/react-core": "^4.168.8", "@patternfly/react-core": "^4.175.4",
"@patternfly/react-icons": "4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-table": "^4.37.8", "@patternfly/react-table": "^4.44.4",
"dagre": "^0.8.5", "dagre": "^0.8.5",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"i18next": "^21.4.2", "i18next": "^21.4.2",
@ -3682,18 +3682,18 @@
} }
}, },
"node_modules/@patternfly/patternfly": { "node_modules/@patternfly/patternfly": {
"version": "4.151.4", "version": "4.159.1",
"resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.151.4.tgz", "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.159.1.tgz",
"integrity": "sha512-TsXePErYetJ8eGkttczkiRBpQH8wAa5bS9aJ8ScFxRvpOw4LfivZ3AKBaQxgONWS6muUN1SxbaGF8qWuRMGo5Q==" "integrity": "sha512-CPLE7yAmtETH8TAdQhHkyFmyvjGwsv/7PeR4k57DY9X4IHpx41m4SXrv9cBCr/+Uy8o2SjvE8dtlZb+h0rLByQ=="
}, },
"node_modules/@patternfly/react-code-editor": { "node_modules/@patternfly/react-code-editor": {
"version": "4.9.8", "version": "4.16.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-code-editor/-/react-code-editor-4.9.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-code-editor/-/react-code-editor-4.16.4.tgz",
"integrity": "sha512-gypKCEG1+ORGlxinoKrhDfq0g02pksuqCI3R/vkplKf2dZ2zQM4MYalN+xJ52DZeAWTpIUIprT0YtD7hwEb+TQ==", "integrity": "sha512-5Q3s1HFkWkbJTeEBdJkmx7yvh0oU7+OOOvN9FarRgZcVR9eRhY3oWdiodPsS3LjGuP77Xq7GBpku8vNrnksmyg==",
"dependencies": { "dependencies": {
"@patternfly/react-core": "^4.168.8", "@patternfly/react-core": "^4.175.4",
"@patternfly/react-icons": "^4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-styles": "^4.18.8", "@patternfly/react-styles": "^4.25.4",
"react-dropzone": "9.0.0", "react-dropzone": "9.0.0",
"tslib": "^2.0.0" "tslib": "^2.0.0"
}, },
@ -3705,13 +3705,13 @@
} }
}, },
"node_modules/@patternfly/react-core": { "node_modules/@patternfly/react-core": {
"version": "4.168.8", "version": "4.175.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.168.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.175.4.tgz",
"integrity": "sha512-wfG52saibeAXRoBYytzMgVGANoInbPuhUK0y6AynVp3/QKAPCKHpaI4nCh9ytNZ+UjiT2KGOcunhavsOw5+iMA==", "integrity": "sha512-bnQhvXKbprni5WhlbMI+nbYxwMR03bFZtUk+F7JiLM96uk/yCrPjUes6u8Pbgkh/HhsRYx8K1kx84WmC+MyD5w==",
"dependencies": { "dependencies": {
"@patternfly/react-icons": "^4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-styles": "^4.18.8", "@patternfly/react-styles": "^4.25.4",
"@patternfly/react-tokens": "^4.20.8", "@patternfly/react-tokens": "^4.27.4",
"focus-trap": "6.2.2", "focus-trap": "6.2.2",
"react-dropzone": "9.0.0", "react-dropzone": "9.0.0",
"tippy.js": "5.1.2", "tippy.js": "5.1.2",
@ -3723,28 +3723,28 @@
} }
}, },
"node_modules/@patternfly/react-icons": { "node_modules/@patternfly/react-icons": {
"version": "4.19.8", "version": "4.26.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-icons/-/react-icons-4.19.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-icons/-/react-icons-4.26.4.tgz",
"integrity": "sha512-JBBcVntRLspe857JnGo8lFaZfy+WOR/IYe2E9W3Rknqm1T8WO6oXpeEnrr5r9bpYDFUa4ttcb/acuQXc1xypxg==", "integrity": "sha512-h1NJixtNVK+nYxLON3HOO0xguA9qXQ5rkGUo4TZJ/kRehFCJMH8PPeebdOAKgAo38NjS2/06+atNKjDRl6zYcA==",
"peerDependencies": { "peerDependencies": {
"react": "^16.8.0 || ^17.0.0", "react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0" "react-dom": "^16.8.0 || ^17.0.0"
} }
}, },
"node_modules/@patternfly/react-styles": { "node_modules/@patternfly/react-styles": {
"version": "4.18.8", "version": "4.25.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-styles/-/react-styles-4.18.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-styles/-/react-styles-4.25.4.tgz",
"integrity": "sha512-136N/Whs0qXDtPpsh5JeNJld5BeFPsbmmcgI5LlMQ+P9dioddh24rTqaaOIea67tHiXUB7orxaqKpBBILXqcPQ==" "integrity": "sha512-GHFLzsvyimymkGTTyTW8HZDlhYbGpCqw/69Se1EHCaZnbTYluiJMRI6YfNTRC5ZvYF+x4GMAG5AjwQ5LfbZ/xg=="
}, },
"node_modules/@patternfly/react-table": { "node_modules/@patternfly/react-table": {
"version": "4.37.8", "version": "4.44.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-table/-/react-table-4.37.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-table/-/react-table-4.44.4.tgz",
"integrity": "sha512-DEaRooSGgfauX5RV3rwNcc9ZgMzR7gcCxsn9V7oNz6UsBgAV5cL7leGdAETdcV/B2+JMmGb+6QPjc54lsvwiuQ==", "integrity": "sha512-UV2kq4OV1v6Hv2TXvvsEApPwbAyD6zvurvl0/BZoqqEHTWVQedG0m1jUN9jFMTJiD4GTESvg6TAcSowGkJlTug==",
"dependencies": { "dependencies": {
"@patternfly/react-core": "^4.168.8", "@patternfly/react-core": "^4.175.4",
"@patternfly/react-icons": "^4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-styles": "^4.18.8", "@patternfly/react-styles": "^4.25.4",
"@patternfly/react-tokens": "^4.20.8", "@patternfly/react-tokens": "^4.27.4",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"tslib": "^2.0.0" "tslib": "^2.0.0"
}, },
@ -3754,9 +3754,9 @@
} }
}, },
"node_modules/@patternfly/react-tokens": { "node_modules/@patternfly/react-tokens": {
"version": "4.20.8", "version": "4.27.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-tokens/-/react-tokens-4.20.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-tokens/-/react-tokens-4.27.4.tgz",
"integrity": "sha512-OFlgTknFBNAETWVYYoLdISJBjPMQ8e3tcLpWb3h/KgKk/Tn1NR+P7Pl1gQGvTL/9liBZfS/HKDD5+P8c70w+2Q==" "integrity": "sha512-+DVCp4edPwORQF2zH6aG8e7FhLBXKsZgxMEYBU1/3qQSp+gf6Q8M4HiqbNnR6uo99tYJ9JiEcbGZu4Mx+nDIuA=="
}, },
"node_modules/@rollup/plugin-commonjs": { "node_modules/@rollup/plugin-commonjs": {
"version": "16.0.0", "version": "16.0.0",
@ -24052,30 +24052,30 @@
} }
}, },
"@patternfly/patternfly": { "@patternfly/patternfly": {
"version": "4.151.4", "version": "4.159.1",
"resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.151.4.tgz", "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.159.1.tgz",
"integrity": "sha512-TsXePErYetJ8eGkttczkiRBpQH8wAa5bS9aJ8ScFxRvpOw4LfivZ3AKBaQxgONWS6muUN1SxbaGF8qWuRMGo5Q==" "integrity": "sha512-CPLE7yAmtETH8TAdQhHkyFmyvjGwsv/7PeR4k57DY9X4IHpx41m4SXrv9cBCr/+Uy8o2SjvE8dtlZb+h0rLByQ=="
}, },
"@patternfly/react-code-editor": { "@patternfly/react-code-editor": {
"version": "4.9.8", "version": "4.16.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-code-editor/-/react-code-editor-4.9.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-code-editor/-/react-code-editor-4.16.4.tgz",
"integrity": "sha512-gypKCEG1+ORGlxinoKrhDfq0g02pksuqCI3R/vkplKf2dZ2zQM4MYalN+xJ52DZeAWTpIUIprT0YtD7hwEb+TQ==", "integrity": "sha512-5Q3s1HFkWkbJTeEBdJkmx7yvh0oU7+OOOvN9FarRgZcVR9eRhY3oWdiodPsS3LjGuP77Xq7GBpku8vNrnksmyg==",
"requires": { "requires": {
"@patternfly/react-core": "^4.168.8", "@patternfly/react-core": "^4.175.4",
"@patternfly/react-icons": "^4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-styles": "^4.18.8", "@patternfly/react-styles": "^4.25.4",
"react-dropzone": "9.0.0", "react-dropzone": "9.0.0",
"tslib": "^2.0.0" "tslib": "^2.0.0"
} }
}, },
"@patternfly/react-core": { "@patternfly/react-core": {
"version": "4.168.8", "version": "4.175.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.168.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.175.4.tgz",
"integrity": "sha512-wfG52saibeAXRoBYytzMgVGANoInbPuhUK0y6AynVp3/QKAPCKHpaI4nCh9ytNZ+UjiT2KGOcunhavsOw5+iMA==", "integrity": "sha512-bnQhvXKbprni5WhlbMI+nbYxwMR03bFZtUk+F7JiLM96uk/yCrPjUes6u8Pbgkh/HhsRYx8K1kx84WmC+MyD5w==",
"requires": { "requires": {
"@patternfly/react-icons": "^4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-styles": "^4.18.8", "@patternfly/react-styles": "^4.25.4",
"@patternfly/react-tokens": "^4.20.8", "@patternfly/react-tokens": "^4.27.4",
"focus-trap": "6.2.2", "focus-trap": "6.2.2",
"react-dropzone": "9.0.0", "react-dropzone": "9.0.0",
"tippy.js": "5.1.2", "tippy.js": "5.1.2",
@ -24083,33 +24083,33 @@
} }
}, },
"@patternfly/react-icons": { "@patternfly/react-icons": {
"version": "4.19.8", "version": "4.26.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-icons/-/react-icons-4.19.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-icons/-/react-icons-4.26.4.tgz",
"integrity": "sha512-JBBcVntRLspe857JnGo8lFaZfy+WOR/IYe2E9W3Rknqm1T8WO6oXpeEnrr5r9bpYDFUa4ttcb/acuQXc1xypxg==", "integrity": "sha512-h1NJixtNVK+nYxLON3HOO0xguA9qXQ5rkGUo4TZJ/kRehFCJMH8PPeebdOAKgAo38NjS2/06+atNKjDRl6zYcA==",
"requires": {} "requires": {}
}, },
"@patternfly/react-styles": { "@patternfly/react-styles": {
"version": "4.18.8", "version": "4.25.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-styles/-/react-styles-4.18.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-styles/-/react-styles-4.25.4.tgz",
"integrity": "sha512-136N/Whs0qXDtPpsh5JeNJld5BeFPsbmmcgI5LlMQ+P9dioddh24rTqaaOIea67tHiXUB7orxaqKpBBILXqcPQ==" "integrity": "sha512-GHFLzsvyimymkGTTyTW8HZDlhYbGpCqw/69Se1EHCaZnbTYluiJMRI6YfNTRC5ZvYF+x4GMAG5AjwQ5LfbZ/xg=="
}, },
"@patternfly/react-table": { "@patternfly/react-table": {
"version": "4.37.8", "version": "4.44.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-table/-/react-table-4.37.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-table/-/react-table-4.44.4.tgz",
"integrity": "sha512-DEaRooSGgfauX5RV3rwNcc9ZgMzR7gcCxsn9V7oNz6UsBgAV5cL7leGdAETdcV/B2+JMmGb+6QPjc54lsvwiuQ==", "integrity": "sha512-UV2kq4OV1v6Hv2TXvvsEApPwbAyD6zvurvl0/BZoqqEHTWVQedG0m1jUN9jFMTJiD4GTESvg6TAcSowGkJlTug==",
"requires": { "requires": {
"@patternfly/react-core": "^4.168.8", "@patternfly/react-core": "^4.175.4",
"@patternfly/react-icons": "^4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-styles": "^4.18.8", "@patternfly/react-styles": "^4.25.4",
"@patternfly/react-tokens": "^4.20.8", "@patternfly/react-tokens": "^4.27.4",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"tslib": "^2.0.0" "tslib": "^2.0.0"
} }
}, },
"@patternfly/react-tokens": { "@patternfly/react-tokens": {
"version": "4.20.8", "version": "4.27.4",
"resolved": "https://registry.npmjs.org/@patternfly/react-tokens/-/react-tokens-4.20.8.tgz", "resolved": "https://registry.npmjs.org/@patternfly/react-tokens/-/react-tokens-4.27.4.tgz",
"integrity": "sha512-OFlgTknFBNAETWVYYoLdISJBjPMQ8e3tcLpWb3h/KgKk/Tn1NR+P7Pl1gQGvTL/9liBZfS/HKDD5+P8c70w+2Q==" "integrity": "sha512-+DVCp4edPwORQF2zH6aG8e7FhLBXKsZgxMEYBU1/3qQSp+gf6Q8M4HiqbNnR6uo99tYJ9JiEcbGZu4Mx+nDIuA=="
}, },
"@rollup/plugin-commonjs": { "@rollup/plugin-commonjs": {
"version": "16.0.0", "version": "16.0.0",

View file

@ -24,11 +24,11 @@
}, },
"dependencies": { "dependencies": {
"@keycloak/keycloak-admin-client": "^16.0.0-dev.48", "@keycloak/keycloak-admin-client": "^16.0.0-dev.48",
"@patternfly/patternfly": "^4.151.4", "@patternfly/patternfly": "^4.159.1",
"@patternfly/react-code-editor": "^4.9.8", "@patternfly/react-code-editor": "^4.16.4",
"@patternfly/react-core": "^4.168.8", "@patternfly/react-core": "^4.175.4",
"@patternfly/react-icons": "4.19.8", "@patternfly/react-icons": "^4.26.4",
"@patternfly/react-table": "^4.37.8", "@patternfly/react-table": "^4.44.4",
"dagre": "^0.8.5", "dagre": "^0.8.5",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"i18next": "^21.4.2", "i18next": "^21.4.2",

View file

@ -49,14 +49,11 @@ export const FileUploadForm = ({
}; };
const [fileUpload, setFileUpload] = useState<FileUploadType>(defaultUpload); const [fileUpload, setFileUpload] = useState<FileUploadType>(defaultUpload);
const removeDialog = () => setFileUpload({ ...fileUpload, modal: false }); const removeDialog = () => setFileUpload({ ...fileUpload, modal: false });
const handleChange = ( const handleChange: FileUploadProps["onChange"] = (
value: string | File, value,
filename: string, filename,
event: event
| React.DragEvent<HTMLElement> ) => {
| React.ChangeEvent<HTMLTextAreaElement>
| React.MouseEvent<HTMLButtonElement, MouseEvent>
): void => {
if ( if (
event.nativeEvent instanceof MouseEvent && event.nativeEvent instanceof MouseEvent &&
!(event.nativeEvent instanceof DragEvent) !(event.nativeEvent instanceof DragEvent)
@ -150,7 +147,7 @@ export const FileUploadForm = ({
language={language} language={language}
height="128px" height="128px"
onChange={(value, event) => onChange={(value, event) =>
handleChange(value ?? "", fileUpload.filename, event) handleChange(value, fileUpload.filename, event as any)
} }
/> />
</FileUpload> </FileUpload>