@patternfly/react-styles 4.92.6 → 5.0.0-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. package/CHANGELOG.md +1432 -4347
  2. package/css/components/AboutModalBox/about-modal-box.css +1 -28
  3. package/css/components/Accordion/accordion.css +64 -62
  4. package/css/components/Accordion/accordion.d.ts +2 -2
  5. package/css/components/Accordion/accordion.js +2 -2
  6. package/css/components/Accordion/accordion.mjs +2 -2
  7. package/css/components/Alert/alert.css +0 -4
  8. package/css/components/Alert/alert.d.ts +1 -2
  9. package/css/components/Alert/alert.js +1 -2
  10. package/css/components/Alert/alert.mjs +1 -2
  11. package/css/components/Banner/banner.css +1 -1
  12. package/css/components/Breadcrumb/breadcrumb.css +0 -6
  13. package/css/components/Breadcrumb/breadcrumb.d.ts +1 -2
  14. package/css/components/Breadcrumb/breadcrumb.js +1 -2
  15. package/css/components/Breadcrumb/breadcrumb.mjs +1 -2
  16. package/css/components/Button/button.css +0 -4
  17. package/css/components/Button/button.d.ts +1 -2
  18. package/css/components/Button/button.js +1 -2
  19. package/css/components/Button/button.mjs +1 -2
  20. package/css/components/Card/card.css +9 -16
  21. package/css/components/Card/card.d.ts +2 -2
  22. package/css/components/Card/card.js +2 -2
  23. package/css/components/Card/card.mjs +2 -2
  24. package/css/components/Check/check.css +4 -2
  25. package/css/components/ChipGroup/chip-group.css +27 -17
  26. package/css/components/Content/content.css +1 -11
  27. package/css/components/Content/content.d.ts +1 -2
  28. package/css/components/Content/content.js +1 -2
  29. package/css/components/Content/content.mjs +1 -2
  30. package/css/components/DataList/data-list.css +0 -15
  31. package/css/components/Divider/divider.css +0 -16
  32. package/css/components/Drawer/drawer.css +0 -15
  33. package/css/components/EmptyState/empty-state.css +46 -56
  34. package/css/components/EmptyState/empty-state.d.ts +5 -8
  35. package/css/components/EmptyState/empty-state.js +5 -8
  36. package/css/components/EmptyState/empty-state.mjs +5 -8
  37. package/css/components/ExpandableSection/expandable-section.css +0 -4
  38. package/css/components/ExpandableSection/expandable-section.d.ts +1 -2
  39. package/css/components/ExpandableSection/expandable-section.js +1 -2
  40. package/css/components/ExpandableSection/expandable-section.mjs +1 -2
  41. package/css/components/Form/form.css +0 -1
  42. package/css/components/InlineEdit/inline-edit.css +1 -12
  43. package/css/components/JumpLinks/jump-links.css +0 -43
  44. package/css/components/Label/label.css +0 -3
  45. package/css/components/LabelGroup/label-group.css +26 -22
  46. package/css/components/Menu/menu.css +0 -16
  47. package/css/components/NotificationDrawer/notification-drawer.css +1 -0
  48. package/css/components/Page/page.css +0 -15
  49. package/css/components/Pagination/pagination.css +0 -55
  50. package/css/components/Popover/popover.css +2 -7
  51. package/css/components/Progress/progress.css +0 -1
  52. package/css/components/Radio/radio.css +4 -2
  53. package/css/components/SimpleList/simple-list.css +1 -1
  54. package/css/components/SkipToContent/skip-to-content.css +1 -1
  55. package/css/components/Switch/switch.css +0 -1
  56. package/css/components/Table/table-grid.css +0 -10
  57. package/css/components/Table/table-tree-view.css +0 -16
  58. package/css/components/Table/table.css +0 -16
  59. package/css/components/Tabs/tabs.css +1 -34
  60. package/css/components/Tabs/tabs.d.ts +1 -2
  61. package/css/components/Tabs/tabs.js +1 -2
  62. package/css/components/Tabs/tabs.mjs +1 -2
  63. package/css/components/Title/title.css +0 -5
  64. package/css/components/Title/title.d.ts +1 -2
  65. package/css/components/Title/title.js +1 -2
  66. package/css/components/Title/title.mjs +1 -2
  67. package/css/components/Toolbar/toolbar.css +30 -33
  68. package/css/components/Toolbar/toolbar.d.ts +4 -0
  69. package/css/components/Toolbar/toolbar.js +4 -0
  70. package/css/components/Toolbar/toolbar.mjs +4 -0
  71. package/css/components/Tooltip/tooltip.css +7 -12
  72. package/css/components/Wizard/wizard.css +0 -9
  73. package/package.json +4 -4
@@ -24,7 +24,6 @@
24
24
  --pf-c-tabs--m-color-scheme--light-300__item--m-current__link--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
25
25
  --pf-c-tabs--m-color-scheme--light-300__link--disabled--BackgroundColor: var(--pf-global--palette--black-150);
26
26
  --pf-c-tabs__list--Display: flex;
27
- --pf-c-tabs__list--Visibility: visible;
28
27
  --pf-c-tabs__item--m-action--before--ZIndex: var(--pf-global--ZIndex--xs);
29
28
  --pf-c-tabs__link--Color: var(--pf-global--Color--200);
30
29
  --pf-c-tabs__link--FontSize: var(--pf-global--FontSize--md);
@@ -94,7 +93,6 @@
94
93
  --pf-c-tabs__item--ScrollSnapAlign: end;
95
94
  --pf-c-tabs--m-vertical__list--ScrollSnapTypeAxis: y;
96
95
  --pf-c-tabs__toggle--Display: flex;
97
- --pf-c-tabs__toggle--Visibility: hidden;
98
96
  --pf-c-tabs__toggle--MarginBottom: 0;
99
97
  --pf-c-tabs--m-expanded__toggle--MarginBottom: var(--pf-global--spacer--md);
100
98
  --pf-c-tabs__toggle-icon--Color: currentcolor;
@@ -181,14 +179,10 @@
181
179
  margin-left: 0;
182
180
  transform: translateX(0);
183
181
  }
184
- .pf-c-tabs.pf-m-secondary, .pf-c-tabs.pf-m-no-border-bottom {
182
+ .pf-c-tabs.pf-m-no-border-bottom {
185
183
  --pf-c-tabs--before--BorderBottomWidth: 0;
186
184
  --pf-c-tabs__link--disabled--before--BorderBottomWidth: 0;
187
185
  }
188
- .pf-c-tabs.pf-m-border-bottom {
189
- --pf-c-tabs--before--BorderBottomWidth: var(--pf-c-tabs--before--border-width--base);
190
- --pf-c-tabs__link--disabled--before--BorderBottomWidth: var(--pf-c-tabs--before--border-width--base);
191
- }
192
186
  .pf-c-tabs.pf-m-box .pf-c-tabs__link, .pf-c-tabs.pf-m-vertical .pf-c-tabs__link {
193
187
  --pf-c-tabs__link--after--BorderBottomWidth: 0;
194
188
  }
@@ -283,89 +277,64 @@
283
277
  }
284
278
  .pf-c-tabs.pf-m-vertical.pf-m-expandable {
285
279
  --pf-c-tabs__list--Display: none;
286
- --pf-c-tabs__list--Visibility: hidden;
287
280
  --pf-c-tabs__toggle--Display: flex;
288
- --pf-c-tabs__toggle--Visibility: visible;
289
281
  }
290
282
  .pf-c-tabs.pf-m-vertical.pf-m-non-expandable {
291
283
  --pf-c-tabs__list--Display: flex;
292
- --pf-c-tabs__list--Visibility: visible;
293
284
  --pf-c-tabs__toggle--Display: none;
294
- --pf-c-tabs__toggle--Visibility: hidden;
295
285
  }
296
286
  @media (min-width: 576px) {
297
287
  .pf-c-tabs.pf-m-vertical.pf-m-expandable-on-sm {
298
288
  --pf-c-tabs__list--Display: none;
299
- --pf-c-tabs__list--Visibility: hidden;
300
289
  --pf-c-tabs__toggle--Display: flex;
301
- --pf-c-tabs__toggle--Visibility: visible;
302
290
  }
303
291
  .pf-c-tabs.pf-m-vertical.pf-m-non-expandable-on-sm {
304
292
  --pf-c-tabs__list--Display: flex;
305
- --pf-c-tabs__list--Visibility: visible;
306
293
  --pf-c-tabs__toggle--Display: none;
307
- --pf-c-tabs__toggle--Visibility: hidden;
308
294
  }
309
295
  }
310
296
  @media (min-width: 768px) {
311
297
  .pf-c-tabs.pf-m-vertical.pf-m-expandable-on-md {
312
298
  --pf-c-tabs__list--Display: none;
313
- --pf-c-tabs__list--Visibility: hidden;
314
299
  --pf-c-tabs__toggle--Display: flex;
315
- --pf-c-tabs__toggle--Visibility: visible;
316
300
  }
317
301
  .pf-c-tabs.pf-m-vertical.pf-m-non-expandable-on-md {
318
302
  --pf-c-tabs__list--Display: flex;
319
- --pf-c-tabs__list--Visibility: visible;
320
303
  --pf-c-tabs__toggle--Display: none;
321
- --pf-c-tabs__toggle--Visibility: hidden;
322
304
  }
323
305
  }
324
306
  @media (min-width: 992px) {
325
307
  .pf-c-tabs.pf-m-vertical.pf-m-expandable-on-lg {
326
308
  --pf-c-tabs__list--Display: none;
327
- --pf-c-tabs__list--Visibility: hidden;
328
309
  --pf-c-tabs__toggle--Display: flex;
329
- --pf-c-tabs__toggle--Visibility: visible;
330
310
  }
331
311
  .pf-c-tabs.pf-m-vertical.pf-m-non-expandable-on-lg {
332
312
  --pf-c-tabs__list--Display: flex;
333
- --pf-c-tabs__list--Visibility: visible;
334
313
  --pf-c-tabs__toggle--Display: none;
335
- --pf-c-tabs__toggle--Visibility: hidden;
336
314
  }
337
315
  }
338
316
  @media (min-width: 1200px) {
339
317
  .pf-c-tabs.pf-m-vertical.pf-m-expandable-on-xl {
340
318
  --pf-c-tabs__list--Display: none;
341
- --pf-c-tabs__list--Visibility: hidden;
342
319
  --pf-c-tabs__toggle--Display: flex;
343
- --pf-c-tabs__toggle--Visibility: visible;
344
320
  }
345
321
  .pf-c-tabs.pf-m-vertical.pf-m-non-expandable-on-xl {
346
322
  --pf-c-tabs__list--Display: flex;
347
- --pf-c-tabs__list--Visibility: visible;
348
323
  --pf-c-tabs__toggle--Display: none;
349
- --pf-c-tabs__toggle--Visibility: hidden;
350
324
  }
351
325
  }
352
326
  @media (min-width: 1450px) {
353
327
  .pf-c-tabs.pf-m-vertical.pf-m-expandable-on-2xl {
354
328
  --pf-c-tabs__list--Display: none;
355
- --pf-c-tabs__list--Visibility: hidden;
356
329
  --pf-c-tabs__toggle--Display: flex;
357
- --pf-c-tabs__toggle--Visibility: visible;
358
330
  }
359
331
  .pf-c-tabs.pf-m-vertical.pf-m-non-expandable-on-2xl {
360
332
  --pf-c-tabs__list--Display: flex;
361
- --pf-c-tabs__list--Visibility: visible;
362
333
  --pf-c-tabs__toggle--Display: none;
363
- --pf-c-tabs__toggle--Visibility: hidden;
364
334
  }
365
335
  }
366
336
  .pf-c-tabs.pf-m-vertical.pf-m-expanded {
367
337
  --pf-c-tabs__list--Display: flex;
368
- --pf-c-tabs__list--Visibility: visible;
369
338
  --pf-c-tabs__toggle--MarginBottom: var(--pf-c-tabs--m-expanded__toggle--MarginBottom);
370
339
  --pf-c-tabs__toggle-icon--Color: var(--pf-c-tabs--m-expanded__toggle-icon--Color);
371
340
  --pf-c-tabs__toggle-icon--Rotate: var(--pf-c-tabs--m-expanded__toggle-icon--Rotate);
@@ -421,7 +390,6 @@
421
390
  display: var(--pf-c-tabs__toggle--Display);
422
391
  align-items: center;
423
392
  margin-bottom: var(--pf-c-tabs__toggle--MarginBottom);
424
- visibility: var(--pf-c-tabs__toggle--Visibility);
425
393
  }
426
394
 
427
395
  .pf-c-tabs__toggle-button {
@@ -458,7 +426,6 @@
458
426
  overflow-x: auto;
459
427
  scroll-behavior: smooth;
460
428
  scroll-snap-type: var(--pf-c-tabs__list--ScrollSnapType);
461
- visibility: var(--pf-c-tabs__list--Visibility);
462
429
  -webkit-overflow-scrolling: touch;
463
430
  }
464
431
  .pf-c-tabs__list::-webkit-scrollbar {
@@ -4,9 +4,7 @@ declare const _default: {
4
4
  "modifiers": {
5
5
  "fill": "pf-m-fill",
6
6
  "scrollable": "pf-m-scrollable",
7
- "secondary": "pf-m-secondary",
8
7
  "noBorderBottom": "pf-m-no-border-bottom",
9
- "borderBottom": "pf-m-border-bottom",
10
8
  "box": "pf-m-box",
11
9
  "vertical": "pf-m-vertical",
12
10
  "current": "pf-m-current",
@@ -24,6 +22,7 @@ declare const _default: {
24
22
  "expandableOn_2xl": "pf-m-expandable-on-2xl",
25
23
  "nonExpandableOn_2xl": "pf-m-non-expandable-on-2xl",
26
24
  "expanded": "pf-m-expanded",
25
+ "secondary": "pf-m-secondary",
27
26
  "pageInsets": "pf-m-page-insets",
28
27
  "overflow": "pf-m-overflow",
29
28
  "action": "pf-m-action",
@@ -6,9 +6,7 @@ exports.default = {
6
6
  "modifiers": {
7
7
  "fill": "pf-m-fill",
8
8
  "scrollable": "pf-m-scrollable",
9
- "secondary": "pf-m-secondary",
10
9
  "noBorderBottom": "pf-m-no-border-bottom",
11
- "borderBottom": "pf-m-border-bottom",
12
10
  "box": "pf-m-box",
13
11
  "vertical": "pf-m-vertical",
14
12
  "current": "pf-m-current",
@@ -26,6 +24,7 @@ exports.default = {
26
24
  "expandableOn_2xl": "pf-m-expandable-on-2xl",
27
25
  "nonExpandableOn_2xl": "pf-m-non-expandable-on-2xl",
28
26
  "expanded": "pf-m-expanded",
27
+ "secondary": "pf-m-secondary",
29
28
  "pageInsets": "pf-m-page-insets",
30
29
  "overflow": "pf-m-overflow",
31
30
  "action": "pf-m-action",
@@ -4,9 +4,7 @@ export default {
4
4
  "modifiers": {
5
5
  "fill": "pf-m-fill",
6
6
  "scrollable": "pf-m-scrollable",
7
- "secondary": "pf-m-secondary",
8
7
  "noBorderBottom": "pf-m-no-border-bottom",
9
- "borderBottom": "pf-m-border-bottom",
10
8
  "box": "pf-m-box",
11
9
  "vertical": "pf-m-vertical",
12
10
  "current": "pf-m-current",
@@ -24,6 +22,7 @@ export default {
24
22
  "expandableOn_2xl": "pf-m-expandable-on-2xl",
25
23
  "nonExpandableOn_2xl": "pf-m-non-expandable-on-2xl",
26
24
  "expanded": "pf-m-expanded",
25
+ "secondary": "pf-m-secondary",
27
26
  "pageInsets": "pf-m-page-insets",
28
27
  "overflow": "pf-m-overflow",
29
28
  "action": "pf-m-action",
@@ -50,9 +50,4 @@
50
50
  font-size: var(--pf-c-title--m-md--FontSize);
51
51
  font-weight: var(--pf-c-title--m-md--FontWeight);
52
52
  line-height: var(--pf-c-title--m-md--LineHeight);
53
- }
54
-
55
- .pf-m-overpass-font .pf-c-title {
56
- --pf-c-title--m-md--FontWeight: var(--pf-global--FontWeight--semi-bold);
57
- --pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--semi-bold);
58
53
  }
@@ -6,8 +6,7 @@ declare const _default: {
6
6
  "2xl": "pf-m-2xl",
7
7
  "xl": "pf-m-xl",
8
8
  "lg": "pf-m-lg",
9
- "md": "pf-m-md",
10
- "overpassFont": "pf-m-overpass-font"
9
+ "md": "pf-m-md"
11
10
  },
12
11
  "title": "pf-c-title"
13
12
  };
@@ -8,8 +8,7 @@ exports.default = {
8
8
  "2xl": "pf-m-2xl",
9
9
  "xl": "pf-m-xl",
10
10
  "lg": "pf-m-lg",
11
- "md": "pf-m-md",
12
- "overpassFont": "pf-m-overpass-font"
11
+ "md": "pf-m-md"
13
12
  },
14
13
  "title": "pf-c-title"
15
14
  };
@@ -6,8 +6,7 @@ export default {
6
6
  "2xl": "pf-m-2xl",
7
7
  "xl": "pf-m-xl",
8
8
  "lg": "pf-m-lg",
9
- "md": "pf-m-md",
10
- "overpassFont": "pf-m-overpass-font"
9
+ "md": "pf-m-md"
11
10
  },
12
11
  "title": "pf-c-title"
13
12
  };
@@ -1,64 +1,49 @@
1
1
  .pf-c-toolbar__content-section, .pf-c-toolbar__content, .pf-c-toolbar__item, .pf-c-toolbar__group {
2
- --pf-hidden-visible--visible--Visibility: visible;
3
2
  --pf-hidden-visible--hidden--Display: none;
4
- --pf-hidden-visible--hidden--Visibility: hidden;
5
3
  --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
6
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
7
4
  display: var(--pf-hidden-visible--Display);
8
- visibility: var(--pf-hidden-visible--Visibility);
9
5
  }
10
6
  .pf-m-hidden.pf-c-toolbar__content-section, .pf-m-hidden.pf-c-toolbar__content, .pf-m-hidden.pf-c-toolbar__item, .pf-m-hidden.pf-c-toolbar__group {
11
7
  --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
12
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
13
8
  }
14
9
  @media screen and (min-width: 576px) {
15
10
  .pf-m-hidden-on-sm.pf-c-toolbar__content-section, .pf-m-hidden-on-sm.pf-c-toolbar__content, .pf-m-hidden-on-sm.pf-c-toolbar__item, .pf-m-hidden-on-sm.pf-c-toolbar__group {
16
11
  --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
17
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
18
12
  }
19
13
  .pf-m-visible-on-sm.pf-c-toolbar__content-section, .pf-m-visible-on-sm.pf-c-toolbar__content, .pf-m-visible-on-sm.pf-c-toolbar__item, .pf-m-visible-on-sm.pf-c-toolbar__group {
20
14
  --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
21
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
22
15
  }
23
16
  }
24
17
  @media screen and (min-width: 768px) {
25
18
  .pf-m-hidden-on-md.pf-c-toolbar__content-section, .pf-m-hidden-on-md.pf-c-toolbar__content, .pf-m-hidden-on-md.pf-c-toolbar__item, .pf-m-hidden-on-md.pf-c-toolbar__group {
26
19
  --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
27
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
28
20
  }
29
21
  .pf-m-visible-on-md.pf-c-toolbar__content-section, .pf-m-visible-on-md.pf-c-toolbar__content, .pf-m-visible-on-md.pf-c-toolbar__item, .pf-m-visible-on-md.pf-c-toolbar__group {
30
22
  --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
31
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
32
23
  }
33
24
  }
34
25
  @media screen and (min-width: 992px) {
35
26
  .pf-m-hidden-on-lg.pf-c-toolbar__content-section, .pf-m-hidden-on-lg.pf-c-toolbar__content, .pf-m-hidden-on-lg.pf-c-toolbar__item, .pf-m-hidden-on-lg.pf-c-toolbar__group {
36
27
  --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
37
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
38
28
  }
39
29
  .pf-m-visible-on-lg.pf-c-toolbar__content-section, .pf-m-visible-on-lg.pf-c-toolbar__content, .pf-m-visible-on-lg.pf-c-toolbar__item, .pf-m-visible-on-lg.pf-c-toolbar__group {
40
30
  --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
41
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
42
31
  }
43
32
  }
44
33
  @media screen and (min-width: 1200px) {
45
34
  .pf-m-hidden-on-xl.pf-c-toolbar__content-section, .pf-m-hidden-on-xl.pf-c-toolbar__content, .pf-m-hidden-on-xl.pf-c-toolbar__item, .pf-m-hidden-on-xl.pf-c-toolbar__group {
46
35
  --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
47
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
48
36
  }
49
37
  .pf-m-visible-on-xl.pf-c-toolbar__content-section, .pf-m-visible-on-xl.pf-c-toolbar__content, .pf-m-visible-on-xl.pf-c-toolbar__item, .pf-m-visible-on-xl.pf-c-toolbar__group {
50
38
  --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
51
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
52
39
  }
53
40
  }
54
41
  @media screen and (min-width: 1450px) {
55
42
  .pf-m-hidden-on-2xl.pf-c-toolbar__content-section, .pf-m-hidden-on-2xl.pf-c-toolbar__content, .pf-m-hidden-on-2xl.pf-c-toolbar__item, .pf-m-hidden-on-2xl.pf-c-toolbar__group {
56
43
  --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
57
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
58
44
  }
59
45
  .pf-m-visible-on-2xl.pf-c-toolbar__content-section, .pf-m-visible-on-2xl.pf-c-toolbar__content, .pf-m-visible-on-2xl.pf-c-toolbar__item, .pf-m-visible-on-2xl.pf-c-toolbar__group {
60
46
  --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
61
- --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
62
47
  }
63
48
  }
64
49
 
@@ -69,13 +54,17 @@
69
54
  --pf-c-toolbar--PaddingBottom: var(--pf-global--spacer--md);
70
55
  --pf-c-toolbar__item--Display: block;
71
56
  --pf-c-toolbar__item--MinWidth--base: auto;
57
+ --pf-c-toolbar__item--AlignSelf: auto;
72
58
  --pf-c-toolbar__group--Display: flex;
59
+ --pf-c-toolbar__group--AlignItems: baseline;
60
+ --pf-c-toolbar__group--AlignSelf: auto;
73
61
  --pf-c-toolbar--m-sticky--ZIndex: var(--pf-global--ZIndex--xs);
74
62
  --pf-c-toolbar--m-sticky--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);
75
63
  --pf-c-toolbar__content--Display: flex;
76
64
  --pf-c-toolbar__content--PaddingRight: var(--pf-global--spacer--md);
77
65
  --pf-c-toolbar__content--PaddingLeft: var(--pf-global--spacer--md);
78
66
  --pf-c-toolbar__content-section--Display: flex;
67
+ --pf-c-toolbar__content-section--AlignItems: baseline;
79
68
  --pf-c-toolbar--m-page-insets--inset: var(--pf-global--spacer--md);
80
69
  --pf-c-toolbar--m-page-insets--xl--inset: var(--pf-global--spacer--lg);
81
70
  --pf-c-toolbar__expandable-content--Display: grid;
@@ -197,9 +186,22 @@
197
186
  .pf-c-toolbar__group {
198
187
  --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--spacer);
199
188
  --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__group--Display);
200
- align-items: center;
189
+ align-items: var(--pf-c-toolbar__group--AlignItems);
190
+ align-self: var(--pf-c-toolbar__group--AlignSelf);
201
191
  margin-right: var(--pf-c-toolbar--spacer);
202
192
  }
193
+ .pf-c-toolbar__group.pf-m-align-items-center {
194
+ align-items: center;
195
+ }
196
+ .pf-c-toolbar__group.pf-m-align-items-baseline {
197
+ align-items: baseline;
198
+ }
199
+ .pf-c-toolbar__group.pf-m-align-self-center {
200
+ align-self: center;
201
+ }
202
+ .pf-c-toolbar__group.pf-m-align-self-baseline {
203
+ align-self: baseline;
204
+ }
203
205
  .pf-c-toolbar__group.pf-m-button-group {
204
206
  --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-button-group--spacer);
205
207
  }
@@ -227,11 +229,9 @@
227
229
  .pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__group,
228
230
  .pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__item {
229
231
  display: none;
230
- visibility: hidden;
231
232
  }
232
233
  .pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__toggle {
233
234
  display: inline-block;
234
- visibility: visible;
235
235
  }
236
236
  .pf-c-toolbar__group:last-child {
237
237
  --pf-c-toolbar--spacer: 0;
@@ -242,6 +242,7 @@
242
242
  --pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width);
243
243
  --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth);
244
244
  --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__item--Display);
245
+ align-self: var(--pf-c-toolbar__item--AlignSelf);
245
246
  width: var(--pf-c-toolbar__item--Width--base);
246
247
  min-width: var(--pf-c-toolbar__item--MinWidth--base);
247
248
  margin-right: var(--pf-c-toolbar--spacer);
@@ -296,6 +297,12 @@
296
297
  --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth-on-2xl, var(--pf-c-toolbar__item--MinWidth-on-xl, var(--pf-c-toolbar__item--MinWidth-on-lg, var(--pf-c-toolbar__item--MinWidth-on-md, var(--pf-c-toolbar__item--MinWidth-on-sm, var(--pf-c-toolbar__item--MinWidth))))));
297
298
  }
298
299
  }
300
+ .pf-c-toolbar__item.pf-m-align-self-center {
301
+ align-self: center;
302
+ }
303
+ .pf-c-toolbar__item.pf-m-align-self-baseline {
304
+ align-self: baseline;
305
+ }
299
306
  .pf-c-toolbar__item.pf-m-overflow-menu {
300
307
  --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-overflow-menu--spacer);
301
308
  }
@@ -340,20 +347,24 @@
340
347
  .pf-c-toolbar__content,
341
348
  .pf-c-toolbar__content-section {
342
349
  flex-wrap: wrap;
343
- align-items: center;
344
350
  }
345
351
 
346
352
  .pf-c-toolbar__content {
347
353
  --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__content--Display);
348
354
  position: relative;
355
+ align-items: center;
349
356
  padding-right: var(--pf-c-toolbar__content--PaddingRight);
350
357
  padding-left: var(--pf-c-toolbar__content--PaddingLeft);
351
358
  }
352
359
 
353
360
  .pf-c-toolbar__content-section {
354
361
  --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__content-section--Display);
362
+ align-items: var(--pf-c-toolbar__content-section--AlignItems);
355
363
  width: 100%;
356
364
  }
365
+ .pf-c-toolbar__content-section.pf-m-align-items-center {
366
+ align-items: center;
367
+ }
357
368
 
358
369
  .pf-c-toolbar__expandable-content {
359
370
  position: absolute;
@@ -364,7 +375,6 @@
364
375
  display: none;
365
376
  width: 100%;
366
377
  padding: var(--pf-c-toolbar__expandable-content--PaddingTop) var(--pf-c-toolbar__expandable-content--PaddingRight) var(--pf-c-toolbar__expandable-content--PaddingBottom) var(--pf-c-toolbar__expandable-content--PaddingLeft);
367
- visibility: hidden;
368
378
  background-color: var(--pf-c-toolbar__expandable-content--BackgroundColor);
369
379
  box-shadow: var(--pf-c-toolbar__expandable-content--BoxShadow);
370
380
  }
@@ -377,7 +387,6 @@
377
387
  .pf-c-toolbar__expandable-content.pf-m-expanded {
378
388
  display: grid;
379
389
  grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);
380
- visibility: visible;
381
390
  }
382
391
  .pf-c-toolbar__expandable-content .pf-c-toolbar__group,
383
392
  .pf-c-toolbar__expandable-content .pf-c-toolbar__item {
@@ -438,11 +447,9 @@
438
447
  .pf-m-toggle-group.pf-m-show .pf-c-toolbar__item {
439
448
  display: flex;
440
449
  flex: 0 1 auto;
441
- visibility: visible;
442
450
  }
443
451
  .pf-m-toggle-group.pf-m-show .pf-c-toolbar__toggle {
444
452
  display: none;
445
- visibility: hidden;
446
453
  }
447
454
 
448
455
  @media (min-width: 576px) {
@@ -453,11 +460,9 @@
453
460
  .pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__item {
454
461
  display: flex;
455
462
  flex: 0 1 auto;
456
- visibility: visible;
457
463
  }
458
464
  .pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__toggle {
459
465
  display: none;
460
- visibility: hidden;
461
466
  }
462
467
  }
463
468
  @media (min-width: 768px) {
@@ -468,11 +473,9 @@
468
473
  .pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__item {
469
474
  display: flex;
470
475
  flex: 0 1 auto;
471
- visibility: visible;
472
476
  }
473
477
  .pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__toggle {
474
478
  display: none;
475
- visibility: hidden;
476
479
  }
477
480
  }
478
481
  @media (min-width: 992px) {
@@ -483,11 +486,9 @@
483
486
  .pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__item {
484
487
  display: flex;
485
488
  flex: 0 1 auto;
486
- visibility: visible;
487
489
  }
488
490
  .pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__toggle {
489
491
  display: none;
490
- visibility: hidden;
491
492
  }
492
493
  }
493
494
  @media (min-width: 1200px) {
@@ -498,11 +499,9 @@
498
499
  .pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__item {
499
500
  display: flex;
500
501
  flex: 0 1 auto;
501
- visibility: visible;
502
502
  }
503
503
  .pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__toggle {
504
504
  display: none;
505
- visibility: hidden;
506
505
  }
507
506
  }
508
507
  @media (min-width: 1450px) {
@@ -513,11 +512,9 @@
513
512
  .pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__item {
514
513
  display: flex;
515
514
  flex: 0 1 auto;
516
- visibility: visible;
517
515
  }
518
516
  .pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__toggle {
519
517
  display: none;
520
- visibility: hidden;
521
518
  }
522
519
  }
523
520
  .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right,
@@ -20,6 +20,10 @@ declare const _default: {
20
20
  "fullHeight": "pf-m-full-height",
21
21
  "static": "pf-m-static",
22
22
  "vertical": "pf-m-vertical",
23
+ "alignItemsCenter": "pf-m-align-items-center",
24
+ "alignItemsBaseline": "pf-m-align-items-baseline",
25
+ "alignSelfCenter": "pf-m-align-self-center",
26
+ "alignSelfBaseline": "pf-m-align-self-baseline",
23
27
  "buttonGroup": "pf-m-button-group",
24
28
  "iconButtonGroup": "pf-m-icon-button-group",
25
29
  "filterGroup": "pf-m-filter-group",
@@ -22,6 +22,10 @@ exports.default = {
22
22
  "fullHeight": "pf-m-full-height",
23
23
  "static": "pf-m-static",
24
24
  "vertical": "pf-m-vertical",
25
+ "alignItemsCenter": "pf-m-align-items-center",
26
+ "alignItemsBaseline": "pf-m-align-items-baseline",
27
+ "alignSelfCenter": "pf-m-align-self-center",
28
+ "alignSelfBaseline": "pf-m-align-self-baseline",
25
29
  "buttonGroup": "pf-m-button-group",
26
30
  "iconButtonGroup": "pf-m-icon-button-group",
27
31
  "filterGroup": "pf-m-filter-group",
@@ -20,6 +20,10 @@ export default {
20
20
  "fullHeight": "pf-m-full-height",
21
21
  "static": "pf-m-static",
22
22
  "vertical": "pf-m-vertical",
23
+ "alignItemsCenter": "pf-m-align-items-center",
24
+ "alignItemsBaseline": "pf-m-align-items-baseline",
25
+ "alignSelfCenter": "pf-m-align-self-center",
26
+ "alignSelfBaseline": "pf-m-align-self-baseline",
23
27
  "buttonGroup": "pf-m-button-group",
24
28
  "iconButtonGroup": "pf-m-icon-button-group",
25
29
  "filterGroup": "pf-m-filter-group",
@@ -8,8 +8,10 @@
8
8
  --pf-c-tooltip__content--Color: var(--pf-global--Color--light-100);
9
9
  --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
10
10
  --pf-c-tooltip__content--FontSize: var(--pf-global--FontSize--sm);
11
- --pf-c-tooltip__arrow--Width: 0.5rem;
12
- --pf-c-tooltip__arrow--Height: 0.5rem;
11
+ --pf-c-tooltip__arrow--Width: 0.9375rem;
12
+ --pf-c-tooltip__arrow--Height: 0.9375rem;
13
+ --pf-c-tooltip__arrow--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
14
+ --pf-c-tooltip__arrow--BoxShadow: var(--pf-global--BoxShadow--md);
13
15
  --pf-c-tooltip__arrow--m-top--TranslateX: -50%;
14
16
  --pf-c-tooltip__arrow--m-top--TranslateY: 50%;
15
17
  --pf-c-tooltip__arrow--m-top--Rotate: 45deg;
@@ -79,18 +81,11 @@
79
81
  width: var(--pf-c-tooltip__arrow--Width);
80
82
  height: var(--pf-c-tooltip__arrow--Height);
81
83
  pointer-events: none;
82
- background-color: var(--pf-c-tooltip__content--BackgroundColor);
84
+ background-color: var(--pf-c-tooltip__arrow--BackgroundColor);
85
+ box-shadow: var(--pf-c-tooltip__arrow--BoxShadow);
83
86
  }
84
87
 
85
88
  :where(.pf-theme-dark) .pf-c-tooltip {
86
- --pf-c-tooltip--BoxShadow: none;
87
89
  --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
88
- }
89
- :where(.pf-theme-dark) .pf-c-tooltip,
90
- :where(.pf-theme-dark) .pf-c-tooltip__arrow {
91
- border: var(--pf-global--BorderWidth--lg) solid var(--pf-global--BorderColor--300);
92
- }
93
- :where(.pf-theme-dark) .pf-c-tooltip__arrow {
94
- --pf-c-tooltip__arrow--Width: 0.9375rem;
95
- --pf-c-tooltip__arrow--Height: 0.9375rem;
90
+ --pf-c-tooltip__arrow--BackgroundColor: var(--pf-global--BackgroundColor--300);
96
91
  }
@@ -216,7 +216,6 @@
216
216
  .pf-c-wizard.pf-m-finished .pf-c-wizard__footer,
217
217
  .pf-c-wizard.pf-m-finished .pf-c-wizard__toggle {
218
218
  display: none;
219
- visibility: hidden;
220
219
  }
221
220
 
222
221
  .pf-c-wizard__header {
@@ -242,12 +241,10 @@
242
241
  display: none;
243
242
  padding-top: var(--pf-c-wizard__description--PaddingTop);
244
243
  color: var(--pf-c-wizard__description--Color);
245
- visibility: hidden;
246
244
  }
247
245
  @media screen and (min-width: 992px) {
248
246
  .pf-c-wizard__description {
249
247
  display: block;
250
- visibility: visible;
251
248
  }
252
249
  }
253
250
 
@@ -265,7 +262,6 @@
265
262
  @media screen and (min-width: 992px) {
266
263
  .pf-c-wizard__toggle {
267
264
  display: none;
268
- visibility: hidden;
269
265
  }
270
266
  }
271
267
  .pf-c-wizard__toggle.pf-m-expanded {
@@ -345,19 +341,16 @@
345
341
  max-height: 100%;
346
342
  overflow-y: auto;
347
343
  -webkit-overflow-scrolling: touch;
348
- visibility: hidden;
349
344
  background-color: var(--pf-c-wizard__nav--BackgroundColor);
350
345
  box-shadow: var(--pf-c-wizard__nav--BoxShadow);
351
346
  }
352
347
  .pf-c-wizard__nav.pf-m-expanded {
353
348
  display: block;
354
- visibility: visible;
355
349
  }
356
350
  @media screen and (min-width: 992px) {
357
351
  .pf-c-wizard__nav {
358
352
  display: block;
359
353
  height: 100%;
360
- visibility: visible;
361
354
  border-right: var(--pf-c-wizard__nav--lg--BorderRightWidth) solid var(--pf-c-wizard__nav--lg--BorderRightColor);
362
355
  }
363
356
  }
@@ -390,11 +383,9 @@
390
383
  }
391
384
  .pf-c-wizard__nav-item.pf-m-expandable > .pf-c-wizard__nav-list {
392
385
  display: none;
393
- visibility: hidden;
394
386
  }
395
387
  .pf-c-wizard__nav-item.pf-m-expanded > .pf-c-wizard__nav-list {
396
388
  display: block;
397
- visibility: visible;
398
389
  }
399
390
  .pf-c-wizard__nav-item.pf-m-expanded > .pf-c-wizard__nav-link {
400
391
  --pf-c-wizard__nav-link-toggle-icon--Rotate: var(--pf-c-wizard__nav-item--m-expanded__link-toggle-icon--Rotate);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "4.92.6",
3
+ "version": "5.0.0-alpha.2",
4
4
  "main": "dist/js/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -12,14 +12,14 @@
12
12
  "author": "Red Hat",
13
13
  "publishConfig": {
14
14
  "access": "public",
15
- "tag": "prerelease"
15
+ "tag": "alpha"
16
16
  },
17
17
  "scripts": {
18
18
  "generate": "rimraf css && node scripts/writeClassMaps.js && node scripts/copyStyles.js",
19
19
  "clean": "rimraf dist css"
20
20
  },
21
21
  "devDependencies": {
22
- "@patternfly/patternfly": "4.224.2",
22
+ "@patternfly/patternfly": "5.0.0-alpha.12",
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": "91180feefa57c641752c4b5134669ffc497e8dc8"
32
+ "gitHead": "dd91c73c726d471205cc7ce2cf463fa8c1a6e593"
33
33
  }