Skip to content

Commit 2d3921b

Browse files
authored
feat(charts): import charts from @patternfly/react-charts/victory (#11091)
1 parent f98b02d commit 2d3921b

File tree

187 files changed

+354
-210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+354
-210
lines changed

packages/react-charts/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/deprecated
2+
/echarts
3+
/next
4+
/victory

packages/react-charts/README.md

Lines changed: 1 addition & 1 deletion

packages/react-charts/package.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
"main": "dist/js/index.js",
66
"module": "dist/esm/index.js",
77
"types": "dist/esm/index.d.ts",
8+
"typesVersions": {
9+
"*": {
10+
"victory": [
11+
"dist/esm/victory/index.d.ts"
12+
]
13+
}
14+
},
815
"patternfly:src": "src/",
916
"sideEffects": [
1017
"*.css",
@@ -33,7 +40,11 @@
3340
"@patternfly/react-tokens": "workspace:^",
3441
"hoist-non-react-statics": "^3.3.2",
3542
"lodash": "^4.17.21",
36-
"tslib": "^2.7.0",
43+
"tslib": "^2.7.0"
44+
},
45+
"peerDependencies": {
46+
"react": "^17 || ^18",
47+
"react-dom": "^17 || ^18",
3748
"victory-area": "^37.1.1",
3849
"victory-axis": "^37.1.1",
3950
"victory-bar": "^37.1.1",
@@ -52,13 +63,10 @@
5263
"victory-voronoi-container": "^37.1.1",
5364
"victory-zoom-container": "^37.1.1"
5465
},
55-
"peerDependencies": {
56-
"react": "^17 || ^18",
57-
"react-dom": "^17 || ^18"
58-
},
5966
"scripts": {
60-
"clean": "rimraf dist",
61-
"build:single:packages": "node ../../scripts/build-single-packages.mjs --config single-packages.config.json"
67+
"clean": "rimraf dist echarts victory",
68+
"build:single:packages": "node ../../scripts/build-single-packages.mjs --config single-packages.config.json",
69+
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
6270
},
6371
"devDependencies": {
6472
"@types/lodash": "^4.17.9",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/react-charts/src/components/ChartArea/examples/ChartArea.md renamed to packages/react-charts/src/victory/components/ChartArea/examples/ChartArea.md

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)