@patternfly/react-styles 5.0.0-alpha.3 → 5.0.0-alpha.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,12 @@
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
+ # 5.0.0-alpha.4 (2023-03-02)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **core:** update core to alpha.24 ([#8768](https://github.com/patternfly/patternfly-react/issues/8768)) ([6dd5e01](https://github.com/patternfly/patternfly-react/commit/6dd5e01e16bc94fe4b954b79ba67adaaab9c7135))
11
+
6
12
  # 5.0.0-alpha.3 (2023-02-15)
7
13
 
8
14
  ### Bug Fixes
@@ -22,18 +22,19 @@
22
22
  --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--BackgroundColor--200);
23
23
  --pf-c-chip--m-draggable--BoxShadow: var(--pf-global--BoxShadow--sm);
24
24
  --pf-c-chip--m-draggable__icon--FontSize: var(--pf-global--icon--FontSize--sm);
25
- --pf-c-chip__text--FontSize: var(--pf-global--FontSize--xs);
25
+ --pf-c-chip__content--FontSize: var(--pf-global--FontSize--xs);
26
+ --pf-c-chip__content--ColumnGap: var(--pf-global--spacer--xs);
26
27
  --pf-c-chip__text--Color: var(--pf-global--Color--100);
27
28
  --pf-c-chip__text--MaxWidth: 16ch;
28
- --pf-c-chip__c-button--PaddingTop: var(--pf-global--spacer--xs);
29
- --pf-c-chip__c-button--PaddingRight: var(--pf-global--spacer--sm);
30
- --pf-c-chip__c-button--PaddingBottom: var(--pf-global--spacer--xs);
31
- --pf-c-chip__c-button--PaddingLeft: var(--pf-global--spacer--sm);
32
- --pf-c-chip__c-button--MarginTop: calc(var(--pf-c-chip--PaddingTop) * -1);
33
- --pf-c-chip__c-button--MarginRight: calc(var(--pf-c-chip--PaddingRight) / 2 * -1);
34
- --pf-c-chip__c-button--MarginBottom: calc(var(--pf-c-chip--PaddingBottom) * -1);
35
- --pf-c-chip__c-button--FontSize: var(--pf-global--FontSize--xs);
36
- --pf-c-chip__c-badge--MarginLeft: var(--pf-global--spacer--xs);
29
+ --pf-c-chip__actions--FontSize: var(--pf-global--FontSize--xs);
30
+ --pf-c-chip__actions--c-button--PaddingTop: var(--pf-global--spacer--xs);
31
+ --pf-c-chip__actions--c-button--PaddingRight: var(--pf-global--spacer--sm);
32
+ --pf-c-chip__actions--c-button--PaddingBottom: var(--pf-global--spacer--xs);
33
+ --pf-c-chip__actions--c-button--PaddingLeft: var(--pf-global--spacer--sm);
34
+ --pf-c-chip__actions--c-button--MarginTop: calc(var(--pf-c-chip--PaddingTop) * -1);
35
+ --pf-c-chip__actions--c-button--MarginRight: calc(var(--pf-c-chip--PaddingRight) / 2 * -1);
36
+ --pf-c-chip__actions--c-button--MarginBottom: calc(var(--pf-c-chip--PaddingBottom) * -1);
37
+ --pf-c-chip__actions--c-button--FontSize: var(--pf-global--FontSize--xs);
37
38
  --pf-c-chip__icon--MarginLeft: var(--pf-global--spacer--sm);
38
39
  color: var(--pf-global--Color--100);
39
40
  position: relative;
@@ -68,19 +69,6 @@
68
69
  .pf-c-chip.pf-m-draggable .pf-c-chip__icon {
69
70
  font-size: var(--pf-c-chip--m-draggable__icon--FontSize);
70
71
  }
71
- .pf-c-chip .pf-c-button {
72
- --pf-c-button--PaddingTop: var(--pf-c-chip__c-button--PaddingTop);
73
- --pf-c-button--PaddingRight: var(--pf-c-chip__c-button--PaddingRight);
74
- --pf-c-button--PaddingBottom: var(--pf-c-chip__c-button--PaddingBottom);
75
- --pf-c-button--PaddingLeft: var(--pf-c-chip__c-button--PaddingLeft);
76
- --pf-c-button--FontSize: var(--pf-c-chip__c-button--FontSize);
77
- margin-top: var(--pf-c-chip__c-button--MarginTop);
78
- margin-right: var(--pf-c-chip__c-button--MarginRight);
79
- margin-bottom: var(--pf-c-chip__c-button--MarginBottom);
80
- }
81
- .pf-c-chip .pf-c-badge {
82
- margin-left: var(--pf-c-chip__c-badge--MarginLeft);
83
- }
84
72
 
85
73
  .pf-c-chip__text {
86
74
  overflow: hidden;
@@ -88,7 +76,6 @@
88
76
  white-space: nowrap;
89
77
  position: relative;
90
78
  max-width: var(--pf-c-chip__text--MaxWidth);
91
- font-size: var(--pf-c-chip__text--FontSize);
92
79
  color: var(--pf-c-chip__text--Color);
93
80
  }
94
81
 
@@ -97,6 +84,28 @@
97
84
  margin-left: var(--pf-c-chip__icon--MarginLeft);
98
85
  }
99
86
 
87
+ .pf-c-chip__content {
88
+ display: flex;
89
+ align-items: center;
90
+ column-gap: var(--pf-c-chip__content--ColumnGap);
91
+ font-size: var(--pf-c-chip__content--FontSize);
92
+ }
93
+
94
+ .pf-c-chip__actions {
95
+ font-size: var(--pf-c-chip__actions--FontSize);
96
+ }
97
+ .pf-c-chip__actions .pf-c-button {
98
+ --pf-c-button--PaddingTop: var(--pf-c-chip__actions--c-button--PaddingTop);
99
+ --pf-c-button--PaddingRight: var(--pf-c-chip__actions--c-button--PaddingRight);
100
+ --pf-c-button--PaddingBottom: var(--pf-c-chip__actions--c-button--PaddingBottom);
101
+ --pf-c-button--PaddingLeft: var(--pf-c-chip__actions--c-button--PaddingLeft);
102
+ --pf-c-button--FontSize: var(--pf-c-chip__actions--c-button--FontSize);
103
+ margin-top: var(--pf-c-chip__actions--c-button--MarginTop);
104
+ margin-right: var(--pf-c-chip__actions--c-button--MarginRight);
105
+ margin-bottom: var(--pf-c-chip__actions--c-button--MarginBottom);
106
+ line-height: 1;
107
+ }
108
+
100
109
  :where(.pf-theme-dark) .pf-c-chip {
101
110
  --pf-c-chip--BackgroundColor: var(--pf-global--BackgroundColor--100);
102
111
  --pf-c-chip--before--BorderColor: var(--pf-global--BorderColor--100);
@@ -1,8 +1,9 @@
1
1
  import './chip.css';
2
2
  declare const _default: {
3
- "badge": "pf-c-badge",
4
3
  "button": "pf-c-button",
5
4
  "chip": "pf-c-chip",
5
+ "chipActions": "pf-c-chip__actions",
6
+ "chipContent": "pf-c-chip__content",
6
7
  "chipIcon": "pf-c-chip__icon",
7
8
  "chipText": "pf-c-chip__text",
8
9
  "modifiers": {
@@ -2,9 +2,10 @@
2
2
  exports.__esModule = true;
3
3
  require('./chip.css');
4
4
  exports.default = {
5
- "badge": "pf-c-badge",
6
5
  "button": "pf-c-button",
7
6
  "chip": "pf-c-chip",
7
+ "chipActions": "pf-c-chip__actions",
8
+ "chipContent": "pf-c-chip__content",
8
9
  "chipIcon": "pf-c-chip__icon",
9
10
  "chipText": "pf-c-chip__text",
10
11
  "modifiers": {
@@ -1,8 +1,9 @@
1
1
  import './chip.css';
2
2
  export default {
3
- "badge": "pf-c-badge",
4
3
  "button": "pf-c-button",
5
4
  "chip": "pf-c-chip",
5
+ "chipActions": "pf-c-chip__actions",
6
+ "chipContent": "pf-c-chip__content",
6
7
  "chipIcon": "pf-c-chip__icon",
7
8
  "chipText": "pf-c-chip__text",
8
9
  "modifiers": {
@@ -3,6 +3,7 @@
3
3
  --pf-c-label--PaddingRight: var(--pf-global--spacer--sm);
4
4
  --pf-c-label--PaddingBottom: var(--pf-global--spacer--xs);
5
5
  --pf-c-label--PaddingLeft: var(--pf-global--spacer--sm);
6
+ --pf-c-label--MaxWidth: 100%;
6
7
  --pf-c-label--BorderRadius: var(--pf-global--BorderRadius--lg);
7
8
  --pf-c-label--BackgroundColor: var(--pf-global--palette--black-150);
8
9
  --pf-c-label--Color: var(--pf-global--Color--100);
@@ -109,18 +110,18 @@
109
110
  --pf-c-label__content--MaxWidth: 100%;
110
111
  --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
111
112
  --pf-c-label--m-editable__content--MaxWidth: 16ch;
112
- --pf-c-label__text--MaxWidth: 16ch;
113
+ --pf-c-label__text--MaxWidth: 100%;
113
114
  --pf-c-label__icon--Color: var(--pf-global--Color--100);
114
115
  --pf-c-label__icon--MarginRight: var(--pf-global--spacer--xs);
115
- --pf-c-label__c-button--FontSize: var(--pf-global--FontSize--xs);
116
- --pf-c-label__c-button--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
117
- --pf-c-label__c-button--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);
118
- --pf-c-label__c-button--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
119
- --pf-c-label__c-button--MarginLeft: var(--pf-global--spacer--xs);
120
- --pf-c-label__c-button--PaddingTop: var(--pf-global--spacer--xs);
121
- --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
122
- --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
123
- --pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
116
+ --pf-c-label__actions--FontSize: var(--pf-global--FontSize--xs);
117
+ --pf-c-label__actions--MarginRight: calc(var(--pf-c-label__actions--c-button--PaddingRight) * -1);
118
+ --pf-c-label__actions--c-button--FontSize: var(--pf-global--FontSize--xs);
119
+ --pf-c-label__actions--c-button--MarginTop: calc(var(--pf-c-label__actions--c-button--PaddingTop) * -1);
120
+ --pf-c-label__actions--c-button--MarginBottom: calc(var(--pf-c-label__actions--c-button--PaddingBottom) * -1);
121
+ --pf-c-label__actions--c-button--PaddingTop: var(--pf-global--spacer--xs);
122
+ --pf-c-label__actions--c-button--PaddingRight: var(--pf-global--spacer--sm);
123
+ --pf-c-label__actions--c-button--PaddingBottom: var(--pf-global--spacer--xs);
124
+ --pf-c-label__actions--c-button--PaddingLeft: var(--pf-global--spacer--sm);
124
125
  --pf-c-label--m-editable--Cursor: pointer;
125
126
  --pf-c-label--m-editable--TextDecoration: underline;
126
127
  --pf-c-label--m-editable--TextDecorationStyle: dashed;
@@ -141,6 +142,7 @@
141
142
  --pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
142
143
  --pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
143
144
  position: relative;
145
+ max-width: var(--pf-c-label--MaxWidth);
144
146
  padding: var(--pf-c-label--PaddingTop) var(--pf-c-label--PaddingRight) var(--pf-c-label--PaddingBottom) var(--pf-c-label--PaddingLeft);
145
147
  font-size: var(--pf-c-label--FontSize);
146
148
  color: var(--pf-c-label--Color);
@@ -312,17 +314,6 @@
312
314
  --pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
313
315
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
314
316
  }
315
- .pf-c-label .pf-c-button {
316
- --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
317
- --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
318
- --pf-c-button--PaddingRight: var(--pf-c-label__c-button--PaddingRight);
319
- --pf-c-button--PaddingBottom: var(--pf-c-label__c-button--PaddingBottom);
320
- --pf-c-button--PaddingLeft: var(--pf-c-label__c-button--PaddingLeft);
321
- margin-top: var(--pf-c-label__c-button--MarginTop);
322
- margin-right: var(--pf-c-label__c-button--MarginRight);
323
- margin-bottom: var(--pf-c-label__c-button--MarginBottom);
324
- margin-left: var(--pf-c-label__c-button--MarginLeft);
325
- }
326
317
  .pf-c-label.pf-m-overflow, .pf-c-label.pf-m-add {
327
318
  --pf-c-label__content--Color: var(--pf-c-label--m-overflow__content--Color);
328
319
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-overflow__content--BackgroundColor);
@@ -348,10 +339,8 @@
348
339
  }
349
340
 
350
341
  .pf-c-label__content {
351
- overflow: hidden;
352
- text-overflow: ellipsis;
353
- white-space: nowrap;
354
342
  max-width: var(--pf-c-label__content--MaxWidth);
343
+ overflow: hidden;
355
344
  color: var(--pf-c-label__content--Color);
356
345
  background-color: var(--pf-c-label__content--BackgroundColor);
357
346
  border-width: 0;
@@ -367,9 +356,17 @@
367
356
  border: var(--pf-c-label__content--before--BorderWidth) solid var(--pf-c-label__content--before--BorderColor);
368
357
  border-radius: var(--pf-c-label--BorderRadius);
369
358
  }
359
+ input.pf-c-label__content {
360
+ overflow: hidden;
361
+ text-overflow: ellipsis;
362
+ white-space: nowrap;
363
+ }
364
+
370
365
  a.pf-c-label__content,
371
366
  button.pf-c-label__content {
367
+ padding: 0;
372
368
  cursor: pointer;
369
+ background-color: transparent;
373
370
  border: none;
374
371
  }
375
372
  a.pf-c-label__content, a.pf-c-label__content:hover, a.pf-c-label__content:focus,
@@ -394,6 +391,20 @@ button.pf-c-label__content:focus {
394
391
  color: var(--pf-c-label__icon--Color);
395
392
  }
396
393
 
394
+ .pf-c-label__actions {
395
+ margin-right: var(--pf-c-label__actions--MarginRight);
396
+ font-size: var(--pf-c-label__actions--FontSize);
397
+ }
398
+ .pf-c-label__actions .pf-c-button {
399
+ --pf-c-button--FontSize: var(--pf-c-label__actions--c-button--FontSize);
400
+ --pf-c-button--PaddingTop: var(--pf-c-label__actions--c-button--PaddingTop);
401
+ --pf-c-button--PaddingRight: var(--pf-c-label__actions--c-button--PaddingRight);
402
+ --pf-c-button--PaddingBottom: var(--pf-c-label__actions--c-button--PaddingBottom);
403
+ --pf-c-button--PaddingLeft: var(--pf-c-label__actions--c-button--PaddingLeft);
404
+ margin-top: var(--pf-c-label__actions--c-button--MarginTop);
405
+ margin-bottom: var(--pf-c-label__actions--c-button--MarginBottom);
406
+ }
407
+
397
408
  :where(.pf-theme-dark) .pf-c-label {
398
409
  --pf-c-label--BackgroundColor: var(--pf-global--BackgroundColor--300);
399
410
  --pf-c-label--m-blue--BackgroundColor: var(--pf-global--BackgroundColor--300);
@@ -2,6 +2,7 @@ import './label.css';
2
2
  declare const _default: {
3
3
  "button": "pf-c-button",
4
4
  "label": "pf-c-label",
5
+ "labelActions": "pf-c-label__actions",
5
6
  "labelContent": "pf-c-label__content",
6
7
  "labelIcon": "pf-c-label__icon",
7
8
  "labelText": "pf-c-label__text",
@@ -4,6 +4,7 @@ require('./label.css');
4
4
  exports.default = {
5
5
  "button": "pf-c-button",
6
6
  "label": "pf-c-label",
7
+ "labelActions": "pf-c-label__actions",
7
8
  "labelContent": "pf-c-label__content",
8
9
  "labelIcon": "pf-c-label__icon",
9
10
  "labelText": "pf-c-label__text",
@@ -2,6 +2,7 @@ import './label.css';
2
2
  export default {
3
3
  "button": "pf-c-button",
4
4
  "label": "pf-c-label",
5
+ "labelActions": "pf-c-label__actions",
5
6
  "labelContent": "pf-c-label__content",
6
7
  "labelIcon": "pf-c-label__icon",
7
8
  "labelText": "pf-c-label__text",
@@ -34,9 +34,9 @@
34
34
  --pf-c-modal-box__body--PaddingLeft: var(--pf-global--spacer--lg);
35
35
  --pf-c-modal-box__body--last-child--PaddingBottom: var(--pf-global--spacer--lg);
36
36
  --pf-c-modal-box__header--body--PaddingTop: var(--pf-global--spacer--md);
37
- --pf-c-modal-box--c-button--Top: calc(var(--pf-global--spacer--lg));
38
- --pf-c-modal-box--c-button--Right: var(--pf-global--spacer--md);
39
- --pf-c-modal-box--c-button--sibling--MarginRight: calc(var(--pf-global--spacer--xl) + var(--pf-global--spacer--sm));
37
+ --pf-c-modal-box__close--Top: calc(var(--pf-global--spacer--lg));
38
+ --pf-c-modal-box__close--Right: var(--pf-global--spacer--md);
39
+ --pf-c-modal-box__close--sibling--MarginRight: calc(var(--pf-global--spacer--xl) + var(--pf-global--spacer--sm));
40
40
  --pf-c-modal-box__footer--PaddingTop: var(--pf-global--spacer--lg);
41
41
  --pf-c-modal-box__footer--PaddingRight: var(--pf-global--spacer--lg);
42
42
  --pf-c-modal-box__footer--PaddingBottom: var(--pf-global--spacer--lg);
@@ -88,13 +88,14 @@
88
88
  .pf-c-modal-box.pf-m-info {
89
89
  --pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-info__title-icon--Color);
90
90
  }
91
- .pf-c-modal-box > .pf-c-button {
91
+
92
+ .pf-c-modal-box__close {
92
93
  position: absolute;
93
- top: var(--pf-c-modal-box--c-button--Top);
94
- right: var(--pf-c-modal-box--c-button--Right);
94
+ top: var(--pf-c-modal-box__close--Top);
95
+ right: var(--pf-c-modal-box__close--Right);
95
96
  }
96
- .pf-c-modal-box > .pf-c-button + * {
97
- margin-right: var(--pf-c-modal-box--c-button--sibling--MarginRight);
97
+ .pf-c-modal-box__close + * {
98
+ margin-right: var(--pf-c-modal-box__close--sibling--MarginRight);
98
99
  }
99
100
 
100
101
  .pf-c-modal-box__header {
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  "button": "pf-c-button",
4
4
  "modalBox": "pf-c-modal-box",
5
5
  "modalBoxBody": "pf-c-modal-box__body",
6
+ "modalBoxClose": "pf-c-modal-box__close",
6
7
  "modalBoxDescription": "pf-c-modal-box__description",
7
8
  "modalBoxFooter": "pf-c-modal-box__footer",
8
9
  "modalBoxHeader": "pf-c-modal-box__header",
@@ -5,6 +5,7 @@ exports.default = {
5
5
  "button": "pf-c-button",
6
6
  "modalBox": "pf-c-modal-box",
7
7
  "modalBoxBody": "pf-c-modal-box__body",
8
+ "modalBoxClose": "pf-c-modal-box__close",
8
9
  "modalBoxDescription": "pf-c-modal-box__description",
9
10
  "modalBoxFooter": "pf-c-modal-box__footer",
10
11
  "modalBoxHeader": "pf-c-modal-box__header",
@@ -3,6 +3,7 @@ export default {
3
3
  "button": "pf-c-button",
4
4
  "modalBox": "pf-c-modal-box",
5
5
  "modalBoxBody": "pf-c-modal-box__body",
6
+ "modalBoxClose": "pf-c-modal-box__close",
6
7
  "modalBoxDescription": "pf-c-modal-box__description",
7
8
  "modalBoxFooter": "pf-c-modal-box__footer",
8
9
  "modalBoxHeader": "pf-c-modal-box__header",
@@ -34,15 +34,13 @@
34
34
  --pf-c-popover__arrow--m-left--TranslateX: 50%;
35
35
  --pf-c-popover__arrow--m-left--TranslateY: -50%;
36
36
  --pf-c-popover__arrow--m-left--Rotate: 45deg;
37
- --pf-c-popover--c-button--MarginLeft: var(--pf-global--spacer--sm);
38
- --pf-c-popover--c-button--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
39
- --pf-c-popover--c-button--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
40
- --pf-c-popover--c-button--sibling--PaddingRight: var(--pf-global--spacer--2xl);
41
- --pf-c-popover--c-title--MarginBottom: var(--pf-global--spacer--sm);
42
- --pf-c-popover__title--MarginBottom: var(--pf-global--spacer--sm);
43
- --pf-c-popover__title--LineHeight: var(--pf-global--LineHeight--md);
44
- --pf-c-popover__title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
45
- --pf-c-popover__title--FontSize: var(--pf-global--FontSize--md);
37
+ --pf-c-popover__close--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
38
+ --pf-c-popover__close--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
39
+ --pf-c-popover__close--sibling--PaddingRight: var(--pf-global--spacer--2xl);
40
+ --pf-c-popover__header--MarginBottom: var(--pf-global--spacer--sm);
41
+ --pf-c-popover__title-text--LineHeight: var(--pf-global--LineHeight--md);
42
+ --pf-c-popover__title-text--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
43
+ --pf-c-popover__title-text--FontSize: var(--pf-global--FontSize--md);
46
44
  --pf-c-popover__title-icon--MarginRight: var(--pf-global--spacer--sm);
47
45
  --pf-c-popover__title-icon--Color: var(--pf-global--Color--100);
48
46
  --pf-c-popover__footer--MarginTop: var(--pf-global--spacer--md);
@@ -122,16 +120,14 @@
122
120
  padding: var(--pf-c-popover__content--PaddingTop) var(--pf-c-popover__content--PaddingRight) var(--pf-c-popover__content--PaddingBottom) var(--pf-c-popover__content--PaddingLeft);
123
121
  background-color: var(--pf-c-popover__content--BackgroundColor);
124
122
  }
125
- .pf-c-popover__content > .pf-c-title {
126
- margin-bottom: var(--pf-c-popover--c-title--MarginBottom);
127
- }
128
- .pf-c-popover__content > .pf-c-button {
123
+
124
+ .pf-c-popover__close {
129
125
  position: absolute;
130
- top: var(--pf-c-popover--c-button--Top);
131
- right: var(--pf-c-popover--c-button--Right);
126
+ top: var(--pf-c-popover__close--Top);
127
+ right: var(--pf-c-popover__close--Right);
132
128
  }
133
- .pf-c-popover__content > .pf-c-button + * {
134
- padding-right: var(--pf-c-popover--c-button--sibling--PaddingRight);
129
+ .pf-c-popover__close + * {
130
+ padding-right: var(--pf-c-popover__close--sibling--PaddingRight);
135
131
  }
136
132
 
137
133
  .pf-c-popover__arrow {
@@ -143,15 +139,13 @@
143
139
  box-shadow: var(--pf-c-popover__arrow--BoxShadow);
144
140
  }
145
141
 
146
- .pf-c-popover__title {
147
- flex: 0 0 auto;
148
- margin-bottom: var(--pf-c-popover__title--MarginBottom);
149
- font-family: var(--pf-c-popover__title--FontFamily);
150
- font-size: var(--pf-c-popover__title--FontSize);
151
- line-height: var(--pf-c-popover__title--LineHeight);
142
+ .pf-c-popover__header {
143
+ margin-bottom: var(--pf-c-popover__header--MarginBottom);
152
144
  }
153
- .pf-c-popover__title.pf-m-icon {
145
+
146
+ .pf-c-popover__title {
154
147
  display: flex;
148
+ flex: 0 0 auto;
155
149
  }
156
150
 
157
151
  .pf-c-popover__title-icon {
@@ -160,6 +154,9 @@
160
154
  }
161
155
 
162
156
  .pf-c-popover__title-text {
157
+ font-family: var(--pf-c-popover__title-text--FontFamily);
158
+ font-size: var(--pf-c-popover__title-text--FontSize);
159
+ line-height: var(--pf-c-popover__title-text--LineHeight);
163
160
  color: var(--pf-c-popover__title-text--Color, inherit);
164
161
  }
165
162
 
@@ -1,6 +1,5 @@
1
1
  import './popover.css';
2
2
  declare const _default: {
3
- "button": "pf-c-button",
4
3
  "modifiers": {
5
4
  "noPadding": "pf-m-no-padding",
6
5
  "widthAuto": "pf-m-width-auto",
@@ -20,18 +19,18 @@ declare const _default: {
20
19
  "warning": "pf-m-warning",
21
20
  "success": "pf-m-success",
22
21
  "default": "pf-m-default",
23
- "info": "pf-m-info",
24
- "icon": "pf-m-icon"
22
+ "info": "pf-m-info"
25
23
  },
26
24
  "popover": "pf-c-popover",
27
25
  "popoverArrow": "pf-c-popover__arrow",
28
26
  "popoverBody": "pf-c-popover__body",
27
+ "popoverClose": "pf-c-popover__close",
29
28
  "popoverContent": "pf-c-popover__content",
30
29
  "popoverFooter": "pf-c-popover__footer",
30
+ "popoverHeader": "pf-c-popover__header",
31
31
  "popoverTitle": "pf-c-popover__title",
32
32
  "popoverTitleIcon": "pf-c-popover__title-icon",
33
33
  "popoverTitleText": "pf-c-popover__title-text",
34
- "themeDark": "pf-theme-dark",
35
- "title": "pf-c-title"
34
+ "themeDark": "pf-theme-dark"
36
35
  };
37
36
  export default _default;
@@ -2,7 +2,6 @@
2
2
  exports.__esModule = true;
3
3
  require('./popover.css');
4
4
  exports.default = {
5
- "button": "pf-c-button",
6
5
  "modifiers": {
7
6
  "noPadding": "pf-m-no-padding",
8
7
  "widthAuto": "pf-m-width-auto",
@@ -22,17 +21,17 @@ exports.default = {
22
21
  "warning": "pf-m-warning",
23
22
  "success": "pf-m-success",
24
23
  "default": "pf-m-default",
25
- "info": "pf-m-info",
26
- "icon": "pf-m-icon"
24
+ "info": "pf-m-info"
27
25
  },
28
26
  "popover": "pf-c-popover",
29
27
  "popoverArrow": "pf-c-popover__arrow",
30
28
  "popoverBody": "pf-c-popover__body",
29
+ "popoverClose": "pf-c-popover__close",
31
30
  "popoverContent": "pf-c-popover__content",
32
31
  "popoverFooter": "pf-c-popover__footer",
32
+ "popoverHeader": "pf-c-popover__header",
33
33
  "popoverTitle": "pf-c-popover__title",
34
34
  "popoverTitleIcon": "pf-c-popover__title-icon",
35
35
  "popoverTitleText": "pf-c-popover__title-text",
36
- "themeDark": "pf-theme-dark",
37
- "title": "pf-c-title"
36
+ "themeDark": "pf-theme-dark"
38
37
  };
@@ -1,6 +1,5 @@
1
1
  import './popover.css';
2
2
  export default {
3
- "button": "pf-c-button",
4
3
  "modifiers": {
5
4
  "noPadding": "pf-m-no-padding",
6
5
  "widthAuto": "pf-m-width-auto",
@@ -20,17 +19,17 @@ export default {
20
19
  "warning": "pf-m-warning",
21
20
  "success": "pf-m-success",
22
21
  "default": "pf-m-default",
23
- "info": "pf-m-info",
24
- "icon": "pf-m-icon"
22
+ "info": "pf-m-info"
25
23
  },
26
24
  "popover": "pf-c-popover",
27
25
  "popoverArrow": "pf-c-popover__arrow",
28
26
  "popoverBody": "pf-c-popover__body",
27
+ "popoverClose": "pf-c-popover__close",
29
28
  "popoverContent": "pf-c-popover__content",
30
29
  "popoverFooter": "pf-c-popover__footer",
30
+ "popoverHeader": "pf-c-popover__header",
31
31
  "popoverTitle": "pf-c-popover__title",
32
32
  "popoverTitleIcon": "pf-c-popover__title-icon",
33
33
  "popoverTitleText": "pf-c-popover__title-text",
34
- "themeDark": "pf-theme-dark",
35
- "title": "pf-c-title"
34
+ "themeDark": "pf-theme-dark"
36
35
  };
@@ -4,8 +4,8 @@
4
4
  --pf-c-progress__bar--Height: var(--pf-global--spacer--md);
5
5
  --pf-c-progress__bar--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
6
6
  --pf-c-progress__measure--m-static-width--MinWidth: 4.5ch;
7
+ --pf-c-progress__status--Gap: var(--pf-global--spacer--sm);
7
8
  --pf-c-progress__status-icon--Color: var(--pf-global--Color--100);
8
- --pf-c-progress__status-icon--MarginLeft: var(--pf-global--spacer--sm);
9
9
  --pf-c-progress__bar--before--Opacity: .2;
10
10
  --pf-c-progress__indicator--Height: var(--pf-c-progress__bar--Height);
11
11
  --pf-c-progress__indicator--BackgroundColor: var(--pf-c-progress__bar--before--BackgroundColor);
@@ -118,14 +118,17 @@
118
118
  }
119
119
 
120
120
  .pf-c-progress__status {
121
+ display: flex;
122
+ align-items: flex-start;
123
+ justify-content: flex-end;
121
124
  grid-column: 2/3;
122
125
  grid-row: 1/2;
123
126
  text-align: right;
124
127
  word-break: break-word;
128
+ gap: var(--pf-c-progress__status--Gap);
125
129
  }
126
130
 
127
131
  .pf-c-progress__status-icon {
128
- margin-left: var(--pf-c-progress__status-icon--MarginLeft);
129
132
  color: var(--pf-c-progress__status-icon--Color);
130
133
  }
131
134
 
@@ -12,10 +12,20 @@
12
12
  --pf-c-table--m-tree-view__toggle--Left: var(--pf-c-table__tree-view-main--PaddingLeft);
13
13
  --pf-c-table--m-tree-view__toggle--TranslateX: -100%;
14
14
  --pf-c-table--m-tree-view__toggle__toggle-icon--MinWidth: var(--pf-global--FontSize--md);
15
+ --pf-c-table--m-no-inset__tree-view-main--PaddingLeft: 0;
16
+ --pf-c-table--m-no-inset__tree-view-main--MarginLeft: 0;
15
17
  }
16
18
  .pf-c-table.pf-m-tree-view > tbody > tr {
17
19
  --pf-c-table--m-tree-view__toggle--Left: var(--pf-c-table__tree-view-main--PaddingLeft);
18
20
  }
21
+ .pf-c-table.pf-m-tree-view > tbody > tr.pf-m-no-inset {
22
+ --pf-c-table__tree-view-main--PaddingLeft: var(--pf-c-table--m-no-inset__tree-view-main--PaddingLeft);
23
+ --pf-c-table__tree-view-main--MarginLeft: var(--pf-c-table--m-no-inset__tree-view-main--MarginLeft);
24
+ }
25
+ .pf-c-table.pf-m-tree-view.pf-m-no-inset {
26
+ --pf-c-table__tree-view-main--PaddingLeft: var(--pf-c-table--m-no-inset__tree-view-main--PaddingLeft);
27
+ --pf-c-table__tree-view-main--MarginLeft: var(--pf-c-table--m-no-inset__tree-view-main--MarginLeft);
28
+ }
19
29
  .pf-c-table.pf-m-tree-view tr[aria-level="2"] {
20
30
  --pf-c-table__tree-view-main--PaddingLeft: calc(var(--pf-c-table__tree-view-main--nested-indent--base) * 1 + var(--pf-c-table__tree-view-main--indent--base));
21
31
  }
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  "dropdown": "pf-c-dropdown",
4
4
  "modifiers": {
5
5
  "treeView": "pf-m-tree-view",
6
+ "noInset": "pf-m-no-inset",
6
7
  "treeViewGrid": "pf-m-tree-view-grid",
7
8
  "treeViewDetailsExpanded": "pf-m-tree-view-details-expanded",
8
9
  "treeViewGridMd": "pf-m-tree-view-grid-md",
@@ -5,6 +5,7 @@ exports.default = {
5
5
  "dropdown": "pf-c-dropdown",
6
6
  "modifiers": {
7
7
  "treeView": "pf-m-tree-view",
8
+ "noInset": "pf-m-no-inset",
8
9
  "treeViewGrid": "pf-m-tree-view-grid",
9
10
  "treeViewDetailsExpanded": "pf-m-tree-view-details-expanded",
10
11
  "treeViewGridMd": "pf-m-tree-view-grid-md",
@@ -3,6 +3,7 @@ export default {
3
3
  "dropdown": "pf-c-dropdown",
4
4
  "modifiers": {
5
5
  "treeView": "pf-m-tree-view",
6
+ "noInset": "pf-m-no-inset",
6
7
  "treeViewGrid": "pf-m-tree-view-grid",
7
8
  "treeViewDetailsExpanded": "pf-m-tree-view-details-expanded",
8
9
  "treeViewGridMd": "pf-m-tree-view-grid-md",
@@ -768,6 +768,10 @@
768
768
  vertical-align: middle;
769
769
  }
770
770
 
771
+ .pf-c-table__action {
772
+ text-align: right;
773
+ }
774
+
771
775
  .pf-c-table__inline-edit-action {
772
776
  --pf-c-table--cell--PaddingLeft: 0;
773
777
  --pf-c-table--cell--PaddingRight: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "5.0.0-alpha.3",
3
+ "version": "5.0.0-alpha.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": "5.0.0-alpha.18",
22
+ "@patternfly/patternfly": "5.0.0-alpha.24",
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": "ac3634f9fe9522d2101596a3ff299278194acc15"
32
+ "gitHead": "1686e14afb758f8ce45881ca0cdab6bc0ea1c403"
33
33
  }