@patternfly/patternfly 4.208.0 → 4.208.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/base/_base.scss +2 -0
- package/base/_common.scss +3 -1
- package/base/_fonts.scss +1 -1
- package/base/patternfly-common.css +1 -1
- package/package.json +1 -1
- package/patternfly-base-no-reset.css +1 -1
- package/patternfly-base.css +1 -1
- package/patternfly-no-reset.css +1 -1
- package/patternfly.css +1 -1
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/base/_base.scss
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
2
2
|
|
|
3
|
+
// remove in breaking change
|
|
3
4
|
@if $pf-global--load-pf-3 {
|
|
4
5
|
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
|
|
5
6
|
@import url("https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.37.10/css/patternfly.min.css");
|
|
6
7
|
@import url("https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.37.10/css/patternfly-additions.min.css");
|
|
7
8
|
}
|
|
8
9
|
|
|
10
|
+
// remove pf3 shield styles in breaking change
|
|
9
11
|
@import "shield-inheritable";
|
|
10
12
|
@import "shield-noninheritable";
|
|
11
13
|
|
package/base/_common.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// Set common reset styles for patternfly components
|
|
2
|
+
// remove in breaking change. this should come from globals, and can be opted out
|
|
2
3
|
[class*="pf-c-"] {
|
|
3
4
|
&,
|
|
4
5
|
&::before,
|
|
@@ -9,13 +10,14 @@
|
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
|
|
13
|
+
// remove in breaking change
|
|
12
14
|
@if $pf-global--unset-root-font-size {
|
|
13
15
|
// Since PF3 sets root font size to 10px, we need to unset it.
|
|
14
16
|
// This doesn't affect PF3.
|
|
15
17
|
// https://github.com/twbs/bootstrap/blob/v3.4.0/less/scaffolding.less#L23
|
|
16
18
|
// stylelint-disable
|
|
17
19
|
html {
|
|
18
|
-
font-size: unset !important; // the important is needed because we don't know if pf3 will be loaded after pfnext
|
|
20
|
+
font-size: var(--pf-global--root--FontSize, unset) !important; // the important is needed because we don't know if pf3 will be loaded after pfnext
|
|
19
21
|
}
|
|
20
22
|
// stylelint-enable
|
|
21
23
|
}
|
package/base/_fonts.scss
CHANGED
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
font-display: fallback;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
// remove in breaking change
|
|
157
157
|
@if $pf-global--enable-font-overpass-cdn {
|
|
158
158
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
159
159
|
@import url("https://fonts.googleapis.com/css?family=Overpass|Overpass+Mono");
|
package/package.json
CHANGED
package/patternfly-base.css
CHANGED
package/patternfly-no-reset.css
CHANGED