Skip to content

Commit 72f4744

Browse files
authored
fix: css variables table has colors again & charts dependencies fixed (#4535)
* fix: css variables table has colors again * fix: chart legend alignment due to mismatched chart versions * fix: victory and echarts now dependencies of docs-site
1 parent d3b18f5 commit 72f4744

3 files changed

Lines changed: 7 additions & 260 deletions

File tree

packages/documentation-framework/components/cssVariables/cssVariables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class CSSVariables extends React.Component {
9393
>
9494
<span
9595
className="circle"
96-
style={{ backgroundColor: `var(${property})` }}
96+
style={{ backgroundColor: `${value}` }}
9797
/>
9898
</div>
9999
)}

packages/documentation-site/package.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@
3030
"@patternfly/react-topology": "6.2.0",
3131
"@patternfly/react-user-feedback": "6.1.0",
3232
"@patternfly/react-virtualized-extension": "6.0.0",
33+
"echarts": "^5.6.0",
3334
"marked": "^15.0.7",
3435
"react": "^17.0.0 || ^18.0.0",
35-
"react-dom": "^17.0.0 || ^18.0.0"
36+
"react-dom": "^17.0.0 || ^18.0.0",
37+
"victory": "^37.3.6"
3638
},
3739
"devDependencies": {
3840
"@patternfly/patternfly-a11y": "5.0.0",
@@ -41,18 +43,6 @@
4143
"glob": "^8.1.0",
4244
"react-jss": "^10.9.2",
4345
"react-router": "^6.3.0",
44-
"react-router-dom": "^6.3.0",
45-
"victory-bar": "^37.1.1",
46-
"victory-core": "^37.1.1",
47-
"victory-create-container": "^37.1.1",
48-
"victory-cursor-container": "^37.1.1",
49-
"victory-group": "^37.1.1",
50-
"victory-legend": "^37.1.1",
51-
"victory-line": "^37.1.1",
52-
"victory-pie": "^37.1.1",
53-
"victory-scatter": "^37.1.1",
54-
"victory-stack": "^37.1.1",
55-
"victory-tooltip": "^37.1.1",
56-
"victory-voronoi-container": "^37.1.1"
46+
"react-router-dom": "^6.3.0"
5747
}
5848
}

0 commit comments

Comments
 (0)