@patternfly/patternfly 5.0.0-prerelease.1 → 5.0.0-prerelease.10

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 (90) hide show
  1. package/base/_common.scss +7 -0
  2. package/base/_fonts.scss +1 -1
  3. package/base/_variables.scss +4 -7
  4. package/base/patternfly-common.css +6 -0
  5. package/base/patternfly-fonts.css +1 -1
  6. package/base/patternfly-themes.css +14 -0
  7. package/base/patternfly-variables.css +8 -6
  8. package/base/themes/dark/_chart-globals.scss +1 -1
  9. package/base/themes/dark/_variables.scss +4 -0
  10. package/components/AboutModalBox/about-modal-box.css +7 -8
  11. package/components/Accordion/accordion.css +2 -0
  12. package/components/Alert/alert.css +2 -0
  13. package/components/Banner/banner.css +9 -8
  14. package/components/CalendarMonth/calendar-month.css +5 -0
  15. package/components/CalendarMonth/calendar-month.scss +2 -0
  16. package/components/CalendarMonth/themes/dark/calendar-month.scss +4 -0
  17. package/components/Card/card.css +4 -0
  18. package/components/Card/themes/dark/card.scss +7 -1
  19. package/components/Chip/chip-group.css +2 -0
  20. package/components/Chip/chip.css +2 -0
  21. package/components/ContextSelector/context-selector.css +2 -0
  22. package/components/DataList/data-list.css +2 -0
  23. package/components/FormControl/form-control.css +2 -0
  24. package/components/LogViewer/log-viewer.css +7 -8
  25. package/components/Login/login.css +8 -9
  26. package/components/Masthead/masthead.css +11 -14
  27. package/components/Masthead/masthead.scss +1 -7
  28. package/components/Masthead/themes/dark/masthead.scss +1 -0
  29. package/components/Menu/menu.css +2 -0
  30. package/components/MenuToggle/menu-toggle.css +13 -11
  31. package/components/MenuToggle/menu-toggle.scss +14 -12
  32. package/components/MenuToggle/themes/dark/menu-toggle.scss +2 -1
  33. package/components/Page/page.css +11 -10
  34. package/components/Select/select.css +2 -0
  35. package/components/Switch/switch.css +3 -0
  36. package/components/Switch/switch.scss +3 -0
  37. package/components/Switch/themes/dark/switch.scss +1 -0
  38. package/components/Table/table.css +2 -0
  39. package/components/TextInputGroup/text-input-group.css +2 -2
  40. package/components/TextInputGroup/text-input-group.scss +2 -2
  41. package/components/Wizard/wizard.css +7 -8
  42. package/docs/components/Drawer/examples/Drawer.md +2 -2
  43. package/docs/components/Dropdown/deprecated/Dropdown.css +64 -0
  44. package/docs/components/Dropdown/{examples → deprecated}/Dropdown.md +1 -0
  45. package/docs/components/Nav/examples/Navigation.md +2 -2
  46. package/docs/components/Select/deprecated/Select.css +56 -0
  47. package/docs/components/Select/{examples → deprecated}/Select.md +1 -0
  48. package/docs/components/Switch/examples/Switch.md +36 -0
  49. package/docs/demos/AboutModal/examples/AboutModal.md +42 -774
  50. package/docs/demos/Alert/examples/Alert.md +126 -2322
  51. package/docs/demos/BackToTop/examples/BackToTop.md +42 -774
  52. package/docs/demos/Banner/examples/Banner.md +84 -1588
  53. package/docs/demos/CardView/examples/CardView.md +42 -774
  54. package/docs/demos/ContextSelector/examples/ContextSelector.md +136 -2448
  55. package/docs/demos/Dashboard/examples/Dashboard.md +42 -774
  56. package/docs/demos/DataList/examples/DataList.md +191 -3119
  57. package/docs/demos/DescriptionList/examples/DescriptionList.md +126 -2322
  58. package/docs/demos/Drawer/examples/Drawer.md +210 -3870
  59. package/docs/demos/JumpLinks/examples/JumpLinks.md +252 -4644
  60. package/docs/demos/Masthead/examples/Masthead.md +144 -1962
  61. package/docs/demos/Modal/examples/Modal.md +252 -4644
  62. package/docs/demos/Nav/examples/Nav.md +337 -6193
  63. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +231 -3891
  64. package/docs/demos/Page/examples/Page.md +378 -6966
  65. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +426 -5550
  66. package/docs/demos/Skeleton/examples/Skeleton.md +42 -774
  67. package/docs/demos/Table/examples/Table.md +752 -11732
  68. package/docs/demos/Tabs/examples/Tabs.md +252 -4644
  69. package/docs/demos/Toolbar/examples/Toolbar.md +84 -1548
  70. package/docs/demos/Wizard/examples/Wizard.md +378 -6966
  71. package/package.json +2 -2
  72. package/patternfly-base-no-globals-theme-dark-unversioned.css +22 -7
  73. package/patternfly-base-no-globals.css +22 -7
  74. package/patternfly-base-theme-dark-unversioned.css +22 -7
  75. package/patternfly-base.css +22 -7
  76. package/patternfly-charts-theme-dark-unversioned.css +66 -66
  77. package/patternfly-charts-theme-dark.css +66 -66
  78. package/patternfly-no-globals.css +314 -609
  79. package/patternfly-theme-dark-unversioned.css +314 -609
  80. package/patternfly.css +314 -609
  81. package/patternfly.min.css +1 -1
  82. package/patternfly.min.css.map +1 -1
  83. package/sass-utilities/placeholders.scss +8 -0
  84. package/sass-utilities/scss-variables.scss +6 -2
  85. package/sass-utilities/themes/dark/placeholders.scss +3 -8
  86. package/sass-utilities/themes/dark/scss-variables.scss +6 -3
  87. package/RELEASE-NOTES.md +0 -1815
  88. package/UPGRADE-GUIDE.md +0 -1298
  89. package/docs/components/Dropdown/examples/Dropdown.css +0 -64
  90. package/docs/components/Select/examples/Select.css +0 -55
@@ -110,6 +110,7 @@
110
110
  --#{$menu-toggle}--m-full-height--PaddingRight: var(--#{$pf-global}--spacer--lg);
111
111
  --#{$menu-toggle}--m-full-height--PaddingLeft: var(--#{$pf-global}--spacer--lg);
112
112
  --#{$menu-toggle}--m-full-height__toggle--before--BorderTopWidth: 0;
113
+ --#{$menu-toggle}--m-full-height__toggle--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
113
114
  --#{$menu-toggle}--m-full-height--m-expanded--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--xl);
114
115
  --#{$menu-toggle}--m-full-height--hover--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--xl);
115
116
  --#{$menu-toggle}--m-full-height--focus--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--xl);
@@ -264,6 +265,19 @@
264
265
  }
265
266
  }
266
267
 
268
+ &.pf-m-full-height {
269
+ --#{$menu-toggle}--PaddingRight: var(--#{$menu-toggle}--m-full-height--PaddingRight);
270
+ --#{$menu-toggle}--PaddingLeft: var(--#{$menu-toggle}--m-full-height--PaddingLeft);
271
+ --#{$menu-toggle}--before--BorderTopWidth: var(--#{$menu-toggle}--m-full-height__toggle--before--BorderTopWidth);
272
+ --#{$menu-toggle}--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height__toggle--after--BorderBottomWidth);
273
+ --#{$menu-toggle}--m-expanded--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--m-expanded--after--BorderBottomWidth);
274
+ --#{$menu-toggle}--hover--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--hover--after--BorderBottomWidth);
275
+ --#{$menu-toggle}--focus--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--focus--after--BorderBottomWidth);
276
+ --#{$menu-toggle}--active--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--active--after--BorderBottomWidth);
277
+
278
+ height: 100%;
279
+ }
280
+
267
281
  &:hover {
268
282
  --#{$menu-toggle}--BackgroundColor: var(--#{$menu-toggle}--hover--BackgroundColor);
269
283
  --#{$menu-toggle}--after--BorderBottomWidth: var(--#{$menu-toggle}--hover--after--BorderBottomWidth);
@@ -316,18 +330,6 @@
316
330
  }
317
331
  }
318
332
 
319
- &.pf-m-full-height {
320
- --#{$menu-toggle}--PaddingRight: var(--#{$menu-toggle}--m-full-height--PaddingRight);
321
- --#{$menu-toggle}--PaddingLeft: var(--#{$menu-toggle}--m-full-height--PaddingLeft);
322
- --#{$menu-toggle}--before--BorderTopWidth: var(--#{$menu-toggle}--m-full-height__toggle--before--BorderTopWidth);
323
- --#{$menu-toggle}--m-expanded--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--m-expanded--after--BorderBottomWidth);
324
- --#{$menu-toggle}--hover--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--hover--after--BorderBottomWidth);
325
- --#{$menu-toggle}--focus--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--focus--after--BorderBottomWidth);
326
- --#{$menu-toggle}--active--after--BorderBottomWidth: var(--#{$menu-toggle}--m-full-height--active--after--BorderBottomWidth);
327
-
328
- height: 100%;
329
- }
330
-
331
333
  &.pf-m-typeahead {
332
334
  --#{$menu-toggle}__button__controls--MarginRight: var(--#{$menu-toggle}--m-typeahead__controls--MarginRight);
333
335
  --#{$menu-toggle}__button__controls--MarginLeft: var(--#{$menu-toggle}--m-typeahead__controls--MarginLeft);
@@ -19,7 +19,8 @@
19
19
  --#{$menu-toggle}--m-split-button--child--disabled--Color: var(--#{$pf-global}--disabled-color--300);
20
20
  --#{$menu-toggle}--m-split-button--child--disabled--BackgroundColor: var(--#{$pf-global}--disabled-color--200);
21
21
 
22
- &.pf-m-plain {
22
+ &.pf-m-plain,
23
+ &.pf-m-full-height {
23
24
  background: transparent;
24
25
  }
25
26
  }
@@ -6,6 +6,8 @@
6
6
  --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
7
7
  --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
8
8
  --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
9
+ --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
10
+ --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
9
11
  }
10
12
 
11
13
  .pf-v5-c-page__main-section[class*=pf-m-dark-], .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector, .pf-v5-c-page__sidebar, .pf-v5-c-page__header {
@@ -16,6 +18,11 @@
16
18
  --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--light);
17
19
  --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--light);
18
20
  --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--dark-100);
21
+ --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
22
+ --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
23
+ }
24
+ .pf-v5-c-page__main-section[class*=pf-m-dark-] .pf-v5-c-button, .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector .pf-v5-c-button, .pf-v5-c-page__sidebar .pf-v5-c-button, .pf-v5-c-page__header .pf-v5-c-button {
25
+ --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
19
26
  }
20
27
 
21
28
  .pf-v5-c-page__header-tools-item, .pf-v5-c-page__header-tools-group {
@@ -952,16 +959,10 @@
952
959
  flex: 1 0 auto;
953
960
  }
954
961
 
955
- :where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector,
956
- :where(.pf-v5-theme-dark) .pf-v5-c-page__main-section[class*=pf-m-dark-],
957
- :where(.pf-v5-theme-dark) .pf-v5-c-page__header {
958
- --pf-v5-global--Color--100: #e0e0e0;
959
- --pf-v5-global--Color--200: #aaabac;
960
- --pf-v5-global--BorderColor--100: #444548;
961
- --pf-v5-global--primary-color--100: #1fa7f8;
962
- --pf-v5-global--link--Color: #1fa7f8;
963
- --pf-v5-global--link--Color--hover: #73bcf7;
964
- --pf-v5-global--BackgroundColor--100: #1b1d21;
962
+ :where(.pf-v5-theme-dark) .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector .pf-v5-c-button,
963
+ :where(.pf-v5-theme-dark) .pf-v5-c-page__main-section[class*=pf-m-dark-] .pf-v5-c-button,
964
+ :where(.pf-v5-theme-dark) .pf-v5-c-page__header .pf-v5-c-button {
965
+ --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
965
966
  }
966
967
 
967
968
  :where(.pf-v5-theme-dark):root {
@@ -6,6 +6,8 @@
6
6
  --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
7
7
  --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
8
8
  --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
9
+ --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
10
+ --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
9
11
  }
10
12
 
11
13
  .pf-v5-c-select {
@@ -6,6 +6,7 @@
6
6
  --pf-v5-c-switch__toggle-icon--Color: var(--pf-v5-global--Color--light-100);
7
7
  --pf-v5-c-switch__toggle-icon--Left: calc(var(--pf-v5-c-switch--FontSize) * .4);
8
8
  --pf-v5-c-switch__toggle-icon--Offset: 0.125rem;
9
+ --pf-v5-c-switch__input--disabled__toggle-icon--Color: var(--pf-v5-global--palette--black-150);
9
10
  --pf-v5-c-switch--LineHeight: var(--pf-v5-global--LineHeight--md);
10
11
  --pf-v5-c-switch--Height: auto;
11
12
  --pf-v5-c-switch__input--checked__toggle--BackgroundColor: var(--pf-v5-global--primary-color--100);
@@ -88,6 +89,7 @@
88
89
  cursor: not-allowed;
89
90
  }
90
91
  .pf-v5-c-switch__input:disabled ~ .pf-v5-c-switch__toggle {
92
+ --pf-v5-c-switch__toggle-icon--Color: var(--pf-v5-c-switch__input--disabled__toggle-icon--Color);
91
93
  cursor: not-allowed;
92
94
  background-color: var(--pf-v5-c-switch__input--disabled__toggle--BackgroundColor);
93
95
  }
@@ -140,4 +142,5 @@
140
142
  --pf-v5-c-switch__input--not-checked__label--Color: var(--pf-v5-global--Color--100);
141
143
  --pf-v5-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-v5-global--disabled-color--100);
142
144
  --pf-v5-c-switch__toggle--before--BoxShadow: none;
145
+ --pf-v5-c-switch__input--disabled__toggle-icon--Color: var(--pf-v5-global--disabled-color--100);
143
146
  }
@@ -11,6 +11,7 @@
11
11
  --#{$switch}__toggle-icon--Color: var(--#{$pf-global}--Color--light-100);
12
12
  --#{$switch}__toggle-icon--Left: calc(var(--#{$switch}--FontSize) * .4);
13
13
  --#{$switch}__toggle-icon--Offset: #{pf-size-prem(2px)}; // this value is created to handle sizing of the toggle and therefore the width of the toggle and its transform value.
14
+ --#{$switch}__input--disabled__toggle-icon--Color: var(--#{$pf-global}--palette--black-150);
14
15
 
15
16
  // Switch
16
17
  --#{$switch}--LineHeight: var(--#{$pf-global}--LineHeight--md);
@@ -121,6 +122,8 @@
121
122
  }
122
123
 
123
124
  ~ .#{$switch}__toggle {
125
+ --#{$switch}__toggle-icon--Color: var(--#{$switch}__input--disabled__toggle-icon--Color);
126
+
124
127
  cursor: not-allowed;
125
128
  background-color: var(--#{$switch}__input--disabled__toggle--BackgroundColor);
126
129
 
@@ -6,5 +6,6 @@
6
6
  --#{$switch}__input--not-checked__label--Color: var(--#{$pf-global}--Color--100);
7
7
  --#{$switch}__input--disabled__toggle--before--BackgroundColor: var(--#{$pf-global}--disabled-color--100);
8
8
  --#{$switch}__toggle--before--BoxShadow: none;
9
+ --#{$switch}__input--disabled__toggle-icon--Color: var(--#{$pf-global}--disabled-color--100);
9
10
  }
10
11
  }
@@ -6,6 +6,8 @@
6
6
  --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
7
7
  --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
8
8
  --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
9
+ --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
10
+ --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
9
11
  }
10
12
 
11
13
  .pf-v5-c-table tr:where(.pf-v5-c-table__tr) > * {
@@ -19,8 +19,8 @@
19
19
  --pf-v5-c-text-input-group__text-input--PaddingBottom: var(--pf-v5-global--spacer--form-element);
20
20
  --pf-v5-c-text-input-group__text-input--PaddingLeft: var(--pf-v5-global--spacer--sm);
21
21
  --pf-v5-c-text-input-group__text-input--MinWidth: 12ch;
22
- --pf-v5-c-text-input-group__text-input--m-hint--Color: var(--pf-v5-global--Color--dark-200);
23
- --pf-v5-c-text-input-group__text-input--placeholder--Color: var(--pf-v5-global--Color--dark-200);
22
+ --pf-v5-c-text-input-group__text-input--m-hint--Color: var(--pf-v5-global--Color--200);
23
+ --pf-v5-c-text-input-group__text-input--placeholder--Color: var(--pf-v5-global--Color--200);
24
24
  --pf-v5-c-text-input-group__text-input--BackgroundColor: transparent;
25
25
  --pf-v5-c-text-input-group__icon--Left: var(--pf-v5-global--spacer--sm);
26
26
  --pf-v5-c-text-input-group__icon--Color: var(--pf-v5-global--icon--Color--dark);
@@ -31,8 +31,8 @@
31
31
  --#{$text-input-group}__text-input--PaddingBottom: var(--#{$pf-global}--spacer--form-element);
32
32
  --#{$text-input-group}__text-input--PaddingLeft: var(--#{$pf-global}--spacer--sm);
33
33
  --#{$text-input-group}__text-input--MinWidth: 12ch;
34
- --#{$text-input-group}__text-input--m-hint--Color: var(--#{$pf-global}--Color--dark-200); // matches placeholder text color
35
- --#{$text-input-group}__text-input--placeholder--Color: var(--#{$pf-global}--Color--dark-200);
34
+ --#{$text-input-group}__text-input--m-hint--Color: var(--#{$pf-global}--Color--200); // matches placeholder text color
35
+ --#{$text-input-group}__text-input--placeholder--Color: var(--#{$pf-global}--Color--200);
36
36
  --#{$text-input-group}__text-input--BackgroundColor: transparent;
37
37
 
38
38
  // Icon
@@ -6,6 +6,11 @@
6
6
  --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--light);
7
7
  --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--light);
8
8
  --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--dark-100);
9
+ --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
10
+ --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
11
+ }
12
+ .pf-v5-c-wizard__header .pf-v5-c-button {
13
+ --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
9
14
  }
10
15
 
11
16
  .pf-v5-c-wizard {
@@ -497,14 +502,8 @@
497
502
  margin-left: var(--pf-v5-c-wizard__footer-cancel--MarginLeft);
498
503
  }
499
504
 
500
- :where(.pf-v5-theme-dark) .pf-v5-c-wizard__header {
501
- --pf-v5-global--Color--100: #e0e0e0;
502
- --pf-v5-global--Color--200: #aaabac;
503
- --pf-v5-global--BorderColor--100: #444548;
504
- --pf-v5-global--primary-color--100: #1fa7f8;
505
- --pf-v5-global--link--Color: #1fa7f8;
506
- --pf-v5-global--link--Color--hover: #73bcf7;
507
- --pf-v5-global--BackgroundColor--100: #1b1d21;
505
+ :where(.pf-v5-theme-dark) .pf-v5-c-wizard__header .pf-v5-c-button {
506
+ --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
508
507
  }
509
508
 
510
509
  :where(.pf-v5-theme-dark) .pf-v5-c-wizard {
@@ -655,7 +655,7 @@ cssPrefix: pf-v5-c-drawer
655
655
 
656
656
  ```
657
657
 
658
- ### Panel with light-200 background
658
+ ### Panel with secondary background
659
659
 
660
660
  ```html
661
661
  <div class="pf-v5-c-drawer pf-m-expanded">
@@ -738,7 +738,7 @@ cssPrefix: pf-v5-c-drawer
738
738
  | `.pf-m-padding` | `.pf-v5-c-drawer__body` | Modifies the element to add padding. |
739
739
  | `.pf-m-no-padding` | `.pf-v5-c-drawer__body` | Modifies the element to remove padding. |
740
740
  | `.pf-m-no-background` | `.pf-v5-c-drawer__section`, `.pf-v5-c-drawer__content`, `.pf-v5-c-drawer__panel` | Modifies the drawer body/panel background color to transparent. |
741
- | `.pf-m-light-200` | `.pf-v5-c-drawer__section`, `.pf-v5-c-drawer__content`, `.pf-v5-c-drawer__panel` | Modifies the drawer body/panel background color to light grey. |
741
+ | `.pf-m-light-200` | `.pf-v5-c-drawer__section`, `.pf-v5-c-drawer__content`, `.pf-v5-c-drawer__panel` | Modifies the body/panel to use the secondary background color. |
742
742
  | `.pf-m-width-{25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v5-c-drawer__panel` | Modifies the drawer panel width at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
743
743
  | `.pf-m-resizable` | `.pf-v5-c-drawer__panel` | Modifies the drawer panel to be resizable. Intended for use with the `.pf-v5-c-drawer__splitter` element. |
744
744
  | `--pf-v5-c-drawer__panel--md--FlexBasis--min` | `.pf-v5-c-drawer__panel` | Defines the drawer panel minimum size. |
@@ -0,0 +1,64 @@
1
+ #ws-html-deprecated-c-dropdown-badge-toggle,
2
+ #ws-html-deprecated-c-dropdown-badge-drillup-toggle,
3
+ #ws-html-deprecated-c-dropdown-expanded,
4
+ #ws-html-deprecated-c-dropdown-kebab,
5
+ #ws-html-deprecated-c-dropdown-kebab-align-right,
6
+ #ws-html-deprecated-c-dropdown-align-right,
7
+ #ws-html-deprecated-c-dropdown-align-on-different-breakpoint,
8
+ #ws-html-deprecated-c-dropdown-align-top,
9
+ #ws-html-deprecated-c-dropdown-primary-toggle,
10
+ #ws-html-deprecated-c-dropdown-secondary-toggle,
11
+ #ws-html-deprecated-c-dropdown-menu-item-icons,
12
+ #ws-html-deprecated-c-dropdown-aria-disabled-items,
13
+ #ws-html-deprecated-c-dropdown-plain-with-text {
14
+ min-height: 310px;
15
+ }
16
+
17
+ #ws-html-deprecated-c-dropdown-kebab-align-right,
18
+ #ws-html-deprecated-c-dropdown-align-right {
19
+ display: flex;
20
+ justify-content: flex-end;
21
+ }
22
+
23
+ #ws-html-deprecated-c-dropdown-align-on-different-breakpoint {
24
+ display: flex;
25
+ justify-content: center;
26
+ }
27
+
28
+ #ws-html-deprecated-c-dropdown-align-top {
29
+ display: flex;
30
+ align-items: flex-end;
31
+ }
32
+
33
+ #ws-html-deprecated-c-dropdown-with-groups,
34
+ #ws-html-deprecated-c-dropdown-with-groups-and-dividers-between-groups {
35
+ min-height: 440px;
36
+ }
37
+
38
+ #ws-html-deprecated-c-dropdown-with-groups-and-dividers-between-items {
39
+ min-height: 460px;
40
+ }
41
+
42
+ #ws-html-deprecated-c-dropdown-dropdown-with-image-and-text .ws-preview-html {
43
+ min-height: 19rem;
44
+ }
45
+
46
+ #ws-html-deprecated-c-dropdown-split-button-checkbox,
47
+ #ws-html-deprecated-c-dropdown-split-button-action,
48
+ #ws-html-deprecated-c-dropdown-split-button-primary-checkbox,
49
+ #ws-html-deprecated-c-dropdown-split-button-primary-action,
50
+ #ws-html-deprecated-c-dropdown-split-button-secondary-action {
51
+ min-height: 210px;
52
+ }
53
+
54
+ [id^="ws-html-deprecated-c-dropdown-split-button"] .pf-v5-c-dropdown:not(:last-child) {
55
+ margin-right: 4px;
56
+ }
57
+
58
+ #ws-html-deprecated-c-dropdown-panel {
59
+ min-height: 130px;
60
+ }
61
+
62
+ #ws-html-deprecated-c-dropdown-dropdown-with-description {
63
+ min-height: 400px;
64
+ }
@@ -3,6 +3,7 @@ id: Dropdown
3
3
  section: components
4
4
  subsection: menus
5
5
  cssPrefix: pf-v5-c-dropdown
6
+ deprecated: true
6
7
  ---import './Dropdown.css'
7
8
 
8
9
  ## Examples
@@ -658,7 +658,7 @@ cssPrefix: pf-v5-c-nav
658
658
 
659
659
  ### Default in light mode
660
660
 
661
- ```html
661
+ ```html isDeprecated
662
662
  <nav class="pf-v5-c-nav pf-m-light" aria-label="Global">
663
663
  <ul class="pf-v5-c-nav__list" role="list">
664
664
  <li class="pf-v5-c-nav__item">
@@ -684,7 +684,7 @@ cssPrefix: pf-v5-c-nav
684
684
 
685
685
  ### Expanded in light mode
686
686
 
687
- ```html
687
+ ```html isDeprecated
688
688
  <nav class="pf-v5-c-nav pf-m-light" aria-label="Global">
689
689
  <ul class="pf-v5-c-nav__list" role="list">
690
690
  <li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded pf-m-current">
@@ -0,0 +1,56 @@
1
+ #ws-html-deprecated-c-select-single-with-top-expanded,
2
+ #ws-html-deprecated-c-select-single-expanded,
3
+ #ws-html-deprecated-c-select-single-expanded-and-selected,
4
+ #ws-html-deprecated-c-select-single-with-typeahead-expanded-and-selected,
5
+ #ws-html-deprecated-c-select-plain-toggle-expanded,
6
+ #ws-html-deprecated-c-select-view-more-menu-item,
7
+ #ws-html-deprecated-c-select-loading-menu-item,
8
+ #ws-html-deprecated-c-select-placeholder-expanded,
9
+ #ws-html-deprecated-c-select-placeholder-item-disabled,
10
+ #ws-html-deprecated-c-select-placeholder-item-enabled,
11
+ #ws-html-deprecated-c-select-multi-with-typeahead-invalid {
12
+ min-height: 330px;
13
+ }
14
+
15
+ #ws-html-deprecated-c-select-single-with-top-expanded {
16
+ display: flex;
17
+ align-items: flex-end;
18
+ width: 100%;
19
+ }
20
+
21
+ #ws-html-deprecated-c-select-single-with-typeahead-expanded,
22
+ #ws-html-deprecated-c-select-multi-with-typeahead-chip-group-collapsed {
23
+ min-height: 210px;
24
+ }
25
+
26
+ #ws-html-deprecated-c-select-checkbox-expanded,
27
+ #ws-html-deprecated-c-select-checkbox-expanded-without-badge,
28
+ #ws-html-deprecated-c-select-checkbox-with-counts {
29
+ min-height: 270px;
30
+ }
31
+
32
+ #ws-html-deprecated-c-select-multi-with-typeahead-chip-group-expanded,
33
+ #ws-html-deprecated-c-select-menu-footer {
34
+ min-height: 365px;
35
+ }
36
+
37
+ #ws-html-deprecated-c-select-checkbox-expanded-and-selected-with-groups {
38
+ min-height: 460px;
39
+ }
40
+
41
+ #ws-html-deprecated-c-select-checkbox-expanded-and-selected-with-groups-and-filter {
42
+ min-height: 530px;
43
+ }
44
+
45
+ #ws-html-deprecated-c-select-panel-menu {
46
+ min-height: 120px;
47
+ }
48
+
49
+ #ws-html-deprecated-c-select-item-description,
50
+ #ws-html-deprecated-c-select-checkbox-item-description {
51
+ min-height: 400px;
52
+ }
53
+
54
+ #ws-html-deprecated-c-select-menu-item-favorites {
55
+ min-height: 650px;
56
+ }
@@ -3,6 +3,7 @@ id: Select
3
3
  section: components
4
4
  subsection: menus
5
5
  cssPrefix: pf-v5-c-select
6
+ deprecated: true
6
7
  ---import './Select.css'
7
8
 
8
9
  ## Single
@@ -261,6 +261,42 @@ cssPrefix: pf-v5-c-switch
261
261
  >Message when off</span>
262
262
  </label>
263
263
 
264
+ <br />
265
+ <br />
266
+ <label class="pf-v5-c-switch" for="switch-with-icon-disabled-1">
267
+ <input
268
+ class="pf-v5-c-switch__input"
269
+ type="checkbox"
270
+ id="switch-with-icon-disabled-1"
271
+ aria-label="switch is off"
272
+ disabled
273
+ checked
274
+ />
275
+
276
+ <span class="pf-v5-c-switch__toggle">
277
+ <span class="pf-v5-c-switch__toggle-icon">
278
+ <i class="fas fa-check" aria-hidden="true"></i>
279
+ </span>
280
+ </span>
281
+ </label>
282
+
283
+ <br />
284
+ <br />
285
+ <label class="pf-v5-c-switch" for="switch-with-icon-disabled-2">
286
+ <input
287
+ class="pf-v5-c-switch__input"
288
+ type="checkbox"
289
+ id="switch-with-icon-disabled-2"
290
+ aria-label="switch is off"
291
+ disabled
292
+ />
293
+ <span class="pf-v5-c-switch__toggle">
294
+ <span class="pf-v5-c-switch__toggle-icon">
295
+ <i class="fas fa-check" aria-hidden="true"></i>
296
+ </span>
297
+ </span>
298
+ </label>
299
+
264
300
  ```
265
301
 
266
302
  ## Documentation