@patternfly/react-styles 4.86.3 → 4.86.6

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,36 @@
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
+ ## 4.86.6 (2022-09-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **Page:** avoid unnecessary re-renders ([#7940](https://github.com/patternfly/patternfly-react/issues/7940)) ([3e23142](https://github.com/patternfly/patternfly-react/commit/3e23142c489ae5b77357345dbbeaa63cc175ea05))
12
+
13
+
14
+
15
+
16
+
17
+ ## 4.86.5 (2022-09-02)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **MenuToggle:** Fixed props not displaying in docs ([#7919](https://github.com/patternfly/patternfly-react/issues/7919)) ([8ca73e4](https://github.com/patternfly/patternfly-react/commit/8ca73e4dae9542646aff846511033bb7ae4fb2ef))
23
+
24
+
25
+
26
+
27
+
28
+ ## 4.86.4 (2022-09-02)
29
+
30
+ **Note:** Version bump only for package @patternfly/react-styles
31
+
32
+
33
+
34
+
35
+
6
36
  ## 4.86.3 (2022-09-01)
7
37
 
8
38
  **Note:** Version bump only for package @patternfly/react-styles
@@ -6,6 +6,7 @@
6
6
  --pf-c-card--child--PaddingBottom: var(--pf-global--spacer--lg);
7
7
  --pf-c-card--child--PaddingLeft: var(--pf-global--spacer--lg);
8
8
  --pf-c-card--c-divider--child--PaddingTop: var(--pf-global--spacer--lg);
9
+ --pf-c-card__title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
9
10
  --pf-c-card__title--FontSize: var(--pf-global--FontSize--md);
10
11
  --pf-c-card__title--FontWeight: var(--pf-global--FontWeight--bold);
11
12
  --pf-c-card__title--not--last-child--PaddingBottom: var(--pf-global--spacer--md);
@@ -46,18 +46,19 @@
46
46
  --pf-c-log-viewer--m-line-numbers__main--before--BackgroundColor: var(--pf-global--BorderColor--100);
47
47
  --pf-c-log-viewer__list--Height: auto;
48
48
  --pf-c-log-viewer--m-line-numbers__list--Left: var(--pf-c-log-viewer__index--Width);
49
+ --pf-c-log-viewer__list--FontFamily: var(--pf-global--FontFamily--monospace);
50
+ --pf-c-log-viewer__list--FontSize: var(--pf-global--FontSize--sm);
49
51
  --pf-c-log-viewer__index--Display: none;
50
52
  --pf-c-log-viewer__index--Width: 4.0625rem;
51
53
  --pf-c-log-viewer__index--PaddingRight: var(--pf-global--spacer--xl);
52
54
  --pf-c-log-viewer__index--PaddingLeft: var(--pf-global--spacer--lg);
53
- --pf-c-log-viewer__index--FontFamily: var(--pf-global--FontFamily--monospace);
54
- --pf-c-log-viewer__index--FontSize: var(--pf-global--FontSize--sm);
55
55
  --pf-c-log-viewer__index--Color: var(--pf-global--Color--200);
56
56
  --pf-c-log-viewer__index--BackgroundColor: transparent;
57
+ --pf-c-log-viewer--line-number-chars: 4.4;
58
+ --pf-c-log-viewer--m-line-number-chars__index--PaddingRight: var(--pf-global--spacer--xs);
59
+ --pf-c-log-viewer--m-line-number-chars__index--Width: calc(1ch * var(--pf-c-log-viewer--line-number-chars) + var(--pf-c-log-viewer__index--PaddingRight) + var(--pf-c-log-viewer__index--PaddingLeft));
57
60
  --pf-c-log-viewer__text--PaddingRight: var(--pf-global--spacer--md);
58
61
  --pf-c-log-viewer__text--PaddingLeft: var(--pf-global--spacer--md);
59
- --pf-c-log-viewer__text--FontFamily: var(--pf-global--FontFamily--monospace);
60
- --pf-c-log-viewer__text--FontSize: var(--pf-global--FontSize--sm);
61
62
  --pf-c-log-viewer__text--Color: var(--pf-global--Color--100);
62
63
  --pf-c-log-viewer__text--WordBreak: break-all;
63
64
  --pf-c-log-viewer__text--WhiteSpace: break-spaces;
@@ -114,6 +115,10 @@
114
115
  content: "";
115
116
  background: var(--pf-c-log-viewer--m-line-numbers__main--before--BackgroundColor);
116
117
  }
118
+ .pf-c-log-viewer.pf-m-line-number-chars {
119
+ --pf-c-log-viewer__index--PaddingRight: var(--pf-c-log-viewer--m-line-number-chars__index--PaddingRight);
120
+ --pf-c-log-viewer__index--Width: var(--pf-c-log-viewer--m-line-number-chars__index--Width);
121
+ }
117
122
  .pf-c-log-viewer .pf-c-toolbar {
118
123
  --pf-c-toolbar--PaddingTop: var(--pf-c-log-viewer--c-toolbar--PaddingTop);
119
124
  --pf-c-toolbar--PaddingBottom: var(--pf-c-log-viewer--c-toolbar--PaddingBottom);
@@ -154,6 +159,8 @@
154
159
  .pf-c-log-viewer__list {
155
160
  position: relative;
156
161
  height: var(--pf-c-log-viewer__list--Height);
162
+ font-family: var(--pf-c-log-viewer__list--FontFamily);
163
+ font-size: var(--pf-c-log-viewer__list--FontSize);
157
164
  }
158
165
 
159
166
  .pf-c-log-viewer__list-item {
@@ -177,8 +184,8 @@
177
184
  width: var(--pf-c-log-viewer__index--Width);
178
185
  padding-right: var(--pf-c-log-viewer__index--PaddingRight);
179
186
  padding-left: var(--pf-c-log-viewer__index--PaddingLeft);
180
- font-family: var(--pf-c-log-viewer__index--FontFamily);
181
- font-size: var(--pf-c-log-viewer__index--FontSize);
187
+ font-family: var(--pf-c-log-viewer__index--FontFamily, inherit);
188
+ font-size: var(--pf-c-log-viewer__index--FontSize, inherit);
182
189
  color: var(--pf-c-log-viewer__index--Color);
183
190
  user-select: none;
184
191
  background-color: var(--pf-c-log-viewer__index--BackgroundColor);
@@ -188,8 +195,8 @@
188
195
  display: block;
189
196
  padding-right: var(--pf-c-log-viewer__text--PaddingRight);
190
197
  padding-left: var(--pf-c-log-viewer__text--PaddingLeft);
191
- font-family: var(--pf-c-log-viewer__text--FontFamily);
192
- font-size: var(--pf-c-log-viewer__text--FontSize);
198
+ font-family: var(--pf-c-log-viewer__text--FontFamily, inherit);
199
+ font-size: var(--pf-c-log-viewer__text--FontSize, inherit);
193
200
  color: var(--pf-c-log-viewer__text--Color);
194
201
  word-break: var(--pf-c-log-viewer__text--WordBreak);
195
202
  white-space: var(--pf-c-log-viewer__text--WhiteSpace);
@@ -17,6 +17,7 @@ declare const _default: {
17
17
  "wrapText": "pf-m-wrap-text",
18
18
  "nowrap": "pf-m-nowrap",
19
19
  "lineNumbers": "pf-m-line-numbers",
20
+ "lineNumberChars": "pf-m-line-number-chars",
20
21
  "match": "pf-m-match",
21
22
  "current": "pf-m-current"
22
23
  },
@@ -19,6 +19,7 @@ exports.default = {
19
19
  "wrapText": "pf-m-wrap-text",
20
20
  "nowrap": "pf-m-nowrap",
21
21
  "lineNumbers": "pf-m-line-numbers",
22
+ "lineNumberChars": "pf-m-line-number-chars",
22
23
  "match": "pf-m-match",
23
24
  "current": "pf-m-current"
24
25
  },
@@ -17,6 +17,7 @@ export default {
17
17
  "wrapText": "pf-m-wrap-text",
18
18
  "nowrap": "pf-m-nowrap",
19
19
  "lineNumbers": "pf-m-line-numbers",
20
+ "lineNumberChars": "pf-m-line-number-chars",
20
21
  "match": "pf-m-match",
21
22
  "current": "pf-m-current"
22
23
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "4.86.3",
3
+ "version": "4.86.6",
4
4
  "main": "dist/js/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "clean": "rimraf dist css"
20
20
  },
21
21
  "devDependencies": {
22
- "@patternfly/patternfly": "4.211.0",
22
+ "@patternfly/patternfly": "4.212.1",
23
23
  "camel-case": "^3.0.0",
24
24
  "css": "^2.2.3",
25
25
  "fs-extra": "^6.0.1",
@@ -29,5 +29,5 @@
29
29
  "typescript": "^4.7.4"
30
30
  },
31
31
  "license": "MIT",
32
- "gitHead": "07d9fc8ea68e953640e5d48c8693ec6865851bf1"
32
+ "gitHead": "93b27d3315b0cb48b257beee955780016df60719"
33
33
  }