From 99aee198764aa120bed6b8d0607f07236d2034b7 Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 9 Dec 2024 11:12:57 -0500 Subject: [PATCH] chore(docs): remove harded-coded tile deprecation (#4378) * chore(docs): remove harded-coded tile deprecation * fix docs-framework version --- .../components/sideNav/sideNav.js | 105 +++------ .../documentation-framework/templates/mdx.js | 199 ++++-------------- packages/documentation-site/package.json | 2 +- .../design-guidelines/components/tile/tile.md | 1 + yarn.lock | 124 +++++++---- 5 files changed, 147 insertions(+), 284 deletions(-) diff --git a/packages/documentation-framework/components/sideNav/sideNav.js b/packages/documentation-framework/components/sideNav/sideNav.js index 9f2d46421c..bf224878c7 100644 --- a/packages/documentation-framework/components/sideNav/sideNav.js +++ b/packages/documentation-framework/components/sideNav/sideNav.js @@ -8,7 +8,7 @@ import { PageContextConsumer, capitalize, Flex, - FlexItem, + FlexItem } from '@patternfly/react-core'; import { css } from '@patternfly/react-styles'; import { Location } from '@reach/router'; @@ -24,8 +24,7 @@ const getIsActive = (location, section, subsection = null) => { const defaultValue = 50; const NavItem = ({ text, href, isDeprecated, isBeta, isDemo }) => { - const isMobileView = - window.innerWidth < Number.parseInt(globalBreakpointXl.value, 10); + const isMobileView = window.innerWidth < Number.parseInt(globalBreakpointXl.value, 10); return ( {({ onSidebarToggle, isSidebarOpen }) => ( @@ -39,11 +38,7 @@ const NavItem = ({ text, href, isDeprecated, isBeta, isDemo }) => { getProps={({ isCurrent, href, location }) => { const { pathname } = location; return { - className: css( - 'pf-v6-c-nav__link', - (isCurrent || pathname.startsWith(href + '/')) && - 'pf-m-current' - ), + className: css('pf-v6-c-nav__link', (isCurrent || pathname.startsWith(href + '/')) && 'pf-m-current') }; }} tabIndex={isSidebarOpen ? undefined : -1} @@ -77,17 +72,10 @@ const NavItem = ({ text, href, isDeprecated, isBeta, isDemo }) => { ); }; -const ExpandableNav = ({ - groupedRoutes, - location, - section, - subsection = null, -}) => { +const ExpandableNav = ({ groupedRoutes, location, section, subsection = null }) => { const isActive = getIsActive(location, section, subsection); const isSubsection = subsection; - const routes = isSubsection - ? groupedRoutes[section][subsection] - : groupedRoutes[section]; + const routes = isSubsection ? groupedRoutes[section][subsection] : groupedRoutes[section]; const currentSection = isSubsection ? subsection : section; const analyticsName = isSubsection ? `${section}/${subsection}` : section; @@ -102,59 +90,39 @@ const ExpandableNav = ({ event.stopPropagation(); // Don't trigger for bubbled events from NavItems if (!event.target.href) { - const isExpanded = - event.currentTarget.classList.contains('pf-m-expanded'); + const isExpanded = event.currentTarget.classList.contains('pf-m-expanded'); // 1 === expand section, 0 === collapse section - trackEvent( - 'sidenav_section_click', - 'click_event', - analyticsName, - isExpanded ? 0 : 1 - ); + trackEvent('sidenav_section_click', 'click_event', analyticsName, isExpanded ? 0 : 1); } }} > {Object.entries(routes || {}) - .filter( - ([id, navObj]) => - !Boolean(navObj.hideNavItem) && Object.entries(navObj).length > 0 - ) + .filter(([id, navObj]) => !Boolean(navObj.hideNavItem) && Object.entries(navObj).length > 0) .map( ([ id, - { - slug, - isSubsection = false, - sortValue = defaultValue, - subsectionSortValue = defaultValue, - sources, - }, + { slug, isSubsection = false, sortValue = defaultValue, subsectionSortValue = defaultValue, sources } ]) => ({ text: id, href: slug, isSubsection, sortValue: isSubsection ? subsectionSortValue : sortValue, - sources, + sources }) ) - .sort( - ( - { text: text1, sortValue: sortValue1 }, - { text: text2, sortValue: sortValue2 } - ) => { - if (sortValue1 === sortValue2) { - return text1.localeCompare(text2); - } - return sortValue1 > sortValue2 ? 1 : -1; + .sort(({ text: text1, sortValue: sortValue1 }, { text: text2, sortValue: sortValue2 }) => { + if (sortValue1 === sortValue2) { + return text1.localeCompare(text2); } - ) + return sortValue1 > sortValue2 ? 1 : -1; + }) .map((navObj) => { return navObj.isSubsection ? ExpandableNav({ groupedRoutes, location, section, - subsection: navObj.text, + subsection: navObj.text }) : NavItem({ ...navObj, @@ -162,32 +130,17 @@ const ExpandableNav = ({ navObj.href?.includes('components') && navObj.sources.some( (source) => - (source.source === 'react-deprecated' || - source.source === 'html-deprecated') && - // TODO: remove hardcoded Tile when Core PR merges - // https://github.com/patternfly/patternfly/pull/7178 - (source.id === 'Tile' || - !navObj.sources.some( - (source) => - source.source === 'react' || - source.source === 'html' - )) + (source.source === 'react-deprecated' || source.source === 'html-deprecated') && + !navObj.sources.some((source) => source.source === 'react' || source.source === 'html') ), isBeta: navObj.sources.some( - (source) => - source.beta && - source.source !== 'react-next' && - source.source !== 'react-templates' + (source) => source.beta && source.source !== 'react-next' && source.source !== 'react-templates' ), isDemo: navObj.sources.some( (source) => - (source.source === 'react-demos' || - source.source === 'html-demos') && - !navObj.sources.some( - (source) => - source.source === 'react' || source.source === 'html' - ) - ), + (source.source === 'react-demos' || source.source === 'html-demos') && + !navObj.sources.some((source) => source.source === 'react' || source.source === 'html') + ) }); })} @@ -203,8 +156,7 @@ export const SideNav = ({ groupedRoutes = {}, navItems = [] }) => { if (!overflowElement) { return; } - const activeElements = - overflowElement.getElementsByClassName('pf-m-current'); + const activeElements = overflowElement.getElementsByClassName('pf-m-current'); if (activeElements.length > 0) { const lastElement = activeElements[activeElements.length - 1]; lastElement.scrollIntoView({ block: 'center' }); @@ -216,16 +168,11 @@ export const SideNav = ({ groupedRoutes = {}, navItems = [] }) => { {navItems.map(({ section, text, href }) => section ? ( - - {({ location }) => - ExpandableNav({ groupedRoutes, location, section }) - } - + {({ location }) => ExpandableNav({ groupedRoutes, location, section })} ) : ( NavItem({ - text: - text || capitalize(href.replace(/\//g, '').replace(/-/g, ' ')), - href: href, + text: text || capitalize(href.replace(/\//g, '').replace(/-/g, ' ')), + href: href }) ) )} diff --git a/packages/documentation-framework/templates/mdx.js b/packages/documentation-framework/templates/mdx.js index 4018f141f7..ae2ccbb621 100644 --- a/packages/documentation-framework/templates/mdx.js +++ b/packages/documentation-framework/templates/mdx.js @@ -13,19 +13,12 @@ import { Content, Label, Stack, - StackItem, + StackItem } from '@patternfly/react-core'; import { css } from '@patternfly/react-styles'; import ExternalLinkAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-alt-icon'; import { Router, useLocation } from '@reach/router'; -import { - CSSVariables, - PropsTable, - TableOfContents, - Link, - AutoLinkHeader, - InlineAlert, -} from '../components'; +import { CSSVariables, PropsTable, TableOfContents, Link, AutoLinkHeader, InlineAlert } from '../components'; import { capitalize, getTitle, slugger, trackEvent } from '../helpers'; import './mdx.css'; import { convertToReactComponent } from '@patternfly/ast-helpers'; @@ -41,22 +34,18 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => { deprecated, template, newImplementationLink, - functionDocumentation = [], + functionDocumentation = [] } = Component.getPageData(); const cssVarsTitle = cssPrefix.length > 0 && 'CSS variables'; const propsTitle = propComponents.length > 0 && 'Props'; if (propsTitle && !toc.find((item) => item.text === propsTitle)) { toc.push({ text: propsTitle }); - toc.push( - propComponents.map((propComponent) => ({ text: propComponent.name })) - ); + toc.push(propComponents.map((propComponent) => ({ text: propComponent.name }))); } if (cssVarsTitle && !toc.find((item) => item.text === cssVarsTitle)) { toc.push({ text: cssVarsTitle }); if (cssPrefix.length > 1) { - toc.push( - cssPrefix.map((cssPrefix) => ({ text: `Prefixed with '${cssPrefix}'` })) - ); + toc.push(cssPrefix.map((cssPrefix) => ({ text: `Prefixed with '${cssPrefix}'` }))); } } // We don't add `id`s in anchor-header.js for items where id === slugger(text) @@ -72,73 +61,42 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => { ensureID(toc); } - const isComponentCodeDocs = [ - 'react', - 'react-demos', - 'html', - 'html-demos', - 'react-templates', - ].includes(source); + const isComponentCodeDocs = ['react', 'react-demos', 'html', 'html-demos', 'react-templates'].includes(source); const InlineAlerts = (optIn || beta || deprecated || source === 'react-deprecated' || source === 'html-deprecated' || - // TODO: remove hardcoded Tile when Core PR merges - // https://github.com/patternfly/patternfly/pull/7178 - id === 'Tile' || template || source === 'react-template') && ( {optIn && {optIn}} {beta && ( - This beta component is currently under review and is still open for - further evolution. It is available for use in product. Beta components - are considered for promotion on a quarterly basis. Please join in and - give us your feedback or submit any questions on the{' '} - PatternFly forum or via{' '} - + This beta component is currently under review and is still open for further evolution. It is available for use + in product. Beta components are considered for promotion on a quarterly basis. Please join in and give us your + feedback or submit any questions on the PatternFly forum or via{' '} + Slack . To learn more about the process, visit our{' '} - - about page - {' '} - or our{' '} - - Beta components - {' '} + about page or our{' '} + Beta components{' '} page on GitHub. )} - {(deprecated || - source === 'react-deprecated' || - source === 'html-deprecated' || - // TODO: remove hardcoded Tile when Core PR merges - // https://github.com/patternfly/patternfly/pull/7178 - id === 'Tile') && ( + {(deprecated || source === 'react-deprecated' || source === 'html-deprecated') && ( - This component implementation has been deprecated in favor of a newer - solution, and is no longer being maintained or enhanced. + This component implementation has been deprecated in favor of a newer solution, and is no longer being + maintained or enhanced. {newImplementationLink && ( - You can find the{' '} - - updated implementation here - - . + You can find the updated implementation here. )}{' '} To learn more about deprecated components, visit{' '} - - about PatternFly. - + about PatternFly. )} {(template || source === 'react-template') && ( @@ -152,19 +110,12 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => { const ChildComponent = () => (
{toc.length > 1 && } - + {InlineAlerts} {functionDocumentation.length > 0 && ( - + Functions @@ -172,11 +123,7 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => { )} {propsTitle && ( - + {propsTitle} {propComponents.map((component) => ( @@ -192,19 +139,11 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => { )} {cssPrefix.length > 0 && ( - + {cssVarsTitle} {cssPrefix.map((prefix, index) => ( - 1} - prefix={prefix} - /> + 1} prefix={prefix} /> ))} )} @@ -214,13 +153,7 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => { - trackEvent( - 'view_source_click', - 'click_event', - source.toUpperCase() - ) - } + onClick={() => trackEvent('view_source_click', 'click_event', source.toUpperCase())} > Edit this page on GitHub @@ -233,56 +166,28 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => { return ; }; -export const MDXTemplate = ({ - title, - sources = [], - path, - id, - componentsData, -}) => { +export const MDXTemplate = ({ title, sources = [], path, id, componentsData }) => { const isDeprecated = - sources.some( - (source) => - source.source === 'react-deprecated' || - source.source === 'html-deprecated' - ) && - !sources.some( - (source) => source.source === 'react' || source.source === 'html' - ); + sources.some((source) => source.source === 'react-deprecated' || source.source === 'html-deprecated') && + !sources.some((source) => source.source === 'react' || source.source === 'html'); const isBeta = sources.some( - (source) => - source.beta && - source.source !== 'react-next' && - source.source !== 'react-templates' + (source) => source.beta && source.source !== 'react-next' && source.source !== 'react-templates' ); const isDemo = - sources.some( - (source) => - source.source === 'react-demos' || source.source === 'html-demos' - ) && - !sources.some( - (source) => source.source === 'react' || source.source === 'html' - ); + sources.some((source) => source.source === 'react-demos' || source.source === 'html-demos') && + !sources.some((source) => source.source === 'react' || source.source === 'html'); // Build obj mapping source names to text displayed on tabs const tabNames = sources.reduce((acc, curSrc) => { const { source, tabName } = curSrc; // use tabName for tab name if present, otherwise default to source - const tabLinkText = - tabName || capitalize(source.replace('html', 'HTML').replace(/-/g, ' ')); + const tabLinkText = tabName || capitalize(source.replace('html', 'HTML').replace(/-/g, ' ')); acc[source] = tabLinkText; return acc; }, {}); const sourceKeys = Object.keys(tabNames); const isSinglePage = sourceKeys.length === 1; - let isDevResources, - isComponent, - isExtension, - isChart, - isPattern, - isLayout, - isUtility, - isUpgrade; + let isDevResources, isComponent, isExtension, isChart, isPattern, isLayout, isUtility, isUpgrade; const getSection = () => { return sources.some((source) => { @@ -318,9 +223,7 @@ export const MDXTemplate = ({ }; // hide tab if it doesn't include the strings below - const hideTabName = sourceKeys.some( - (e) => e.includes('pages') || e.includes('training') - ); + const hideTabName = sourceKeys.some((e) => e.includes('pages') || e.includes('training')); const { pathname } = useLocation(); let activeSource = pathname.replace(/\/$/, '').split('/').pop(); // get summary text, convert to JSX to display above tabs on component pages @@ -354,17 +257,12 @@ export const MDXTemplate = ({ return 'pf-m-light-100'; }; - const showTabs = - (!isSinglePage && !hideTabName) || isComponent || isUtility || isPattern; + const showTabs = (!isSinglePage && !hideTabName) || isComponent || isUtility || isPattern; return ( - + @@ -408,33 +306,17 @@ export const MDXTemplate = ({ {showTabs && ( - +
    {sourceKeys.map((source, index) => (
  • - trackEvent( - 'tab_click', - 'click_event', - source.toUpperCase() - ) - } + onClick={() => trackEvent('tab_click', 'click_event', source.toUpperCase())} > - + {tabNames[source]}
  • @@ -456,10 +338,7 @@ export const MDXTemplate = ({ )} - + ); diff --git a/packages/documentation-site/package.json b/packages/documentation-site/package.json index edfd0285f9..4618a8ce20 100644 --- a/packages/documentation-site/package.json +++ b/packages/documentation-site/package.json @@ -20,7 +20,7 @@ "@patternfly/documentation-framework": "6.0.12", "@patternfly/react-catalog-view-extension": "6.0.0", "@patternfly/react-console": "6.0.0", - "@patternfly/react-docs": "7.0.0", + "@patternfly/react-docs": "7.1.0-prerelease.7", "@patternfly/react-log-viewer": "6.0.0", "@patternfly/react-topology": "6.0.1", "@patternfly/react-user-feedback": "6.0.0", diff --git a/packages/documentation-site/patternfly-docs/content/design-guidelines/components/tile/tile.md b/packages/documentation-site/patternfly-docs/content/design-guidelines/components/tile/tile.md index c65f72c2d6..a1bb2f05b8 100644 --- a/packages/documentation-site/patternfly-docs/content/design-guidelines/components/tile/tile.md +++ b/packages/documentation-site/patternfly-docs/content/design-guidelines/components/tile/tile.md @@ -1,6 +1,7 @@ --- id: Tile section: components +deprecated: true --- ## Usage diff --git a/yarn.lock b/yarn.lock index ccb9d3a9b7..fc504c654f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1086,23 +1086,23 @@ "@dnd-kit/utilities" "^3.2.2" tslib "^2.0.0" -"@dnd-kit/modifiers@^6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/@dnd-kit/modifiers/-/modifiers-6.0.1.tgz#9e39b25fd6e323659604cc74488fe044d33188c8" - integrity sha512-rbxcsg3HhzlcMHVHWDuh9LCjpOVAgqbV78wLGI8tziXY3+qcMQ61qVXIvNKQFuhj75dSfD+o+PYZQ/NUk2A23A== +"@dnd-kit/modifiers@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@dnd-kit/modifiers/-/modifiers-7.0.0.tgz#229666dd4e8b9487f348035117f993af755b3db9" + integrity sha512-BG/ETy3eBjFap7+zIti53f0PCLGDzNXyTmn6fSdrudORf+OH04MxrW4p5+mPu4mgMk9kM41iYONjc3DOUWTcfg== dependencies: - "@dnd-kit/utilities" "^3.2.1" + "@dnd-kit/utilities" "^3.2.2" tslib "^2.0.0" -"@dnd-kit/sortable@^7.0.2": - version "7.0.2" - resolved "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-7.0.2.tgz#791d550872457f3f3c843e00d159b640f982011c" - integrity sha512-wDkBHHf9iCi1veM834Gbk1429bd4lHX4RpAwT0y2cHLf246GAvU2sVw/oxWNpPKQNQRQaeGXhAVgrOl1IT+iyA== +"@dnd-kit/sortable@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@dnd-kit/sortable/-/sortable-8.0.0.tgz#086b7ac6723d4618a4ccb6f0227406d8a8862a96" + integrity sha512-U3jk5ebVXe1Lr7c2wU7SBZjcWdQP+j7peHJfCspnA81enlu88Mgd7CC8Q+pub9ubP7eKVETzJW+IBAhsqbSu/g== dependencies: - "@dnd-kit/utilities" "^3.2.0" + "@dnd-kit/utilities" "^3.2.2" tslib "^2.0.0" -"@dnd-kit/utilities@^3.2.0", "@dnd-kit/utilities@^3.2.1", "@dnd-kit/utilities@^3.2.2": +"@dnd-kit/utilities@^3.2.2": version "3.2.2" resolved "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.2.tgz#5a32b6af356dc5f74d61b37d6f7129a4040ced7b" integrity sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg== @@ -1827,13 +1827,13 @@ "@patternfly/react-core" "^6.0.0" "@patternfly/react-styles" "^6.0.0" -"@patternfly/react-charts@^8.0.0": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@patternfly/react-charts/-/react-charts-8.0.0.tgz#691c60bc7db9dd38b714ddcc5f12ef0fec8a1100" - integrity sha512-rtSqt3BA3F3D4PRQDQzBfEROORNfNjVWSlhpr/xcL0/iRaFp56eezXtsuaqXiTCUkGVtk98pc3AOzV05+XNy0A== +"@patternfly/react-charts@^8.1.0-prerelease.7": + version "8.1.0-prerelease.7" + resolved "https://registry.yarnpkg.com/@patternfly/react-charts/-/react-charts-8.1.0-prerelease.7.tgz#928ec7831580e0117990309c84c5a2391596123f" + integrity sha512-tIcxH2SCJbvcXMs2ubvLfb1T5kLZbNkPOhHDMhYJgwcJ0liuqfuT5Dk5OtBn4Y/mpWOS7KS/pJwRiKaYFX4Avw== dependencies: - "@patternfly/react-styles" "^6.0.0" - "@patternfly/react-tokens" "^6.0.0" + "@patternfly/react-styles" "^6.1.0-prerelease.1" + "@patternfly/react-tokens" "^6.1.0-prerelease.1" hoist-non-react-statics "^3.3.2" lodash "^4.17.21" tslib "^2.7.0" @@ -1850,6 +1850,18 @@ react-dropzone "14.2.3" tslib "^2.7.0" +"@patternfly/react-code-editor@^6.1.0-prerelease.4": + version "6.1.0-prerelease.4" + resolved "https://registry.yarnpkg.com/@patternfly/react-code-editor/-/react-code-editor-6.1.0-prerelease.4.tgz#7d7b42856a42847a5cc525bcc04b9308e42f06f4" + integrity sha512-hNo/AftlnSIzGbh3hFK39WIja3efGKR1IMmw53nY1naIjXOfMKSpW8YC+vw/v1UBOOqAoVsjau6KlU44T4kcxA== + dependencies: + "@monaco-editor/react" "^4.6.0" + "@patternfly/react-core" "^6.1.0-prerelease.4" + "@patternfly/react-icons" "^6.1.0-prerelease.1" + "@patternfly/react-styles" "^6.1.0-prerelease.1" + react-dropzone "14.2.3" + tslib "^2.7.0" + "@patternfly/react-component-groups@6.0.0": version "6.0.0" resolved "https://registry.yarnpkg.com/@patternfly/react-component-groups/-/react-component-groups-6.0.0.tgz#8128d728b61830f08e8653ba89e002b721410fbc" @@ -1928,29 +1940,41 @@ resolved "https://registry.yarnpkg.com/@patternfly/react-docs/-/react-docs-7.0.0.tgz#1a6eb8b95606193b97f9c71ca8ecf01f7dbbd53d" integrity sha512-OGFDoGh5JBWtw7zcC93/yfsq54oa/NfUUSqpLIu/6bN5/WXZ7OuaVoTk8jLG8AgcvvwqNsK5/MPgY95gJk3lQA== dependencies: - "@patternfly/patternfly" "6.0.0" - "@patternfly/react-charts" "^8.0.0" - "@patternfly/react-code-editor" "^6.0.0" - "@patternfly/react-core" "^6.0.0" - "@patternfly/react-drag-drop" "^6.0.0" - "@patternfly/react-icons" "^6.0.0" - "@patternfly/react-styles" "^6.0.0" - "@patternfly/react-table" "^6.0.0" - "@patternfly/react-templates" "^6.0.0" - "@patternfly/react-tokens" "^6.0.0" + "@patternfly/react-icons" "^6.1.0-prerelease.1" + "@patternfly/react-styles" "^6.1.0-prerelease.1" + "@patternfly/react-tokens" "^6.1.0-prerelease.1" + focus-trap "7.6.1" + react-dropzone "^14.2.3" + tslib "^2.7.0" + +"@patternfly/react-docs@7.1.0-prerelease.7": + version "7.1.0-prerelease.7" + resolved "https://registry.yarnpkg.com/@patternfly/react-docs/-/react-docs-7.1.0-prerelease.7.tgz#6f471b060f162cba485a9f5ed2a6365bcebf749f" + integrity sha512-LJMPZfSfm6yBDJXoqvVLmQLB8ymHKrM5kGfBJz4VM4IQW4YHRkf6JzDPKtw4BoIIXBY/i0BpVQUQcFpgcDGV8Q== + dependencies: + "@patternfly/patternfly" "6.1.0-prerelease.2" + "@patternfly/react-charts" "^8.1.0-prerelease.7" + "@patternfly/react-code-editor" "^6.1.0-prerelease.4" + "@patternfly/react-core" "^6.1.0-prerelease.4" + "@patternfly/react-drag-drop" "^6.1.0-prerelease.4" + "@patternfly/react-icons" "^6.1.0-prerelease.1" + "@patternfly/react-styles" "^6.1.0-prerelease.1" + "@patternfly/react-table" "^6.1.0-prerelease.4" + "@patternfly/react-templates" "^6.1.0-prerelease.4" + "@patternfly/react-tokens" "^6.1.0-prerelease.1" victory "^37.1.1" -"@patternfly/react-drag-drop@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@patternfly/react-drag-drop/-/react-drag-drop-6.0.0.tgz#34ceeb3f9b347f544521f90d5c332a6c981a814e" - integrity sha512-3gXqooDYmDq3oMHDMNq37cJq5NtXEAgMCxWcrvK/o4nEC1revee/K0w9iKkV99xhbXkN3Z2FxkM2f9IsilkcYA== +"@patternfly/react-drag-drop@^6.1.0-prerelease.4": + version "6.1.0-prerelease.4" + resolved "https://registry.yarnpkg.com/@patternfly/react-drag-drop/-/react-drag-drop-6.1.0-prerelease.4.tgz#5f9a93d87c69ba141320412c13604d6e46daa75a" + integrity sha512-YrgnMBA3po2Kho8YjOvDogT8j4DCi3dHk5c75lCF7gD+8LJbCwBPpqGtpDVNIZkIwRuIazlJwFCgygSvZn7CGQ== dependencies: "@dnd-kit/core" "^6.1.0" - "@dnd-kit/modifiers" "^6.0.1" - "@dnd-kit/sortable" "^7.0.2" - "@patternfly/react-core" "^6.0.0" - "@patternfly/react-icons" "^6.0.0" - "@patternfly/react-styles" "^6.0.0" + "@dnd-kit/modifiers" "^7.0.0" + "@dnd-kit/sortable" "^8.0.0" + "@patternfly/react-core" "^6.1.0-prerelease.4" + "@patternfly/react-icons" "^6.1.0-prerelease.1" + "@patternfly/react-styles" "^6.1.0-prerelease.1" resize-observer-polyfill "^1.5.1" "@patternfly/react-icons@^6.0.0": @@ -2015,15 +2039,27 @@ lodash "^4.17.21" tslib "^2.7.0" -"@patternfly/react-templates@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@patternfly/react-templates/-/react-templates-6.0.0.tgz#f4c8da476666d52eb0e5721a061d0855f7d0142f" - integrity sha512-fRFT2ffckZWGbYR1vZwLZRd/OaTG5a3rHvQs3eUMKLsrPhSlChTX210nPl+sl2tDXtqrwTQyJK2Ibp+YNQ8KTQ== +"@patternfly/react-table@^6.1.0-prerelease.4": + version "6.1.0-prerelease.4" + resolved "https://registry.yarnpkg.com/@patternfly/react-table/-/react-table-6.1.0-prerelease.4.tgz#bbc4775a33aa59d40dd54b7044af53a47936a523" + integrity sha512-g81MUVYH+GQ3PAZm1OHzIOxhPunkdtEnIXjGoX2DW8elPVDHVtvHCnqF2dlg5lXUXRJzxCOsM2zSdzLuX8tUGg== dependencies: - "@patternfly/react-core" "^6.0.0" - "@patternfly/react-icons" "^6.0.0" - "@patternfly/react-styles" "^6.0.0" - "@patternfly/react-tokens" "^6.0.0" + "@patternfly/react-core" "^6.1.0-prerelease.4" + "@patternfly/react-icons" "^6.1.0-prerelease.1" + "@patternfly/react-styles" "^6.1.0-prerelease.1" + "@patternfly/react-tokens" "^6.1.0-prerelease.1" + lodash "^4.17.21" + tslib "^2.7.0" + +"@patternfly/react-templates@^6.1.0-prerelease.4": + version "6.1.0-prerelease.4" + resolved "https://registry.yarnpkg.com/@patternfly/react-templates/-/react-templates-6.1.0-prerelease.4.tgz#923e2864cc18bef9a8991b290e76fcf5f20d2849" + integrity sha512-YnqyXsYRTTozPuk4I5TDQzWBPaAQFEZP6Muetbp+FRDHqDd4xBa9qIPaYbDycWuEpcbqgTld5ru8sc2cwvyXuQ== + dependencies: + "@patternfly/react-core" "^6.1.0-prerelease.4" + "@patternfly/react-icons" "^6.1.0-prerelease.1" + "@patternfly/react-styles" "^6.1.0-prerelease.1" + "@patternfly/react-tokens" "^6.1.0-prerelease.1" tslib "^2.7.0" "@patternfly/react-tokens@^6.0.0":