@patternfly/patternfly 6.0.0-prerelease.3 → 6.0.0-prerelease.4

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.
@@ -1,9 +1,8 @@
1
1
  // Font Awesome 5 icons https://fontawesome.com
2
2
  @use '../sass-utilities' as *;
3
-
4
- %pf-fa-local {
5
- @import "../assets/fontawesome/fontawesome";
6
- }
3
+ @use '../assets/fontawesome/variables' as *;
4
+ @use '../assets/fontawesome/icons' as icons;
5
+ @use '../assets/fontawesome' as *;
7
6
 
8
7
  @if not($pf-v6-global--disable-fontawesome) {
9
8
  @if $pf-v6-global--enable-fontawesome-cdn {
@@ -28,8 +27,27 @@
28
27
  }
29
28
  // stylelint-enable
30
29
 
31
- * {
32
- @extend %pf-fa-local;
33
- }
30
+ @include icons.pf-fa-icon-vars;
31
+ }
32
+ }
33
+
34
+ @mixin pf-fa-icon-base {
35
+ -moz-osx-font-smoothing: grayscale;
36
+ -webkit-font-smoothing: antialiased;
37
+ display: inline-block;
38
+ font-style: normal;
39
+ font-variant: normal;
40
+ text-rendering: auto;
41
+ line-height: 1;
42
+ }
43
+
44
+ @if not($pf-v6-global--disable-fontawesome) {
45
+ .#{$fa-css-prefix},
46
+ .fa,
47
+ .fas,
48
+ .far,
49
+ .fal,
50
+ .fab {
51
+ @include pf-fa-icon-base;
34
52
  }
35
53
  }
@@ -1 +1 @@
1
- @forward '../assets/pficon/pficon.scss';
1
+ @forward '../assets/pficon/pficon';
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": "6.0.0-prerelease.3",
4
+ "version": "6.0.0-prerelease.4",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -47,11 +47,11 @@
47
47
  "@commitlint/config-conventional": "^19.1.0",
48
48
  "@fortawesome/fontawesome": "^1.1.8",
49
49
  "@octokit/rest": "^20.1.0",
50
- "@patternfly/documentation-framework": "6.0.0-alpha.81",
50
+ "@patternfly/documentation-framework": "6.0.0-alpha.90",
51
51
  "@patternfly/patternfly-a11y": "4.3.1",
52
- "@patternfly/react-code-editor": "6.0.0-alpha.101",
53
- "@patternfly/react-core": "6.0.0-alpha.101",
54
- "@patternfly/react-table": "6.0.0-alpha.102",
52
+ "@patternfly/react-code-editor": "6.0.0-alpha.106",
53
+ "@patternfly/react-core": "6.0.0-alpha.106",
54
+ "@patternfly/react-table": "6.0.0-alpha.107",
55
55
  "@starptech/prettyhtml": "^0.10.0",
56
56
  "backstopjs": "^6.3.23",
57
57
  "cheerio": "^1.0.0-rc.12",