Makefile: Update Cockpit lib to 947f1753867e3924b9617aaace936225

Update to PF5 and the new cockpit lib API.

Closes #646

(cherry picked from commit b2bdaac5b2)
This commit is contained in:
Cockpit Project 2023-05-04 02:24:40 +00:00 committed by Justin Stephenson
parent 4dbf79bcef
commit 81a3650eba
3 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ COCKPIT_REPO_FILES = \
$(NULL)
COCKPIT_REPO_URL = https://github.com/cockpit-project/cockpit.git
COCKPIT_REPO_COMMIT = 269bf89276c679a03befc8a04244addd5d810048 # 290 + 42 commits
COCKPIT_REPO_COMMIT = 947f1753867e3924b9617aaace936225fd6022e7 # 291 + 2 commits
$(COCKPIT_REPO_FILES): $(COCKPIT_REPO_STAMP)
COCKPIT_REPO_TREE = '$(strip $(COCKPIT_REPO_COMMIT))^{tree}'

View file

@ -43,8 +43,8 @@
"stylelint-formatter-pretty": "^3.2.0"
},
"dependencies": {
"@patternfly/patternfly": "4.224.4",
"@patternfly/react-core": "4.276.9",
"@patternfly/patternfly": "5.0.0-alpha.40",
"@patternfly/react-core": "5.0.0-alpha.72",
"@patternfly/react-table": "^4.113.0",
"buffer": "^6.0.3",
"comment-json": "^4.2.3",

View file

@ -18,7 +18,7 @@
*/
import "cockpit-dark-theme";
import "patternfly/patternfly-4-cockpit.scss";
import "patternfly/patternfly-5-cockpit.scss";
import React from 'react';
import { createRoot } from 'react-dom/client';
@ -30,7 +30,7 @@ import { Application } from './app.jsx';
* out of the dist/index.js and since it will maintain the order of the imported CSS,
* the overrides will be correctly in the end of our stylesheet.
*/
import "patternfly/patternfly-4-overrides.scss";
import "patternfly/patternfly-5-overrides.scss";
import './app.scss';
document.addEventListener("DOMContentLoaded", function () {