Skip to content

Commit 02d9601

Browse files
Merge branch 'main' into design-guidelines
2 parents 9480a74 + aeab521 commit 02d9601

10 files changed

Lines changed: 154 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@octokit/rest": "^19.0.7",
3333
"@patternfly/patternfly": "^6.2.3",
3434
"@patternfly/react-code-editor": "^6.2.2",
35-
"@patternfly/react-core": "^6.2.2",
35+
"@patternfly/react-core": "^6.2.2",
3636
"@patternfly/react-table": "^6.2.2",
3737
"glob": "^8.1.0",
3838
"lerna": "^6.4.1",

packages/ast-helpers/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@
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.185 (2025-04-28)
7+
8+
9+
### Reverts
10+
11+
* Revert "chore(deps): Downgrade to deps with React 19 support (#4583)" (#4587) ([7707f9f](https://github.com/patternfly/patternfly-org/commit/7707f9f1ced3115cc4d2615c95f6380b972d6c73)), closes [#4583](https://github.com/patternfly/patternfly-org/issues/4583) [#4587](https://github.com/patternfly/patternfly-org/issues/4587)
12+
13+
14+
15+
16+
17+
# 1.4.0-alpha.184 (2025-04-28)
18+
19+
**Note:** Version bump only for package @patternfly/ast-helpers
20+
21+
22+
23+
24+
25+
# 1.4.0-alpha.183 (2025-04-24)
26+
27+
28+
### Reverts
29+
30+
* Revert "chore(deps): Temporarily allow for React 19 peer dependency (#4582)" (#4585) ([8845a7e](https://github.com/patternfly/patternfly-org/commit/8845a7e8cc29d0c4130d0dc37e338eed4f96a71a)), closes [#4582](https://github.com/patternfly/patternfly-org/issues/4582) [#4585](https://github.com/patternfly/patternfly-org/issues/4585)
31+
32+
33+
34+
35+
636
# 1.4.0-alpha.182 (2025-04-24)
737

838
**Note:** Version bump only for package @patternfly/ast-helpers

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.182",
4+
"version": "1.4.0-alpha.185",
55
"author": "Red Hat",
66
"license": "MIT",
77
"publishConfig": {

packages/documentation-framework/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@
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.9.12 (2025-04-28)
7+
8+
9+
### Reverts
10+
11+
* Revert "chore(deps): Downgrade to deps with React 19 support (#4583)" (#4587) ([7707f9f](https://github.com/patternfly/patternfly-org/commit/7707f9f1ced3115cc4d2615c95f6380b972d6c73)), closes [#4583](https://github.com/patternfly/patternfly-org/issues/4583) [#4587](https://github.com/patternfly/patternfly-org/issues/4587)
12+
13+
14+
15+
16+
17+
## 6.9.11 (2025-04-28)
18+
19+
**Note:** Version bump only for package @patternfly/documentation-framework
20+
21+
22+
23+
24+
25+
## 6.9.10 (2025-04-24)
26+
27+
28+
### Reverts
29+
30+
* Revert "chore(deps): Temporarily allow for React 19 peer dependency (#4582)" (#4585) ([8845a7e](https://github.com/patternfly/patternfly-org/commit/8845a7e8cc29d0c4130d0dc37e338eed4f96a71a)), closes [#4582](https://github.com/patternfly/patternfly-org/issues/4582) [#4585](https://github.com/patternfly/patternfly-org/issues/4585)
31+
32+
33+
34+
35+
636
## 6.9.9 (2025-04-24)
737

838
**Note:** Version bump only for package @patternfly/documentation-framework

packages/documentation-framework/package.json

Lines changed: 4 additions & 4 deletions
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.9.9",
4+
"version": "6.9.12",
55
"author": "Red Hat",
66
"license": "MIT",
77
"bin": {
@@ -12,7 +12,7 @@
1212
"@babel/preset-env": "^7.24.3",
1313
"@babel/preset-react": "^7.24.1",
1414
"@mdx-js/util": "1.6.16",
15-
"@patternfly/ast-helpers": "^1.4.0-alpha.182",
15+
"@patternfly/ast-helpers": "^1.4.0-alpha.185",
1616
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
1717
"autoprefixer": "9.8.6",
1818
"babel-loader": "^9.1.3",
@@ -76,7 +76,7 @@
7676
"@patternfly/react-code-editor": "^6.2.2",
7777
"@patternfly/react-core": "^6.2.2",
7878
"@patternfly/react-table": "^6.2.2",
79-
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
80-
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
79+
"react": "^17.0.0 || ^18.0.0",
80+
"react-dom": "^17.0.0 || ^18.0.0"
8181
}
8282
}

packages/documentation-site/patternfly-docs/content/design-guidelines/components/menu/img/search-menu-no-results.svg

Lines changed: 35 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/menu/menu.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ section: components
44
subsection: menus
55
---
66

7+
import '../components.css';
8+
79
## Elements
810
Elements vary depending on [menu variation](#variations).
911

@@ -16,6 +18,15 @@ Elements vary depending on [menu variation](#variations).
1618
| Expose a list of nested actions | Use a fly-out menu. Any optional attributes of basic menus, including icons, groups, and descriptions can also be applied to flyout menus.|
1719
| Select from a list of options | Use an options select menu for selecting between values rather than actions. Icons, descriptions, and groupings can be used with option select menus to improve recognition or create logical option groups.|
1820

21+
## Behavior
22+
23+
### Menus with search
24+
25+
You can allow users to filter menu items via search input, which matches menu items to a term that the user has entered. If there are no results for their search term, display a message to communicate "No results found":
26+
27+
<div class="ws-docs-content-img">
28+
![Searchable menu with no results matching the search term.](./img/search-menu-no-results.svg)
29+
</div>
1930

2031
## Variations
2132

packages/documentation-site/patternfly-docs/content/design-guidelines/components/select/img/typeahead-search-no-results.svg

Lines changed: 31 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/select/select.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,20 @@ Multiple select lists allow users to select one or more options from a list, wit
6666
## Variations
6767

6868
### Select list with typeahead
69-
Typeahead allows users to narrow a displayed list of options by typing into the input field. Type ahead is recommended for lists with more than ten options and is available for single and multiple select lists. Although the typeahead within toggle functionality does not exist for the checkbox select, there is an option to add a typeahead capability within the menu of items if needed, as seen in this [grouped checkbox input with filtering](/components/menus/select/react#grouped-checkbox-input-with-filtering) example.
69+
Typeahead allows users to narrow a displayed list of options by typing into the input field. Typeahead is recommended for lists with more than ten options and is available for single and multiple select lists. Although the typeahead within toggle functionality does not exist for the checkbox select, there is an option to add a typeahead capability within the menu of items if needed, as seen in this [grouped checkbox input with filtering](/components/menus/select/react#grouped-checkbox-input-with-filtering) example.
7070

7171
<div class="ws-docs-content-img">
7272
![Visual of a typeahead being used](./img/typeahead-select.svg)
7373
</div>
7474

7575
When providing fewer than 5 options, you can use [radio buttons](/components/forms/radio) or [checkboxes](/components/forms/checkbox) to display all options to the user simultaneously if you don’t have any space constraints.
7676

77+
If there are no matches for the search term that a user has entered into the typeahead, display a message to communicate "No results found":
78+
79+
<div class="ws-docs-content-img">
80+
![Typeahead menu with no results matching the search term.](./img/typeahead-search-no-results.svg)
81+
</div>
82+
7783
### Select list with count
7884
Select lists support the option of adding a number count to checkbox selects, both (1) as a badge in the toggle to indicate number of items selected, or (2) at the item level to indicate the number of items that match a certain filter option.
7985

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,7 @@ __metadata:
24932493
languageName: node
24942494
linkType: hard
24952495

2496-
"@patternfly/ast-helpers@npm:^1.4.0-alpha.182, @patternfly/ast-helpers@workspace:packages/ast-helpers":
2496+
"@patternfly/ast-helpers@npm:^1.4.0-alpha.185, @patternfly/ast-helpers@workspace:packages/ast-helpers":
24972497
version: 0.0.0-use.local
24982498
resolution: "@patternfly/ast-helpers@workspace:packages/ast-helpers"
24992499
dependencies:
@@ -2548,7 +2548,7 @@ __metadata:
25482548
"@babel/preset-env": "npm:^7.24.3"
25492549
"@babel/preset-react": "npm:^7.24.1"
25502550
"@mdx-js/util": "npm:1.6.16"
2551-
"@patternfly/ast-helpers": "npm:^1.4.0-alpha.182"
2551+
"@patternfly/ast-helpers": "npm:^1.4.0-alpha.185"
25522552
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9"
25532553
autoprefixer: "npm:9.8.6"
25542554
babel-loader: "npm:^9.1.3"
@@ -2611,8 +2611,8 @@ __metadata:
26112611
"@patternfly/react-code-editor": ^6.2.2
26122612
"@patternfly/react-core": ^6.2.2
26132613
"@patternfly/react-table": ^6.2.2
2614-
react: ^17.0.0 || ^18.0.0 || ^19.0.0
2615-
react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
2614+
react: ^17.0.0 || ^18.0.0
2615+
react-dom: ^17.0.0 || ^18.0.0
26162616
bin:
26172617
pf-docs-framework: scripts/cli/cli.js
26182618
languageName: unknown

0 commit comments

Comments
 (0)