@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 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");
@@ -5,7 +5,7 @@
5
5
  }
6
6
 
7
7
  html {
8
- font-size: unset !important;
8
+ font-size: var(--pf-global--root--FontSize, unset) !important;
9
9
  }
10
10
 
11
11
  .pf-screen-reader {
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": "4.208.0",
4
+ "version": "4.208.1",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -633,7 +633,7 @@
633
633
  }
634
634
 
635
635
  html {
636
- font-size: unset !important;
636
+ font-size: var(--pf-global--root--FontSize, unset) !important;
637
637
  }
638
638
 
639
639
  .pf-screen-reader {
@@ -633,7 +633,7 @@
633
633
  }
634
634
 
635
635
  html {
636
- font-size: unset !important;
636
+ font-size: var(--pf-global--root--FontSize, unset) !important;
637
637
  }
638
638
 
639
639
  .pf-screen-reader {
@@ -742,7 +742,7 @@
742
742
  }
743
743
 
744
744
  html {
745
- font-size: unset !important;
745
+ font-size: var(--pf-global--root--FontSize, unset) !important;
746
746
  }
747
747
 
748
748
  .pf-screen-reader {
package/patternfly.css CHANGED
@@ -742,7 +742,7 @@
742
742
  }
743
743
 
744
744
  html {
745
- font-size: unset !important;
745
+ font-size: var(--pf-global--root--FontSize, unset) !important;
746
746
  }
747
747
 
748
748
  .pf-screen-reader {