Skip to content

Commit adcd7ff

Browse files
committed
chore: update icons
1 parent 9a50118 commit adcd7ff

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

packages/documentation-framework/components/example/example.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
.ws-full-page-utils {
7474
position: fixed;
7575
inset-block-end: 0;
76-
padding: var(--pf-t--global--spacer--lg);
76+
padding: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--lg);
7777
z-index: var(--pf-t--global--z-index--2xl);
7878
}
7979

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export const Example = ({
203203
{(hasThemeSwitcher || hasRTLSwitcher) && (
204204
<Flex
205205
direction={{ default: 'column' }}
206-
gap={{ default: 'gapMd' }}
206+
gap={{ default: 'gapSm' }}
207207
className={css('ws-full-page-utils', 'pf-v6-m-dir-ltr', fullPageUtilsPosition)}
208208
>
209209
<Flex justifyContent={{ default: 'justifyContentCenter' }} gap={{ default: 'gapXs' }}>
@@ -214,7 +214,7 @@ export const Example = ({
214214
isClicked={fullPageUtilsPosition === 'pf-m-top-left'}
215215
onClick={() => setFullPageUtilsPosition('pf-m-top-left')}
216216
aria-label="Position utilities top left"
217-
icon={fullPageUtilsPosition === 'pf-m-top-left' ? RhUiArrowCircleUpLeftFillIcon : RhUiArrowCircleUpLeftIcon}
217+
icon={fullPageUtilsPosition === 'pf-m-top-left' ? <RhUiArrowCircleUpLeftFillIcon /> : <RhUiArrowCircleUpLeftIcon />}
218218
/>
219219
<Button
220220
variant="plain"
@@ -223,7 +223,7 @@ export const Example = ({
223223
isClicked={fullPageUtilsPosition === 'pf-m-bottom-left'}
224224
onClick={() => setFullPageUtilsPosition('pf-m-bottom-left')}
225225
aria-label="Position utilities bottom left"
226-
icon={fullPageUtilsPosition === 'pf-m-bottom-left' ? RhUiArrowCircleDownLeftFillIcon : RhUiArrowCircleDownLeftIcon}
226+
icon={fullPageUtilsPosition === 'pf-m-bottom-left' ? <RhUiArrowCircleDownLeftFillIcon /> : <RhUiArrowCircleDownLeftIcon />}
227227
/>
228228
<Button
229229
variant="plain"
@@ -232,7 +232,7 @@ export const Example = ({
232232
isClicked={fullPageUtilsPosition === 'pf-m-bottom-right'}
233233
onClick={() => setFullPageUtilsPosition('pf-m-bottom-right')}
234234
aria-label="Position utilities bottom right"
235-
icon={fullPageUtilsPosition === 'pf-m-bottom-right' ? RhUiArrowCircleDownRightFillIcon : RhUiArrowCircleDownRightIcon}
235+
icon={fullPageUtilsPosition === 'pf-m-bottom-right' ? <RhUiArrowCircleDownRightFillIcon /> : <RhUiArrowCircleDownRightIcon />}
236236
/>
237237
<Button
238238
variant="plain"
@@ -241,7 +241,7 @@ export const Example = ({
241241
isClicked={fullPageUtilsPosition === 'pf-m-top-right'}
242242
onClick={() => setFullPageUtilsPosition('pf-m-top-right')}
243243
aria-label="Position utilities top right"
244-
icon={fullPageUtilsPosition === 'pf-m-top-right' ? RhUiArrowCircleUpRightFillIcon : RhUiArrowCircleUpRightIcon}
244+
icon={fullPageUtilsPosition === 'pf-m-top-right' ? <RhUiArrowCircleUpRightFillIcon /> : <RhUiArrowCircleUpRightIcon />}
245245
/>
246246
</Flex>
247247
{hasThemeSwitcher && <ThemeSelector id="ws-example-theme-select" />}

packages/documentation-framework/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"@patternfly/patternfly": "^6.5.0-prerelease.33",
7070
"@patternfly/react-code-editor": "^6.5.0-prerelease.26",
7171
"@patternfly/react-core": "^6.5.0-prerelease.24",
72+
"@patternfly/react-icons": "^6.5.0-prerelease.11",
7273
"@patternfly/react-table": "^6.5.0-prerelease.24",
7374
"react": "^17.0.0 || ^18.0.0",
7475
"react-dom": "^17.0.0 || ^18.0.0"

packages/documentation-site/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@patternfly/react-console": "6.1.0",
2929
"@patternfly/react-data-view": "6.4.0-prerelease.8",
3030
"@patternfly/react-docs": "7.5.0-prerelease.26",
31+
"@patternfly/react-icons": "6.5.0-prerelease.11",
3132
"@patternfly/react-log-viewer": "6.3.0",
3233
"@patternfly/react-topology": "6.5.0-prerelease.3",
3334
"@patternfly/react-user-feedback": "6.2.0",

yarn.lock

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4743,6 +4743,7 @@ __metadata:
47434743
"@patternfly/patternfly": ^6.5.0-prerelease.33
47444744
"@patternfly/react-code-editor": ^6.5.0-prerelease.26
47454745
"@patternfly/react-core": ^6.5.0-prerelease.24
4746+
"@patternfly/react-icons": ^6.5.0-prerelease.11
47464747
"@patternfly/react-table": ^6.5.0-prerelease.24
47474748
react: ^17.0.0 || ^18.0.0
47484749
react-dom: ^17.0.0 || ^18.0.0
@@ -5093,6 +5094,16 @@ __metadata:
50935094
languageName: node
50945095
linkType: hard
50955096

5097+
"@patternfly/react-icons@npm:6.5.0-prerelease.11, @patternfly/react-icons@npm:^6.5.0-prerelease.11":
5098+
version: 6.5.0-prerelease.11
5099+
resolution: "@patternfly/react-icons@npm:6.5.0-prerelease.11"
5100+
peerDependencies:
5101+
react: ^17 || ^18 || ^19
5102+
react-dom: ^17 || ^18 || ^19
5103+
checksum: 10c0/d0d91d9e011747dde34a0d3521cd92d58ff29281f6fb1e442c72cf0ea1ca8b3a69e270497e0644ffa499601484394bc9fdf12b070f8568114a7fcfed0428a8c8
5104+
languageName: node
5105+
linkType: hard
5106+
50965107
"@patternfly/react-icons@npm:^6.0.0, @patternfly/react-icons@npm:^6.0.0-prerelease.7, @patternfly/react-icons@npm:^6.3.1":
50975108
version: 6.3.1
50985109
resolution: "@patternfly/react-icons@npm:6.3.1"
@@ -5113,16 +5124,6 @@ __metadata:
51135124
languageName: node
51145125
linkType: hard
51155126

5116-
"@patternfly/react-icons@npm:^6.5.0-prerelease.11":
5117-
version: 6.5.0-prerelease.11
5118-
resolution: "@patternfly/react-icons@npm:6.5.0-prerelease.11"
5119-
peerDependencies:
5120-
react: ^17 || ^18 || ^19
5121-
react-dom: ^17 || ^18 || ^19
5122-
checksum: 10c0/d0d91d9e011747dde34a0d3521cd92d58ff29281f6fb1e442c72cf0ea1ca8b3a69e270497e0644ffa499601484394bc9fdf12b070f8568114a7fcfed0428a8c8
5123-
languageName: node
5124-
linkType: hard
5125-
51265127
"@patternfly/react-log-viewer@npm:6.3.0":
51275128
version: 6.3.0
51285129
resolution: "@patternfly/react-log-viewer@npm:6.3.0"
@@ -18549,6 +18550,7 @@ __metadata:
1854918550
"@patternfly/react-console": "npm:6.1.0"
1855018551
"@patternfly/react-data-view": "npm:6.4.0-prerelease.8"
1855118552
"@patternfly/react-docs": "npm:7.5.0-prerelease.26"
18553+
"@patternfly/react-icons": "npm:6.5.0-prerelease.11"
1855218554
"@patternfly/react-log-viewer": "npm:6.3.0"
1855318555
"@patternfly/react-topology": "npm:6.5.0-prerelease.3"
1855418556
"@patternfly/react-user-feedback": "npm:6.2.0"

0 commit comments

Comments
 (0)