
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@patternfly/patternfly-next
Advanced tools
npm install @patternfly/patternfly-next --save
When you install PatternFly Next, the package includes:
node_modules/@patternfly/patternfly-next/patternfly.css
node_modules/@patternfly/patternfly-next/<ComponentName>/styles.css
node_modules/@patternfly/patternfly-next/patternfly.scss
node_modules/@patternfly/patternfly-next/<ComponentName>/styles.scss
Any of the files above are meant for use in consuming the library. The recommended consumption approach will vary from project to project.
PatternFly Next Development requires Node v8.0.0 or greater
To setup the PatternFly Next development environment:
npm install
from the project rootnpm run cli:setup
(only needed if doing development)npm run dev
http://localhost:8000
After working on your contribution, check for accessibility violations.
If Gatsby needs to run on local IP for testing on other machines or devices use npm run dev:expose
which sets host to 0.0.0.0
.
If you want to set host to a specific IP address for example 172.17.12.1
run npm run dev -H 172.17.12.1
.
pf generate component <name>
To view visit http://localhost:8000/components/
pf generate layout <name>
To view visit http://localhost:8000/layout/
pf generate utility <name>
To view visit http://localhost:8000/utilities/
pf generate demo <name>
To view visit http://localhost:8000/demos/
PatternFly uses aXe: The Accessibility Engine to check for accessibility violations. Our goal is to meet WCAG 2.0 AA requirements, as noted in our Accessibility Guide.
aXe is available as either a browser extension or npm script.
To run the a11y audit locally:
$PATH
brew cask install chromedriver
npm run dev
npm run a11y
(in another console)The tool is configured to return WCAG 2.0 AA violations for the full page renderings of all components, layouts, utilities, and demos. The tool will provide feedback about what the violation is and a link to documentation about how to address the violation.
The same tool is also available as a browser extension for Chrome and Firefox.
Ignore the violations that aren’t related to your contribution.
Fix violations related to your contribution.
If there are violations that are not obvious how to fix, then create an issue with information about the violation that was found. For example, some violations might require further discussion before they can be addressed. And some violations may not be valid and require changes to the workspace or tooling to stop flagging the violation.
If you have any suggestions about ways that we can improve how we use this tool, please let us know by opening an issue.
FAQs
Assets, source, tooling, and content for PatternFly Next
We found that @patternfly/patternfly-next demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.