From 2cd57a0b0fd0273dc8be60b8c938283852bbb9b2 Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Mon, 23 Sep 2024 12:09:54 -0400 Subject: [PATCH 1/5] feat(site): fix build for prerelease, use editorial content --- .../autoLinkHeader/autoLinkHeader.js | 1 + .../components/footer/footer.js | 15 +++++----- .../components/sectionGallery/TextSummary.js | 14 +++++----- .../sectionGallery/sectionDataListLayout.js | 16 +++++------ .../sectionGallery/sectionGalleryToolbar.js | 28 +++++++++---------- .../documentation-framework/templates/mdx.js | 2 +- .../styles/colors-for-charts/colors-grid.js | 2 +- .../styles/colors/ColorFamily.js | 6 ++-- .../patternfly-docs/pages/home.js | 1 + 9 files changed, 44 insertions(+), 41 deletions(-) diff --git a/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js b/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js index a4aee3b57a..3ed28a6df8 100644 --- a/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js +++ b/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js @@ -22,6 +22,7 @@ export const AutoLinkHeader = ({ component={headingLevel} className={css('ws-heading', className)} tabIndex={-1} + isEditorial > diff --git a/packages/documentation-framework/components/footer/footer.js b/packages/documentation-framework/components/footer/footer.js index 3ab6b789a8..21260cf7cd 100644 --- a/packages/documentation-framework/components/footer/footer.js +++ b/packages/documentation-framework/components/footer/footer.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React from "react"; import { Brand, Grid, @@ -7,11 +7,11 @@ import { ListItem, PageSection, Content, -} from '@patternfly/react-core'; -import { Link } from '@patternfly/documentation-framework/components'; -import { GithubIcon, TwitterIcon } from '@patternfly/react-icons'; -import redhatLogo from './RHLogo.png'; -import redhatLogoDark from './RHLogoDark.png'; +} from "@patternfly/react-core"; +import { Link } from "@patternfly/documentation-framework/components"; +import { GithubIcon, TwitterIcon } from "@patternfly/react-icons"; +import redhatLogo from "./RHLogo.png"; +import redhatLogoDark from "./RHLogoDark.png"; export const Footer = ({ isDarkTheme }) => ( @@ -39,7 +39,7 @@ export const Footer = ({ isDarkTheme }) => ( Get started @@ -237,6 +237,7 @@ export const Footer = ({ isDarkTheme }) => ( PatternFly is an open source design system built to drive consistency and unify teams. From documentation and components diff --git a/packages/documentation-framework/components/sectionGallery/TextSummary.js b/packages/documentation-framework/components/sectionGallery/TextSummary.js index d015f2a1c4..2a75a18a12 100644 --- a/packages/documentation-framework/components/sectionGallery/TextSummary.js +++ b/packages/documentation-framework/components/sectionGallery/TextSummary.js @@ -4,17 +4,17 @@ import { Content } from "@patternfly/react-core"; // convert summary text from string to jsx, remove links export const SummaryComponent = ({ id, itemsData }) => { - const itemDasherized = id.split(' ').join('-').toLowerCase(); + const itemDasherized = id.split(" ").join("-").toLowerCase(); const summary = itemsData?.[itemDasherized]?.summary; if (!summary) { return null; } // Remove anchor tags to avoid in summary nested within of Link card/datalistitem - const summaryNoLinks = summary.replace(/]*>([^<]+)<\/Link>/gm, '$1'); + const summaryNoLinks = summary.replace(/]*>([^<]+)<\/Link>/gm, "$1"); const { code } = convertToReactComponent(`<>${summaryNoLinks}`); - const getSummaryComponent = new Function('React', code); + const getSummaryComponent = new Function("React", code); return getSummaryComponent(React); -} +}; export const TextSummary = ({ id, itemsData }) => { if (!id) { @@ -22,10 +22,10 @@ export const TextSummary = ({ id, itemsData }) => { } return ( - - + + - ) + ); }; diff --git a/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js b/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js index 39cf6267be..88f631fd00 100644 --- a/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js +++ b/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React from "react"; import { DataList, DataListItem, @@ -10,9 +10,9 @@ import { Content, ContentVariants, Label, -} from '@patternfly/react-core'; -import { Link } from '../link/link'; -import { TextSummary } from './TextSummary'; +} from "@patternfly/react-core"; +import { Link } from "../link/link"; +import { TextSummary } from "./TextSummary"; export const SectionDataListLayout = ({ galleryItems, @@ -20,7 +20,7 @@ export const SectionDataListLayout = ({ hasListText, hasListImages, }) => { - if (layoutView !== 'list') { + if (layoutView !== "list") { return null; } @@ -55,10 +55,10 @@ export const SectionDataListLayout = ({ ), - + - - + + {title} diff --git a/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js b/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js index 19d1433c1f..eab3f0140e 100644 --- a/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js +++ b/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React from "react"; import { Button, SearchInput, @@ -10,9 +10,9 @@ import { ContentVariants, ToggleGroup, ToggleGroupItem, -} from '@patternfly/react-core'; -import ListIcon from '@patternfly/react-icons/dist/esm/icons/list-icon'; -import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon'; +} from "@patternfly/react-core"; +import ListIcon from "@patternfly/react-icons/dist/esm/icons/list-icon"; +import ThIcon from "@patternfly/react-icons/dist/esm/icons/th-icon"; export const SectionGalleryToolbar = ({ galleryItems, @@ -20,8 +20,8 @@ export const SectionGalleryToolbar = ({ setSearchTerm, layoutView, setLayoutView, - placeholderText = 'Search by name', - countText = ' items', + placeholderText = "Search by name", + countText = " items", }) => ( @@ -35,7 +35,7 @@ export const SectionGalleryToolbar = ({ {searchTerm && ( - @@ -46,25 +46,25 @@ export const SectionGalleryToolbar = ({ } aria-label="grid icon button" - isSelected={layoutView === 'grid'} - onChange={() => setLayoutView('grid')} + isSelected={layoutView === "grid"} + onChange={() => setLayoutView("grid")} > } aria-label="list icon button" - isSelected={layoutView === 'list'} - onChange={() => setLayoutView('list')} + isSelected={layoutView === "list"} + onChange={() => setLayoutView("list")} > - + {galleryItems.length} {countText} diff --git a/packages/documentation-framework/templates/mdx.js b/packages/documentation-framework/templates/mdx.js index af8c4b1e6a..6d24c71293 100644 --- a/packages/documentation-framework/templates/mdx.js +++ b/packages/documentation-framework/templates/mdx.js @@ -249,7 +249,7 @@ export const MDXTemplate = ({ variant={!isSinglePage ? PageSectionVariants.light : ""} isWidthLimited > - + diff --git a/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js b/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js index c7c9067899..3bc4c1e0f7 100644 --- a/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js +++ b/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js @@ -41,7 +41,7 @@ const ColorFamily = ({color, computedStyles}) => { return ( <GridItem> - <Content className="ws-heading ws-title" component="h3">{color} family</Content> + <Content className="ws-heading ws-title" component="h3" isEditorial>{color} family</Content> <Flex direction={{ default: 'column' }} gap={{ default: 'gapMd' }}> {entries} </Flex> diff --git a/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors/ColorFamily.js b/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors/ColorFamily.js index 2e075d7529..fe7666bd3a 100644 --- a/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors/ColorFamily.js +++ b/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors/ColorFamily.js @@ -13,8 +13,8 @@ export function ColorFamily({ }) { const [expanded, setExpanded] = React.useState([]); const rootTokens = tokens[':root']; - const familyTokens = Object.values(rootTokens).filter(token => token.name.includes(`${palettePrefix}${family}--`)); + if (family === 'gray') { const whiteToken = rootTokens.t_color_white; familyTokens.unshift(whiteToken); @@ -69,9 +69,9 @@ export function ColorFamily({ {tokenList?.length > 0 ? ( <> <Title headingLevel="h4" size="md">Semantic tokens<span className='pf-v6-screen-reader'>for {token.value.toUpperCase()}</span> - + {tokenList.map(tokenName => - {tokenName} + {tokenName} )} diff --git a/packages/documentation-site/patternfly-docs/pages/home.js b/packages/documentation-site/patternfly-docs/pages/home.js index 9ef555f4a3..ba69404643 100644 --- a/packages/documentation-site/patternfly-docs/pages/home.js +++ b/packages/documentation-site/patternfly-docs/pages/home.js @@ -187,6 +187,7 @@ const HomePage = () => ( PatternFly is an open source design system that enables teams to create consistent and scalable enterprise products. PatternFly is From ba821bcf6b539d464ddbf80c184f4135e5d24d61 Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Mon, 23 Sep 2024 12:15:02 -0400 Subject: [PATCH 2/5] add missing editorial flag --- packages/documentation-framework/scripts/md/styled-tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/documentation-framework/scripts/md/styled-tags.js b/packages/documentation-framework/scripts/md/styled-tags.js index 4fdf8d9572..015eff8ebd 100644 --- a/packages/documentation-framework/scripts/md/styled-tags.js +++ b/packages/documentation-framework/scripts/md/styled-tags.js @@ -26,7 +26,7 @@ function styledTags() { node.properties.className = node.properties.className || ''; if (contentStyledMdTags.includes(node.tagName)) { - node.properties.className += `pf-v6-c-content--${node.tagName}`; + node.properties.className += `pf-v6-c-content--${node.tagName} pf-m-editorial`; } if (styledMdTags.includes(node.tagName)) { From dc68e9d41bb0f4fcdf14ef789a7074089f831b97 Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Tue, 24 Sep 2024 09:38:54 -0400 Subject: [PATCH 3/5] rebase lock --- yarn.lock | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) diff --git a/yarn.lock b/yarn.lock index 6f00bb37ad..f9598f9e3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1787,6 +1787,74 @@ "@patternfly/react-core" "6.0.0-alpha.94" commander "^12.0.0" +"@patternfly/documentation-framework@6.0.0-alpha.100": + version "6.0.0-alpha.100" + resolved "https://registry.yarnpkg.com/@patternfly/documentation-framework/-/documentation-framework-6.0.0-alpha.100.tgz#7fabacf077e270c135ddfccefefb7c2284e7bf16" + integrity sha512-5AQw2prM2Jo3M+CzOAgQHCHZ9C3/aonTxCWd7hM5DqqaKuoNyFe8LcDA4PF9EfYhwKnPCM6qbdc07jYelM2Awg== + dependencies: + "@babel/core" "^7.24.3" + "@babel/preset-env" "^7.24.3" + "@babel/preset-react" "^7.24.1" + "@mdx-js/util" "1.6.16" + "@patternfly/ast-helpers" "^1.4.0-alpha.89" + "@reach/router" "npm:@gatsbyjs/reach-router@1.3.9" + autoprefixer "9.8.6" + babel-loader "^9.1.3" + camelcase-css "2.0.1" + chokidar "4.0.0" + clean-webpack-plugin "4.0.0" + codesandbox "2.2.0" + commander "4.1.1" + copy-webpack-plugin "11.0.0" + css-loader "6.7.3" + detab "2.0.3" + express "4.20.0" + file-loader "6.2.0" + file-saver "1.3.8" + fs-extra "9.0.1" + glob "9.0.0" + handlebars "4.7.7" + hast-to-hyperscript "9.0.0" + hast-util-to-text "2.0.0" + html-formatter "0.1.9" + html-webpack-plugin "5.5.0" + js-yaml "3.14.0" + mdast-util-to-hast "9.1.1" + mdurl "1.0.1" + mini-css-extract-plugin "2.7.5" + null-loader "4.0.1" + parse-entities "2.0.0" + path-browserify "1.0.1" + postcss "8.4.32" + postcss-loader "7.1.0" + process "^0.11.10" + puppeteer "19.11.1" + puppeteer-cluster "0.23.0" + react-docgen "5.3.1" + react-ssr-prepass "1.5.0" + remark-footnotes "1.0.0" + remark-frontmatter "2.0.0" + remark-mdx "2.0.0-next.8" + remark-mdxjs "2.0.0-next.8" + remark-parse "8.0.3" + remark-squeeze-paragraphs "4.0.0" + responsive-loader "3.1.2" + sharp "0.32.6" + style-to-object "0.3.0" + to-vfile "6.1.0" + typedoc "0.23.0" + typescript "4.7.4" + unified "9.1.0" + unist-util-remove "2.0.0" + unist-util-visit "2.0.3" + url-loader "4.1.0" + vfile-reporter "6.0.1" + webpack "5.76.3" + webpack-bundle-analyzer "4.8.0" + webpack-cli "5.0.1" + webpack-dev-server "4.13.1" + webpack-merge "5.8.0" + "@patternfly/patternfly-a11y@4.3.1": version "4.3.1" resolved "https://registry.npmjs.org/@patternfly/patternfly-a11y/-/patternfly-a11y-4.3.1.tgz#09f050d3a899a60471519f552d64ecaaeb5fec2f" @@ -5528,6 +5596,43 @@ express@4.20.0: utils-merge "1.0.1" vary "~1.1.2" +express@4.21.0: + version "4.21.0" + resolved "https://registry.yarnpkg.com/express/-/express-4.21.0.tgz#d57cb706d49623d4ac27833f1cbc466b668eb915" + integrity sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng== + dependencies: + accepts "~1.3.8" + array-flatten "1.1.1" + body-parser "1.20.3" + content-disposition "0.5.4" + content-type "~1.0.4" + cookie "0.6.0" + cookie-signature "1.0.6" + debug "2.6.9" + depd "2.0.0" + encodeurl "~2.0.0" + escape-html "~1.0.3" + etag "~1.8.1" + finalhandler "1.3.1" + fresh "0.5.2" + http-errors "2.0.0" + merge-descriptors "1.0.3" + methods "~1.1.2" + on-finished "2.4.1" + parseurl "~1.3.3" + path-to-regexp "0.1.10" + proxy-addr "~2.0.7" + qs "6.13.0" + range-parser "~1.2.1" + safe-buffer "5.2.1" + send "0.19.0" + serve-static "1.16.2" + setprototypeof "1.2.0" + statuses "2.0.1" + type-is "~1.6.18" + utils-merge "1.0.1" + vary "~1.1.2" + express@^4.17.3: version "4.19.2" resolved "https://registry.npmjs.org/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" @@ -5753,6 +5858,19 @@ finalhandler@1.2.0: statuses "2.0.1" unpipe "~1.0.0" +finalhandler@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.3.1.tgz#0c575f1d1d324ddd1da35ad7ece3df7d19088019" + integrity sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ== + dependencies: + debug "2.6.9" + encodeurl "~2.0.0" + escape-html "~1.0.3" + on-finished "2.4.1" + parseurl "~1.3.3" + statuses "2.0.1" + unpipe "~1.0.0" + find-cache-dir@^3.3.2: version "3.3.2" resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" @@ -10947,6 +11065,16 @@ serve-static@1.16.0: parseurl "~1.3.3" send "0.18.0" +serve-static@1.16.2: + version "1.16.2" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.2.tgz#b6a5343da47f6bdd2673848bf45754941e803296" + integrity sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw== + dependencies: + encodeurl "~2.0.0" + escape-html "~1.0.3" + parseurl "~1.3.3" + send "0.19.0" + set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" From ca1876b41d11b217b60442eb96543f2e4b25f12e Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Tue, 24 Sep 2024 09:40:55 -0400 Subject: [PATCH 4/5] bump docs-framework --- packages/documentation-site/package.json | 2 +- yarn.lock | 115 ----------------------- 2 files changed, 1 insertion(+), 116 deletions(-) diff --git a/packages/documentation-site/package.json b/packages/documentation-site/package.json index 151421704f..cb67081439 100644 --- a/packages/documentation-site/package.json +++ b/packages/documentation-site/package.json @@ -17,7 +17,7 @@ "screenshots": "pf-docs-framework screenshots" }, "dependencies": { - "@patternfly/documentation-framework": "6.0.0-alpha.100", + "@patternfly/documentation-framework": "6.0.0-alpha.102", "@patternfly/react-catalog-view-extension": "6.0.0-alpha.7", "@patternfly/react-console": "6.0.0-prerelease.1", "@patternfly/react-docs": "7.0.0-prerelease.24", diff --git a/yarn.lock b/yarn.lock index f9598f9e3b..77d428dbb1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1787,74 +1787,6 @@ "@patternfly/react-core" "6.0.0-alpha.94" commander "^12.0.0" -"@patternfly/documentation-framework@6.0.0-alpha.100": - version "6.0.0-alpha.100" - resolved "https://registry.yarnpkg.com/@patternfly/documentation-framework/-/documentation-framework-6.0.0-alpha.100.tgz#7fabacf077e270c135ddfccefefb7c2284e7bf16" - integrity sha512-5AQw2prM2Jo3M+CzOAgQHCHZ9C3/aonTxCWd7hM5DqqaKuoNyFe8LcDA4PF9EfYhwKnPCM6qbdc07jYelM2Awg== - dependencies: - "@babel/core" "^7.24.3" - "@babel/preset-env" "^7.24.3" - "@babel/preset-react" "^7.24.1" - "@mdx-js/util" "1.6.16" - "@patternfly/ast-helpers" "^1.4.0-alpha.89" - "@reach/router" "npm:@gatsbyjs/reach-router@1.3.9" - autoprefixer "9.8.6" - babel-loader "^9.1.3" - camelcase-css "2.0.1" - chokidar "4.0.0" - clean-webpack-plugin "4.0.0" - codesandbox "2.2.0" - commander "4.1.1" - copy-webpack-plugin "11.0.0" - css-loader "6.7.3" - detab "2.0.3" - express "4.20.0" - file-loader "6.2.0" - file-saver "1.3.8" - fs-extra "9.0.1" - glob "9.0.0" - handlebars "4.7.7" - hast-to-hyperscript "9.0.0" - hast-util-to-text "2.0.0" - html-formatter "0.1.9" - html-webpack-plugin "5.5.0" - js-yaml "3.14.0" - mdast-util-to-hast "9.1.1" - mdurl "1.0.1" - mini-css-extract-plugin "2.7.5" - null-loader "4.0.1" - parse-entities "2.0.0" - path-browserify "1.0.1" - postcss "8.4.32" - postcss-loader "7.1.0" - process "^0.11.10" - puppeteer "19.11.1" - puppeteer-cluster "0.23.0" - react-docgen "5.3.1" - react-ssr-prepass "1.5.0" - remark-footnotes "1.0.0" - remark-frontmatter "2.0.0" - remark-mdx "2.0.0-next.8" - remark-mdxjs "2.0.0-next.8" - remark-parse "8.0.3" - remark-squeeze-paragraphs "4.0.0" - responsive-loader "3.1.2" - sharp "0.32.6" - style-to-object "0.3.0" - to-vfile "6.1.0" - typedoc "0.23.0" - typescript "4.7.4" - unified "9.1.0" - unist-util-remove "2.0.0" - unist-util-visit "2.0.3" - url-loader "4.1.0" - vfile-reporter "6.0.1" - webpack "5.76.3" - webpack-bundle-analyzer "4.8.0" - webpack-cli "5.0.1" - webpack-dev-server "4.13.1" - webpack-merge "5.8.0" - "@patternfly/patternfly-a11y@4.3.1": version "4.3.1" resolved "https://registry.npmjs.org/@patternfly/patternfly-a11y/-/patternfly-a11y-4.3.1.tgz#09f050d3a899a60471519f552d64ecaaeb5fec2f" @@ -5559,43 +5491,6 @@ exponential-backoff@^3.1.1: resolved "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== -express@4.20.0: - version "4.20.0" - resolved "https://registry.yarnpkg.com/express/-/express-4.20.0.tgz#f1d08e591fcec770c07be4767af8eb9bcfd67c48" - integrity sha512-pLdae7I6QqShF5PnNTCVn4hI91Dx0Grkn2+IAsMTgMIKuQVte2dN9PeGSSAME2FR8anOhVA62QDIUaWVfEXVLw== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "1.20.3" - content-disposition "0.5.4" - content-type "~1.0.4" - cookie "0.6.0" - cookie-signature "1.0.6" - debug "2.6.9" - depd "2.0.0" - encodeurl "~2.0.0" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "1.2.0" - fresh "0.5.2" - http-errors "2.0.0" - merge-descriptors "1.0.3" - methods "~1.1.2" - on-finished "2.4.1" - parseurl "~1.3.3" - path-to-regexp "0.1.10" - proxy-addr "~2.0.7" - qs "6.11.0" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "0.19.0" - serve-static "1.16.0" - setprototypeof "1.2.0" - statuses "2.0.1" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - express@4.21.0: version "4.21.0" resolved "https://registry.yarnpkg.com/express/-/express-4.21.0.tgz#d57cb706d49623d4ac27833f1cbc466b668eb915" @@ -11055,16 +10950,6 @@ serve-static@1.15.0: parseurl "~1.3.3" send "0.18.0" -serve-static@1.16.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.0.tgz#2bf4ed49f8af311b519c46f272bf6ac3baf38a92" - integrity sha512-pDLK8zwl2eKaYrs8mrPZBJua4hMplRWJ1tIFksVC3FtBEBnl8dxgeHtsaMS8DhS9i4fLObaon6ABoc4/hQGdPA== - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.18.0" - serve-static@1.16.2: version "1.16.2" resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.2.tgz#b6a5343da47f6bdd2673848bf45754941e803296" From 38264e1e033a74645bc6acaf88aed4dc2c457adf Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Fri, 27 Sep 2024 13:07:10 -0400 Subject: [PATCH 5/5] clean up some extra unneeded flags --- .../components/sectionGallery/TextSummary.js | 2 +- .../components/sectionGallery/sectionDataListLayout.js | 2 +- packages/documentation-site/patternfly-docs/pages/home.js | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/documentation-framework/components/sectionGallery/TextSummary.js b/packages/documentation-framework/components/sectionGallery/TextSummary.js index 2a75a18a12..e474ca4d19 100644 --- a/packages/documentation-framework/components/sectionGallery/TextSummary.js +++ b/packages/documentation-framework/components/sectionGallery/TextSummary.js @@ -23,7 +23,7 @@ export const TextSummary = ({ id, itemsData }) => { return ( - + diff --git a/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js b/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js index 88f631fd00..9a3a5c5128 100644 --- a/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js +++ b/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js @@ -58,7 +58,7 @@ export const SectionDataListLayout = ({ - + {title} diff --git a/packages/documentation-site/patternfly-docs/pages/home.js b/packages/documentation-site/patternfly-docs/pages/home.js index ba69404643..ad43514a3e 100644 --- a/packages/documentation-site/patternfly-docs/pages/home.js +++ b/packages/documentation-site/patternfly-docs/pages/home.js @@ -184,11 +184,7 @@ const HomePage = () => ( open with PatternFly - + PatternFly is an open source design system that enables teams to create consistent and scalable enterprise products. PatternFly is sponsored and maintained by Red Hat, but is open to all.