Skip to content

Commit 1d4d075

Browse files
authored
fix: Bumped echarts and core. (#12023)
* fix: Bumped echarts and core. * updated snapshots.
1 parent 263c485 commit 1d4d075

File tree

9 files changed

+69
-76
lines changed

9 files changed

+69
-76
lines changed

packages/react-charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"jest-canvas-mock": "^2.5.2"
5252
},
5353
"peerDependencies": {
54-
"echarts": "^5.6.0",
54+
"echarts": "^5.6.0 || ^6.0.0",
5555
"react": "^17 || ^18 || ^19",
5656
"react-dom": "^17 || ^18 || ^19",
5757
"victory-area": "^37.3.6",

packages/react-charts/src/echarts/components/Line/__tests__/__snapshots__/Line.test.tsx.snap

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -28,80 +28,80 @@ exports[`renders component 1`] = `
2828
/>
2929
<g>
3030
<path
31-
d="M80 60l160 0l0 270l-160 0Z"
31+
d="M120 65l150 0l0 255l-150 0Z"
3232
fill="#ffffff"
3333
/>
3434
<path
35-
d="M240 60l160 0l0 270l-160 0Z"
35+
d="M270 65l150 0l0 255l-150 0Z"
3636
fill="#ffffff"
3737
/>
3838
<path
39-
d="M400 60l160 0l0 270l-160 0Z"
39+
d="M420 65l150 0l0 255l-150 0Z"
4040
fill="#ffffff"
4141
/>
4242
<path
43-
d="M560 60l160 0l0 270l-160 0Z"
43+
d="M570 65l150 0l0 255l-150 0Z"
4444
fill="#ffffff"
4545
/>
4646
<path
47-
d="M80.5 60L80.5 330"
47+
d="M120.5 65L120.5 320"
4848
fill="none"
4949
stroke="#c7c7c7"
5050
/>
5151
<path
52-
d="M240.5 60L240.5 330"
52+
d="M270.5 65L270.5 320"
5353
fill="none"
5454
stroke="#c7c7c7"
5555
/>
5656
<path
57-
d="M400.5 60L400.5 330"
57+
d="M420.5 65L420.5 320"
5858
fill="none"
5959
stroke="#c7c7c7"
6060
/>
6161
<path
62-
d="M560.5 60L560.5 330"
62+
d="M570.5 65L570.5 320"
6363
fill="none"
6464
stroke="#c7c7c7"
6565
/>
6666
<path
67-
d="M720.5 60L720.5 330"
67+
d="M720.5 65L720.5 320"
6868
fill="none"
6969
stroke="#c7c7c7"
7070
/>
7171
<path
72-
d="M80.5 330L80.5 60"
72+
d="M120.5 320L120.5 65"
7373
fill="none"
7474
stroke="#c7c7c7"
7575
stroke-linecap="round"
7676
/>
7777
<path
78-
d="M80 330.5L720 330.5"
78+
d="M120 320.5L720 320.5"
7979
fill="none"
8080
stroke="#c7c7c7"
8181
stroke-linecap="round"
8282
/>
8383
<path
84-
d="M80.5 330L80.5 335"
84+
d="M120.5 320L120.5 325"
8585
fill="none"
8686
stroke="#c7c7c7"
8787
/>
8888
<path
89-
d="M240.5 330L240.5 335"
89+
d="M270.5 320L270.5 325"
9090
fill="none"
9191
stroke="#c7c7c7"
9292
/>
9393
<path
94-
d="M400.5 330L400.5 335"
94+
d="M420.5 320L420.5 325"
9595
fill="none"
9696
stroke="#c7c7c7"
9797
/>
9898
<path
99-
d="M560.5 330L560.5 335"
99+
d="M570.5 320L570.5 325"
100100
fill="none"
101101
stroke="#c7c7c7"
102102
/>
103103
<path
104-
d="M720.5 330L720.5 335"
104+
d="M720.5 320L720.5 325"
105105
fill="none"
106106
stroke="#c7c7c7"
107107
/>
@@ -110,7 +110,7 @@ exports[`renders component 1`] = `
110110
fill="#1f1f1f"
111111
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif);"
112112
text-anchor="middle"
113-
transform="translate(160 338)"
113+
transform="translate(195 328)"
114114
y="0.5"
115115
>
116116
2015
@@ -120,7 +120,7 @@ exports[`renders component 1`] = `
120120
fill="#1f1f1f"
121121
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif);"
122122
text-anchor="middle"
123-
transform="translate(320 338)"
123+
transform="translate(345 328)"
124124
y="0.5"
125125
>
126126
2016
@@ -130,7 +130,7 @@ exports[`renders component 1`] = `
130130
fill="#1f1f1f"
131131
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif);"
132132
text-anchor="middle"
133-
transform="translate(480 338)"
133+
transform="translate(495 328)"
134134
y="0.5"
135135
>
136136
2017
@@ -140,7 +140,7 @@ exports[`renders component 1`] = `
140140
fill="#1f1f1f"
141141
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif);"
142142
text-anchor="middle"
143-
transform="translate(640 338)"
143+
transform="translate(645 328)"
144144
y="0.5"
145145
>
146146
2018
@@ -149,7 +149,7 @@ exports[`renders component 1`] = `
149149
clip-path="url(#zr0-c0)"
150150
>
151151
<path
152-
d="M160 300C160 300 244.8013 298.1995 320 270C404.8013 238.1995 397.1346 180 480 180C557.1346 180 640 240 640 240"
152+
d="M195 291.6667C195 291.6667 274.5584 289.9446 345 263.3333C424.5584 233.2779 417.2812 178.3333 495 178.3333C567.2812 178.3333 645 235 645 235"
153153
fill="none"
154154
stroke="#0066cc"
155155
stroke-linejoin="bevel"
@@ -160,7 +160,7 @@ exports[`renders component 1`] = `
160160
clip-path="url(#zr0-c1)"
161161
>
162162
<path
163-
d="M160 270C160 270 255.4687 300 320 300C415.4687 300 389.2073 120 480 120C549.2073 120 640 210 640 210"
163+
d="M195 263.3333C195 263.3333 284.6421 291.6667 345 291.6667C434.6421 291.6667 409.7953 121.6667 495 121.6667C559.7953 121.6667 645 206.6667 645 206.6667"
164164
fill="none"
165165
stroke="#92c5f9"
166166
stroke-dasharray="8,4"
@@ -172,7 +172,7 @@ exports[`renders component 1`] = `
172172
clip-path="url(#zr0-c2)"
173173
>
174174
<path
175-
d="M160 240C160 240 251.8353 240 320 210C411.8353 169.5824 396.3146 60 480 60C556.3146 60 640 180 640 180"
175+
d="M195 235C195 235 281.2134 235 345 206.6667C431.2134 168.3716 416.5151 65 495 65C566.5151 65 645 178.3333 645 178.3333"
176176
fill="none"
177177
stroke="#003366"
178178
stroke-linejoin="bevel"
@@ -183,27 +183,27 @@ exports[`renders component 1`] = `
183183
clip-path="url(#zr0-c3)"
184184
>
185185
<path
186-
d="M160 240C160 240 252.5103 240 320 240C412.5103 240 388.1647 90 480 90C548.1647 90 640 120 640 120"
186+
d="M195 235C195 235 281.8552 235 345 235C431.8552 235 408.7866 93.3333 495 93.3333C558.7866 93.3333 645 121.6667 645 121.6667"
187187
fill="none"
188188
stroke="#4394e5"
189189
stroke-linejoin="bevel"
190190
stroke-width="2"
191191
/>
192192
</g>
193193
<path
194-
d="M-5 -5l30 0l0 11l-30 0Z"
194+
d="M-15 -5l30 0l0 11l-30 0Z"
195195
fill="rgb(0,0,0)"
196196
fill-opacity="0"
197-
stroke="#ccc"
197+
stroke="#3c3c41"
198198
stroke-width="0"
199-
transform="translate(5 5)"
199+
transform="translate(400 20)"
200200
/>
201201
<text
202202
dominant-baseline="central"
203203
fill="#1f1f1f"
204204
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif); font-weight: bold;"
205-
text-anchor="start"
206-
transform="translate(5 5)"
205+
text-anchor="middle"
206+
transform="translate(400 20)"
207207
xml:space="preserve"
208208
y="0.5"
209209
>
@@ -215,31 +215,31 @@ exports[`renders component 1`] = `
215215
id="zr0-c0"
216216
>
217217
<path
218-
d="M79 59l0 0l0 272l0 0Z"
218+
d="M119 64l0 0l0 257l0 0Z"
219219
fill="#000"
220220
/>
221221
</clippath>
222222
<clippath
223223
id="zr0-c1"
224224
>
225225
<path
226-
d="M79 59l0 0l0 272l0 0Z"
226+
d="M119 64l0 0l0 257l0 0Z"
227227
fill="#000"
228228
/>
229229
</clippath>
230230
<clippath
231231
id="zr0-c2"
232232
>
233233
<path
234-
d="M79 59l0 0l0 272l0 0Z"
234+
d="M119 64l0 0l0 257l0 0Z"
235235
fill="#000"
236236
/>
237237
</clippath>
238238
<clippath
239239
id="zr0-c3"
240240
>
241241
<path
242-
d="M79 59l0 0l0 272l0 0Z"
242+
d="M119 64l0 0l0 257l0 0Z"
243243
fill="#000"
244244
/>
245245
</clippath>
@@ -258,8 +258,8 @@ exports[`renders title 1`] = `
258258
dominant-baseline="central"
259259
fill="#1f1f1f"
260260
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif); font-weight: bold;"
261-
text-anchor="start"
262-
transform="translate(5 5)"
261+
text-anchor="middle"
262+
transform="translate(400 20)"
263263
xml:space="preserve"
264264
y="0.5"
265265
>

packages/react-charts/src/echarts/components/Sankey/__tests__/__snapshots__/Sankey.test.tsx.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,19 +164,19 @@ exports[`renders component 1`] = `
164164
</text>
165165
</g>
166166
<path
167-
d="M-5 -5l32 0l0 11l-32 0Z"
167+
d="M-16 -5l32 0l0 11l-32 0Z"
168168
fill="rgb(0,0,0)"
169169
fill-opacity="0"
170-
stroke="#ccc"
170+
stroke="#3c3c41"
171171
stroke-width="0"
172-
transform="translate(5 5)"
172+
transform="translate(400 20)"
173173
/>
174174
<text
175175
dominant-baseline="central"
176176
fill="#1f1f1f"
177177
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif); font-weight: bold;"
178-
text-anchor="start"
179-
transform="translate(5 5)"
178+
text-anchor="middle"
179+
transform="translate(400 20)"
180180
xml:space="preserve"
181181
y="0.5"
182182
>
@@ -208,8 +208,8 @@ exports[`renders title 1`] = `
208208
dominant-baseline="central"
209209
fill="#1f1f1f"
210210
style="font-size: 14px; font-family: var(--pf-v6-chart-global--FontFamily, 'Red Hat Text', 'RedHatText', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif); font-weight: bold;"
211-
text-anchor="start"
212-
transform="translate(5 5)"
211+
text-anchor="middle"
212+
transform="translate(400 20)"
213213
xml:space="preserve"
214214
y="0.5"
215215
>

packages/react-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"tslib": "^2.8.1"
5555
},
5656
"devDependencies": {
57-
"@patternfly/patternfly": "6.4.0-prerelease.1",
57+
"@patternfly/patternfly": "6.4.0-prerelease.2",
5858
"case-anything": "^3.1.2",
5959
"css": "^3.0.0",
6060
"fs-extra": "^11.3.0"

packages/react-docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"test:a11y": "patternfly-a11y --config patternfly-a11y.config"
2424
},
2525
"dependencies": {
26-
"@patternfly/patternfly": "6.3.0-prerelease.79",
26+
"@patternfly/patternfly": "6.4.0-prerelease.2",
2727
"@patternfly/react-charts": "workspace:^",
2828
"@patternfly/react-code-editor": "workspace:^",
2929
"@patternfly/react-core": "workspace:^",
@@ -33,7 +33,7 @@
3333
"@patternfly/react-table": "workspace:^",
3434
"@patternfly/react-templates": "workspace:^",
3535
"@patternfly/react-tokens": "workspace:^",
36-
"echarts": "^5.6.0",
36+
"echarts": "^5.6.0 || ^6.0.0",
3737
"victory": "^37.3.6"
3838
},
3939
"devDependencies": {

packages/react-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@fortawesome/free-brands-svg-icons": "^5.15.4",
3434
"@fortawesome/free-regular-svg-icons": "^5.15.4",
3535
"@fortawesome/free-solid-svg-icons": "^5.15.4",
36-
"@patternfly/patternfly": "6.4.0-prerelease.1",
36+
"@patternfly/patternfly": "6.4.0-prerelease.2",
3737
"fs-extra": "^11.3.0",
3838
"tslib": "^2.8.1"
3939
},

packages/react-styles/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"clean": "rimraf dist css"
2020
},
2121
"devDependencies": {
22-
"@patternfly/patternfly": "6.4.0-prerelease.1",
22+
"@patternfly/patternfly": "6.4.0-prerelease.2",
2323
"change-case": "^5.4.4",
2424
"fs-extra": "^11.3.0"
2525
},

packages/react-tokens/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"devDependencies": {
3232
"@adobe/css-tools": "^4.4.2",
33-
"@patternfly/patternfly": "6.4.0-prerelease.1",
33+
"@patternfly/patternfly": "6.4.0-prerelease.2",
3434
"fs-extra": "^11.3.0"
3535
}
3636
}

0 commit comments

Comments
 (0)