@patternfly/patternfly 5.0.0-alpha.33 → 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 (105) 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/Icon/icon.css +3 -3
  20. package/components/Icon/icon.scss +3 -3
  21. package/components/Label/label.css +6 -6
  22. package/components/Label/label.scss +4 -4
  23. package/components/Label/themes/dark/label.scss +2 -2
  24. package/components/LogViewer/log-viewer.css +0 -38
  25. package/components/Login/login.css +0 -40
  26. package/components/Masthead/masthead.css +0 -38
  27. package/components/ModalBox/modal-box.css +3 -3
  28. package/components/ModalBox/modal-box.scss +3 -3
  29. package/components/NotificationDrawer/notification-drawer.css +5 -5
  30. package/components/NotificationDrawer/notification-drawer.scss +5 -5
  31. package/components/Page/page.css +0 -42
  32. package/components/Popover/popover.css +6 -6
  33. package/components/Popover/popover.scss +5 -5
  34. package/components/Popover/themes/dark/popover.scss +1 -1
  35. package/components/Wizard/wizard.css +0 -38
  36. package/docs/components/Alert/examples/Alert.md +15 -15
  37. package/docs/components/AlertGroup/examples/AlertGroup.md +6 -6
  38. package/docs/components/AppLauncher/examples/application-launcher.md +1 -0
  39. package/docs/components/Check/examples/Check.md +1 -0
  40. package/docs/components/ContextSelector/examples/context-selector.md +1 -0
  41. package/docs/components/DatePicker/examples/DatePicker.md +1 -0
  42. package/docs/components/Dropdown/examples/Dropdown.md +1 -0
  43. package/docs/components/FileUpload/examples/FileUpload.md +2 -1
  44. package/docs/components/Form/examples/Form.md +1 -0
  45. package/docs/components/FormControl/examples/FormControl.md +1 -0
  46. package/docs/components/Icon/examples/Icon.md +2 -2
  47. package/docs/components/Menu/examples/Menu.md +1 -0
  48. package/docs/components/MenuToggle/examples/MenuToggle.md +1 -0
  49. package/docs/components/ModalBox/examples/ModalBox.md +8 -8
  50. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +2 -1
  51. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +22 -22
  52. package/docs/components/OptionsMenu/examples/options-menu.md +1 -0
  53. package/docs/components/Popover/examples/Popover.md +9 -9
  54. package/docs/components/Radio/examples/Radio.md +1 -0
  55. package/docs/components/Select/examples/Select.md +1 -0
  56. package/docs/demos/CardView/examples/CardView.md +1 -1
  57. package/docs/demos/Dashboard/examples/Dashboard.md +1 -1
  58. package/docs/demos/Form/examples/BasicForms.md +1 -0
  59. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -30
  60. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
  61. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +1 -1
  62. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1 -1
  63. package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
  64. package/docs/utilities/Alignment/examples/Alignment.md +1 -1
  65. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
  66. package/docs/utilities/BoxShadow/examples/box-shadow.md +1 -1
  67. package/docs/utilities/Display/examples/Display.md +1 -1
  68. package/docs/utilities/Flex/examples/Flex.md +1 -1
  69. package/docs/utilities/Float/examples/Float.md +1 -1
  70. package/docs/utilities/Sizing/examples/Sizing.md +1 -1
  71. package/docs/utilities/Spacing/examples/Spacing.md +1 -1
  72. package/docs/utilities/Text/examples/Text.md +5 -5
  73. package/package.json +1 -1
  74. package/patternfly-addons.css +48 -48
  75. package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +10 -31
  76. package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
  77. package/patternfly-base.css +45 -72
  78. package/{patternfly-no-reset.css → patternfly-no-globals.css} +52 -1237
  79. package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
  80. package/patternfly.css +83 -1274
  81. package/patternfly.min.css +1 -1
  82. package/patternfly.min.css.map +1 -1
  83. package/sass-utilities/placeholders.scss +0 -23
  84. package/sass-utilities/scss-variables.scss +4 -5
  85. package/sass-utilities/themes/dark/placeholders.scss +0 -22
  86. package/utilities/Text/text.css +48 -48
  87. package/utilities/Text/text.scss +6 -6
  88. package/utilities/Text/themes/dark/text.scss +2 -2
  89. package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
  90. package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
  91. package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
  92. package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
  93. package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
  94. package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
  95. package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
  96. package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
  97. package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
  98. package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
  99. package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
  100. package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
  101. package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
  102. package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
  103. package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
  104. package/assets/pficon/pficon.woff +0 -0
  105. package/sass-utilities/bs-variables.scss +0 -709
@@ -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
 
@@ -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
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Form
3
3
  section: components
4
+ subsection: forms
4
5
  cssPrefix: pf-c-form
5
6
  ---## Examples
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Form control
3
3
  section: components
4
+ subsection: forms
4
5
  cssPrefix: pf-c-form-control
5
6
  ---import './FormControl.css'
6
7
 
@@ -84,7 +84,7 @@ cssPrefix: pf-c-icon
84
84
  </span>
85
85
  </span>
86
86
  <span class="pf-c-icon">
87
- <span class="pf-c-icon__content pf-m-default">
87
+ <span class="pf-c-icon__content pf-m-custom">
88
88
  <i class="fas fa-bell" aria-hidden="true"></i>
89
89
  </span>
90
90
  </span>
@@ -252,4 +252,4 @@ Refer to the [icons](/guidelines/icons) page for information about the PatternFl
252
252
  | `.pf-m-[sm,md,lg,xl]` | `.pf-c-icon` | Modifies the icon container to be small, medium, large, or extra large. |
253
253
  | `.pf-m-[sm,md,lg,xl]` | `.pf-c-icon__content`, `pf-c-icon__progress` | Modifies the icon content or progress element to be small, medium, large, or extra large. |
254
254
  | `.pf-m-in-progress` | `.pf-c-icon` | Shows the progress element in place of the icon content. |
255
- | `.pf-m-danger`, `.pf-m-warning`, `.pf-m-success`, `.pf-m-info`, `.pf-m-default` | `.pf-c-icon__content` | Modifies the icon content to use a status color. |
255
+ | `.pf-m-danger`, `.pf-m-warning`, `.pf-m-success`, `.pf-m-info`, `.pf-m-custom` | `.pf-c-icon__content` | Modifies the icon content to use a status color. |
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Menu
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-menu
5
6
  ---import './Menu.css'
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: 'Menu toggle'
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-menu-toggle
5
6
  ---import './MenuToggle.css'
6
7
 
@@ -290,15 +290,15 @@ cssPrefix: pf-c-modal-box
290
290
 
291
291
  ```
292
292
 
293
- ### Default alert
293
+ ### Custom alert
294
294
 
295
295
  ```html isFullscreen
296
296
  <div
297
- class="pf-c-modal-box pf-m-default"
297
+ class="pf-c-modal-box pf-m-custom"
298
298
  role="dialog"
299
299
  aria-modal="true"
300
- aria-labelledby="default-alert-title"
301
- aria-describedby="default-alert-description"
300
+ aria-labelledby="custom-alert-title"
301
+ aria-describedby="custom-alert-description"
302
302
  >
303
303
  <div class="pf-c-modal-box__close">
304
304
  <button class="pf-c-button pf-m-plain" type="button" aria-label="Close">
@@ -306,7 +306,7 @@ cssPrefix: pf-c-modal-box
306
306
  </button>
307
307
  </div>
308
308
  <header class="pf-c-modal-box__header">
309
- <h1 class="pf-c-modal-box__title pf-m-icon" id="default-alert-title">
309
+ <h1 class="pf-c-modal-box__title pf-m-icon" id="custom-alert-title">
310
310
  <span class="pf-c-modal-box__title-icon">
311
311
  <i class="fas fa-fw fa-bell" aria-hidden="true"></i>
312
312
  </span>
@@ -314,12 +314,12 @@ cssPrefix: pf-c-modal-box
314
314
  Default
315
315
  alert:
316
316
  </span>
317
- <span class="pf-c-modal-box__title-text">Default alert modal title</span>
317
+ <span class="pf-c-modal-box__title-text">Custom alert modal title</span>
318
318
  </h1>
319
319
  </header>
320
320
  <div
321
321
  class="pf-c-modal-box__body"
322
- id="default-alert-description"
322
+ id="custom-alert-description"
323
323
  >Modal description</div>
324
324
  <footer class="pf-c-modal-box__footer">Modal footer</footer>
325
325
  </div>
@@ -511,7 +511,7 @@ A modal box is a generic rectangular container that can be used to build modals.
511
511
  | `.pf-m-lg` | `.pf-c-modal-box` | Modifies for a large modal box width. |
512
512
  | `.pf-m-align-top` | `.pf-c-modal-box` | Modifies for top alignment. |
513
513
  | `.pf-m-icon` | `.pf-c-modal-box__title` | Modifies the title layout to accommodate an icon. |
514
- | `.pf-m-default` | `.pf-c-modal-box` | Modifies for the default alert state. |
514
+ | `.pf-m-custom` | `.pf-c-modal-box` | Modifies for the custom alert state. |
515
515
  | `.pf-m-info` | `.pf-c-modal-box` | Modifies for the info alert state. |
516
516
  | `.pf-m-success` | `.pf-c-modal-box` | Modifies for the success alert state. |
517
517
  | `.pf-m-warning` | `.pf-c-modal-box` | Modifies for the warning alert state. |
@@ -1,6 +1,7 @@
1
1
  ---
2
- id: 'File upload - multiple'
2
+ id: 'Multiple file upload'
3
3
  section: components
4
+ subsection: file-upload
4
5
  cssPrefix: pf-c-multiple-file-upload
5
6
  ---## Examples
6
7
 
@@ -128,7 +128,7 @@ cssPrefix: pf-c-notification-drawer
128
128
  </li>
129
129
 
130
130
  <li
131
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
131
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
132
132
  tabindex="0"
133
133
  >
134
134
  <div class="pf-c-notification-drawer__list-item-header">
@@ -136,7 +136,7 @@ cssPrefix: pf-c-notification-drawer
136
136
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
137
137
  </span>
138
138
  <h2 class="pf-c-notification-drawer__list-item-header-title">
139
- <span class="pf-screen-reader">Default notification:</span>
139
+ <span class="pf-screen-reader">Custom notification:</span>
140
140
  Unread
141
141
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
142
142
  </h2>
@@ -194,7 +194,7 @@ cssPrefix: pf-c-notification-drawer
194
194
  </li>
195
195
 
196
196
  <li
197
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
197
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
198
198
  tabindex="0"
199
199
  >
200
200
  <div class="pf-c-notification-drawer__list-item-header">
@@ -202,7 +202,7 @@ cssPrefix: pf-c-notification-drawer
202
202
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
203
203
  </span>
204
204
  <h2 class="pf-c-notification-drawer__list-item-header-title">
205
- <span class="pf-screen-reader">Default notification:</span>
205
+ <span class="pf-screen-reader">Custom notification:</span>
206
206
  Unread
207
207
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
208
208
  </h2>
@@ -668,7 +668,7 @@ cssPrefix: pf-c-notification-drawer
668
668
  </li>
669
669
 
670
670
  <li
671
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
671
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
672
672
  tabindex="0"
673
673
  >
674
674
  <div class="pf-c-notification-drawer__list-item-header">
@@ -676,7 +676,7 @@ cssPrefix: pf-c-notification-drawer
676
676
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
677
677
  </span>
678
678
  <h2 class="pf-c-notification-drawer__list-item-header-title">
679
- <span class="pf-screen-reader">Default notification:</span>
679
+ <span class="pf-screen-reader">Custom notification:</span>
680
680
  Unread
681
681
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
682
682
  </h2>
@@ -737,7 +737,7 @@ cssPrefix: pf-c-notification-drawer
737
737
  </li>
738
738
 
739
739
  <li
740
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
740
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
741
741
  tabindex="0"
742
742
  >
743
743
  <div class="pf-c-notification-drawer__list-item-header">
@@ -745,7 +745,7 @@ cssPrefix: pf-c-notification-drawer
745
745
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
746
746
  </span>
747
747
  <h2 class="pf-c-notification-drawer__list-item-header-title">
748
- <span class="pf-screen-reader">Default notification:</span>
748
+ <span class="pf-screen-reader">Custom notification:</span>
749
749
  Unread
750
750
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
751
751
  </h2>
@@ -1163,7 +1163,7 @@ cssPrefix: pf-c-notification-drawer
1163
1163
  </li>
1164
1164
 
1165
1165
  <li
1166
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
1166
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
1167
1167
  tabindex="0"
1168
1168
  >
1169
1169
  <div class="pf-c-notification-drawer__list-item-header">
@@ -1171,7 +1171,7 @@ cssPrefix: pf-c-notification-drawer
1171
1171
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
1172
1172
  </span>
1173
1173
  <h2 class="pf-c-notification-drawer__list-item-header-title">
1174
- <span class="pf-screen-reader">Default notification:</span>
1174
+ <span class="pf-screen-reader">Custom notification:</span>
1175
1175
  Unread
1176
1176
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
1177
1177
  </h2>
@@ -1232,7 +1232,7 @@ cssPrefix: pf-c-notification-drawer
1232
1232
  </li>
1233
1233
 
1234
1234
  <li
1235
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
1235
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
1236
1236
  tabindex="0"
1237
1237
  >
1238
1238
  <div class="pf-c-notification-drawer__list-item-header">
@@ -1240,7 +1240,7 @@ cssPrefix: pf-c-notification-drawer
1240
1240
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
1241
1241
  </span>
1242
1242
  <h2 class="pf-c-notification-drawer__list-item-header-title">
1243
- <span class="pf-screen-reader">Default notification:</span>
1243
+ <span class="pf-screen-reader">Custom notification:</span>
1244
1244
  Unread
1245
1245
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
1246
1246
  </h2>
@@ -1658,7 +1658,7 @@ cssPrefix: pf-c-notification-drawer
1658
1658
  </li>
1659
1659
 
1660
1660
  <li
1661
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
1661
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
1662
1662
  tabindex="0"
1663
1663
  >
1664
1664
  <div class="pf-c-notification-drawer__list-item-header">
@@ -1666,7 +1666,7 @@ cssPrefix: pf-c-notification-drawer
1666
1666
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
1667
1667
  </span>
1668
1668
  <h2 class="pf-c-notification-drawer__list-item-header-title">
1669
- <span class="pf-screen-reader">Default notification:</span>
1669
+ <span class="pf-screen-reader">Custom notification:</span>
1670
1670
  Unread
1671
1671
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
1672
1672
  </h2>
@@ -1727,7 +1727,7 @@ cssPrefix: pf-c-notification-drawer
1727
1727
  </li>
1728
1728
 
1729
1729
  <li
1730
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
1730
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
1731
1731
  tabindex="0"
1732
1732
  >
1733
1733
  <div class="pf-c-notification-drawer__list-item-header">
@@ -1735,7 +1735,7 @@ cssPrefix: pf-c-notification-drawer
1735
1735
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
1736
1736
  </span>
1737
1737
  <h2 class="pf-c-notification-drawer__list-item-header-title">
1738
- <span class="pf-screen-reader">Default notification:</span>
1738
+ <span class="pf-screen-reader">Custom notification:</span>
1739
1739
  Unread
1740
1740
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
1741
1741
  </h2>
@@ -2153,7 +2153,7 @@ cssPrefix: pf-c-notification-drawer
2153
2153
  </li>
2154
2154
 
2155
2155
  <li
2156
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
2156
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
2157
2157
  tabindex="0"
2158
2158
  >
2159
2159
  <div class="pf-c-notification-drawer__list-item-header">
@@ -2161,7 +2161,7 @@ cssPrefix: pf-c-notification-drawer
2161
2161
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
2162
2162
  </span>
2163
2163
  <h2 class="pf-c-notification-drawer__list-item-header-title">
2164
- <span class="pf-screen-reader">Default notification:</span>
2164
+ <span class="pf-screen-reader">Custom notification:</span>
2165
2165
  Unread
2166
2166
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
2167
2167
  </h2>
@@ -2222,7 +2222,7 @@ cssPrefix: pf-c-notification-drawer
2222
2222
  </li>
2223
2223
 
2224
2224
  <li
2225
- class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default"
2225
+ class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-custom"
2226
2226
  tabindex="0"
2227
2227
  >
2228
2228
  <div class="pf-c-notification-drawer__list-item-header">
@@ -2230,7 +2230,7 @@ cssPrefix: pf-c-notification-drawer
2230
2230
  <i class="fas fa-arrow-circle-up" aria-hidden="true"></i>
2231
2231
  </span>
2232
2232
  <h2 class="pf-c-notification-drawer__list-item-header-title">
2233
- <span class="pf-screen-reader">Default notification:</span>
2233
+ <span class="pf-screen-reader">Custom notification:</span>
2234
2234
  Unread
2235
2235
  recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
2236
2236
  </h2>
@@ -2588,7 +2588,7 @@ cssPrefix: pf-c-notification-drawer
2588
2588
  | `.pf-c-notification-drawer__header-action-close` | `<div>` | Initiates the notification drawer header action button. |
2589
2589
  | `.pf-c-notification-drawer__body` | `<div>` | Initiates the notification drawer body. **Required** |
2590
2590
  | `.pf-c-notification-drawer__list` | `<ul>` | Initiates a notification list. **Required** |
2591
- | `.pf-c-notification-drawer__list-item` | `<li>` | Initiates a notification list item. **Always use with a state modifier - one of `.pf-m-info`, `.pf-m-warning`, `.pf-m-danger`, `.pf-m-success`.** **Required** |
2591
+ | `.pf-c-notification-drawer__list-item` | `<li>` | Initiates a notification list item. Always use with a state modifier class. **Required** |
2592
2592
  | `.pf-c-notification-drawer__list-item-header` | `<div>` | Initiates a notification list item header. **Required** |
2593
2593
  | `.pf-c-notification-drawer__list-item-header-icon` | `<span>` | Initiates a notification list item header icon. **Required** |
2594
2594
  | `.pf-c-notification-drawer__list-item-header-title` | `<h2>` | Initiates a notification list item header title. **Required** |
@@ -2601,7 +2601,7 @@ cssPrefix: pf-c-notification-drawer
2601
2601
  | `.pf-c-notification-drawer__group-title` | `<div>` | Initiates a notification group toggle title. **Required** |
2602
2602
  | `.pf-c-notification-drawer__group-count` | `<div>` | Initiates a notification group toggle count. |
2603
2603
  | `.pf-c-notification-drawer__group-icon` | `<span>` | Initiates a notification group toggle icon. **Required** |
2604
- | `.pf-m-default` | `.pf-c-notification-drawer__list-item` | Modifies a notification list item for the default state. |
2604
+ | `.pf-m-custom` | `.pf-c-notification-drawer__list-item` | Modifies a notification list item for the custom state. |
2605
2605
  | `.pf-m-info` | `.pf-c-notification-drawer__list-item` | Modifies a notification list item for the info state. |
2606
2606
  | `.pf-m-warning` | `.pf-c-notification-drawer__list-item` | Modifies a notification list item for the warning state. |
2607
2607
  | `.pf-m-danger` | `.pf-c-notification-drawer__list-item` | Modifies a notification list item for the danger state. |
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Options menu
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-options-menu
5
6
  ---import './options-menu.css'
6
7
 
@@ -373,15 +373,15 @@ cssPrefix: pf-c-popover
373
373
 
374
374
  ```
375
375
 
376
- ### Default alert popover
376
+ ### Custom alert popover
377
377
 
378
378
  ```html isFullscreen
379
379
  <div
380
- class="pf-c-popover pf-m-default pf-m-left"
380
+ class="pf-c-popover pf-m-custom pf-m-left"
381
381
  role="dialog"
382
382
  aria-modal="true"
383
- aria-labelledby="popover-default-alert-header"
384
- aria-describedby="popover-default-alert-body"
383
+ aria-labelledby="popover-custom-alert-header"
384
+ aria-describedby="popover-custom-alert-body"
385
385
  >
386
386
  <div class="pf-c-popover__arrow"></div>
387
387
  <div class="pf-c-popover__content">
@@ -391,22 +391,22 @@ cssPrefix: pf-c-popover
391
391
  </button>
392
392
  </div>
393
393
  <header class="pf-c-popover__header">
394
- <div class="pf-c-popover__title" id="popover-default-alert-header">
394
+ <div class="pf-c-popover__title" id="popover-custom-alert-header">
395
395
  <span class="pf-c-popover__title-icon">
396
396
  <i class="fas fa-fw fa-bell" aria-hidden="true"></i>
397
397
  </span>
398
398
  <h1 class="pf-c-popover__title-text">
399
399
  <span class="pf-screen-reader">
400
- Default
400
+ Custom
401
401
  alert:
402
402
  </span>
403
- Default popover title
403
+ Custom popover title
404
404
  </h1>
405
405
  </div>
406
406
  </header>
407
407
  <div
408
408
  class="pf-c-popover__body"
409
- id="popover-default-alert-body"
409
+ id="popover-custom-alert-body"
410
410
  >Popovers are triggered by click rather than hover. Click again to close.</div>
411
411
  <footer class="pf-c-popover__footer">Popover footer</footer>
412
412
  </div>
@@ -612,7 +612,7 @@ A popover is used to provide contextual information for another component on cli
612
612
  | `.pf-m-bottom{-left/right}` | `.pf-c-popover` | Positions the popover to the bottom (or bottom left/bottom right) of the element. |
613
613
  | `.pf-m-no-padding` | `.pf-c-popover` | Removes the outer padding from the popover content. |
614
614
  | `.pf-m-width-auto` | `.pf-c-popover` | Allows popover width to be defined by the popover content. |
615
- | `.pf-m-default` | `.pf-c-popover` | Modifies for the default alert state. |
615
+ | `.pf-m-custom` | `.pf-c-popover` | Modifies for the custom alert state. |
616
616
  | `.pf-m-info` | `.pf-c-popover` | Modifies for the info alert state. |
617
617
  | `.pf-m-success` | `.pf-c-popover` | Modifies for the success alert state. |
618
618
  | `.pf-m-warning` | `.pf-c-popover` | Modifies for the warning alert state. |
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Radio
3
3
  section: components
4
+ subsection: forms
4
5
  cssPrefix: pf-c-radio
5
6
  ---## Examples
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Select
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-select
5
6
  ---import './Select.css'
6
7
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: 'Card view'
3
- section: demos
3
+ section: patterns
4
4
  ---## Examples
5
5
 
6
6
  ### Card view