forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(workspace): use new doc theme (patternfly#4840)
* replace gatsby-theme-patternfly-org with theme-patternfly-org * add fullscreen screenshots * bump theme * move bulk selection guidelines back to patternfly-org * fix CI * fix lint * fix divider * fix icon imports * save ~5s/reload * fix notification badge css
- Loading branch information
Showing
51 changed files
with
2,748 additions
and
4,797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/react-core/src/components/NotificationBadge/examples/notificationBadge.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ws-react-c-notificationbadge-basic, | ||
#ws-react-c-notificationbadge-with-count{ | ||
#ws-react-c-notification-badge-basic, | ||
#ws-react-c-notification-badge-with-count{ | ||
background-color: var(--pf-global--BackgroundColor--dark-100); | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// This module is shared between NodeJS and babelled ES5 | ||
module.exports = { | ||
pathPrefix: '', | ||
hasGdprBanner: false, | ||
hasFooter: false, | ||
hasVersionSwitcher: false, | ||
hasDesignGuidelines: false, | ||
sideNavItems: [ | ||
{ section: 'get-started' }, | ||
{ section: 'charts' }, | ||
{ section: 'components' }, | ||
{ section: 'demos' }, | ||
{ section: 'extensions' }, | ||
{ section: 'layouts' } | ||
], | ||
topNavItems: [{ text: 'Icons', path: '/icons' }], | ||
port: 8002 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// This module is shared between NodeJS and babelled ES5 | ||
const isClient = Boolean(process.env.NODE_ENV); | ||
|
||
module.exports = { | ||
'/': { | ||
SyncComponent: isClient && require('./src/pages/index').default | ||
}, | ||
'/icons': { | ||
Component: () => import(/* webpackChunkName: "icons/index" */ './src/pages/icons'), | ||
title: 'Icons' | ||
}, | ||
'/404': { | ||
SyncComponent: isClient && require('theme-patternfly-org/pages/404').default, | ||
title: '404 Error' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
const path = require('path'); | ||
|
||
module.exports = (sourceMD, sourceProps) => { | ||
// Theme pages | ||
const themePagesPath = require.resolve('theme-patternfly-org/package.json').replace('package.json', 'pages'); | ||
sourceMD(path.join(themePagesPath, '*.md'), 'pages-overview'); | ||
|
||
// React props | ||
const reactCorePath = require.resolve('@patternfly/react-core/package.json').replace('package.json', 'src'); | ||
const reactTablePath = require.resolve('@patternfly/react-table/package.json').replace('package.json', 'src'); | ||
const reactChartsPath = require.resolve('@patternfly/react-charts/package.json').replace('package.json', 'src'); | ||
const reactPropsIgnore = '**/*.test.tsx'; | ||
sourceProps(path.join(reactCorePath, '/**/*.tsx'), reactPropsIgnore); | ||
sourceProps(path.join(reactTablePath, '/**/*.tsx'), reactPropsIgnore); | ||
sourceProps(path.join(reactChartsPath, '/**/*.tsx'), reactPropsIgnore); | ||
|
||
// React MD | ||
sourceMD(path.join(reactCorePath, '/**/examples/*.md'), 'react'); | ||
sourceMD(path.join(reactCorePath, '/**/demos/**/*.md'), 'react'); | ||
|
||
// React-table MD | ||
sourceMD(path.join(reactTablePath, '/**/examples/*.md'), 'react'); | ||
sourceMD(path.join(reactTablePath, '/**/demos/*.md'), 'react'); | ||
|
||
// Charts MD (no demos yet) | ||
sourceMD(path.join(reactChartsPath, '/**/examples/*.md'), 'react'); | ||
|
||
// Release notes | ||
sourceMD(require.resolve('@patternfly/react-docs/RELEASE-NOTES.md'), 'react'); | ||
|
||
// Upgrade guide | ||
sourceMD(require.resolve('@patternfly/react-docs/UPGRADE-GUIDE.md'), 'react'); | ||
}; |
Binary file added
BIN
+198 KB
packages/react-docs/src/generated/components/background-image/react/basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.8 KB
.../react-docs/src/generated/components/banner/react-demos/basic-sticky-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.2 KB
...eact-docs/src/generated/components/banner/react-demos/top-and-bottom-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+73.4 KB
packages/react-docs/src/generated/components/card/react-demos/card-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+184 KB
packages/react-docs/src/generated/components/login-page/react/basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20 KB
...s/react-docs/src/generated/components/notification-drawer/react-demos/basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20 KB
...react-docs/src/generated/components/notification-drawer/react-demos/grouped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.2 KB
packages/react-docs/src/generated/components/page/react-demos/default-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+26.1 KB
packages/react-docs/src/generated/components/page/react-demos/expandable-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.2 KB
packages/react-docs/src/generated/components/page/react-demos/grouped-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.1 KB
packages/react-docs/src/generated/components/page/react-demos/horizontal-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.1 KB
packages/react-docs/src/generated/components/page/react-demos/legacylight-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22 KB
packages/react-docs/src/generated/components/page/react-demos/manual-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.7 KB
packages/react-docs/src/generated/components/page/react-demos/tertiary-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.22 KB
packages/react-docs/src/generated/components/skip-to-content/react/basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+66.6 KB
packages/react-docs/src/generated/components/table/react-demos/sticky-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+70.9 KB
...eact-docs/src/generated/demos/primary-detail/react/primary-detail-card-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.3 KB
...ocs/src/generated/demos/primary-detail/react/primary-detail-content-padding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.4 KB
...s/src/generated/demos/primary-detail/react/primary-detail-data-list-in-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.1 KB
...eact-docs/src/generated/demos/primary-detail/react/primary-detail-full-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.1 KB
...ocs/src/generated/demos/primary-detail/react/primary-detail-inline-modifier.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.5 KB
...src/generated/demos/primary-detail/react/primary-detail-simple-list-in-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.