@patternfly/patternfly 5.0.0-alpha.32 → 5.0.0-alpha.34

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 (115) hide show
  1. package/RELEASE-NOTES.md +1 -1
  2. package/assets/pficon/pficon.scss +1 -2
  3. package/base/_fa-icons.scss +1 -2
  4. package/base/_fonts.scss +5 -10
  5. package/base/_globals.scss +91 -85
  6. package/base/_variables.scss +3 -3
  7. package/base/patternfly-fa-icons.css +1 -1
  8. package/base/patternfly-fonts.css +5 -5
  9. package/base/patternfly-globals.css +35 -41
  10. package/base/patternfly-icons.css +2 -2
  11. package/base/patternfly-pf-icons.css +1 -1
  12. package/base/patternfly-themes.css +0 -42
  13. package/base/patternfly-variables.css +3 -3
  14. package/components/AboutModalBox/about-modal-box.css +0 -38
  15. package/components/Alert/alert.css +14 -5
  16. package/components/Alert/alert.scss +18 -4
  17. package/components/Alert/themes/dark/alert.scss +1 -1
  18. package/components/Banner/banner.css +0 -38
  19. package/components/DatePicker/date-picker.css +0 -8
  20. package/components/DatePicker/date-picker.scss +0 -9
  21. package/components/HelperText/helper-text.css +4 -0
  22. package/components/HelperText/helper-text.scss +5 -0
  23. package/components/Icon/icon.css +3 -3
  24. package/components/Icon/icon.scss +3 -3
  25. package/components/Label/label.css +6 -6
  26. package/components/Label/label.scss +4 -4
  27. package/components/Label/themes/dark/label.scss +2 -2
  28. package/components/LogViewer/log-viewer.css +0 -38
  29. package/components/Login/login.css +0 -40
  30. package/components/Masthead/masthead.css +0 -38
  31. package/components/ModalBox/modal-box.css +3 -3
  32. package/components/ModalBox/modal-box.scss +3 -3
  33. package/components/NotificationDrawer/notification-drawer.css +5 -5
  34. package/components/NotificationDrawer/notification-drawer.scss +5 -5
  35. package/components/Page/page.css +0 -42
  36. package/components/Popover/popover.css +6 -6
  37. package/components/Popover/popover.scss +5 -5
  38. package/components/Popover/themes/dark/popover.scss +1 -1
  39. package/components/Wizard/wizard.css +0 -38
  40. package/docs/components/Alert/examples/Alert.md +15 -15
  41. package/docs/components/AlertGroup/examples/AlertGroup.md +6 -6
  42. package/docs/components/AppLauncher/examples/application-launcher.md +1 -0
  43. package/docs/components/Check/examples/Check.md +1 -0
  44. package/docs/components/ContextSelector/examples/context-selector.md +1 -0
  45. package/docs/components/DatePicker/examples/DatePicker.md +15 -3
  46. package/docs/components/Dropdown/examples/Dropdown.md +1 -0
  47. package/docs/components/FileUpload/examples/FileUpload.md +11 -6
  48. package/docs/components/Form/examples/Form.md +95 -73
  49. package/docs/components/FormControl/examples/FormControl.md +1 -0
  50. package/docs/components/HelperText/examples/HelperText.md +13 -24
  51. package/docs/components/Icon/examples/Icon.md +2 -2
  52. package/docs/components/Login/examples/Login.md +67 -30
  53. package/docs/components/Menu/examples/Menu.md +1 -0
  54. package/docs/components/MenuToggle/examples/MenuToggle.md +1 -0
  55. package/docs/components/ModalBox/examples/ModalBox.md +8 -8
  56. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +2 -1
  57. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +22 -22
  58. package/docs/components/OptionsMenu/examples/options-menu.md +1 -0
  59. package/docs/components/Popover/examples/Popover.md +9 -9
  60. package/docs/components/Progress/examples/Progress.md +1 -1
  61. package/docs/components/Radio/examples/Radio.md +1 -0
  62. package/docs/components/Select/examples/Select.md +1 -0
  63. package/docs/demos/Alert/examples/Alert.md +105 -58
  64. package/docs/demos/CardView/examples/CardView.md +1 -1
  65. package/docs/demos/Dashboard/examples/Dashboard.md +1 -1
  66. package/docs/demos/Form/examples/BasicForms.md +130 -140
  67. package/docs/demos/HelperText/examples/HelperText.md +11 -8
  68. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -30
  69. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
  70. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +88 -54
  71. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1 -1
  72. package/docs/demos/Toolbar/examples/Toolbar.md +17 -5
  73. package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
  74. package/docs/utilities/Alignment/examples/Alignment.md +1 -1
  75. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
  76. package/docs/utilities/BoxShadow/examples/box-shadow.md +1 -1
  77. package/docs/utilities/Display/examples/Display.md +1 -1
  78. package/docs/utilities/Flex/examples/Flex.md +1 -1
  79. package/docs/utilities/Float/examples/Float.md +1 -1
  80. package/docs/utilities/Sizing/examples/Sizing.md +1 -1
  81. package/docs/utilities/Spacing/examples/Spacing.md +1 -1
  82. package/docs/utilities/Text/examples/Text.md +5 -5
  83. package/package.json +2 -2
  84. package/patternfly-addons.css +48 -48
  85. package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +10 -31
  86. package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
  87. package/patternfly-base.css +45 -72
  88. package/{patternfly-no-reset.css → patternfly-no-globals.css} +56 -1245
  89. package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
  90. package/patternfly.css +87 -1282
  91. package/patternfly.min.css +1 -1
  92. package/patternfly.min.css.map +1 -1
  93. package/sass-utilities/placeholders.scss +0 -23
  94. package/sass-utilities/scss-variables.scss +4 -5
  95. package/sass-utilities/themes/dark/placeholders.scss +0 -22
  96. package/utilities/Text/text.css +48 -48
  97. package/utilities/Text/text.scss +6 -6
  98. package/utilities/Text/themes/dark/text.scss +2 -2
  99. package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
  100. package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
  101. package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
  102. package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
  103. package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
  104. package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
  105. package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
  106. package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
  107. package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
  108. package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
  109. package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
  110. package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
  111. package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
  112. package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
  113. package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
  114. package/assets/pficon/pficon.woff +0 -0
  115. package/sass-utilities/bs-variables.scss +0 -709
@@ -17,27 +17,6 @@
17
17
  --pf-global--link--Color--hover: var(--pf-global--link--Color--light);
18
18
  --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
19
19
  }
20
- .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card, .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card, .pf-c-page__header .pf-c-card {
21
- --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
22
- }
23
- .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button, .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button, .pf-c-page__header .pf-c-button {
24
- --pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
25
- --pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
26
- --pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
27
- --pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
28
- --pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
29
- --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
30
- --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
31
- --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
32
- --pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
33
- --pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
34
- --pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
35
- --pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
36
- --pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
37
- --pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
38
- --pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
39
- --pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
40
- }
41
20
 
42
21
  .pf-c-page__header-tools-item, .pf-c-page__header-tools-group {
43
22
  --pf-hidden-visible--hidden--Display: none;
@@ -963,27 +942,6 @@
963
942
  --pf-global--link--Color--hover: #73bcf7;
964
943
  --pf-global--BackgroundColor--100: #1b1d21;
965
944
  }
966
- :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card,
967
- :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card,
968
- :where(.pf-theme-dark) .pf-c-page__header .pf-c-card {
969
- --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
970
- }
971
- :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button,
972
- :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button,
973
- :where(.pf-theme-dark) .pf-c-page__header .pf-c-button {
974
- --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
975
- --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
976
- --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
977
- --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
978
- --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
979
- --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
980
- --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
981
- --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
982
- --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
983
- --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
984
- --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
985
- --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
986
- }
987
945
 
988
946
  :where(.pf-theme-dark) .pf-c-page {
989
947
  --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--200);
@@ -7,12 +7,12 @@
7
7
  --pf-c-popover--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
8
8
  --pf-c-popover--m-success__title-icon--Color: var(--pf-global--success-color--100);
9
9
  --pf-c-popover--m-info__title-icon--Color: var(--pf-global--info-color--100);
10
- --pf-c-popover--m-default__title-icon--Color: var(--pf-global--default-color--200);
10
+ --pf-c-popover--m-custom__title-icon--Color: var(--pf-global--custom-color--200);
11
11
  --pf-c-popover--m-danger__title-text--Color: var(--pf-global--danger-color--200);
12
12
  --pf-c-popover--m-warning__title-text--Color: var(--pf-global--warning-color--200);
13
13
  --pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--200);
14
14
  --pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--200);
15
- --pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--300);
15
+ --pf-c-popover--m-custom__title-text--Color: var(--pf-global--custom-color--300);
16
16
  --pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
17
17
  --pf-c-popover__content--PaddingTop: var(--pf-global--spacer--md);
18
18
  --pf-c-popover__content--PaddingRight: var(--pf-global--spacer--md);
@@ -107,9 +107,9 @@
107
107
  --pf-c-popover__title-icon--Color: var(--pf-c-popover--m-success__title-icon--Color);
108
108
  --pf-c-popover__title-text--Color: var(--pf-c-popover--m-success__title-text--Color);
109
109
  }
110
- .pf-c-popover.pf-m-default {
111
- --pf-c-popover__title-icon--Color: var(--pf-c-popover--m-default__title-icon--Color);
112
- --pf-c-popover__title-text--Color: var(--pf-c-popover--m-default__title-text--Color);
110
+ .pf-c-popover.pf-m-custom {
111
+ --pf-c-popover__title-icon--Color: var(--pf-c-popover--m-custom__title-icon--Color);
112
+ --pf-c-popover__title-text--Color: var(--pf-c-popover--m-custom__title-text--Color);
113
113
  }
114
114
  .pf-c-popover.pf-m-info {
115
115
  --pf-c-popover__title-icon--Color: var(--pf-c-popover--m-info__title-icon--Color);
@@ -173,7 +173,7 @@
173
173
  :where(.pf-theme-dark) .pf-c-popover {
174
174
  --pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
175
175
  --pf-c-popover__arrow--BackgroundColor: var(--pf-global--BackgroundColor--300);
176
- --pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--200);
176
+ --pf-c-popover--m-default__title-text--Color: var(--pf-global--custom-color--200);
177
177
  --pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
178
178
  --pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
179
179
  }
@@ -10,14 +10,14 @@
10
10
  --pf-c-popover--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
11
11
  --pf-c-popover--m-success__title-icon--Color: var(--pf-global--success-color--100);
12
12
  --pf-c-popover--m-info__title-icon--Color: var(--pf-global--info-color--100);
13
- --pf-c-popover--m-default__title-icon--Color: var(--pf-global--default-color--200);
13
+ --pf-c-popover--m-custom__title-icon--Color: var(--pf-global--custom-color--200);
14
14
 
15
15
  // Title text colors for states
16
16
  --pf-c-popover--m-danger__title-text--Color: var(--pf-global--danger-color--200);
17
17
  --pf-c-popover--m-warning__title-text--Color: var(--pf-global--warning-color--200);
18
18
  --pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--200);
19
19
  --pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--200);
20
- --pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--300);
20
+ --pf-c-popover--m-custom__title-text--Color: var(--pf-global--custom-color--300);
21
21
 
22
22
  // Content
23
23
  --pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
@@ -171,9 +171,9 @@
171
171
  --pf-c-popover__title-text--Color: var(--pf-c-popover--m-success__title-text--Color);
172
172
  }
173
173
 
174
- &.pf-m-default {
175
- --pf-c-popover__title-icon--Color: var(--pf-c-popover--m-default__title-icon--Color);
176
- --pf-c-popover__title-text--Color: var(--pf-c-popover--m-default__title-text--Color);
174
+ &.pf-m-custom {
175
+ --pf-c-popover__title-icon--Color: var(--pf-c-popover--m-custom__title-icon--Color);
176
+ --pf-c-popover__title-text--Color: var(--pf-c-popover--m-custom__title-text--Color);
177
177
  }
178
178
 
179
179
  &.pf-m-info {
@@ -4,7 +4,7 @@
4
4
  .pf-c-popover {
5
5
  --pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
6
6
  --pf-c-popover__arrow--BackgroundColor: var(--pf-global--BackgroundColor--300);
7
- --pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--200);
7
+ --pf-c-popover--m-default__title-text--Color: var(--pf-global--custom-color--200);
8
8
  --pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
9
9
  --pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
10
10
  }
@@ -7,27 +7,6 @@
7
7
  --pf-global--link--Color--hover: var(--pf-global--link--Color--light);
8
8
  --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
9
9
  }
10
- .pf-c-wizard__header .pf-c-card {
11
- --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
12
- }
13
- .pf-c-wizard__header .pf-c-button {
14
- --pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
15
- --pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
16
- --pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
17
- --pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
18
- --pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
19
- --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
20
- --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
21
- --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
22
- --pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
23
- --pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
24
- --pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
25
- --pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
26
- --pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
27
- --pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
28
- --pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
29
- --pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
30
- }
31
10
 
32
11
  .pf-c-wizard {
33
12
  --pf-c-wizard--Height: 100%;
@@ -527,23 +506,6 @@
527
506
  --pf-global--link--Color--hover: #73bcf7;
528
507
  --pf-global--BackgroundColor--100: #1b1d21;
529
508
  }
530
- :where(.pf-theme-dark) .pf-c-wizard__header .pf-c-card {
531
- --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
532
- }
533
- :where(.pf-theme-dark) .pf-c-wizard__header .pf-c-button {
534
- --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
535
- --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
536
- --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
537
- --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
538
- --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
539
- --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
540
- --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
541
- --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
542
- --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
543
- --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
544
- --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
545
- --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
546
- }
547
509
 
548
510
  :where(.pf-theme-dark) .pf-c-wizard {
549
511
  --pf-c-wizard__header--BackgroundColor: var(--pf-global--palette--black-1000);
@@ -7,13 +7,13 @@ cssPrefix: pf-c-alert
7
7
  ### Types
8
8
 
9
9
  ```html
10
- <div class="pf-c-alert" aria-label="Default alert">
10
+ <div class="pf-c-alert pf-m-custom" aria-label="Custom alert">
11
11
  <div class="pf-c-alert__icon">
12
12
  <i class="fas fa-fw fa-bell" aria-hidden="true"></i>
13
13
  </div>
14
14
  <p class="pf-c-alert__title">
15
- <span class="pf-screen-reader">Default alert:</span>
16
- Default alert title
15
+ <span class="pf-screen-reader">Custom alert:</span>
16
+ Custom alert title
17
17
  </p>
18
18
  </div>
19
19
  <br />
@@ -205,13 +205,16 @@ cssPrefix: pf-c-alert
205
205
  ### Inline types
206
206
 
207
207
  ```html
208
- <div class="pf-c-alert pf-m-inline" aria-label="Inline default alert">
208
+ <div
209
+ class="pf-c-alert pf-m-custom pf-m-inline"
210
+ aria-label="Inline custom alert"
211
+ >
209
212
  <div class="pf-c-alert__icon">
210
213
  <i class="fas fa-fw fa-bell" aria-hidden="true"></i>
211
214
  </div>
212
215
  <p class="pf-c-alert__title">
213
- <span class="pf-screen-reader">Default inline alert:</span>
214
- Default inline alert title
216
+ <span class="pf-screen-reader">Custom inline alert:</span>
217
+ Custom inline alert title
215
218
  </p>
216
219
  </div>
217
220
  <br />
@@ -577,15 +580,11 @@ cssPrefix: pf-c-alert
577
580
 
578
581
  ## Documentation
579
582
 
580
- ### Overview
581
-
582
- Add a modifier class to the default alert to change the color: `.pf-m-success`, `.pf-m-danger`, `.pf-m-warning`, or `.pf-m-info`.
583
-
584
583
  ### Usage
585
584
 
586
585
  | Class | Applied to | Outcome |
587
586
  | -- | -- | -- |
588
- | `.pf-c-alert` | `<div>` | Applies default alert styling. Always use with a modifier class. **Required** |
587
+ | `.pf-c-alert` | `<div>` | Initiates the alert component. Always use with a status modifier class. **Required** |
589
588
  | `.pf-c-alert__toggle` | `<div>` | Defines the expandable alert toggle icon. **Required for expandable alerts** |
590
589
  | `.pf-c-alert__toggle-icon` | `<span>` | Defines the expandable alert toggle icon. **Required for expandable alerts** |
591
590
  | `.pf-c-alert__icon` | `<div>` | Defines the alert icon. **Required** |
@@ -593,10 +592,11 @@ Add a modifier class to the default alert to change the color: `.pf-m-success`,
593
592
  | `.pf-c-alert__description` | `<div>` | Defines the alert description area. |
594
593
  | `.pf-c-alert__action` | `<div>` | Defines the action button wrapper. Should contain `.pf-c-button.pf-m-plain` for close action or `.pf-c-button.pf-m-link` for link text. It should only include one action. |
595
594
  | `.pf-c-alert__action-group` | `<div>` | Defines the action button group. Should contain `.pf-c-button.pf-m-link.pf-m-inline` for inline link text. **Note:** only inline link buttons are supported in the alert action group. |
596
- | `.pf-m-success` | `.pf-c-alert` | Applies success styling. |
597
- | `.pf-m-danger` | `.pf-c-alert` | Applies danger styling. |
598
- | `.pf-m-warning` | `.pf-c-alert` | Applies warning styling. |
599
- | `.pf-m-info` | `.pf-c-alert` | Applies info styling. |
595
+ | `.pf-m-custom` | `.pf-c-alert` | Applies custom status styling. |
596
+ | `.pf-m-success` | `.pf-c-alert` | Applies success status styling. |
597
+ | `.pf-m-danger` | `.pf-c-alert` | Applies danger status styling. |
598
+ | `.pf-m-warning` | `.pf-c-alert` | Applies warning status styling. |
599
+ | `.pf-m-info` | `.pf-c-alert` | Applies info status styling. |
600
600
  | `.pf-m-inline` | `.pf-c-alert` | Applies inline styling. |
601
601
  | `.pf-m-plain` | `.pf-c-alert.pf-m-inline` | Applies plain styling to an inline alert. |
602
602
  | `.pf-m-expandable` | `.pf-c-alert` | Applies expandable styles to the alert. |
@@ -160,15 +160,15 @@ For sighted users, interactive elements can be included in this message in one o
160
160
  * Using a link to the Builds page: “The build is complete. Go to the [Builds]() page to download” using `<a href="url">Builds</a>`
161
161
  * Using a button to download: “The build is complete. Go to the Builds page to [download]()" using `<button class="pf-c-button pf-m-link pf-m-inline type="button">download</button>`
162
162
 
163
+ ## Documentation
164
+
165
+ ### Overview
166
+
167
+ Alert groups are used to contain and align consecutive alerts. Groups can either be embedded alongside a page's content or in the top-right corner as a toast group using the `.pf-m-toast` modifier.
168
+
163
169
  ### Modifiers
164
170
 
165
171
  | Class | Applied to | Outcome |
166
172
  | -- | -- | -- |
167
173
  | `.pf-m-toast`| `.pf-c-alert-group` | Applies toast alert styling to an alert group. |
168
174
  | `.pf-c-alert-group__overflow-button` | `<button>` | Applies overflow button styling to an alert group overflow button. |
169
-
170
- ## Documentation
171
-
172
- ### Overview
173
-
174
- Alert groups are used to contain and align consecutive alerts. Groups can either be embedded alongside a page's content or in the top-right corner as a toast group using the `.pf-m-toast` modifier.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Application launcher
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-app-launcher
5
6
  ---import './application-launcher.css'
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Checkbox
3
3
  section: components
4
+ subsection: forms
4
5
  cssPrefix: pf-c-check
5
6
  ---## Examples
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Context selector
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-context-selector
5
6
  ---import './context-selector.css'
6
7
 
@@ -2,6 +2,7 @@
2
2
  id: 'Date picker'
3
3
  beta: true
4
4
  section: components
5
+ subsection: date-and-time
5
6
  cssPrefix: pf-c-date-picker
6
7
  ---import './DatePicker.css'
7
8
 
@@ -65,7 +66,13 @@ cssPrefix: pf-c-date-picker
65
66
  </div>
66
67
  </div>
67
68
  </div>
68
- <div class="pf-c-date-picker__helper-text">Select a date.</div>
69
+ <div class="pf-c-date-picker__helper-text">
70
+ <div class="pf-c-helper-text">
71
+ <div class="pf-c-helper-text__item">
72
+ <span class="pf-c-helper-text__item-text">Select a date.</span>
73
+ </div>
74
+ </div>
75
+ </div>
69
76
  </div>
70
77
 
71
78
  ```
@@ -98,7 +105,13 @@ cssPrefix: pf-c-date-picker
98
105
  </div>
99
106
  </div>
100
107
  </div>
101
- <div class="pf-c-date-picker__helper-text pf-m-error">Invalid date</div>
108
+ <div class="pf-c-date-picker__helper-text">
109
+ <div class="pf-c-helper-text">
110
+ <div class="pf-c-helper-text__item pf-m-error">
111
+ <span class="pf-c-helper-text__item-text">Invalid date</span>
112
+ </div>
113
+ </div>
114
+ </div>
102
115
  </div>
103
116
 
104
117
  ```
@@ -214,6 +227,5 @@ cssPrefix: pf-c-date-picker
214
227
  | `.pf-c-date-picker__helper-text` | `<div>` | Initiates the date picker helper text. |
215
228
  | `.pf-c-date-picker__calendar` | `<div>` | Initiates an optional date picker calendar container. **Note:** Required in the react date picker component. |
216
229
  | `.pf-m-top` | `.pf-c-date-picker` | Modifies to display the calendar above the date picker. |
217
- | `.pf-m-error` | `.pf-c-date-picker__helper-text` | Modifies the helper text for the invalid/error state. |
218
230
  | `.pf-m-align-right` | `.pf-c-date-picker__calendar` | Modifies the calendar to align the calendar to the right edge of the date picker. |
219
231
  | `.pf-m-static` | `.pf-c-date-picker__calendar` | Modifies the calendar to be statically positioned to support custom positioning. |
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Dropdown
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-dropdown
5
6
  ---import './Dropdown.css'
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
- id: File upload
2
+ id: Text file upload
3
3
  section: components
4
+ subsection: file-upload
4
5
  cssPrefix: pf-c-file-upload
5
6
  ---## Examples
6
7
 
@@ -219,11 +220,15 @@ cssPrefix: pf-c-file-upload
219
220
  ></textarea>
220
221
  </div>
221
222
  </div>
222
- <p
223
- class="pf-c-form__helper-text pf-m-error"
224
- id="textAreaHelperText1"
225
- aria-live="polite"
226
- >We don't support this file type. Try again with a different file type.</p>
223
+ <div class="pf-c-form__helper-text" aria-live="polite">
224
+ <div class="pf-c-helper-text">
225
+ <div class="pf-c-helper-text__item pf-m-error" id="textAreaHelperText1">
226
+ <span
227
+ class="pf-c-helper-text__item-text"
228
+ >We don't support this file type. Try again with a different file type.</span>
229
+ </div>
230
+ </div>
231
+ </div>
227
232
  </div>
228
233
  </form>
229
234