diff --git a/.github/release.sh b/.github/release.sh index 506097c32a9..b5e6d1c5792 100755 --- a/.github/release.sh +++ b/.github/release.sh @@ -17,7 +17,8 @@ echo "Doing a release..." LOG=$(git log --format="%s" -1 | grep -Poe "#\d+") PR_NUM=${LOG:1} -yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt +#yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt +yarn run lerna publish patch --dist-tag=prerelease-patch --no-private --yes 2>&1 | tee lerna-output.txt # use lerna command below for dry run #yarn run lerna version prerelease --preid=prerelease --yes --no-git-tag-version --no-push | tee lerna-output.txt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66e9c84d2df..a62f0f6fada 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: branches: - - main + - 6.6.x concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/README.md b/README.md index 6ad8857abff..87355ce9966 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![lerna](https://img.shields.io/badge/maintained%20with-lerna-green.svg?style=for-the-badge)](https://lernajs.io/) [![PatternFly npm badge](https://img.shields.io/npm/v/@patternfly/react-core.svg?label=PF%20Core&style=for-the-badge)](https://www.npmjs.com/package/@patternfly/react-core) - + This project provides a set of React components for the [PatternFly project](https://patternfly.org). **Community:** [PatternFly website](https://www.patternfly.org) | [Slack](https://slack.patternfly.org) | [Medium](https://medium.com/patternfly) | [Mailing list](https://www.redhat.com/mailman/listinfo/patternfly) diff --git a/lerna.json b/lerna.json index c0c2c7cbe39..fd342d8359d 100644 --- a/lerna.json +++ b/lerna.json @@ -24,7 +24,7 @@ } }, "version": "independent", - "allowBranch": ["main", "v4", "5.0.x", "6.3.x", "v5"], + "allowBranch": ["main", "v4", "5.0.x", "6.3.x", "v5", "6.6.x"], "packages": ["packages/*", "packages/react-integration/demo-app-ts"], "$schema": "node_modules/lerna/schemas/lerna-schema.json" } diff --git a/packages/react-charts/CHANGELOG.md b/packages/react-charts/CHANGELOG.md index a4ea24f2477..89f1980dfc9 100644 --- a/packages/react-charts/CHANGELOG.md +++ b/packages/react-charts/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-charts@8.6.0...@patternfly/react-charts@8.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-charts + # [8.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-charts@8.6.0-prerelease.4...@patternfly/react-charts@8.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-charts diff --git a/packages/react-charts/package.json b/packages/react-charts/package.json index 30d4296c990..cb08906078d 100644 --- a/packages/react-charts/package.json +++ b/packages/react-charts/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-charts", - "version": "8.6.0", + "version": "8.6.1", "description": "This library provides a set of React chart components for use with the PatternFly reference implementation.", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-code-editor/CHANGELOG.md b/packages/react-code-editor/CHANGELOG.md index fc5683c63ed..b2d7a5f02bb 100644 --- a/packages/react-code-editor/CHANGELOG.md +++ b/packages/react-code-editor/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.6.1...@patternfly/react-code-editor@6.6.2) (2026-08-26) + +**Note:** Version bump only for package @patternfly/react-code-editor + +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.6.0...@patternfly/react-code-editor@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-code-editor + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.6.0-prerelease.10...@patternfly/react-code-editor@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-code-editor diff --git a/packages/react-code-editor/package.json b/packages/react-code-editor/package.json index 7b802388c3f..1cf31ea18de 100644 --- a/packages/react-code-editor/package.json +++ b/packages/react-code-editor/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-code-editor", - "version": "6.6.0", + "version": "6.6.2", "description": "This package provides a PatternFly wrapper for the Monaco code editor\n", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-core/CHANGELOG.md b/packages/react-core/CHANGELOG.md index ea55549b498..ca7ad95ef0e 100644 --- a/packages/react-core/CHANGELOG.md +++ b/packages/react-core/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@6.6.1...@patternfly/react-core@6.6.2) (2026-08-26) + +### Bug Fixes + +- **Modal:** updated logic to set aria-hidden for tearsheets ([#12627](https://github.com/patternfly/patternfly-react/issues/12627)) ([#12631](https://github.com/patternfly/patternfly-react/issues/12631)) ([54bd531](https://github.com/patternfly/patternfly-react/commit/54bd5317f72c00b12d1bdb8bd7c991a76e79b4ff)) + +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@6.6.0...@patternfly/react-core@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-core + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@6.6.0-prerelease.9...@patternfly/react-core@6.6.0) (2026-07-01) ### Bug Fixes diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 753ce88a5fa..d23d115d855 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-core", - "version": "6.6.0", + "version": "6.6.2", "description": "This library provides a set of common React components for use with the PatternFly reference implementation.", "main": "dist/js/index.js", "module": "dist/esm/index.js", @@ -54,7 +54,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "case-anything": "^3.1.2", "css": "^3.0.0", "fs-extra": "^11.3.3" diff --git a/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx b/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx index 71c9f800d33..0478448e696 100644 --- a/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx +++ b/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx @@ -3,7 +3,7 @@ import styles from '@patternfly/react-styles/css/components/DualListSelector/dua import { css } from '@patternfly/react-styles'; import { DualListSelectorTreeItemData } from './DualListSelectorTree'; import { Badge } from '../Badge'; -import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon'; +import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon'; import { flattenTree } from './treeUtils'; import { DualListSelectorListContext } from './DualListSelectorContext'; import { useHasAnimations } from '../../helpers'; @@ -136,7 +136,7 @@ const DualListSelectorTreeItemBase: React.FunctionComponent - + )} diff --git a/packages/react-core/src/components/Hero/Hero.tsx b/packages/react-core/src/components/Hero/Hero.tsx index 88946e29d47..f0cf81cbbf4 100644 --- a/packages/react-core/src/components/Hero/Hero.tsx +++ b/packages/react-core/src/components/Hero/Hero.tsx @@ -53,7 +53,7 @@ export const Hero: React.FunctionComponent = ({ bodyWidth, bodyMaxWidth, ...props -}) => { +}: HeroProps) => { const customStyles: { [key: string]: string } = {}; if (backgroundSrcLight) { customStyles[heroBackgroundImageLight.name] = `url(${backgroundSrcLight})`; diff --git a/packages/react-core/src/components/Modal/Modal.tsx b/packages/react-core/src/components/Modal/Modal.tsx index 281c379eebc..6dfe09a3ce2 100644 --- a/packages/react-core/src/components/Modal/Modal.tsx +++ b/packages/react-core/src/components/Modal/Modal.tsx @@ -69,6 +69,7 @@ interface ModalState { class Modal extends Component { static displayName = 'Modal'; static currentId = 0; + static openModalStacks: Map = new Map(); boxId = ''; backdropId = ''; @@ -106,15 +107,46 @@ class Modal extends Component { return appendTo || document.body; }; + static getStackForTarget(target: HTMLElement): string[] { + if (!Modal.openModalStacks.has(target)) { + Modal.openModalStacks.set(target, []); + } + return Modal.openModalStacks.get(target)!; + } + toggleSiblingsFromScreenReaders = (hide: boolean) => { const { appendTo } = this.props; const target: HTMLElement = this.getElement(appendTo); - const bodyChildren = target.children; - for (const child of Array.from(bodyChildren)) { - if (child.id !== this.backdropId) { - hide ? child.setAttribute('aria-hidden', '' + hide) : child.removeAttribute('aria-hidden'); + + if (hide) { + const stack = Modal.getStackForTarget(target); + if (stack.indexOf(this.backdropId) === -1) { + stack.push(this.backdropId); + } + } else { + const stack = Modal.openModalStacks.get(target); + if (!stack) { + return; + } + const idx = stack.indexOf(this.backdropId); + if (idx !== -1) { + stack.splice(idx, 1); + } + if (stack.length === 0) { + Modal.openModalStacks.delete(target); } } + + const stack = Modal.openModalStacks.get(target); + const activeBackdropId = stack?.length ? stack[stack.length - 1] : null; + + for (const child of Array.from(target.children)) { + if (child.hasAttribute('data-popper-placement')) { + continue; + } + const shouldHide = activeBackdropId && child.id !== activeBackdropId; + shouldHide ? child.setAttribute('aria-hidden', 'true') : child.removeAttribute('aria-hidden'); + } }; isEmpty = (value: string | null | undefined) => value === null || value === undefined || value === ''; @@ -139,8 +171,10 @@ class Modal extends Component { this.toggleSiblingsFromScreenReaders(true); } else { if (prevProps.isOpen !== this.props.isOpen) { - target.classList.remove(css(styles.backdropOpen)); this.toggleSiblingsFromScreenReaders(false); + if (!Modal.openModalStacks.has(target)) { + target.classList.remove(css(styles.backdropOpen)); + } } } } @@ -149,8 +183,10 @@ class Modal extends Component { const { appendTo } = this.props; const target: HTMLElement = this.getElement(appendTo); target.removeEventListener('keydown', this.handleEscKeyClick, false); - target.classList.remove(css(styles.backdropOpen)); this.toggleSiblingsFromScreenReaders(false); + if (!Modal.openModalStacks.has(target)) { + target.classList.remove(css(styles.backdropOpen)); + } } render() { diff --git a/packages/react-core/src/components/Modal/__tests__/Modal.test.tsx b/packages/react-core/src/components/Modal/__tests__/Modal.test.tsx index 7c1c768008c..f4c4ea87feb 100644 --- a/packages/react-core/src/components/Modal/__tests__/Modal.test.tsx +++ b/packages/react-core/src/components/Modal/__tests__/Modal.test.tsx @@ -64,7 +64,28 @@ const ModalWithAdjacentModal = () => { ); }; +const MultipleOpenModals = () => { + const [isFirstOpen, setIsFirstOpen] = useState(true); + const [isSecondOpen, setIsSecondOpen] = useState(false); + + return ( + <> + + setIsFirstOpen(false)} aria-label="First modal"> + + + setIsSecondOpen(false)} aria-label="Second modal"> + Second modal content + + + ); +}; + describe('Modal', () => { + beforeEach(() => { + Modal.openModalStacks = new Map(); + }); + test('Modal creates a container element once for div', () => { render(); expect(document.createElement).toHaveBeenCalledWith('div'); @@ -181,4 +202,135 @@ describe('Modal', () => { 'pf-v6-l-bullseye' ); }); + + test('backdropOpen class remains when closing one of multiple open modals', async () => { + const user = userEvent.setup(); + + render(, { container: document.body.appendChild(target) }); + + await user.click(screen.getByRole('button', { name: 'Open second modal' })); + + expect(target).toHaveClass(css(styles.backdropOpen)); + + const closeButtons = screen.getAllByRole('button', { name: 'Close', hidden: true }); + await user.click(closeButtons[closeButtons.length - 1]); + + expect(target).toHaveClass(css(styles.backdropOpen)); + }); + + test('backdropOpen class is removed when all modals are closed', async () => { + const user = userEvent.setup(); + + render(, { container: document.body.appendChild(target) }); + + await user.click(screen.getByRole('button', { name: 'Open second modal' })); + + const closeButtons = screen.getAllByRole('button', { name: 'Close', hidden: true }); + await user.click(closeButtons[closeButtons.length - 1]); + await user.click(screen.getByRole('button', { name: 'Close' })); + + expect(target).not.toHaveClass(css(styles.backdropOpen)); + }); + + test('only the most recent modal does not have aria-hidden when multiple modals are open', async () => { + const user = userEvent.setup(); + + render(, { container: document.body.appendChild(target) }); + + const firstBackdrop = screen.getByLabelText('First modal').closest('[class*="backdrop"]'); + + await user.click(screen.getByRole('button', { name: 'Open second modal' })); + + const secondBackdrop = screen.getByLabelText('Second modal').closest('[class*="backdrop"]'); + + expect(firstBackdrop).toHaveAttribute('aria-hidden', 'true'); + expect(secondBackdrop).not.toHaveAttribute('aria-hidden'); + }); + + test('closing the active modal reveals the previous modal', async () => { + const user = userEvent.setup(); + + render(, { container: document.body.appendChild(target) }); + + await user.click(screen.getByRole('button', { name: 'Open second modal' })); + + const firstBackdrop = screen + .getByLabelText('First modal', { selector: '[role="dialog"]' }) + .closest('[class*="backdrop"]'); + + expect(firstBackdrop).toHaveAttribute('aria-hidden', 'true'); + + const closeButtons = screen.getAllByRole('button', { name: 'Close', hidden: true }); + await user.click(closeButtons[closeButtons.length - 1]); + + expect(firstBackdrop).not.toHaveAttribute('aria-hidden'); + }); + + test('modals with different appendTo targets have independent stacks', async () => { + const user = userEvent.setup(); + const targetA = document.createElement('div'); + const targetB = document.createElement('div'); + document.body.appendChild(targetA); + document.body.appendChild(targetB); + + const siblingA = document.createElement('aside'); + siblingA.textContent = 'Sibling A'; + targetA.appendChild(siblingA); + + const siblingB = document.createElement('aside'); + siblingB.textContent = 'Sibling B'; + targetB.appendChild(siblingB); + + const DistinctTargetModals = () => { + const [isAOpen, setIsAOpen] = useState(true); + const [isBOpen, setIsBOpen] = useState(true); + + return ( + <> + setIsAOpen(false)} aria-label="Modal A"> + Modal A content + + setIsBOpen(false)} aria-label="Modal B"> + Modal B content + + + ); + }; + + render(); + + expect(siblingA).toHaveAttribute('aria-hidden', 'true'); + expect(siblingB).toHaveAttribute('aria-hidden', 'true'); + expect(targetA).toHaveClass(css(styles.backdropOpen)); + expect(targetB).toHaveClass(css(styles.backdropOpen)); + + const closeButtons = screen.getAllByRole('button', { name: 'Close', hidden: true }); + await user.click(closeButtons[1]); + + expect(targetB).not.toHaveClass(css(styles.backdropOpen)); + expect(siblingB).not.toHaveAttribute('aria-hidden'); + + expect(targetA).toHaveClass(css(styles.backdropOpen)); + expect(siblingA).toHaveAttribute('aria-hidden', 'true'); + + document.body.removeChild(targetA); + document.body.removeChild(targetB); + }); + + test('unmounting a never-opened modal with a custom target does not leak a stack entry', () => { + const customTarget = document.createElement('div'); + document.body.appendChild(customTarget); + + const { unmount } = render( + {}}> + Never opened + + ); + + unmount(); + + expect(Modal.openModalStacks.has(customTarget)).toBe(false); + + document.body.removeChild(customTarget); + }); }); diff --git a/packages/react-core/src/components/Popover/Popover.tsx b/packages/react-core/src/components/Popover/Popover.tsx index 9585a13bf7d..f43ac7f38b4 100644 --- a/packages/react-core/src/components/Popover/Popover.tsx +++ b/packages/react-core/src/components/Popover/Popover.tsx @@ -205,9 +205,11 @@ export interface PopoverProps { shouldOpen?: (event: MouseEvent | KeyboardEvent, showFunction?: () => void) => void; /** Flag indicating whether the close button should be shown. */ showClose?: boolean; - /** Sets an interaction to open popover, defaults to "click" */ + /** @deprecated Sets an interaction to open popover, defaults to "click" */ triggerAction?: 'click' | 'hover'; - /** Whether to trap focus in the popover. */ + /** Whether to trap focus in the popover. When using a triggerAction of "hover", this will be set to false + * by default and must remain false. + */ withFocusTrap?: boolean; /** The z-index of the popover. */ zIndex?: number; @@ -267,7 +269,7 @@ export const Popover: React.FunctionComponent = ({ ], animationDuration = 300, id, - withFocusTrap: propWithFocusTrap, + withFocusTrap: propWithFocusTrap = triggerAction === 'hover' ? false : undefined, triggerRef, hasNoPadding = false, hasAutoWidth = false, diff --git a/packages/react-core/src/components/Popover/examples/Popover.md b/packages/react-core/src/components/Popover/examples/Popover.md index 7755154fd84..a3017b4f971 100644 --- a/packages/react-core/src/components/Popover/examples/Popover.md +++ b/packages/react-core/src/components/Popover/examples/Popover.md @@ -25,7 +25,11 @@ By default, the `appendTo` prop of the popover will append to the document body ### Hoverable -```ts file="./PopoverHover.tsx" +Pass the `triggerAction="hover"` property to make a `` that is triggered via hover and focus rather than on click. When using a hoverable Popover, you **must not** include any interactive or semantic content (e.g. buttons, links, headings, lists, etc), as focus is not intended to enter a hoverable ``. Including such content may cause an inaccessible UI for users who are not able to reach the content when navigating via assistive tech. + +It is instead recommended to use our [tooltip component](/components/tooltip). + +```ts isDeprecated file="./PopoverHover.tsx" ``` diff --git a/packages/react-core/src/components/TreeView/TreeViewListItem.tsx b/packages/react-core/src/components/TreeView/TreeViewListItem.tsx index b2125e2763e..4ce5a4efeef 100644 --- a/packages/react-core/src/components/TreeView/TreeViewListItem.tsx +++ b/packages/react-core/src/components/TreeView/TreeViewListItem.tsx @@ -1,7 +1,7 @@ import { memo, useState, useEffect, Children, isValidElement, cloneElement } from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/TreeView/tree-view'; -import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon'; +import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon'; import { TreeViewDataItem } from './TreeView'; import { Badge } from '../Badge'; import { useSSRSafeId } from '../../helpers'; @@ -155,7 +155,7 @@ const TreeViewListItemBase: React.FunctionComponent = ({ tabIndex={-1} > - + ); diff --git a/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap b/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap index 018e0f12858..9844b00c562 100644 --- a/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap +++ b/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap @@ -36,7 +36,7 @@ exports[`Matches snapshot with children 1`] = ` width="1em" > diff --git a/packages/react-docs/CHANGELOG.md b/packages/react-docs/CHANGELOG.md index fbb4e936844..2c3165ff506 100644 --- a/packages/react-docs/CHANGELOG.md +++ b/packages/react-docs/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.6.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.6.1...@patternfly/react-docs@7.6.2) (2026-08-26) + +**Note:** Version bump only for package @patternfly/react-docs + +## [7.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.6.0...@patternfly/react-docs@7.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-docs + # [7.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.6.0-prerelease.10...@patternfly/react-docs@7.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-docs diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index efbe585f78d..ed40629e4f0 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -1,7 +1,7 @@ { "name": "@patternfly/react-docs", "description": "PatternFly React Docs", - "version": "7.6.0", + "version": "7.6.2", "publishConfig": { "access": "public", "tag": "prerelease" @@ -23,7 +23,7 @@ "test:a11y": "patternfly-a11y --config patternfly-a11y.config" }, "dependencies": { - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "@patternfly/react-charts": "workspace:^", "@patternfly/react-code-editor": "workspace:^", "@patternfly/react-core": "workspace:^", @@ -37,7 +37,7 @@ "victory": "^37.3.6" }, "devDependencies": { - "@patternfly/documentation-framework": "^6.36.8", + "@patternfly/documentation-framework": "^6.40.0", "@patternfly/patternfly-a11y": "5.1.0" }, "keywords": [ diff --git a/packages/react-drag-drop/CHANGELOG.md b/packages/react-drag-drop/CHANGELOG.md index 6918875494a..b992f46eb88 100644 --- a/packages/react-drag-drop/CHANGELOG.md +++ b/packages/react-drag-drop/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-drag-drop@6.6.1...@patternfly/react-drag-drop@6.6.2) (2026-08-26) + +**Note:** Version bump only for package @patternfly/react-drag-drop + +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-drag-drop@6.6.0...@patternfly/react-drag-drop@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-drag-drop + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-drag-drop@6.6.0-prerelease.9...@patternfly/react-drag-drop@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-drag-drop diff --git a/packages/react-drag-drop/package.json b/packages/react-drag-drop/package.json index 222134ef67c..9d5700a65ba 100644 --- a/packages/react-drag-drop/package.json +++ b/packages/react-drag-drop/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-drag-drop", - "version": "6.6.0", + "version": "6.6.2", "description": "PatternFly drag and drop solution", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-icons/CHANGELOG.md b/packages/react-icons/CHANGELOG.md index abb6e01fd0c..87a0c3840f7 100644 --- a/packages/react-icons/CHANGELOG.md +++ b/packages/react-icons/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@6.6.0...@patternfly/react-icons@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-icons + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@6.6.0-prerelease.4...@patternfly/react-icons@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-icons diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 5f6a32221db..322b2265e8b 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-icons", - "version": "6.6.0", + "version": "6.6.1", "description": "PatternFly 4 Icons as React Components", "main": "dist/js/index.js", "module": "dist/esm/index.js", @@ -38,7 +38,7 @@ "@fortawesome/free-brands-svg-icons": "^5.15.4", "@fortawesome/free-regular-svg-icons": "^5.15.4", "@fortawesome/free-solid-svg-icons": "^5.15.4", - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "@rhds/icons": "^2.2.0", "fs-extra": "^11.3.3" }, diff --git a/packages/react-styles/CHANGELOG.md b/packages/react-styles/CHANGELOG.md index c1f4c29c913..3dd6a376e74 100644 --- a/packages/react-styles/CHANGELOG.md +++ b/packages/react-styles/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.6.0...@patternfly/react-styles@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-styles + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.6.0-prerelease.4...@patternfly/react-styles@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-styles diff --git a/packages/react-styles/package.json b/packages/react-styles/package.json index aede2e96101..ac80b0ce430 100644 --- a/packages/react-styles/package.json +++ b/packages/react-styles/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-styles", - "version": "6.6.0", + "version": "6.6.1", "main": "dist/js/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", @@ -19,7 +19,7 @@ "clean": "rimraf dist css" }, "devDependencies": { - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "change-case": "^5.4.4", "fs-extra": "^11.3.3" }, diff --git a/packages/react-table/CHANGELOG.md b/packages/react-table/CHANGELOG.md index b704381c3ac..ae51357c97c 100644 --- a/packages/react-table/CHANGELOG.md +++ b/packages/react-table/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@6.6.1...@patternfly/react-table@6.6.2) (2026-08-26) + +**Note:** Version bump only for package @patternfly/react-table + +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@6.6.0...@patternfly/react-table@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-table + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@6.6.0-prerelease.9...@patternfly/react-table@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-table diff --git a/packages/react-table/package.json b/packages/react-table/package.json index 86e1df6d94d..a98d95ad837 100644 --- a/packages/react-table/package.json +++ b/packages/react-table/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-table", - "version": "6.6.0", + "version": "6.6.2", "description": "This library provides a set of React table components for use with the PatternFly 4", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx b/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx index ada55534c74..c4269bb0c33 100644 --- a/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx +++ b/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx @@ -4,7 +4,7 @@ import styles from '@patternfly/react-styles/css/components/Table/table'; import stylesTreeView from '@patternfly/react-styles/css/components/Table/table-tree-view'; import { Button } from '@patternfly/react-core/dist/esm/components/Button'; import { Checkbox } from '@patternfly/react-core/dist/esm/components/Checkbox'; -import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon'; +import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon'; import RhUiEllipsisHorizontalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-horizontal-fill-icon'; export const treeRow = @@ -54,7 +54,7 @@ export const treeRow = aria-label={toggleAriaLabel || `${isExpanded ? 'Collapse' : 'Expand'} row ${rowIndex}`} icon={
- +
} /> diff --git a/packages/react-templates/CHANGELOG.md b/packages/react-templates/CHANGELOG.md index 5812f0743cc..dc6e49902a2 100644 --- a/packages/react-templates/CHANGELOG.md +++ b/packages/react-templates/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-templates@6.6.1...@patternfly/react-templates@6.6.2) (2026-08-26) + +**Note:** Version bump only for package @patternfly/react-templates + +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-templates@6.6.0...@patternfly/react-templates@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-templates + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-templates@6.6.0-prerelease.9...@patternfly/react-templates@6.6.0) (2026-07-01) ### Bug Fixes diff --git a/packages/react-templates/package.json b/packages/react-templates/package.json index f4e931dbd12..a51d2ad5dec 100644 --- a/packages/react-templates/package.json +++ b/packages/react-templates/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-templates", - "version": "6.6.0", + "version": "6.6.2", "description": "This package provides wrapped component demos for ease of use\n", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-tokens/CHANGELOG.md b/packages/react-tokens/CHANGELOG.md index 18acf5b6e9f..b01e1e62fcb 100644 --- a/packages/react-tokens/CHANGELOG.md +++ b/packages/react-tokens/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-tokens@6.6.0...@patternfly/react-tokens@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-tokens + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-tokens@6.6.0-prerelease.4...@patternfly/react-tokens@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-tokens diff --git a/packages/react-tokens/package.json b/packages/react-tokens/package.json index 0526d6ce91b..51aa5f0ca57 100644 --- a/packages/react-tokens/package.json +++ b/packages/react-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-tokens", - "version": "6.6.0", + "version": "6.6.1", "description": "This library provides access to the design tokens of PatternFly 4 from JavaScript", "main": "dist/js/index.js", "module": "dist/esm/index.js", @@ -30,7 +30,7 @@ }, "devDependencies": { "@adobe/css-tools": "^4.4.4", - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "fs-extra": "^11.3.3" } } diff --git a/yarn.lock b/yarn.lock index 88a84b0b3ce..e007a438139 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4963,9 +4963,9 @@ __metadata: languageName: node linkType: hard -"@patternfly/documentation-framework@npm:^6.36.8": - version: 6.36.8 - resolution: "@patternfly/documentation-framework@npm:6.36.8" +"@patternfly/documentation-framework@npm:^6.40.0": + version: 6.49.2 + resolution: "@patternfly/documentation-framework@npm:6.49.2" dependencies: "@babel/core": "npm:^7.29.0" "@babel/preset-env": "npm:7.29.0" @@ -5026,16 +5026,16 @@ __metadata: webpack-dev-server: "npm:5.2.3" webpack-merge: "npm:5.10.0" peerDependencies: - "@patternfly/patternfly": ^6.5.0-prerelease.46 - "@patternfly/react-code-editor": ^6.5.0-prerelease.39 - "@patternfly/react-core": ^6.5.0-prerelease.36 - "@patternfly/react-icons": ^6.5.0-prerelease.15 - "@patternfly/react-table": ^6.5.0-prerelease.37 + "@patternfly/patternfly": ^6.6.0 + "@patternfly/react-code-editor": ^6.6.0 + "@patternfly/react-core": ^6.6.0 + "@patternfly/react-icons": ^6.6.0 + "@patternfly/react-table": ^6.6.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 bin: pf-docs-framework: scripts/cli/cli.js - checksum: 10c0/bf29256be06e32e130d6146a8d5cc9744e0b88463b69f9c2ef6bae98f0ffee15901760fb69c3737d7fdcf2d612511d034c7661568c92187ead143fe772f8d561 + checksum: 10c0/1d80d9d6078237d17b71deeb4ffa4b7ad6ed43c0d424c6044de4420d5ef8267eb913e281fc97ffa9fe6d6e70b0462557c22fdf50ecca9df555163eb48ab40ff5 languageName: node linkType: hard @@ -5070,10 +5070,10 @@ __metadata: languageName: node linkType: hard -"@patternfly/patternfly@npm:^6.6.0": - version: 6.6.0 - resolution: "@patternfly/patternfly@npm:6.6.0" - checksum: 10c0/c7246baf490174e2fa04a3645452e1481a6fe37ab9bde1c7e9bad8326c398473d2fa707f015ca3b4226bf943b1e2855c15943bd95d1c3110d61ba44bbea368ee +"@patternfly/patternfly@npm:6.6.1": + version: 6.6.1 + resolution: "@patternfly/patternfly@npm:6.6.1" + checksum: 10c0/ff05fe2a75dde489e2b8643d4bcd59f9a23d20710c16178721718c77551b75a43aad43da43481f52ef9452c7b46fa6b9dbf15e620d476e70955727982412b053 languageName: node linkType: hard @@ -5171,7 +5171,7 @@ __metadata: version: 0.0.0-use.local resolution: "@patternfly/react-core@workspace:packages/react-core" dependencies: - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" "@patternfly/react-icons": "workspace:^" "@patternfly/react-styles": "workspace:^" "@patternfly/react-tokens": "workspace:^" @@ -5191,8 +5191,8 @@ __metadata: version: 0.0.0-use.local resolution: "@patternfly/react-docs@workspace:packages/react-docs" dependencies: - "@patternfly/documentation-framework": "npm:^6.36.8" - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/documentation-framework": "npm:^6.40.0" + "@patternfly/patternfly": "npm:6.6.1" "@patternfly/patternfly-a11y": "npm:5.1.0" "@patternfly/react-charts": "workspace:^" "@patternfly/react-code-editor": "workspace:^" @@ -5232,7 +5232,7 @@ __metadata: "@fortawesome/free-brands-svg-icons": "npm:^5.15.4" "@fortawesome/free-regular-svg-icons": "npm:^5.15.4" "@fortawesome/free-solid-svg-icons": "npm:^5.15.4" - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" "@rhds/icons": "npm:^2.2.0" fs-extra: "npm:^11.3.3" tslib: "npm:^2.8.1" @@ -5319,7 +5319,7 @@ __metadata: version: 0.0.0-use.local resolution: "@patternfly/react-styles@workspace:packages/react-styles" dependencies: - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" change-case: "npm:^5.4.4" fs-extra: "npm:^11.3.3" languageName: unknown @@ -5361,7 +5361,7 @@ __metadata: resolution: "@patternfly/react-tokens@workspace:packages/react-tokens" dependencies: "@adobe/css-tools": "npm:^4.4.4" - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" fs-extra: "npm:^11.3.3" languageName: unknown linkType: soft