@patternfly/patternfly 4.156.0 → 4.156.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -9
- package/docs/components/Table/examples/Table.md +12 -1319
- package/docs/demos/Table/examples/Table.md +102 -3537
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -21,8 +21,8 @@ Any of the files above are meant for use in consuming the library. The recommend
|
|
|
21
21
|
To setup the PatternFly 4 development environment:
|
|
22
22
|
|
|
23
23
|
- clone the project
|
|
24
|
-
- run `
|
|
25
|
-
- run `
|
|
24
|
+
- run `yarn install` from the project root
|
|
25
|
+
- run `yarn start`
|
|
26
26
|
- open your browser to `http://localhost:8001`
|
|
27
27
|
|
|
28
28
|
After working on your contribution, check for [accessibility violations](#testing-for-accessibility).
|
|
@@ -58,8 +58,8 @@ To create 3 new demos named "Test demo", "Test demo 2", and "Test demo 3", run:
|
|
|
58
58
|
#### Update screenshots
|
|
59
59
|
When making visual changes to a full page example, new example preview screenshots must be generated. To update the screenshots:
|
|
60
60
|
|
|
61
|
-
- open a terminal and run `
|
|
62
|
-
- in another terminal, run `
|
|
61
|
+
- open a terminal and run `yarn build && yarn run serve`
|
|
62
|
+
- in another terminal, run `yarn screenshots`
|
|
63
63
|
|
|
64
64
|
## Guidelines for CSS development
|
|
65
65
|
|
|
@@ -80,14 +80,15 @@ PatternFly uses [aXe: The Accessibility Engine](https://www.deque.com/axe/) to c
|
|
|
80
80
|
aXe is available as either a browser extension or npm script.
|
|
81
81
|
|
|
82
82
|
To run the a11y audit locally:
|
|
83
|
+
|
|
83
84
|
- install the latest [chromedriver](http://chromedriver.chromium.org/downloads) and ensure its available on your system `$PATH`
|
|
84
85
|
- macOS users can simply `brew cask install chromedriver`
|
|
85
|
-
- run `
|
|
86
|
-
- run `
|
|
86
|
+
- open a terminal and run `yarn build && yarn run serve`
|
|
87
|
+
- in another terminal, run `yarn a11y`
|
|
87
88
|
|
|
88
89
|
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.
|
|
89
90
|
|
|
90
|
-
The same tool is also available as a browser extension for [Chrome](https://chrome.google.com/webstore/detail/axe/lhdoppojpmngadmnindnejefpokejbdd) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/).
|
|
91
|
+
The same tool is also available as a browser extension for [Chrome](https://chrome.google.com/webstore/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/).
|
|
91
92
|
|
|
92
93
|
### Fixing violations
|
|
93
94
|
|
|
@@ -102,11 +103,11 @@ If you have any suggestions about ways that we can improve how we use this tool,
|
|
|
102
103
|
## FAQ
|
|
103
104
|
|
|
104
105
|
#### CSS Variables
|
|
105
|
-
[How do I use CSS variables to customize
|
|
106
|
-
the library?](https://pf4.patternfly.org/guidelines#variables)
|
|
106
|
+
[How do I use CSS variables to customize the library?](https://pf4.patternfly.org/guidelines#variables)
|
|
107
107
|
|
|
108
108
|
#### Browser support
|
|
109
109
|
PatternFly 4 is supported on the latest two major versions of the following browsers:
|
|
110
|
+
|
|
110
111
|
- Chrome
|
|
111
112
|
- Firefox
|
|
112
113
|
- Safari
|