Skip to content

Commit 3d445ab

Browse files
committed
Bump react-core and react-styles dependencies
Select component is now imported from the deprecated path.
1 parent 5f7ceeb commit 3d445ab

File tree

6 files changed

+39
-30
lines changed

6 files changed

+39
-30
lines changed

packages/module/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
},
3535
"dependencies": {
3636
"@novnc/novnc": "^1.3.0",
37-
"@patternfly/react-core": "^5.0.0-alpha.50",
38-
"@patternfly/react-styles": "^5.0.0-alpha.5",
37+
"@patternfly/react-core": "^5.0.0-alpha.72",
38+
"@patternfly/react-styles": "^5.0.0-alpha.7",
3939
"@spice-project/spice-html5": "^0.2.1",
4040
"file-saver": "^1.3.8",
4141
"xterm": "^4.8.1",

packages/module/src/components/AccessConsoles/AccessConsoles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { css } from '@patternfly/react-styles';
3-
import { Select, SelectOption, SelectOptionObject, SelectVariant } from '@patternfly/react-core';
3+
import { Select, SelectOption, SelectOptionObject, SelectVariant } from '@patternfly/react-core/deprecated';
44

55
import { constants } from '../common/constants';
66

packages/module/src/components/AccessConsoles/__snapshots__/AccessConsoles.test.tsx.snap

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,10 @@ exports[`AccessConsoles with SerialConsole and VncConsole as children 1`] = `
5353
>
5454
<svg
5555
aria-hidden="true"
56+
class="pf-svg"
5657
fill="currentColor"
57-
height="1em"
5858
role="img"
59-
style="vertical-align: -0.125em;"
6059
viewBox="0 0 320 512"
61-
width="1em"
6260
>
6361
<path
6462
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"

packages/module/src/components/DesktopViewer/__snapshots__/DesktopViewer.test.tsx.snap

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,10 @@ exports[`DesktopViewer with Spice and VNC 1`] = `
221221
>
222222
<svg
223223
aria-hidden="true"
224+
class="pf-svg"
224225
fill="currentColor"
225-
height="1em"
226226
role="img"
227-
style="vertical-align: -0.125em;"
228227
viewBox="0 0 256 512"
229-
width="1em"
230228
>
231229
<path
232230
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
@@ -548,12 +546,10 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
548546
>
549547
<svg
550548
aria-hidden="true"
549+
class="pf-svg"
551550
fill="currentColor"
552-
height="1em"
553551
role="img"
554-
style="vertical-align: -0.125em;"
555552
viewBox="0 0 256 512"
556-
width="1em"
557553
>
558554
<path
559555
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
@@ -709,12 +705,10 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
709705
>
710706
<svg
711707
aria-hidden="true"
708+
class="pf-svg"
712709
fill="currentColor"
713-
height="1em"
714710
role="img"
715-
style="vertical-align: -0.125em;"
716711
viewBox="0 0 256 512"
717-
width="1em"
718712
>
719713
<path
720714
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
@@ -956,12 +950,10 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
956950
>
957951
<svg
958952
aria-hidden="true"
953+
class="pf-svg"
959954
fill="currentColor"
960-
height="1em"
961955
role="img"
962-
style="vertical-align: -0.125em;"
963956
viewBox="0 0 256 512"
964-
width="1em"
965957
>
966958
<path
967959
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
@@ -1117,12 +1109,10 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
11171109
>
11181110
<svg
11191111
aria-hidden="true"
1112+
class="pf-svg"
11201113
fill="currentColor"
1121-
height="1em"
11221114
role="img"
1123-
style="vertical-align: -0.125em;"
11241115
viewBox="0 0 256 512"
1125-
width="1em"
11261116
>
11271117
<path
11281118
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"

packages/module/src/components/VncConsole/__snapshots__/VncActions.test.tsx.snap

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ exports[`VncActions VncActions renders correctly component hierarchy 1`] = `
3232
>
3333
<svg
3434
aria-hidden="true"
35+
class="pf-svg"
3536
fill="currentColor"
36-
height="1em"
3737
role="img"
38-
style="vertical-align: -0.125em;"
3938
viewBox="0 0 320 512"
40-
width="1em"
4139
>
4240
<path
4341
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
@@ -92,12 +90,10 @@ exports[`VncActions VncActions renders correctly html 1`] = `
9290
>
9391
<svg
9492
aria-hidden="true"
93+
class="pf-svg"
9594
fill="currentColor"
96-
height="1em"
9795
role="img"
98-
style="vertical-align: -0.125em;"
9996
viewBox="0 0 320 512"
100-
width="1em"
10197
>
10298
<path
10399
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
@@ -152,12 +148,10 @@ exports[`VncActions placeholder render test 1`] = `
152148
>
153149
<svg
154150
aria-hidden="true"
151+
class="pf-svg"
155152
fill="currentColor"
156-
height="1em"
157153
role="img"
158-
style="vertical-align: -0.125em;"
159154
viewBox="0 0 320 512"
160-
width="1em"
161155
>
162156
<path
163157
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"

yarn.lock

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,6 +1711,23 @@
17111711
react-dropzone "^14.2.3"
17121712
tslib "^2.5.0"
17131713

1714+
"@patternfly/react-core@^5.0.0-alpha.72":
1715+
version "5.0.0-alpha.77"
1716+
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-5.0.0-alpha.77.tgz#75e3c6b0ff8d9c1a1e758fd6c4ac8576f76fdf85"
1717+
integrity sha512-7O/HWhzj8g4mKPmwd/u859/tE8isnB/5+6XDBI65IJ4MVZCJLgL7tCADTRniXUO3oiRf4F876mHPba4tQ+CmPg==
1718+
dependencies:
1719+
"@patternfly/react-icons" "^5.0.0-alpha.11"
1720+
"@patternfly/react-styles" "^5.0.0-alpha.8"
1721+
"@patternfly/react-tokens" "^5.0.0-alpha.7"
1722+
focus-trap "7.4.0"
1723+
react-dropzone "^14.2.3"
1724+
tslib "^2.5.0"
1725+
1726+
"@patternfly/react-icons@^5.0.0-alpha.11":
1727+
version "5.0.0-alpha.11"
1728+
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-5.0.0-alpha.11.tgz#3e50a1ea7893c7ab83234b8926462e02b56c75fc"
1729+
integrity sha512-Wsa6pCcBqQqXqON0x0QjeuZnBrb+fg/GVE949QJc4u0hbN2E0UJOt1q5Ja+SwLkqI8pvizzmLM32D4omOj56SQ==
1730+
17141731
"@patternfly/react-icons@^5.0.0-alpha.7":
17151732
version "5.0.0-alpha.7"
17161733
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-5.0.0-alpha.7.tgz#7d0295222066fca620d91d3c4fcdeeef697572be"
@@ -1721,6 +1738,11 @@
17211738
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-5.0.0-alpha.5.tgz#c9ac68d1983836548d99771c6d15607d55c4d223"
17221739
integrity sha512-pyojAEUAAHTPb7pBaJA2jCf2YDPf7wR4c2sfwyu/mQ2WLi7wtlGt5EovVzSyFs7ihWha7Fc+wcIQiZtHlpZlZA==
17231740

1741+
"@patternfly/react-styles@^5.0.0-alpha.7", "@patternfly/react-styles@^5.0.0-alpha.8":
1742+
version "5.0.0-alpha.8"
1743+
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-5.0.0-alpha.8.tgz#7e98abd2406deb26fd16869004559289810ba666"
1744+
integrity sha512-V/jhoKp6pz3c+2N1Yi/Ez/EJIHKEHe4SSCzF5ocGpOfaYlQpDGdttKIF0GSWksXlShYZJ5heKfARuESK9XjqRA==
1745+
17241746
"@patternfly/react-table@^5.0.0-alpha.51":
17251747
version "5.0.0-alpha.51"
17261748
resolved "https://registry.yarnpkg.com/@patternfly/react-table/-/react-table-5.0.0-alpha.51.tgz#ff818e2fdf9a84bbea9b6eeef7c48b52f917096c"
@@ -1738,6 +1760,11 @@
17381760
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-5.0.0-alpha.5.tgz#ba48f7a70d4bde330146281fd82a01192ef4bc2b"
17391761
integrity sha512-spPdu0PrJ/h0Qq0cyHubs7Xn2GrpyGFWpUQ39Nt1wDDrsHplh4nNhmvG2UdbQg+uB4jCcN8iQn2/xISwVlBxgg==
17401762

1763+
"@patternfly/react-tokens@^5.0.0-alpha.7":
1764+
version "5.0.0-alpha.7"
1765+
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-5.0.0-alpha.7.tgz#c81d47f05bd699ebbe79f21ff8ad66717e2d3b4c"
1766+
integrity sha512-w22cIlzzD7U40Ut8VDqjU1RyOmdwn9Z10qiUSZCzEJY/D5Vwo9bDXbHX23bBUr2rCJUkAwWNaAhWquHFBiSK4w==
1767+
17411768
"@polka/url@^1.0.0-next.20":
17421769
version "1.0.0-next.21"
17431770
resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1"

0 commit comments

Comments
 (0)