@patternfly/documentation-framework 2.0.0-alpha.44 → 2.0.0-alpha.45

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 2.0.0-alpha.45 (2023-05-25)
7
+
8
+ **Note:** Version bump only for package @patternfly/documentation-framework
9
+
10
+
11
+
12
+
13
+
6
14
  # 2.0.0-alpha.44 (2023-05-25)
7
15
 
8
16
  **Note:** Version bump only for package @patternfly/documentation-framework
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/documentation-framework",
3
3
  "description": "A framework to build documentation for PatternFly.",
4
- "version": "2.0.0-alpha.44",
4
+ "version": "2.0.0-alpha.45",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -91,5 +91,5 @@
91
91
  "react": "^17.0.0 || ^18.0.0",
92
92
  "react-dom": "^17.0.0 || ^18.0.0"
93
93
  },
94
- "gitHead": "eea3ab5ab5fb2eebf30ebda97b41739ae3ddf60e"
94
+ "gitHead": "8fecdc7a7114f44828e958422671102c8fc2c460"
95
95
  }
@@ -1,40 +0,0 @@
1
- ---
2
- id: Red Hat font
3
- section: developer-resources
4
- ---
5
-
6
- PR - [https://github.com/patternfly/patternfly/pull/4476](https://github.com/patternfly/patternfly/pull/4476)
7
-
8
- Available in [v4.161.0](https://github.com/patternfly/patternfly/releases/tag/prerelease-v4.161.0)
9
-
10
- ## Overview
11
-
12
- PatternFly has created opt-ins for `v4.0.2` of the [RedHatFont](https://github.com/RedHatOfficial/RedHatFont/). This is an update from `v2.x`. There are many new features in this update, including:
13
-
14
- - Variable fonts
15
- - New weights in Red Hat Display and Red Hat Text
16
- - Tabular figures (monospaced numbers) in Red Hat Display and Red Hat Text
17
- - Red Hat Mono typeface
18
- - Dropping support for IE11 (dropped the `.woff` format)
19
-
20
- ### Available Opt-ins
21
-
22
- #### `.pf-m-redhat-updated-font`
23
-
24
- Updates the Red Hat Text and Red Hat Display font stacks to `v4.0.2`. This should be a safe, seamless opt-in, with small improvements to glyph shape, kerning, metadata across the entire family of fonts. Potential concerns may be that this will remove support for IE11 by removing the `.woff` format support, and small layout shifts as result of the small improvements.
25
-
26
- #### `.pf-m-redhatmono-font`
27
-
28
- Updates the monospaced font stack to use the Red Hat Mono font. This opt-in can be combined with `.pf-m-redhat-updated-font`.
29
-
30
- #### `.pf-m-redhatVF-font`
31
-
32
- Updates the Red Hat Text, Red Hat Display, and Red Hat Mono font stacks to use the variable font files.
33
-
34
- #### `.pf-m-tabular-nums`
35
-
36
- This is a global class that can be applied to any element to enable monospaced numbers on that element and its children.
37
-
38
- ### Using opt-in classes
39
-
40
- To opt-in to any of the new fonts (`.pf-m-redhat-updated-font`, `.pf-m-redhatmono-font`, and `.pf-m-redhatVF-font`), add the opt-in class to the `<body>` tag of your application. To opt-in to monospaced numbers globally across your application, apply `.pf-m-tabular-nums` to any element that wraps your entire application (eg, `<body>`, `<div id="root">`, `<div class="pf-v5-c-page">`, etc). To opt-in to monospaced numbers on a particular element and its children, add the class to that element itself.