Skip to content

Commit 9e95ad9

Browse files
Merge branch 'main' into PF-4372
2 parents 523bdd2 + 8f2cf6c commit 9e95ad9

147 files changed

Lines changed: 7674 additions & 5106 deletions

File tree

Some content is hidden

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

packages/ast-helpers/CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,89 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# 1.4.0-alpha.410 (2026-09-02)
7+
8+
**Note:** Version bump only for package @patternfly/ast-helpers
9+
10+
11+
12+
13+
14+
# 1.4.0-alpha.409 (2026-09-01)
15+
16+
**Note:** Version bump only for package @patternfly/ast-helpers
17+
18+
19+
20+
21+
22+
# 1.4.0-alpha.408 (2026-08-13)
23+
24+
**Note:** Version bump only for package @patternfly/ast-helpers
25+
26+
27+
28+
29+
30+
# 1.4.0-alpha.407 (2026-08-10)
31+
32+
**Note:** Version bump only for package @patternfly/ast-helpers
33+
34+
35+
36+
37+
38+
# 1.4.0-alpha.406 (2026-08-10)
39+
40+
**Note:** Version bump only for package @patternfly/ast-helpers
41+
42+
43+
44+
45+
46+
# 1.4.0-alpha.405 (2026-08-05)
47+
48+
**Note:** Version bump only for package @patternfly/ast-helpers
49+
50+
51+
52+
53+
54+
# 1.4.0-alpha.404 (2026-08-04)
55+
56+
**Note:** Version bump only for package @patternfly/ast-helpers
57+
58+
59+
60+
61+
62+
# 1.4.0-alpha.403 (2026-08-04)
63+
64+
**Note:** Version bump only for package @patternfly/ast-helpers
65+
66+
67+
68+
69+
70+
# 1.4.0-alpha.402 (2026-08-04)
71+
72+
**Note:** Version bump only for package @patternfly/ast-helpers
73+
74+
75+
76+
77+
78+
# 1.4.0-alpha.401 (2026-08-03)
79+
80+
81+
### Features
82+
83+
* **misc:** separate CSSVariables into its own tab ([#5046](https://github.com/patternfly/patternfly-org/issues/5046)) ([0ecb4d3](https://github.com/patternfly/patternfly-org/commit/0ecb4d34d9f8100c1088936b765f98ecca9b94b6))
84+
85+
86+
87+
88+
689
# 1.4.0-alpha.400 (2026-08-03)
790

891

packages/ast-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@patternfly/ast-helpers",
33
"description": "Acorn AST helpers for working with live code",
4-
"version": "1.4.0-alpha.400",
4+
"version": "1.4.0-alpha.410",
55
"author": "Red Hat",
66
"license": "MIT",
77
"publishConfig": {

packages/documentation-framework/CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,89 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 6.51.9 (2026-09-02)
7+
8+
**Note:** Version bump only for package @patternfly/documentation-framework
9+
10+
11+
12+
13+
14+
## 6.51.8 (2026-09-01)
15+
16+
**Note:** Version bump only for package @patternfly/documentation-framework
17+
18+
19+
20+
21+
22+
## 6.51.7 (2026-08-13)
23+
24+
**Note:** Version bump only for package @patternfly/documentation-framework
25+
26+
27+
28+
29+
30+
## 6.51.6 (2026-08-10)
31+
32+
**Note:** Version bump only for package @patternfly/documentation-framework
33+
34+
35+
36+
37+
38+
## 6.51.5 (2026-08-10)
39+
40+
**Note:** Version bump only for package @patternfly/documentation-framework
41+
42+
43+
44+
45+
46+
## 6.51.4 (2026-08-05)
47+
48+
**Note:** Version bump only for package @patternfly/documentation-framework
49+
50+
51+
52+
53+
54+
## 6.51.3 (2026-08-04)
55+
56+
**Note:** Version bump only for package @patternfly/documentation-framework
57+
58+
59+
60+
61+
62+
## 6.51.2 (2026-08-04)
63+
64+
**Note:** Version bump only for package @patternfly/documentation-framework
65+
66+
67+
68+
69+
70+
## 6.51.1 (2026-08-04)
71+
72+
**Note:** Version bump only for package @patternfly/documentation-framework
73+
74+
75+
76+
77+
78+
# 6.51.0 (2026-08-03)
79+
80+
81+
### Features
82+
83+
* **misc:** separate CSSVariables into its own tab ([#5046](https://github.com/patternfly/patternfly-org/issues/5046)) ([0ecb4d3](https://github.com/patternfly/patternfly-org/commit/0ecb4d34d9f8100c1088936b765f98ecca9b94b6))
84+
85+
86+
87+
88+
689
# 6.50.0 (2026-08-03)
790

891

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
--ws-code-editor--tooltip--MaxWidth: 16ch;
33
}
44

5+
.ws-heading.ws-example-heading {
6+
margin-block-end: -0.5rem;
7+
}
8+
59
.ws-code-editor:not(.ws-example-code-expanded) > .pf-v6-c-code-editor__header::before {
610
--pf-v6-c-code-editor__header--before--BorderBottomWidth: 0;
711
}

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

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import {
99
Label,
1010
Switch,
1111
Tooltip,
12-
Stack,
13-
StackItem,
12+
Stack
1413
} from '@patternfly/react-core';
1514
import * as reactCoreModule from '@patternfly/react-core';
1615
import * as reactCoreNextModule from '@patternfly/react-core/next';
@@ -117,8 +116,6 @@ export const Example = ({
117116
// absolute url to hosted file
118117
sourceLink = ''
119118
}) => {
120-
121-
122119
if (isFullscreenPreview) {
123120
isFullscreen = false;
124121
}
@@ -284,7 +281,9 @@ export const Example = ({
284281
className={css('ws-full-page-utils-position-btn', utilsProps.className)}
285282
isClicked={fullPageUtilsPosition === utilsProps.className}
286283
onClick={() => setFullPageUtilsPosition(utilsProps.className)}
287-
aria-label={`${utilsProps.label}${fullPageUtilsPosition === utilsProps.className ? ', selected' : ''}`}
284+
aria-label={`${utilsProps.label}${
285+
fullPageUtilsPosition === utilsProps.className ? ', selected' : ''
286+
}`}
288287
icon={fullPageUtilsPosition === utilsProps.className ? utilsProps.iconClicked : utilsProps.icon}
289288
/>
290289
</Tooltip>
@@ -303,7 +302,7 @@ export const Example = ({
303302
const fullscreenLink = (() => {
304303
const cleanPathname = loc.pathname.replace(/\/$/, '');
305304
const sourcePath = `/${source}`;
306-
305+
307306
// Check if the source is already at the end of the pathname to avoid duplication
308307
// Using endsWith instead of includes to prevent false positives (e.g., /react-console matching /react)
309308
if (cleanPathname.endsWith(sourcePath)) {
@@ -348,19 +347,19 @@ export const Example = ({
348347
const metaText = hasMetaText && tooltips;
349348

350349
const thumbnailDimensions = {
351-
width: "800",
352-
height: "450"
353-
}
350+
width: '800',
351+
height: '450'
352+
};
354353

355354
return (
356355
<Stack hasGutter>
357-
<StackItem>
358-
<AutoLinkHeader metaText={metaText} headingLevel="h3">
356+
<Stack hasGutter>
357+
<AutoLinkHeader metaText={metaText} headingLevel="h3" className="ws-example-heading">
359358
{title}
360359
</AutoLinkHeader>
361360
{children}
362-
</StackItem>
363-
<StackItem>
361+
</Stack>
362+
<Stack hasGutter>
364363
{isFullscreen ? (
365364
<div>
366365
<a
@@ -369,16 +368,21 @@ export const Example = ({
369368
target="_blank"
370369
aria-label={`Open fullscreen ${title} example`}
371370
>
372-
<img src={thumbnail} width={thumbnailDimensions.width} height={thumbnailDimensions.height} alt={`${title} screenshot`} />
371+
<img
372+
src={thumbnail}
373+
width={thumbnailDimensions.width}
374+
height={thumbnailDimensions.height}
375+
alt={`${title} screenshot`}
376+
/>
373377
</a>
374378
</div>
375379
) : (
376380
<div id={previewId} className={css(className, isRTL && 'pf-v6-m-dir-rtl')}>
377381
{livePreview}
378382
</div>
379383
)}
380-
</StackItem>
381-
<StackItem>
384+
</Stack>
385+
<Stack hasGutter>
382386
<ExampleToolbar
383387
lang={lang}
384388
isFullscreen={isFullscreen}
@@ -389,7 +393,7 @@ export const Example = ({
389393
codeBoxParams={codeBoxParams}
390394
exampleTitle={title}
391395
/>
392-
</StackItem>
396+
</Stack>
393397
</Stack>
394398
);
395399
};

packages/documentation-framework/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@patternfly/documentation-framework",
33
"description": "A framework to build documentation for PatternFly.",
4-
"version": "6.50.0",
4+
"version": "6.51.9",
55
"author": "Red Hat",
66
"license": "MIT",
77
"bin": {

packages/documentation-framework/templates/mdx.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
@import './content-sources/ai-guidelines.css';
22

3-
p.pf-v6-c-content--p.ws-p {
3+
/* Stack gutter already spaces direct children; don't also use paragraph margins. */
4+
.pf-v6-l-stack.pf-m-gutter > p.pf-v6-c-content--p.ws-p {
45
margin: 0;
56
}
67

8+
/* Stack gutter provides spacing before template section headings. */
9+
.ws-example-page-wrapper.pf-m-gutter .ws-stack-section-heading {
10+
margin-block-start: 0;
11+
}
12+
713
.ws-code {
814
display: inline-block;
915
background-color: var(--pf-t--global--background--color--secondary--default);
@@ -30,4 +36,5 @@ p.pf-v6-c-content--p.ws-p {
3036
max-width: min(100%, 1200px);
3137
flex-grow: 1;
3238
min-width: 0;
39+
gap: 2.5rem;
3340
}

packages/documentation-framework/templates/mdx.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => {
8787
ensureID(toc);
8888
}
8989

90-
const isComponentCodeDocs = ['react', 'react-demos', 'html', 'html-demos', 'react-templates'].includes(source);
91-
9290
const InlineAlerts = (optIn ||
9391
beta ||
9492
deprecated ||
@@ -134,22 +132,25 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => {
134132
);
135133
// Create dynamic component for @reach/router
136134
const ChildComponent = () => (
137-
<div className={source !== 'landing-pages' ? 'pf-v6-l-flex pf-v6-m-column pf-m-nowrap-on-2xl' : ''} data-content-source={source}>
135+
<div
136+
className={source !== 'landing-pages' ? 'pf-v6-l-flex pf-v6-m-column pf-m-nowrap-on-2xl' : ''}
137+
data-content-source={source}
138+
>
138139
{toc.length > 1 && <TableOfContents items={toc} />}
139-
<Stack hasGutter className={(source !== 'landing-pages' && 'ws-example-page-wrapper')}>
140+
<Stack hasGutter className={source !== 'landing-pages' && 'ws-example-page-wrapper'}>
140141
{InlineAlerts}
141142
{source !== 'css-variables' && <Component />}
142143
{source !== 'css-variables' && functionDocumentation.length > 0 && (
143144
<StackItem>
144-
<AutoLinkHeader headingLevel="h2" className="pf-v6-c-content--h2" id="functions">
145+
<AutoLinkHeader headingLevel="h2" className="pf-v6-c-content--h2 ws-stack-section-heading" id="functions">
145146
Functions
146147
</AutoLinkHeader>
147148
<FunctionsTable functionDescriptions={functionDocumentation} />
148149
</StackItem>
149150
)}
150151
{source !== 'css-variables' && propsTitle && (
151152
<StackItem>
152-
<AutoLinkHeader headingLevel="h2" className="pf-v6-c-content--h2" id="props">
153+
<AutoLinkHeader headingLevel="h2" className="pf-v6-c-content--h2 ws-stack-section-heading" id="props">
153154
{propsTitle}
154155
</AutoLinkHeader>
155156
{propComponents.map((component) => (
@@ -165,7 +166,7 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => {
165166
)}
166167
{source === 'css-variables' && cssPrefix.length > 0 && (
167168
<StackItem>
168-
<AutoLinkHeader headingLevel="h2" className="pf-v6-c-content--h2" id="css-variables">
169+
<AutoLinkHeader headingLevel="h2" className="pf-v6-c-content--h2 ws-stack-section-heading" id="css-variables">
169170
{cssVarsTitle}
170171
</AutoLinkHeader>
171172
{cssPrefix.map((prefix, index) => (

packages/documentation-site/patternfly-docs/content/AI/ai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ When used thoughtfully, **AI** can enhance user experiences through personalized
3636

3737
### AI-assisted development
3838

39-
- **[Marketplace](/ai/ai-assisted-development/marketplace):** Plugins that give AI coding assistants knowledge and skills to generate more accurate, PatternFly-compliant code.
39+
- **[Marketplace](/ai/ai-assisted-development/marketplace):** Plugins for PatternFly and UXD workflows that give AI coding assistants knowledge and skills to generate more accurate, design-system-compliant code.
4040
- **[PatternFly CLI](/ai/ai-assisted-development/patternfly-cli):** A command-line tool for scaffolding projects, performing code modifications, and running project-related tasks.
4141
- **[PatternFly MCP](/ai/ai-assisted-development/patternfly-mcp):** An MCP server that gives AI coding tools PatternFly knowledge and capabilities.
4242
- **[Rapid prototyping](/ai/ai-assisted-development/rapid-prototyping):** Guidance for generating and iterating AI features during early stages of design.

0 commit comments

Comments
 (0)