@patternfly/patternfly 5.0.0-alpha.64 → 5.0.0-alpha.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/base/_globals.scss +1 -1
  2. package/base/_themes.scss +2 -2
  3. package/base/_variables.scss +1 -1
  4. package/base/themes/dark/_variables.scss +1 -1
  5. package/components/AboutModalBox/about-modal-box.css +2 -2
  6. package/components/Accordion/accordion.css +1 -1
  7. package/components/Alert/alert.css +1 -1
  8. package/components/AppLauncher/app-launcher.css +1 -1
  9. package/components/Badge/badge.css +1 -1
  10. package/components/Banner/banner.css +3 -3
  11. package/components/Button/button.css +2 -2
  12. package/components/CalendarMonth/calendar-month.css +3 -3
  13. package/components/Card/card.css +2 -2
  14. package/components/Chip/chip.css +1 -1
  15. package/components/ClipboardCopy/clipboard-copy.css +3 -3
  16. package/components/CodeEditor/code-editor.css +1 -1
  17. package/components/ContextSelector/context-selector.css +5 -5
  18. package/components/DataList/data-list.css +1 -1
  19. package/components/DatePicker/date-picker.css +1 -1
  20. package/components/DragDrop/drag-drop.css +1 -1
  21. package/components/Drawer/drawer.css +2 -2
  22. package/components/Dropdown/dropdown.css +3 -3
  23. package/components/DualListSelector/dual-list-selector.css +1 -1
  24. package/components/Form/form.css +1 -1
  25. package/components/FormControl/form-control.css +3 -3
  26. package/components/HelperText/helper-text.css +1 -1
  27. package/components/Hint/hint.css +1 -1
  28. package/components/InputGroup/input-group.css +2 -2
  29. package/components/Label/label.css +1 -1
  30. package/components/LogViewer/log-viewer.css +2 -2
  31. package/components/Login/login.css +5 -5
  32. package/components/Masthead/masthead.css +5 -3
  33. package/components/Masthead/masthead.scss +2 -0
  34. package/components/Menu/menu.css +1 -1
  35. package/components/MenuToggle/menu-toggle.css +2 -2
  36. package/components/ModalBox/modal-box.css +1 -1
  37. package/components/Nav/nav.css +6 -6
  38. package/components/NotificationBadge/notification-badge.css +1 -1
  39. package/components/NotificationDrawer/notification-drawer.css +1 -1
  40. package/components/OptionsMenu/options-menu.css +2 -2
  41. package/components/Page/page.css +14 -14
  42. package/components/Pagination/pagination.css +1 -1
  43. package/components/Panel/panel.css +1 -1
  44. package/components/Popover/popover.css +1 -1
  45. package/components/Progress/progress.css +1 -1
  46. package/components/Select/select.css +2 -2
  47. package/components/SimpleList/simple-list.css +1 -1
  48. package/components/Skeleton/skeleton.css +1 -1
  49. package/components/Switch/switch.css +1 -1
  50. package/components/Table/table.css +2 -2
  51. package/components/Tabs/tabs.css +1 -1
  52. package/components/TextInputGroup/text-input-group.css +1 -1
  53. package/components/Tile/tile.css +1 -1
  54. package/components/ToggleGroup/toggle-group.css +1 -1
  55. package/components/Toolbar/toolbar.css +49 -15
  56. package/components/Toolbar/toolbar.scss +54 -18
  57. package/components/Tooltip/tooltip.css +1 -1
  58. package/components/TreeView/tree-view.css +1 -1
  59. package/components/Wizard/wizard.css +3 -3
  60. package/docs/components/Toolbar/examples/Toolbar.md +4 -2
  61. package/package.json +1 -1
  62. package/patternfly-addons.css +78 -78
  63. package/patternfly-base-no-globals-theme-dark-unversioned.css +5234 -0
  64. package/patternfly-base-no-globals-theme-dark-unversioned.scss +11 -0
  65. package/patternfly-base-theme-dark-unversioned.css +5351 -0
  66. package/patternfly-base-theme-dark-unversioned.scss +5 -0
  67. package/patternfly-charts-theme-dark-unversioned.css +70 -0
  68. package/patternfly-charts-theme-dark-unversioned.scss +8 -0
  69. package/patternfly-no-globals.css +355 -319
  70. package/patternfly-theme-dark-unversioned.css +34476 -0
  71. package/patternfly-theme-dark-unversioned.scss +6 -0
  72. package/patternfly.css +355 -319
  73. package/patternfly.min.css +1 -1
  74. package/patternfly.min.css.map +1 -1
  75. package/sass-utilities/_init.scss +20 -0
  76. package/sass-utilities/mixins.scss +2 -2
  77. package/utilities/BackgroundColor/BackgroundColor.css +30 -30
  78. package/utilities/Text/text.css +48 -48
@@ -949,9 +949,9 @@
949
949
  flex: 1 0 auto;
950
950
  }
951
951
 
952
- :where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector,
953
- :where(.pf-v5-theme-dark) .pf-v5-c-page__main-section[class*=pf-m-dark-],
954
- :where(.pf-v5-theme-dark) .pf-v5-c-page__header {
952
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector,
953
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-section[class*=pf-m-dark-],
954
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__header {
955
955
  --pf-v5-global--Color--100: #e0e0e0;
956
956
  --pf-v5-global--Color--200: #aaabac;
957
957
  --pf-v5-global--BorderColor--100: #444548;
@@ -961,38 +961,38 @@
961
961
  --pf-v5-global--BackgroundColor--100: #1b1d21;
962
962
  }
963
963
 
964
- :where(.pf-v5-theme-dark) .pf-v5-c-page {
964
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page {
965
965
  --pf-v5-c-page__main-section--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
966
966
  --pf-v5-c-page__header-tools--c-button--m-selected--before--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
967
967
  --pf-v5-c-page__sidebar--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
968
968
  --pf-v5-c-page__header--BackgroundColor: var(--pf-v5-global--palette--black-1000);
969
969
  }
970
- :where(.pf-v5-theme-dark) .pf-v5-c-page__header-tools-item.pf-m-selected .pf-v5-c-button {
970
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__header-tools-item.pf-m-selected .pf-v5-c-button {
971
971
  color: var(--pf-v5-global--Color--100);
972
972
  }
973
- :where(.pf-v5-theme-dark) .pf-v5-c-page__header-tools-item.pf-m-selected .pf-v5-c-button .pf-v5-c-notification-badge:hover::before {
973
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__header-tools-item.pf-m-selected .pf-v5-c-button .pf-v5-c-notification-badge:hover::before {
974
974
  background-color: var(--pf-v5-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
975
975
  }
976
- :where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar {
976
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar {
977
977
  border-right: var(--pf-v5-global--BorderWidth--sm) solid var(--pf-v5-global--BorderColor--100);
978
978
  }
979
- :where(.pf-v5-theme-dark) .pf-v5-c-page__main-nav.pf-m-sticky-top, :where(.pf-v5-theme-dark) .pf-v5-c-page__main-nav.pf-m-sticky-bottom {
979
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-nav.pf-m-sticky-top, :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-nav.pf-m-sticky-bottom {
980
980
  --pf-v5-c-page__main-nav--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
981
981
  }
982
- :where(.pf-v5-theme-dark) .pf-v5-c-page__main-breadcrumb.pf-m-sticky-top, :where(.pf-v5-theme-dark) .pf-v5-c-page__main-breadcrumb.pf-m-sticky-bottom {
982
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-breadcrumb.pf-m-sticky-top, :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-breadcrumb.pf-m-sticky-bottom {
983
983
  --pf-v5-c-page__main-breadcrumb--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
984
984
  }
985
- :where(.pf-v5-theme-dark) .pf-v5-c-page__main-group.pf-m-sticky-top, :where(.pf-v5-theme-dark) .pf-v5-c-page__main-group.pf-m-sticky-bottom {
985
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-group.pf-m-sticky-top, :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-group.pf-m-sticky-bottom {
986
986
  --pf-v5-c-page__main-section--m-light--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
987
987
  --pf-v5-c-page__main-section--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
988
988
  --pf-v5-c-page__main-breadcrumb--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
989
989
  --pf-v5-c-page__main-nav--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
990
990
  }
991
- :where(.pf-v5-theme-dark) .pf-v5-c-page__main-section.pf-m-sticky-top, :where(.pf-v5-theme-dark) .pf-v5-c-page__main-section.pf-m-sticky-bottom {
991
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-section.pf-m-sticky-top, :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-section.pf-m-sticky-bottom {
992
992
  --pf-v5-c-page__main-section--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
993
993
  }
994
- :where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector,
995
- :where(.pf-v5-theme-dark) .pf-v5-c-page__main-section[class*=pf-m-dark-],
996
- :where(.pf-v5-theme-dark) .pf-v5-c-page__header {
994
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector,
995
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__main-section[class*=pf-m-dark-],
996
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-page__header {
997
997
  color: var(--pf-v5-global--Color--100);
998
998
  }
@@ -398,6 +398,6 @@
398
398
  }
399
399
  }
400
400
 
401
- :where(.pf-v5-theme-dark) .pf-v5-c-pagination {
401
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-pagination {
402
402
  --pf-v5-c-pagination--m-sticky--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
403
403
  }
@@ -79,6 +79,6 @@
79
79
  box-shadow: var(--pf-v5-c-panel__footer--BoxShadow);
80
80
  }
81
81
 
82
- :where(.pf-v5-theme-dark) .pf-v5-c-panel {
82
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-panel {
83
83
  --pf-v5-c-panel--m-raised--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
84
84
  }
@@ -170,7 +170,7 @@
170
170
  margin-top: var(--pf-v5-c-popover__footer--MarginTop);
171
171
  }
172
172
 
173
- :where(.pf-v5-theme-dark) .pf-v5-c-popover {
173
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-popover {
174
174
  --pf-v5-c-popover__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
175
175
  --pf-v5-c-popover__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
176
176
  --pf-v5-c-popover--m-custom__title-text--Color: var(--pf-v5-global--custom-color--200);
@@ -165,7 +165,7 @@
165
165
  margin-top: var(--pf-v5-c-progress__helper-text--MarginTop);
166
166
  }
167
167
 
168
- :where(.pf-v5-theme-dark) .pf-v5-c-progress {
168
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-progress {
169
169
  --pf-v5-c-progress--m-inside__measure--Color: var(--pf-v5-global--palette--black-900);
170
170
  --pf-v5-c-progress--m-success--m-inside__measure--Color: var(--pf-v5-global--palette--black-900);
171
171
  --pf-v5-c-progress--m-warning--m-inside__measure--Color: var(--pf-v5-global--palette--black-900);
@@ -580,7 +580,7 @@
580
580
  box-shadow: var(--pf-v5-c-select__menu-footer--BoxShadow);
581
581
  }
582
582
 
583
- :where(.pf-v5-theme-dark) .pf-v5-c-select {
583
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-select {
584
584
  --pf-v5-c-select__toggle--disabled--BackgroundColor: var(--pf-v5-global--palette--black-500);
585
585
  --pf-v5-c-select__toggle--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
586
586
  --pf-v5-c-select__toggle--before--BorderTopColor: transparent;
@@ -592,6 +592,6 @@
592
592
  --pf-v5-c-select__menu-item--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
593
593
  --pf-v5-c-select__menu--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
594
594
  }
595
- :where(.pf-v5-theme-dark) .pf-v5-c-select__toggle:disabled, :where(.pf-v5-theme-dark) .pf-v5-c-select__toggle.pf-m-disabled {
595
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-select__toggle:disabled, :root:where(.pf-v5-theme-dark) .pf-v5-c-select__toggle.pf-m-disabled {
596
596
  color: var(--pf-v5-global--palette--black-100);
597
597
  }
@@ -71,7 +71,7 @@
71
71
  margin-top: var(--pf-v5-c-simple-list__section--section--MarginTop);
72
72
  }
73
73
 
74
- :where(.pf-v5-theme-dark) .pf-v5-c-simple-list {
74
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-simple-list {
75
75
  --pf-v5-c-simple-list__item-link--m-current--Color: var(--pf-v5-global--active-color--100);
76
76
  --pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
77
77
  --pf-v5-c-simple-list__item-link--hover--Color: var(--pf-v5-global--Color--100);
@@ -160,7 +160,7 @@
160
160
  transform: translateX(100%);
161
161
  }
162
162
  }
163
- :where(.pf-v5-theme-dark) .pf-v5-c-skeleton {
163
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-skeleton {
164
164
  --pf-v5-c-skeleton--BackgroundColor: var(--pf-v5-global--palette--black-600);
165
165
  --pf-v5-c-skeleton--after--LinearGradientColorStop1: var(--pf-v5-global--palette--black-600);
166
166
  --pf-v5-c-skeleton--after--LinearGradientColorStop2: var(--pf-v5-global--palette--black-500);
@@ -135,7 +135,7 @@
135
135
  vertical-align: top;
136
136
  }
137
137
 
138
- :where(.pf-v5-theme-dark) .pf-v5-c-switch {
138
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-switch {
139
139
  --pf-v5-c-switch__toggle-icon--Color: var(--pf-v5-global--BackgroundColor--100);
140
140
  --pf-v5-c-switch__input--not-checked__label--Color: var(--pf-v5-global--Color--100);
141
141
  --pf-v5-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-v5-global--disabled-color--100);
@@ -1062,9 +1062,9 @@
1062
1062
  --pf-v5-c-table--cell--Width: 100%;
1063
1063
  }
1064
1064
 
1065
- :where(.pf-v5-theme-dark) .pf-v5-c-table {
1065
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-table {
1066
1066
  --pf-v5-c-table--m-striped__tr--BackgroundColor: var(--pf-v5-global--BackgroundColor--150);
1067
1067
  }
1068
- :where(.pf-v5-theme-dark) .pf-v5-c-table__favorite .pf-v5-c-button:hover, :where(.pf-v5-theme-dark) .pf-v5-c-table__favorite .pf-v5-c-button:focus {
1068
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-table__favorite .pf-v5-c-button:hover, :root:where(.pf-v5-theme-dark) .pf-v5-c-table__favorite .pf-v5-c-button:focus {
1069
1069
  --pf-v5-c-button--m-plain--Color: var(--pf-v5-global--palette--gold-100);
1070
1070
  }
@@ -834,7 +834,7 @@
834
834
  }
835
835
  }
836
836
 
837
- :where(.pf-v5-theme-dark) .pf-v5-c-tabs {
837
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-tabs {
838
838
  --pf-v5-c-tabs__scroll-button--BackgroundColor: transparent;
839
839
  --pf-v5-c-tabs__link--disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
840
840
  --pf-v5-c-tabs__link--disabled--Color: var(--pf-v5-global--disabled-color--300);
@@ -148,7 +148,7 @@
148
148
  display: flex;
149
149
  }
150
150
 
151
- :where(.pf-v5-theme-dark) .pf-v5-c-text-input-group {
151
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-text-input-group {
152
152
  --pf-v5-c-text-input-group--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
153
153
  --pf-v5-c-text-input-group--m-disabled--Color: var(--pf-v5-global--disabled-color--300);
154
154
  --pf-v5-c-text-input-group--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
@@ -136,7 +136,7 @@
136
136
  color: var(--pf-v5-c-tile__icon--Color);
137
137
  }
138
138
 
139
- :where(.pf-v5-theme-dark) .pf-v5-c-tile {
139
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-tile {
140
140
  --pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
141
141
  --pf-v5-c-tile--m-disabled__title--Color: var(--pf-v5-global--disabled-color--300);
142
142
  --pf-v5-c-tile--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--300);
@@ -104,7 +104,7 @@
104
104
  margin-left: var(--pf-v5-c-toggle-group__icon--text--MarginLeft);
105
105
  }
106
106
 
107
- :where(.pf-v5-theme-dark) .pf-v5-c-toggle-group {
107
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-toggle-group {
108
108
  --pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-v5-global--palette--black-700);
109
109
  --pf-v5-c-toggle-group__button--focus--BackgroundColor: var(--pf-v5-global--palette--black-700);
110
110
  --pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-v5-global--palette--black-600);
@@ -48,6 +48,7 @@
48
48
  }
49
49
 
50
50
  .pf-v5-c-toolbar {
51
+ --pf-v5-c-toolbar--AlignItems--base: flex-start;
51
52
  --pf-v5-c-toolbar--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
52
53
  --pf-v5-c-toolbar--RowGap--base: var(--pf-v5-global--spacer--lg);
53
54
  --pf-v5-c-toolbar--RowGap: var(--pf-v5-c-toolbar--RowGap--base);
@@ -57,18 +58,20 @@
57
58
  --pf-v5-c-toolbar__item--Display: block;
58
59
  --pf-v5-c-toolbar__item--MinWidth--base: auto;
59
60
  --pf-v5-c-toolbar__item--AlignSelf: auto;
61
+ --pf-v5-c-toolbar__item--AlignItems: var(--pf-v5-c-toolbar--AlignItems--base);
60
62
  --pf-v5-c-toolbar__group--Display: flex;
61
- --pf-v5-c-toolbar__group--AlignItems: baseline;
63
+ --pf-v5-c-toolbar__group--AlignItems: var(--pf-v5-c-toolbar--AlignItems--base);
62
64
  --pf-v5-c-toolbar__group--AlignSelf: auto;
63
65
  --pf-v5-c-toolbar__group--RowGap: var(--pf-v5-c-toolbar--item--RowGap--base);
64
66
  --pf-v5-c-toolbar--m-sticky--ZIndex: var(--pf-v5-global--ZIndex--xs);
65
67
  --pf-v5-c-toolbar--m-sticky--BoxShadow: var(--pf-v5-global--BoxShadow--sm-bottom);
66
68
  --pf-v5-c-toolbar__content--Display: flex;
69
+ --pf-v5-c-toolbar__content--AlignItems: var(--pf-v5-c-toolbar--AlignItems--base);
67
70
  --pf-v5-c-toolbar__content--RowGap: var(--pf-v5-c-toolbar--RowGap--base);
68
71
  --pf-v5-c-toolbar__content--PaddingRight: var(--pf-v5-global--spacer--md);
69
72
  --pf-v5-c-toolbar__content--PaddingLeft: var(--pf-v5-global--spacer--md);
70
73
  --pf-v5-c-toolbar__content-section--Display: flex;
71
- --pf-v5-c-toolbar__content-section--AlignItems: baseline;
74
+ --pf-v5-c-toolbar__content-section--AlignItems: var(--pf-v5-c-toolbar--AlignItems--base);
72
75
  --pf-v5-c-toolbar__content-section--RowGap: var(--pf-v5-c-toolbar--item--RowGap--base);
73
76
  --pf-v5-c-toolbar--m-page-insets--inset: var(--pf-v5-global--spacer--md);
74
77
  --pf-v5-c-toolbar--m-page-insets--xl--inset: var(--pf-v5-global--spacer--lg);
@@ -87,8 +90,8 @@
87
90
  --pf-v5-c-toolbar__group--m-chip-container__item--MarginTop: var(--pf-v5-global--spacer--md);
88
91
  --pf-v5-c-toolbar--spacer--base: var(--pf-v5-global--spacer--md);
89
92
  --pf-v5-c-toolbar__item--spacer: var(--pf-v5-c-toolbar--spacer--base);
90
- --pf-v5-c-toolbar__group--spacer: var(--pf-v5-c-toolbar--spacer--base);
91
93
  --pf-v5-c-toolbar__item--Width: auto;
94
+ --pf-v5-c-toolbar__group--spacer: var(--pf-v5-c-toolbar--spacer--base);
92
95
  --pf-v5-c-toolbar__group--m-toggle-group--spacer: var(--pf-v5-global--spacer--sm);
93
96
  --pf-v5-c-toolbar__group--m-toggle-group--m-show--spacer: var(--pf-v5-c-toolbar__group--spacer);
94
97
  --pf-v5-c-toolbar__group--m-icon-button-group--spacer: var(--pf-v5-c-toolbar__group--spacer);
@@ -113,7 +116,7 @@
113
116
  --pf-v5-c-toolbar--m-full-height--PaddingTop: 0;
114
117
  --pf-v5-c-toolbar--m-full-height--PaddingBottom: 0;
115
118
  --pf-v5-c-toolbar--m-full-height__item--Display: flex;
116
- --pf-v5-c-toolbar--m-full-height__item--AlignItems: center;
119
+ --pf-v5-c-toolbar--m-full-height__item--AlignItems: var(--pf-v5-c-toolbar__group--AlignItems);
117
120
  position: relative;
118
121
  display: grid;
119
122
  row-gap: var(--pf-v5-c-toolbar--RowGap);
@@ -163,8 +166,8 @@
163
166
  .pf-v5-c-toolbar.pf-m-full-height .pf-v5-c-toolbar__item {
164
167
  align-self: stretch;
165
168
  }
166
- .pf-v5-c-toolbar.pf-m-full-height .pf-v5-c-toolbar__item {
167
- align-items: var(--pf-v5-c-toolbar--m-full-height__item--AlignItems);
169
+ .pf-v5-c-toolbar.pf-m-full-height :where(.pf-v5-c-toolbar__item) {
170
+ --pf-v5-c-toolbar__item--AlignItems: var(--pf-v5-c-toolbar--m-full-height__item--AlignItems);
168
171
  }
169
172
  .pf-v5-c-toolbar.pf-m-static,
170
173
  .pf-v5-c-toolbar.pf-m-static .pf-v5-c-toolbar__content {
@@ -186,27 +189,39 @@
186
189
  .pf-v5-c-toolbar__group > .pf-v5-c-divider.pf-m-vertical:last-child {
187
190
  --pf-v5-c-toolbar--spacer: 0;
188
191
  }
189
-
190
- .pf-v5-c-toolbar__group {
191
- --pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__group--spacer);
192
- --pf-v5-hidden-visible--visible--Display: var(--pf-v5-c-toolbar__group--Display);
193
- row-gap: var(--pf-v5-c-toolbar__group--RowGap);
194
- align-items: var(--pf-v5-c-toolbar__group--AlignItems);
195
- align-self: var(--pf-v5-c-toolbar__group--AlignSelf);
196
- margin-right: var(--pf-v5-c-toolbar--spacer);
192
+ .pf-v5-c-toolbar__content-section.pf-m-align-items-start,
193
+ .pf-v5-c-toolbar__group.pf-m-align-items-start {
194
+ align-items: flex-start;
197
195
  }
196
+ .pf-v5-c-toolbar__content-section.pf-m-align-items-center,
198
197
  .pf-v5-c-toolbar__group.pf-m-align-items-center {
199
198
  align-items: center;
200
199
  }
200
+ .pf-v5-c-toolbar__content-section.pf-m-align-items-baseline,
201
201
  .pf-v5-c-toolbar__group.pf-m-align-items-baseline {
202
202
  align-items: baseline;
203
203
  }
204
+ .pf-v5-c-toolbar__content-section.pf-m-align-self-start,
205
+ .pf-v5-c-toolbar__group.pf-m-align-self-start {
206
+ align-self: flex-start;
207
+ }
208
+ .pf-v5-c-toolbar__content-section.pf-m-align-self-center,
204
209
  .pf-v5-c-toolbar__group.pf-m-align-self-center {
205
210
  align-self: center;
206
211
  }
212
+ .pf-v5-c-toolbar__content-section.pf-m-align-self-baseline,
207
213
  .pf-v5-c-toolbar__group.pf-m-align-self-baseline {
208
214
  align-self: baseline;
209
215
  }
216
+
217
+ .pf-v5-c-toolbar__group {
218
+ --pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__group--spacer);
219
+ --pf-v5-hidden-visible--visible--Display: var(--pf-v5-c-toolbar__group--Display);
220
+ row-gap: var(--pf-v5-c-toolbar__group--RowGap);
221
+ align-items: var(--pf-v5-c-toolbar__group--AlignItems);
222
+ align-self: var(--pf-v5-c-toolbar__group--AlignSelf);
223
+ margin-right: var(--pf-v5-c-toolbar--spacer);
224
+ }
210
225
  .pf-v5-c-toolbar__group.pf-m-button-group {
211
226
  --pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__group--m-button-group--spacer);
212
227
  }
@@ -247,6 +262,7 @@
247
262
  --pf-v5-c-toolbar__item--Width--base: var(--pf-v5-c-toolbar__item--Width);
248
263
  --pf-v5-c-toolbar__item--MinWidth--base: var(--pf-v5-c-toolbar__item--MinWidth);
249
264
  --pf-v5-hidden-visible--visible--Display: var(--pf-v5-c-toolbar__item--Display);
265
+ align-items: var(--pf-v5-c-toolbar__item--AlignItems);
250
266
  align-self: var(--pf-v5-c-toolbar__item--AlignSelf);
251
267
  width: var(--pf-v5-c-toolbar__item--Width--base);
252
268
  min-width: var(--pf-v5-c-toolbar__item--MinWidth--base);
@@ -302,6 +318,18 @@
302
318
  --pf-v5-c-toolbar__item--MinWidth--base: var(--pf-v5-c-toolbar__item--MinWidth-on-2xl, var(--pf-v5-c-toolbar__item--MinWidth-on-xl, var(--pf-v5-c-toolbar__item--MinWidth-on-lg, var(--pf-v5-c-toolbar__item--MinWidth-on-md, var(--pf-v5-c-toolbar__item--MinWidth-on-sm, var(--pf-v5-c-toolbar__item--MinWidth))))));
303
319
  }
304
320
  }
321
+ .pf-v5-c-toolbar__item.pf-m-align-items-start {
322
+ align-items: flex-start;
323
+ }
324
+ .pf-v5-c-toolbar__item.pf-m-align-items-center {
325
+ align-items: center;
326
+ }
327
+ .pf-v5-c-toolbar__item.pf-m-align-items-baseline {
328
+ align-items: baseline;
329
+ }
330
+ .pf-v5-c-toolbar__item.pf-m-align-self-start {
331
+ align-self: flex-start;
332
+ }
305
333
  .pf-v5-c-toolbar__item.pf-m-align-self-center {
306
334
  align-self: center;
307
335
  }
@@ -358,7 +386,7 @@
358
386
  --pf-v5-hidden-visible--visible--Display: var(--pf-v5-c-toolbar__content--Display);
359
387
  position: relative;
360
388
  row-gap: var(--pf-v5-c-toolbar__content--RowGap);
361
- align-items: center;
389
+ align-items: var(--pf-v5-c-toolbar__content--AlignItems);
362
390
  padding-right: var(--pf-v5-c-toolbar__content--PaddingRight);
363
391
  padding-left: var(--pf-v5-c-toolbar__content--PaddingLeft);
364
392
  }
@@ -369,9 +397,15 @@
369
397
  align-items: var(--pf-v5-c-toolbar__content-section--AlignItems);
370
398
  width: 100%;
371
399
  }
400
+ .pf-v5-c-toolbar__content-section.pf-m-align-items-start {
401
+ align-items: flex-start;
402
+ }
372
403
  .pf-v5-c-toolbar__content-section.pf-m-align-items-center {
373
404
  align-items: center;
374
405
  }
406
+ .pf-v5-c-toolbar__content-section.pf-m-align-items-baseline {
407
+ align-items: baseline;
408
+ }
375
409
 
376
410
  .pf-v5-c-toolbar__expandable-content {
377
411
  position: absolute;
@@ -6,6 +6,7 @@ $pf-v5-c-toolbar--spacer-map: build-spacer-map("none", "sm", "md", "lg");
6
6
  $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
7
7
 
8
8
  .#{$toolbar} {
9
+ --#{$toolbar}--AlignItems--base: flex-start;
9
10
  --#{$toolbar}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
10
11
  --#{$toolbar}--RowGap--base: var(--#{$pf-global}--spacer--lg); // row-gap between toolbar content elements
11
12
  --#{$toolbar}--RowGap: var(--#{$toolbar}--RowGap--base);
@@ -17,10 +18,11 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
17
18
  --#{$toolbar}__item--Display: block;
18
19
  --#{$toolbar}__item--MinWidth--base: auto;
19
20
  --#{$toolbar}__item--AlignSelf: auto;
21
+ --#{$toolbar}__item--AlignItems: var(--#{$toolbar}--AlignItems--base);
20
22
 
21
23
  // Group
22
24
  --#{$toolbar}__group--Display: flex;
23
- --#{$toolbar}__group--AlignItems: baseline;
25
+ --#{$toolbar}__group--AlignItems: var(--#{$toolbar}--AlignItems--base);
24
26
  --#{$toolbar}__group--AlignSelf: auto;
25
27
  --#{$toolbar}__group--RowGap: var(--#{$toolbar}--item--RowGap--base);
26
28
 
@@ -30,13 +32,14 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
30
32
 
31
33
  // Content
32
34
  --#{$toolbar}__content--Display: flex;
35
+ --#{$toolbar}__content--AlignItems: var(--#{$toolbar}--AlignItems--base);
33
36
  --#{$toolbar}__content--RowGap: var(--#{$toolbar}--RowGap--base);
34
37
  --#{$toolbar}__content--PaddingRight: var(--#{$pf-global}--spacer--md); // remove at breaking change
35
38
  --#{$toolbar}__content--PaddingLeft: var(--#{$pf-global}--spacer--md); // remove at breaking change
36
39
 
37
40
  // Content section
38
41
  --#{$toolbar}__content-section--Display: flex;
39
- --#{$toolbar}__content-section--AlignItems: baseline;
42
+ --#{$toolbar}__content-section--AlignItems: var(--#{$toolbar}--AlignItems--base);
40
43
  --#{$toolbar}__content-section--RowGap: var(--#{$toolbar}--item--RowGap--base);
41
44
 
42
45
  // Insets
@@ -67,8 +70,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
67
70
 
68
71
  // Spacer values
69
72
  --#{$toolbar}__item--spacer: var(--#{$toolbar}--spacer--base);
70
- --#{$toolbar}__group--spacer: var(--#{$toolbar}--spacer--base);
71
73
  --#{$toolbar}__item--Width: auto;
74
+ --#{$toolbar}__group--spacer: var(--#{$toolbar}--spacer--base);
72
75
 
73
76
  // Toggle group
74
77
  --#{$toolbar}__group--m-toggle-group--spacer: var(--#{$pf-global}--spacer--sm);
@@ -123,7 +126,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
123
126
  --#{$toolbar}--m-full-height--PaddingTop: 0;
124
127
  --#{$toolbar}--m-full-height--PaddingBottom: 0;
125
128
  --#{$toolbar}--m-full-height__item--Display: flex;
126
- --#{$toolbar}--m-full-height__item--AlignItems: center;
129
+ --#{$toolbar}--m-full-height__item--AlignItems: var(--#{$toolbar}__group--AlignItems);
127
130
 
128
131
  @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
129
132
  --#{$toolbar}__expandable-content--PaddingRight: var(--#{$toolbar}__expandable-content--lg--PaddingRight);
@@ -177,8 +180,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
177
180
  align-self: stretch;
178
181
  }
179
182
 
180
- .#{$toolbar}__item {
181
- align-items: var(--#{$toolbar}--m-full-height__item--AlignItems);
183
+ :where(.#{$toolbar}__item) {
184
+ --#{$toolbar}__item--AlignItems: var(--#{$toolbar}--m-full-height__item--AlignItems);
182
185
  }
183
186
  }
184
187
 
@@ -209,18 +212,10 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
209
212
  --#{$toolbar}--spacer: 0;
210
213
  }
211
214
  }
212
- }
213
-
214
- // Group
215
- .#{$toolbar}__group {
216
- --#{$toolbar}--spacer: var(--#{$toolbar}__group--spacer);
217
-
218
- @include pf-v5-hidden-visible(var(--#{$toolbar}__group--Display));
219
215
 
220
- row-gap: var(--#{$toolbar}__group--RowGap);
221
- align-items: var(--#{$toolbar}__group--AlignItems);
222
- align-self: var(--#{$toolbar}__group--AlignSelf);
223
- margin-right: var(--#{$toolbar}--spacer);
216
+ &.pf-m-align-items-start {
217
+ align-items: flex-start;
218
+ }
224
219
 
225
220
  &.pf-m-align-items-center {
226
221
  align-items: center;
@@ -230,6 +225,10 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
230
225
  align-items: baseline;
231
226
  }
232
227
 
228
+ &.pf-m-align-self-start {
229
+ align-self: flex-start;
230
+ }
231
+
233
232
  &.pf-m-align-self-center {
234
233
  align-self: center;
235
234
  }
@@ -237,6 +236,18 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
237
236
  &.pf-m-align-self-baseline {
238
237
  align-self: baseline;
239
238
  }
239
+ }
240
+
241
+ // Group
242
+ .#{$toolbar}__group {
243
+ --#{$toolbar}--spacer: var(--#{$toolbar}__group--spacer);
244
+
245
+ @include pf-v5-hidden-visible(var(--#{$toolbar}__group--Display));
246
+
247
+ row-gap: var(--#{$toolbar}__group--RowGap);
248
+ align-items: var(--#{$toolbar}__group--AlignItems);
249
+ align-self: var(--#{$toolbar}__group--AlignSelf);
250
+ margin-right: var(--#{$toolbar}--spacer);
240
251
 
241
252
  // Button group
242
253
  &.pf-m-button-group {
@@ -297,11 +308,28 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
297
308
  @include pf-v5-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v5-c-toolbar--breakpoint-map);
298
309
  @include pf-v5-hidden-visible(var(--#{$toolbar}__item--Display));
299
310
 
311
+ align-items: var(--#{$toolbar}__item--AlignItems);
300
312
  align-self: var(--#{$toolbar}__item--AlignSelf);
301
313
  width: var(--#{$toolbar}__item--Width--base);
302
314
  min-width: var(--#{$toolbar}__item--MinWidth--base);
303
315
  margin-right: var(--#{$toolbar}--spacer);
304
316
 
317
+ &.pf-m-align-items-start {
318
+ align-items: flex-start;
319
+ }
320
+
321
+ &.pf-m-align-items-center {
322
+ align-items: center;
323
+ }
324
+
325
+ &.pf-m-align-items-baseline {
326
+ align-items: baseline;
327
+ }
328
+
329
+ &.pf-m-align-self-start {
330
+ align-self: flex-start;
331
+ }
332
+
305
333
  &.pf-m-align-self-center {
306
334
  align-self: center;
307
335
  }
@@ -382,7 +410,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
382
410
 
383
411
  position: relative;
384
412
  row-gap: var(--#{$toolbar}__content--RowGap);
385
- align-items: center;
413
+ align-items: var(--#{$toolbar}__content--AlignItems);
386
414
  padding-right: var(--#{$toolbar}__content--PaddingRight);
387
415
  padding-left: var(--#{$toolbar}__content--PaddingLeft);
388
416
  }
@@ -395,9 +423,17 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
395
423
  align-items: var(--#{$toolbar}__content-section--AlignItems);
396
424
  width: 100%;
397
425
 
426
+ &.pf-m-align-items-start {
427
+ align-items: flex-start;
428
+ }
429
+
398
430
  &.pf-m-align-items-center {
399
431
  align-items: center;
400
432
  }
433
+
434
+ &.pf-m-align-items-baseline {
435
+ align-items: baseline;
436
+ }
401
437
  }
402
438
 
403
439
  // Expandable content
@@ -85,7 +85,7 @@
85
85
  box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
86
86
  }
87
87
 
88
- :where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
88
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
89
89
  --pf-v5-c-tooltip__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
90
90
  --pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
91
91
  }
@@ -447,7 +447,7 @@ label.pf-v5-c-tree-view__node-text {
447
447
  --pf-v5-c-tree-view--m-compact--m-no-background--border--nested--Left: calc(var(--pf-v5-c-tree-view__node--PaddingLeft) - var(--pf-v5-c-tree-view--m-compact--m-no-background--base-border--Left--offset));
448
448
  }
449
449
 
450
- :where(.pf-v5-theme-dark) .pf-v5-c-tree-view {
450
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-tree-view {
451
451
  --pf-v5-c-tree-view__node--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
452
452
  --pf-v5-c-tree-view__node--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
453
453
  }
@@ -497,7 +497,7 @@
497
497
  margin-left: var(--pf-v5-c-wizard__footer-cancel--MarginLeft);
498
498
  }
499
499
 
500
- :where(.pf-v5-theme-dark) .pf-v5-c-wizard__header {
500
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-wizard__header {
501
501
  --pf-v5-global--Color--100: #e0e0e0;
502
502
  --pf-v5-global--Color--200: #aaabac;
503
503
  --pf-v5-global--BorderColor--100: #444548;
@@ -507,10 +507,10 @@
507
507
  --pf-v5-global--BackgroundColor--100: #1b1d21;
508
508
  }
509
509
 
510
- :where(.pf-v5-theme-dark) .pf-v5-c-wizard {
510
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-wizard {
511
511
  --pf-v5-c-wizard__header--BackgroundColor: var(--pf-v5-global--palette--black-1000);
512
512
  --pf-v5-c-wizard__nav-link--before--BackgroundColor: var(--pf-v5-global--palette--black-500);
513
513
  }
514
- :where(.pf-v5-theme-dark) .pf-v5-c-wizard__header {
514
+ :root:where(.pf-v5-theme-dark) .pf-v5-c-wizard__header {
515
515
  color: var(--pf-v5-global--Color--100);
516
516
  }
@@ -32,8 +32,10 @@ Toolbar relies on groups (`.pf-v5-c-toolbar__group`) and items (`.pf-v5-c-toolba
32
32
  | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v5-c-toolbar > *` | Modifies toolbar element to be shown, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
33
33
  | `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v5-c-toolbar > *` | Modifies toolbar element to align right, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
34
34
  | `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v5-c-toolbar > *` | Modifies toolbar element to align left, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
35
- | `.pf-m-align-items-center` | `.pf-v5-c-toolbar__content-section`, `.pf-v5-c-toolbar__group` | Modifies toolbar element to vertically align children to center. |
36
- | `.pf-m-align-items-baseline` | `.pf-v5-c-toolbar__group` | Modifies toolbar group to vertically align children to baseline. |
35
+ | `.pf-m-align-items-start` | `.pf-v5-c-toolbar__content-section`, `.pf-v5-c-toolbar__group`, `.pf-v5-c-toolbar__item` | Modifies toolbar element to vertically align children to flex-start. |
36
+ | `.pf-m-align-items-center` | `.pf-v5-c-toolbar__content-section`, `.pf-v5-c-toolbar__group`, `.pf-v5-c-toolbar__item` | Modifies toolbar element to vertically align children to center. |
37
+ | `.pf-m-align-items-baseline` | `.pf-v5-c-toolbar__content-section`, `.pf-v5-c-toolbar__group`, `.pf-v5-c-toolbar__item` | Modifies toolbar group to vertically align children to baseline. |
38
+ | `.pf-m-align-self-start` | `.pf-v5-c-toolbar__group`, `.pf-v5-c-toolbar__item` | Modifies toolbar element to vertically align self to flex-start. |
37
39
  | `.pf-m-align-self-center` | `.pf-v5-c-toolbar__group`, `.pf-v5-c-toolbar__item` | Modifies toolbar element to vertically align self to center. |
38
40
  | `.pf-m-align-self-baseline` | `.pf-v5-c-toolbar__group`, `.pf-v5-c-toolbar__item` | Modifies toolbar element to vertically align self to baseline. |
39
41
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "5.0.0-alpha.64",
4
+ "version": "5.0.0-alpha.66",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {