@patternfly/patternfly 5.1.0-prerelease.25 → 5.1.0-prerelease.27
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 +6 -6
- package/components/Progress/progress.css +6 -4
- package/components/Progress/progress.scss +9 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/package.json +2 -2
- package/patternfly-no-globals.css +6 -4
- package/patternfly-theme-dark-unversioned.css +6 -4
- package/patternfly.css +6 -4
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/README.md
CHANGED
|
@@ -63,19 +63,19 @@ When making visual changes to a full page example, new example preview screensho
|
|
|
63
63
|
|
|
64
64
|
## Guidelines for CSS development
|
|
65
65
|
|
|
66
|
-
- For issues created in Core that will affect a component in PF-React, a follow up issue must be created in PF-React once the Pull Request is merged. The issue should include the Core PR #, the Core Release, a link to the component in https://
|
|
66
|
+
- For issues created in Core that will affect a component in PF-React, a follow up issue must be created in PF-React once the Pull Request is merged. The issue should include the Core PR #, the Core Release, a link to the component in https://core-staging.patternfly.org, and information detailing the change.
|
|
67
67
|
- If global variables are modified in Core, a React issue should be opened to address this.
|
|
68
68
|
- CSS developers should ensure that animation is well documented and communicated to the respective React developer.
|
|
69
69
|
- Once the component/enhancement is complete it should receive sign off from a visual designer who can then update the master sketch file with any changes.
|
|
70
70
|
|
|
71
71
|
### Handlebars guidelines
|
|
72
|
-
[For information on how to contribute, refer to our guidelines.](/contribution)
|
|
72
|
+
[For information on how to contribute, refer to our guidelines.](https://core-staging.patternfly.org/contribution)
|
|
73
73
|
|
|
74
74
|
### CSS/Sass guidelines
|
|
75
|
-
[For more information on using CSS and Sass, refer to our guidelines.](/guidelines)
|
|
75
|
+
[For more information on using CSS and Sass, refer to our guidelines.](https://core-staging.patternfly.org/guidelines)
|
|
76
76
|
|
|
77
77
|
### Custom icon guidelines
|
|
78
|
-
[For more information on custom icons, refer to our guidelines.](/adding-custom-icons)
|
|
78
|
+
[For more information on custom icons, refer to our guidelines.](https://core-staging.patternfly.org/adding-custom-icons)
|
|
79
79
|
|
|
80
80
|
## Beta components
|
|
81
81
|
|
|
@@ -83,7 +83,7 @@ When creating a brand new component, it should be released as beta in order to g
|
|
|
83
83
|
|
|
84
84
|
## Testing for accessibility
|
|
85
85
|
|
|
86
|
-
PatternFly uses [aXe: The Accessibility Engine](https://www.deque.com/axe/) to check for accessibility violations. Our goal is to meet WCAG 2.0 AA requirements, as noted in our [Accessibility guide](https://
|
|
86
|
+
PatternFly uses [aXe: The Accessibility Engine](https://www.deque.com/axe/) to check for accessibility violations. Our goal is to meet WCAG 2.0 AA requirements, as noted in our [Accessibility guide](https://www.patternfly.org/accessibility/patternflys-accessibility).
|
|
87
87
|
|
|
88
88
|
### How to perform an accessibility audit with aXe
|
|
89
89
|
aXe is available as either a browser extension or npm script.
|
|
@@ -112,7 +112,7 @@ If you have any suggestions about ways that we can improve how we use this tool,
|
|
|
112
112
|
## FAQ
|
|
113
113
|
|
|
114
114
|
#### CSS Variables
|
|
115
|
-
[How do I use CSS variables to customize the library?](https://
|
|
115
|
+
[How do I use CSS variables to customize the library?](https://core-staging.patternfly.org/guidelines#variables)
|
|
116
116
|
|
|
117
117
|
#### Browser support
|
|
118
118
|
PatternFly 5 is supported on the latest two major versions of the following browsers:
|
|
@@ -132,6 +132,12 @@
|
|
|
132
132
|
color: var(--pf-v5-c-progress__status-icon--Color);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
+
.pf-v5-c-progress__bar::before,
|
|
136
|
+
.pf-v5-c-progress__indicator {
|
|
137
|
+
top: 0;
|
|
138
|
+
left: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
135
141
|
.pf-v5-c-progress__bar {
|
|
136
142
|
position: relative;
|
|
137
143
|
grid-row: 2/3;
|
|
@@ -142,8 +148,6 @@
|
|
|
142
148
|
}
|
|
143
149
|
.pf-v5-c-progress__bar::before {
|
|
144
150
|
position: absolute;
|
|
145
|
-
inset-block-start: 0;
|
|
146
|
-
inset-inline-start: 0;
|
|
147
151
|
width: 100%;
|
|
148
152
|
height: 100%;
|
|
149
153
|
content: "";
|
|
@@ -153,8 +157,6 @@
|
|
|
153
157
|
|
|
154
158
|
.pf-v5-c-progress__indicator {
|
|
155
159
|
position: absolute;
|
|
156
|
-
inset-block-start: 0;
|
|
157
|
-
inset-inline-start: 0;
|
|
158
160
|
height: var(--pf-v5-c-progress__indicator--Height);
|
|
159
161
|
background-color: var(--pf-v5-c-progress__indicator--BackgroundColor);
|
|
160
162
|
}
|
|
@@ -175,6 +175,15 @@
|
|
|
175
175
|
color: var(--#{$progress}__status-icon--Color);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
.#{$progress}__bar::before,
|
|
179
|
+
.#{$progress}__indicator {
|
|
180
|
+
// disable linter as the indicator element should always grow ltr
|
|
181
|
+
// stylelint-disable liberty/use-logical-spec
|
|
182
|
+
top: 0;
|
|
183
|
+
left: 0;
|
|
184
|
+
// stylelint-enable
|
|
185
|
+
}
|
|
186
|
+
|
|
178
187
|
// The progress__bar is a white underlay with a semi-transparent color on top, which matches the progress__indicator color
|
|
179
188
|
.#{$progress}__bar {
|
|
180
189
|
position: relative;
|
|
@@ -186,8 +195,6 @@
|
|
|
186
195
|
|
|
187
196
|
&::before {
|
|
188
197
|
position: absolute;
|
|
189
|
-
inset-block-start: 0;
|
|
190
|
-
inset-inline-start: 0;
|
|
191
198
|
width: 100%;
|
|
192
199
|
height: 100%;
|
|
193
200
|
content: "";
|
|
@@ -200,8 +207,6 @@
|
|
|
200
207
|
// It is assumed that the width of the progress__indicator is set inline or via Javascript
|
|
201
208
|
.#{$progress}__indicator {
|
|
202
209
|
position: absolute; // position absolute to bring above the semi-transparent bar overlay
|
|
203
|
-
inset-block-start: 0;
|
|
204
|
-
inset-inline-start: 0;
|
|
205
210
|
height: var(--#{$progress}__indicator--Height);
|
|
206
211
|
background-color: var(--#{$progress}__indicator--BackgroundColor);
|
|
207
212
|
}
|
|
@@ -41,7 +41,7 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<div class="pf-v5-c-code-editor__main">
|
|
44
|
-
<code class="pf-v5-c-code-editor__code">
|
|
44
|
+
<code dir="ltr" class="pf-v5-c-code-editor__code">
|
|
45
45
|
<pre class="pf-v5-c-code-editor__code-pre">
|
|
46
46
|
code goes here
|
|
47
47
|
</pre>
|
|
@@ -89,7 +89,7 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
91
|
<div class="pf-v5-c-code-editor__main">
|
|
92
|
-
<code class="pf-v5-c-code-editor__code">
|
|
92
|
+
<code dir="ltr" class="pf-v5-c-code-editor__code">
|
|
93
93
|
<pre class="pf-v5-c-code-editor__code-pre">
|
|
94
94
|
code goes here
|
|
95
95
|
</pre>
|
|
@@ -238,7 +238,7 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
238
238
|
</div>
|
|
239
239
|
</div>
|
|
240
240
|
<div class="pf-v5-c-code-editor__main">
|
|
241
|
-
<code class="pf-v5-c-code-editor__code">
|
|
241
|
+
<code dir="ltr" class="pf-v5-c-code-editor__code">
|
|
242
242
|
<pre class="pf-v5-c-code-editor__code-pre">
|
|
243
243
|
code goes here
|
|
244
244
|
</pre>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/patternfly",
|
|
3
3
|
"description": "Assets, source, tooling, and content for PatternFly 4",
|
|
4
|
-
"version": "5.1.0-prerelease.
|
|
4
|
+
"version": "5.1.0-prerelease.27",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@commitlint/config-conventional": "^17.6.7",
|
|
46
46
|
"@fortawesome/fontawesome": "^1.1.8",
|
|
47
47
|
"@octokit/rest": "^20.0.1",
|
|
48
|
-
"@patternfly/documentation-framework": "5.
|
|
48
|
+
"@patternfly/documentation-framework": "5.2.0",
|
|
49
49
|
"@patternfly/patternfly-a11y": "4.3.1",
|
|
50
50
|
"@patternfly/react-code-editor": "5.0.1",
|
|
51
51
|
"@patternfly/react-core": "5.0.1",
|
|
@@ -22809,6 +22809,12 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22809
22809
|
color: var(--pf-v5-c-progress__status-icon--Color);
|
|
22810
22810
|
}
|
|
22811
22811
|
|
|
22812
|
+
.pf-v5-c-progress__bar::before,
|
|
22813
|
+
.pf-v5-c-progress__indicator {
|
|
22814
|
+
top: 0;
|
|
22815
|
+
left: 0;
|
|
22816
|
+
}
|
|
22817
|
+
|
|
22812
22818
|
.pf-v5-c-progress__bar {
|
|
22813
22819
|
position: relative;
|
|
22814
22820
|
grid-row: 2/3;
|
|
@@ -22819,8 +22825,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22819
22825
|
}
|
|
22820
22826
|
.pf-v5-c-progress__bar::before {
|
|
22821
22827
|
position: absolute;
|
|
22822
|
-
inset-block-start: 0;
|
|
22823
|
-
inset-inline-start: 0;
|
|
22824
22828
|
width: 100%;
|
|
22825
22829
|
height: 100%;
|
|
22826
22830
|
content: "";
|
|
@@ -22830,8 +22834,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22830
22834
|
|
|
22831
22835
|
.pf-v5-c-progress__indicator {
|
|
22832
22836
|
position: absolute;
|
|
22833
|
-
inset-block-start: 0;
|
|
22834
|
-
inset-inline-start: 0;
|
|
22835
22837
|
height: var(--pf-v5-c-progress__indicator--Height);
|
|
22836
22838
|
background-color: var(--pf-v5-c-progress__indicator--BackgroundColor);
|
|
22837
22839
|
}
|
|
@@ -22926,6 +22926,12 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22926
22926
|
color: var(--pf-v5-c-progress__status-icon--Color);
|
|
22927
22927
|
}
|
|
22928
22928
|
|
|
22929
|
+
.pf-v5-c-progress__bar::before,
|
|
22930
|
+
.pf-v5-c-progress__indicator {
|
|
22931
|
+
top: 0;
|
|
22932
|
+
left: 0;
|
|
22933
|
+
}
|
|
22934
|
+
|
|
22929
22935
|
.pf-v5-c-progress__bar {
|
|
22930
22936
|
position: relative;
|
|
22931
22937
|
grid-row: 2/3;
|
|
@@ -22936,8 +22942,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22936
22942
|
}
|
|
22937
22943
|
.pf-v5-c-progress__bar::before {
|
|
22938
22944
|
position: absolute;
|
|
22939
|
-
inset-block-start: 0;
|
|
22940
|
-
inset-inline-start: 0;
|
|
22941
22945
|
width: 100%;
|
|
22942
22946
|
height: 100%;
|
|
22943
22947
|
content: "";
|
|
@@ -22947,8 +22951,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22947
22951
|
|
|
22948
22952
|
.pf-v5-c-progress__indicator {
|
|
22949
22953
|
position: absolute;
|
|
22950
|
-
inset-block-start: 0;
|
|
22951
|
-
inset-inline-start: 0;
|
|
22952
22954
|
height: var(--pf-v5-c-progress__indicator--Height);
|
|
22953
22955
|
background-color: var(--pf-v5-c-progress__indicator--BackgroundColor);
|
|
22954
22956
|
}
|
package/patternfly.css
CHANGED
|
@@ -22926,6 +22926,12 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22926
22926
|
color: var(--pf-v5-c-progress__status-icon--Color);
|
|
22927
22927
|
}
|
|
22928
22928
|
|
|
22929
|
+
.pf-v5-c-progress__bar::before,
|
|
22930
|
+
.pf-v5-c-progress__indicator {
|
|
22931
|
+
top: 0;
|
|
22932
|
+
left: 0;
|
|
22933
|
+
}
|
|
22934
|
+
|
|
22929
22935
|
.pf-v5-c-progress__bar {
|
|
22930
22936
|
position: relative;
|
|
22931
22937
|
grid-row: 2/3;
|
|
@@ -22936,8 +22942,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22936
22942
|
}
|
|
22937
22943
|
.pf-v5-c-progress__bar::before {
|
|
22938
22944
|
position: absolute;
|
|
22939
|
-
inset-block-start: 0;
|
|
22940
|
-
inset-inline-start: 0;
|
|
22941
22945
|
width: 100%;
|
|
22942
22946
|
height: 100%;
|
|
22943
22947
|
content: "";
|
|
@@ -22947,8 +22951,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22947
22951
|
|
|
22948
22952
|
.pf-v5-c-progress__indicator {
|
|
22949
22953
|
position: absolute;
|
|
22950
|
-
inset-block-start: 0;
|
|
22951
|
-
inset-inline-start: 0;
|
|
22952
22954
|
height: var(--pf-v5-c-progress__indicator--Height);
|
|
22953
22955
|
background-color: var(--pf-v5-c-progress__indicator--BackgroundColor);
|
|
22954
22956
|
}
|