@patternfly/react-styles 5.0.0-alpha.3 → 5.0.0-alpha.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/css/components/AboutModalBox/about-modal-box.css +7 -7
  3. package/css/components/Alert/alert.css +3 -3
  4. package/css/components/Banner/banner.css +14 -14
  5. package/css/components/Banner/banner.d.ts +5 -5
  6. package/css/components/Banner/banner.js +5 -5
  7. package/css/components/Banner/banner.mjs +5 -5
  8. package/css/components/CalendarMonth/calendar-month.css +1 -1
  9. package/css/components/Card/card.css +12 -10
  10. package/css/components/Card/card.d.ts +1 -0
  11. package/css/components/Card/card.js +1 -0
  12. package/css/components/Card/card.mjs +1 -0
  13. package/css/components/Chip/chip.css +33 -24
  14. package/css/components/Chip/chip.d.ts +2 -1
  15. package/css/components/Chip/chip.js +2 -1
  16. package/css/components/Chip/chip.mjs +2 -1
  17. package/css/components/ChipGroup/chip-group.css +4 -4
  18. package/css/components/Content/content.css +5 -5
  19. package/css/components/DataList/data-list-grid.css +7 -7
  20. package/css/components/DataList/data-list.css +10 -10
  21. package/css/components/DatePicker/date-picker.css +0 -8
  22. package/css/components/DatePicker/date-picker.d.ts +0 -1
  23. package/css/components/DatePicker/date-picker.js +0 -1
  24. package/css/components/DatePicker/date-picker.mjs +0 -1
  25. package/css/components/DescriptionList/description-list.css +7 -7
  26. package/css/components/Divider/divider.css +2 -2
  27. package/css/components/Drawer/drawer.css +2 -2
  28. package/css/components/DualListSelector/dual-list-selector.css +1 -1
  29. package/css/components/EmptyState/empty-state.css +2 -2
  30. package/css/components/Form/form.css +12 -12
  31. package/css/components/FormControl/form-control.css +2 -5
  32. package/css/components/HelperText/helper-text.css +4 -0
  33. package/css/components/HelperText/helper-text.d.ts +1 -0
  34. package/css/components/HelperText/helper-text.js +1 -0
  35. package/css/components/HelperText/helper-text.mjs +1 -0
  36. package/css/components/Hint/hint.css +2 -2
  37. package/css/components/InputGroup/input-group.css +61 -85
  38. package/css/components/InputGroup/input-group.d.ts +4 -2
  39. package/css/components/InputGroup/input-group.js +4 -2
  40. package/css/components/InputGroup/input-group.mjs +4 -2
  41. package/css/components/Label/label.css +41 -30
  42. package/css/components/Label/label.d.ts +1 -0
  43. package/css/components/Label/label.js +1 -0
  44. package/css/components/Label/label.mjs +1 -0
  45. package/css/components/LabelGroup/label-group.css +2 -2
  46. package/css/components/Login/login.css +10 -10
  47. package/css/components/Masthead/masthead.css +4 -4
  48. package/css/components/Menu/menu.css +6 -6
  49. package/css/components/MenuToggle/menu-toggle.css +1 -1
  50. package/css/components/ModalBox/modal-box.css +9 -8
  51. package/css/components/ModalBox/modal-box.d.ts +1 -0
  52. package/css/components/ModalBox/modal-box.js +1 -0
  53. package/css/components/ModalBox/modal-box.mjs +1 -0
  54. package/css/components/MultipleFileUpload/multiple-file-upload.css +6 -6
  55. package/css/components/Nav/nav.css +1 -1
  56. package/css/components/NotificationDrawer/notification-drawer.css +3 -3
  57. package/css/components/OptionsMenu/options-menu.css +0 -5
  58. package/css/components/Page/page.css +11 -11
  59. package/css/components/Popover/popover.css +23 -24
  60. package/css/components/Popover/popover.d.ts +4 -5
  61. package/css/components/Popover/popover.js +4 -5
  62. package/css/components/Popover/popover.mjs +4 -5
  63. package/css/components/Progress/progress.css +13 -10
  64. package/css/components/ProgressStepper/progress-stepper.css +5 -5
  65. package/css/components/SearchInput/search-input.css +2 -2
  66. package/css/components/Select/select.css +1 -1
  67. package/css/components/Sidebar/sidebar.css +69 -26
  68. package/css/components/Sidebar/sidebar.d.ts +2 -0
  69. package/css/components/Sidebar/sidebar.js +2 -0
  70. package/css/components/Sidebar/sidebar.mjs +2 -0
  71. package/css/components/SimpleList/simple-list.css +1 -1
  72. package/css/components/Spinner/spinner.css +4 -4
  73. package/css/components/Table/table-scrollable.css +31 -26
  74. package/css/components/Table/table-scrollable.d.ts +3 -2
  75. package/css/components/Table/table-scrollable.js +3 -2
  76. package/css/components/Table/table-scrollable.mjs +3 -2
  77. package/css/components/Table/table-tree-view.css +10 -0
  78. package/css/components/Table/table-tree-view.d.ts +1 -0
  79. package/css/components/Table/table-tree-view.js +1 -0
  80. package/css/components/Table/table-tree-view.mjs +1 -0
  81. package/css/components/Table/table.css +7 -2
  82. package/css/components/TextInputGroup/text-input-group.css +2 -2
  83. package/css/components/Tile/tile.css +1 -1
  84. package/css/components/Timestamp/timestamp.css +3 -3
  85. package/css/components/Toolbar/toolbar.css +13 -6
  86. package/css/components/Wizard/wizard.css +14 -1
  87. package/css/components/Wizard/wizard.d.ts +1 -0
  88. package/css/components/Wizard/wizard.js +1 -0
  89. package/css/components/Wizard/wizard.mjs +1 -0
  90. package/css/docs/components/Table/examples/Table.css +4 -0
  91. package/css/layouts/Gallery/gallery.css +1 -1
  92. package/css/layouts/Grid/grid.css +2 -2
  93. package/package.json +3 -3
@@ -1,11 +1,13 @@
1
1
  import './input-group.css';
2
2
  export default {
3
- "formControl": "pf-c-form-control",
4
3
  "inputGroup": "pf-c-input-group",
4
+ "inputGroupItem": "pf-c-input-group__item",
5
5
  "inputGroupText": "pf-c-input-group__text",
6
6
  "modifiers": {
7
+ "box": "pf-m-box",
7
8
  "plain": "pf-m-plain",
8
- "disabled": "pf-m-disabled"
9
+ "disabled": "pf-m-disabled",
10
+ "fill": "pf-m-fill"
9
11
  },
10
12
  "themeDark": "pf-theme-dark"
11
13
  };
@@ -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);
@@ -285,12 +287,6 @@
285
287
  }
286
288
 
287
289
  .pf-c-label.pf-m-editable {
288
- text-decoration: var(--pf-c-label--m-editable--TextDecoration);
289
- cursor: var(--pf-c-label--m-editable--Cursor);
290
- text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
291
- text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
292
- text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
293
- text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
294
290
  --pf-c-label__content--MaxWidth: var(--pf-c-label--m-editable__content--MaxWidth);
295
291
  --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
296
292
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable__content--before--BorderColor);
@@ -300,6 +296,12 @@
300
296
  --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-editable__content--focus--before--BorderColor);
301
297
  --pf-c-label--m-outline__content--link--hover--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
302
298
  --pf-c-label--m-outline__content--link--focus--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
299
+ text-decoration: var(--pf-c-label--m-editable--TextDecoration);
300
+ text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
301
+ text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
302
+ text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
303
+ text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
304
+ cursor: var(--pf-c-label--m-editable--Cursor);
303
305
  }
304
306
  .pf-c-label.pf-m-editable:hover {
305
307
  --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
@@ -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-label-group__textarea--PaddingBottom: 0;
35
35
  --pf-c-label-group__textarea--PaddingLeft: var(--pf-global--spacer--xs);
36
36
  display: inline-flex;
37
- align-items: center;
38
37
  row-gap: var(--pf-c-label-group--RowGap);
39
38
  column-gap: var(--pf-c-label-group--ColumnGap);
39
+ align-items: center;
40
40
  }
41
41
  .pf-c-label-group.pf-m-category {
42
42
  padding-top: var(--pf-c-label-group--m-category--PaddingTop);
@@ -90,9 +90,9 @@
90
90
  display: flex;
91
91
  flex: 1;
92
92
  flex-wrap: wrap;
93
- align-items: baseline;
94
93
  row-gap: var(--pf-c-label-group__main--RowGap);
95
94
  column-gap: var(--pf-c-label-group__main--ColumnGap);
95
+ align-items: baseline;
96
96
  }
97
97
 
98
98
  .pf-c-label-group__list {
@@ -157,10 +157,10 @@
157
157
  @media (min-width: 1200px) {
158
158
  .pf-c-login__container {
159
159
  display: grid;
160
- justify-content: center;
161
- grid-column-gap: var(--pf-c-login__container--xl--GridColumnGap);
162
- grid-template-columns: var(--pf-c-login__container--xl--GridTemplateColumns);
163
160
  grid-template-areas: "main header" "main footer" "main .";
161
+ grid-template-columns: var(--pf-c-login__container--xl--GridTemplateColumns);
162
+ grid-column-gap: var(--pf-c-login__container--xl--GridColumnGap);
163
+ justify-content: center;
164
164
  padding-right: var(--pf-c-login__container--PaddingRight);
165
165
  padding-left: var(--pf-c-login__container--PaddingLeft);
166
166
  }
@@ -182,10 +182,10 @@
182
182
  }
183
183
 
184
184
  .pf-c-login__main {
185
+ grid-area: main;
185
186
  align-self: start;
186
187
  margin-bottom: var(--pf-c-login__main--MarginBottom);
187
188
  background-color: var(--pf-c-login__main--BackgroundColor);
188
- grid-area: main;
189
189
  }
190
190
  .pf-c-login__main > :first-child:not(.pf-c-login__main-header) {
191
191
  padding-top: var(--pf-c-login__main-header--PaddingTop);
@@ -197,8 +197,8 @@
197
197
  .pf-c-login__main-header {
198
198
  display: grid;
199
199
  grid-template-columns: 100%;
200
- column-gap: var(--pf-c-login__main-header--ColumnGap);
201
200
  row-gap: var(--pf-c-login__main-header--RowGap);
201
+ column-gap: var(--pf-c-login__main-header--ColumnGap);
202
202
  align-items: center;
203
203
  padding: var(--pf-c-login__main-header--PaddingTop) var(--pf-c-login__main-header--PaddingRight) var(--pf-c-login__main-header--PaddingBottom) var(--pf-c-login__main-header--PaddingLeft);
204
204
  }
@@ -210,26 +210,26 @@
210
210
 
211
211
  .pf-c-login__main-header-utilities,
212
212
  .pf-c-login__main-header .pf-c-dropdown {
213
- grid-column: auto;
214
213
  grid-row: auto;
214
+ grid-column: auto;
215
215
  }
216
216
  @media (min-width: 768px) {
217
217
  .pf-c-login__main-header-utilities,
218
218
  .pf-c-login__main-header .pf-c-dropdown {
219
- grid-column: 2/3;
220
219
  grid-row: 1;
220
+ grid-column: 2/3;
221
221
  }
222
222
  }
223
223
 
224
224
  .pf-c-login__main-header-utilities .pf-c-dropdown {
225
- grid-column: auto;
226
225
  grid-row: auto;
226
+ grid-column: auto;
227
227
  }
228
228
 
229
229
  .pf-c-login__main-header-desc {
230
+ grid-column: 1/-1;
230
231
  margin-bottom: var(--pf-c-login__main-header-desc--MarginBottom);
231
232
  font-size: var(--pf-c-login__main-header-desc--FontSize);
232
- grid-column: 1/-1;
233
233
  }
234
234
 
235
235
  .pf-c-login__main-body {
@@ -264,11 +264,11 @@
264
264
  }
265
265
 
266
266
  .pf-c-login__main-footer-links-item-link svg {
267
- fill: var(--pf-c-login__main-footer-links-item-link-svg--Fill);
268
267
  width: 100%;
269
268
  max-width: var(--pf-c-login__main-footer-links-item-link-svg--Width);
270
269
  height: 100%;
271
270
  max-height: var(--pf-c-login__main-footer-links-item-link-svg--Height);
271
+ fill: var(--pf-c-login__main-footer-links-item-link-svg--Fill);
272
272
  }
273
273
  .pf-c-login__main-footer-links-item-link:hover svg {
274
274
  fill: var(--pf-c-login__main-footer-links-item-link-svg--hover--Fill);
@@ -235,6 +235,7 @@
235
235
  position: relative;
236
236
  display: flex;
237
237
  flex-basis: var(--pf-c-masthead__main--FlexBasis);
238
+ grid-column: var(--pf-c-masthead__main--GridColumn);
238
239
  align-items: center;
239
240
  align-self: stretch;
240
241
  order: var(--pf-c-masthead__main--Order);
@@ -242,7 +243,6 @@
242
243
  padding-top: var(--pf-c-masthead__main--PaddingTop);
243
244
  padding-bottom: var(--pf-c-masthead__main--PaddingBottom);
244
245
  margin-right: var(--pf-c-masthead__main--MarginRight);
245
- grid-column: var(--pf-c-masthead__main--GridColumn);
246
246
  }
247
247
  .pf-c-masthead__main::before {
248
248
  position: absolute;
@@ -259,6 +259,9 @@
259
259
  .pf-c-masthead__content {
260
260
  display: flex;
261
261
  flex-grow: 1;
262
+ flex-shrink: 1;
263
+ grid-column: var(--pf-c-masthead__content--GridColumn);
264
+ grid-column-end: -1;
262
265
  align-items: center;
263
266
  align-self: stretch;
264
267
  order: var(--pf-c-masthead__content--Order);
@@ -266,9 +269,6 @@
266
269
  padding-top: var(--pf-c-masthead__content--PaddingTop);
267
270
  padding-bottom: var(--pf-c-masthead__content--PaddingBottom);
268
271
  margin-left: var(--pf-c-masthead__content--MarginLeft);
269
- grid-column: var(--pf-c-masthead__content--GridColumn);
270
- grid-column-end: -1;
271
- flex-shrink: 1;
272
272
  }
273
273
  .pf-c-masthead__content:only-child {
274
274
  --pf-c-masthead__content--MarginLeft: 0;
@@ -182,12 +182,6 @@
182
182
  --pf-c-menu--m-scrollable__footer--BoxShadow: var(--pf-global--BoxShadow--sm-top);
183
183
  --pf-c-menu--m-scrollable__footer--after--BorderTopWidth: 0;
184
184
  --pf-c-menu--m-scrollable__footer--after--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
185
- top: var(--pf-c-menu--Top);
186
- z-index: var(--pf-c-menu--ZIndex);
187
- width: var(--pf-c-menu--Width);
188
- min-width: var(--pf-c-menu--MinWidth);
189
- background-color: var(--pf-c-menu--BackgroundColor);
190
- box-shadow: var(--pf-c-menu--BoxShadow);
191
185
  --pf-c-menu--m-nav--BoxShadow: var(--pf-global--BoxShadow--lg);
192
186
  --pf-c-menu--m-nav--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);
193
187
  --pf-c-menu--m-nav__list--PaddingTop: 0;
@@ -215,6 +209,12 @@
215
209
  --pf-c-menu--m-nav--c-menu--m-left--Right: calc(100% - var(--pf-c-menu--m-nav--c-menu--m-left--right-offset));
216
210
  --pf-c-menu--m-nav--c-menu--m-top--Bottom: calc(0 + var(--pf-c-menu--m-nav--c-menu--m-top--bottom-offset));
217
211
  --pf-c-menu--m-nav__list-item--first-child--c-menu--Top: 0;
212
+ top: var(--pf-c-menu--Top);
213
+ z-index: var(--pf-c-menu--ZIndex);
214
+ width: var(--pf-c-menu--Width);
215
+ min-width: var(--pf-c-menu--MinWidth);
216
+ background-color: var(--pf-c-menu--BackgroundColor);
217
+ box-shadow: var(--pf-c-menu--BoxShadow);
218
218
  }
219
219
  .pf-c-menu .pf-c-menu__content .pf-c-menu .pf-c-menu__content {
220
220
  overflow: visible;
@@ -368,8 +368,8 @@
368
368
 
369
369
  .pf-c-menu-toggle__icon {
370
370
  display: inline-flex;
371
- align-self: center;
372
371
  flex-shrink: 0;
372
+ align-self: center;
373
373
  margin-right: var(--pf-c-menu-toggle__icon--MarginRight);
374
374
  line-height: 1;
375
375
  }
@@ -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",
@@ -62,8 +62,8 @@
62
62
  --pf-c-multiple-file-upload__status-item-progress-text--Color: var(--pf-global--primary-color--100);
63
63
  --pf-c-multiple-file-upload__status-item-progress-size--Color: var(--pf-global--Color--200);
64
64
  display: grid;
65
- gap: var(--pf-c-multiple-file-upload--Gap);
66
65
  grid-template-columns: var(--pf-c-multiple-file-upload--GridTemplateColumns);
66
+ gap: var(--pf-c-multiple-file-upload--Gap);
67
67
  }
68
68
  .pf-c-multiple-file-upload.pf-m-horizontal {
69
69
  --pf-c-multiple-file-upload--GridTemplateColumns: var(--pf-c-multiple-file-upload--m-horizontal--GridTemplateColumns);
@@ -89,21 +89,21 @@
89
89
 
90
90
  .pf-c-multiple-file-upload__main {
91
91
  display: grid;
92
+ grid-template-areas: var(--pf-c-multiple-file-upload__main--GridTemplateAreas);
93
+ grid-template-rows: var(--pf-c-multiple-file-upload__main--GridTemplateRows);
94
+ grid-template-columns: var(--pf-c-multiple-file-upload__main--GridTemplateColumns);
95
+ gap: var(--pf-c-multiple-file-upload__main--Gap);
92
96
  padding: var(--pf-c-multiple-file-upload__main--PaddingTop) var(--pf-c-multiple-file-upload__main--PaddingRight) var(--pf-c-multiple-file-upload__main--PaddingBottom) var(--pf-c-multiple-file-upload__main--PaddingLeft);
93
97
  text-align: var(--pf-c-multiple-file-upload__main--TextAlign);
94
98
  background-color: var(--pf-c-multiple-file-upload__main--BackgroundColor);
95
99
  border: var(--pf-c-multiple-file-upload__main--BorderWidth) var(--pf-c-multiple-file-upload__main--BorderStyle) var(--pf-c-multiple-file-upload__main--BorderColor);
96
- grid-template-columns: var(--pf-c-multiple-file-upload__main--GridTemplateColumns);
97
- grid-template-rows: var(--pf-c-multiple-file-upload__main--GridTemplateRows);
98
- grid-template-areas: var(--pf-c-multiple-file-upload__main--GridTemplateAreas);
99
- gap: var(--pf-c-multiple-file-upload__main--Gap);
100
100
  }
101
101
 
102
102
  .pf-c-multiple-file-upload__title {
103
103
  display: var(--pf-c-multiple-file-upload__title--Display);
104
+ grid-area: title;
104
105
  grid-template-columns: var(--pf-c-multiple-file-upload__title--GridTemplateColumns);
105
106
  gap: var(--pf-c-multiple-file-upload__title--Gap);
106
- grid-area: title;
107
107
  }
108
108
 
109
109
  .pf-c-multiple-file-upload__title-icon {
@@ -862,8 +862,8 @@
862
862
  --pf-c-nav__link--focus--after--BorderLeftWidth: var(--pf-c-nav__section__link--focus--after--BorderWidth);
863
863
  --pf-c-nav__link--active--after--BorderLeftWidth: var(--pf-c-nav__section__link--active--after--BorderWidth);
864
864
  --pf-c-nav__link--m-current--after--BorderLeftWidth: var(--pf-c-nav__section__link--m-current--after--BorderWidth);
865
- margin-top: var(--pf-c-nav__section--MarginTop);
866
865
  --pf-c-nav--c-divider--MarginBottom: 0;
866
+ margin-top: var(--pf-c-nav__section--MarginTop);
867
867
  }
868
868
  .pf-c-nav__section + .pf-c-nav__section {
869
869
  --pf-c-nav__section--MarginTop: var(--pf-c-nav__section--section--MarginTop);
@@ -169,9 +169,9 @@
169
169
 
170
170
  .pf-c-notification-drawer__list-item-header {
171
171
  display: flex;
172
- align-items: baseline;
173
- grid-column: 1/2;
174
172
  grid-row: 1/2;
173
+ grid-column: 1/2;
174
+ align-items: baseline;
175
175
  margin-bottom: var(--pf-c-notification-drawer__list-item-header--MarginBottom);
176
176
  }
177
177
 
@@ -192,8 +192,8 @@
192
192
  }
193
193
 
194
194
  .pf-c-notification-drawer__list-item-action {
195
- grid-column: 2/3;
196
195
  grid-row: 1/3;
196
+ grid-column: 2/3;
197
197
  }
198
198
 
199
199
  .pf-c-notification-drawer__list-item-description {
@@ -5,7 +5,6 @@
5
5
  --pf-c-options-menu__toggle--PaddingBottom: var(--pf-global--spacer--form-element);
6
6
  --pf-c-options-menu__toggle--PaddingLeft: var(--pf-global--spacer--sm);
7
7
  --pf-c-options-menu__toggle--MinWidth: 0;
8
- --pf-c-options-menu__toggle--LineHeight: var(--pf-global--LineHeight--md);
9
8
  --pf-c-options-menu__toggle--BorderWidth: var(--pf-global--BorderWidth--sm);
10
9
  --pf-c-options-menu__toggle--BorderTopColor: var(--pf-global--BorderColor--300);
11
10
  --pf-c-options-menu__toggle--BorderRightColor: var(--pf-global--BorderColor--300);
@@ -113,7 +112,6 @@
113
112
  min-width: var(--pf-c-options-menu__toggle--MinWidth);
114
113
  max-width: 100%;
115
114
  padding: var(--pf-c-options-menu__toggle--PaddingTop) var(--pf-c-options-menu__toggle--PaddingRight) var(--pf-c-options-menu__toggle--PaddingBottom) var(--pf-c-options-menu__toggle--PaddingLeft);
116
- line-height: var(--pf-c-options-menu__toggle--LineHeight);
117
115
  color: var(--pf-c-options-menu__toggle--Color);
118
116
  background-color: var(--pf-c-options-menu__toggle--BackgroundColor);
119
117
  border: none;
@@ -131,9 +129,6 @@
131
129
  display: inline-block;
132
130
  color: var(--pf-c-options-menu__toggle--m-plain--Color);
133
131
  }
134
- .pf-c-options-menu__toggle.pf-m-plain:not(.pf-m-text) .pf-c-options-menu__toggle-button-icon {
135
- line-height: var(--pf-c-options-menu__toggle--LineHeight);
136
- }
137
132
  .pf-c-options-menu__toggle.pf-m-plain:hover, .pf-c-options-menu__toggle.pf-m-plain:active, .pf-c-options-menu__toggle.pf-m-plain.pf-m-active, .pf-c-options-menu__toggle.pf-m-plain:focus, .pf-c-options-menu.pf-m-expanded > .pf-c-options-menu__toggle.pf-m-plain {
138
133
  --pf-c-options-menu__toggle--m-plain--Color: var(--pf-c-options-menu__toggle--m-plain--hover--Color);
139
134
  --pf-c-options-menu--m-plain__toggle-icon--Color: var(--pf-c-options-menu--m-plain--hover__toggle-icon--Color);
@@ -201,10 +201,10 @@
201
201
  --pf-c-page__main-wizard--BorderTopWidth: var(--pf-global--BorderWidth--sm);
202
202
  --pf-c-page__main-wizard--m-light-200--BackgroundColor: var(--pf-global--BackgroundColor--200);
203
203
  display: grid;
204
- height: 100%;
205
- grid-template-columns: 1fr;
206
- grid-template-rows: max-content 1fr;
207
204
  grid-template-areas: "header" "main";
205
+ grid-template-rows: max-content 1fr;
206
+ grid-template-columns: 1fr;
207
+ height: 100%;
208
208
  background-color: var(--pf-c-page--BackgroundColor);
209
209
  }
210
210
  @media (min-width: 1200px) {
@@ -251,8 +251,8 @@
251
251
  }
252
252
  @media (min-width: 1200px) {
253
253
  .pf-c-page {
254
- grid-template-columns: max-content 1fr;
255
254
  grid-template-areas: "header header" "nav main";
255
+ grid-template-columns: max-content 1fr;
256
256
  }
257
257
  }
258
258
  .pf-c-page.pf-m-full-height {
@@ -263,14 +263,14 @@
263
263
 
264
264
  .pf-c-page__header,
265
265
  .pf-c-page > .pf-c-masthead {
266
- grid-area: header;
267
266
  z-index: var(--pf-c-page__header--ZIndex);
267
+ grid-area: header;
268
268
  }
269
269
 
270
270
  .pf-c-page__header {
271
271
  color: var(--pf-global--Color--100);
272
- grid-template-columns: auto auto;
273
272
  display: grid;
273
+ grid-template-columns: auto auto;
274
274
  align-items: center;
275
275
  min-width: 0;
276
276
  min-height: var(--pf-c-page__header--MinHeight);
@@ -318,18 +318,18 @@
318
318
  }
319
319
 
320
320
  .pf-c-page__header-nav {
321
+ grid-row: 2/3;
322
+ grid-column: 1/-1;
321
323
  align-self: stretch;
322
324
  min-width: 0;
323
325
  padding-right: var(--pf-c-page__header-nav--PaddingRight);
324
326
  padding-left: var(--pf-c-page__header-nav--PaddingLeft);
325
327
  background-color: var(--pf-c-page__header-nav--BackgroundColor);
326
- grid-column: 1/-1;
327
- grid-row: 2/3;
328
328
  }
329
329
  @media screen and (min-width: 1200px) {
330
330
  .pf-c-page__header-nav {
331
- grid-column: 2/3;
332
331
  grid-row: 1/2;
332
+ grid-column: 2/3;
333
333
  }
334
334
  }
335
335
  .pf-c-page__header-nav .pf-c-nav {
@@ -395,10 +395,10 @@
395
395
  }
396
396
 
397
397
  .pf-c-page__sidebar {
398
+ z-index: var(--pf-c-page__sidebar--ZIndex);
398
399
  grid-area: nav;
399
400
  grid-row-start: 2;
400
401
  grid-column-start: 1;
401
- z-index: var(--pf-c-page__sidebar--ZIndex);
402
402
  width: var(--pf-c-page__sidebar--Width);
403
403
  overflow-x: hidden;
404
404
  overflow-y: auto;
@@ -678,8 +678,8 @@
678
678
 
679
679
  .pf-c-page__main,
680
680
  .pf-c-page__drawer {
681
- grid-area: main;
682
681
  z-index: var(--pf-c-page__main--ZIndex);
682
+ grid-area: main;
683
683
  overflow-x: hidden;
684
684
  overflow-y: auto;
685
685
  -webkit-overflow-scrolling: touch;