@patternfly/react-styles 4.86.3 → 4.86.4

Sign up to get free protection for your applications and to get access to all the features.
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
+ ## 4.86.4 (2022-09-02)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-styles
9
+
10
+
11
+
12
+
13
+
6
14
  ## 4.86.3 (2022-09-01)
7
15
 
8
16
  **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.4",
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": "c1df72da34f893c6edb6d68d7bf2083bb2d7037c"
33
33
  }