Makefile: Update Cockpit lib to 947f1753867e3924b9617aaace936225

Update to PF5 and the new cockpit lib API.

Closes #646
This commit is contained in:
Cockpit Project 2023-05-04 02:24:40 +00:00 committed by Katerina Koukiou
parent 6ab10901a4
commit b2bdaac5b2
3 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ COCKPIT_REPO_FILES = \
$(NULL) $(NULL)
COCKPIT_REPO_URL = https://github.com/cockpit-project/cockpit.git 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_FILES): $(COCKPIT_REPO_STAMP)
COCKPIT_REPO_TREE = '$(strip $(COCKPIT_REPO_COMMIT))^{tree}' COCKPIT_REPO_TREE = '$(strip $(COCKPIT_REPO_COMMIT))^{tree}'

View file

@ -43,8 +43,8 @@
"stylelint-formatter-pretty": "^3.2.0" "stylelint-formatter-pretty": "^3.2.0"
}, },
"dependencies": { "dependencies": {
"@patternfly/patternfly": "4.224.4", "@patternfly/patternfly": "5.0.0-alpha.40",
"@patternfly/react-core": "4.276.9", "@patternfly/react-core": "5.0.0-alpha.72",
"react": "17.0.2", "react": "17.0.2",
"react-dom": "17.0.2" "react-dom": "17.0.2"
} }

View file

@ -18,7 +18,7 @@
*/ */
import "cockpit-dark-theme"; import "cockpit-dark-theme";
import "patternfly/patternfly-4-cockpit.scss"; import "patternfly/patternfly-5-cockpit.scss";
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
@ -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, * 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. * 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'; import './app.scss';
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {