@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.
- package/RELEASE-NOTES.md +1 -1
- package/assets/pficon/pficon.scss +1 -2
- package/base/_fa-icons.scss +1 -2
- package/base/_fonts.scss +5 -10
- package/base/_globals.scss +91 -85
- package/base/_variables.scss +3 -3
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fonts.css +5 -5
- package/base/patternfly-globals.css +35 -41
- package/base/patternfly-icons.css +2 -2
- package/base/patternfly-pf-icons.css +1 -1
- package/base/patternfly-themes.css +0 -42
- package/base/patternfly-variables.css +3 -3
- package/components/AboutModalBox/about-modal-box.css +0 -38
- package/components/Alert/alert.css +14 -5
- package/components/Alert/alert.scss +18 -4
- package/components/Alert/themes/dark/alert.scss +1 -1
- package/components/Banner/banner.css +0 -38
- package/components/DatePicker/date-picker.css +0 -8
- package/components/DatePicker/date-picker.scss +0 -9
- package/components/HelperText/helper-text.css +4 -0
- package/components/HelperText/helper-text.scss +5 -0
- package/components/Icon/icon.css +3 -3
- package/components/Icon/icon.scss +3 -3
- package/components/Label/label.css +6 -6
- package/components/Label/label.scss +4 -4
- package/components/Label/themes/dark/label.scss +2 -2
- package/components/LogViewer/log-viewer.css +0 -38
- package/components/Login/login.css +0 -40
- package/components/Masthead/masthead.css +0 -38
- package/components/ModalBox/modal-box.css +3 -3
- package/components/ModalBox/modal-box.scss +3 -3
- package/components/NotificationDrawer/notification-drawer.css +5 -5
- package/components/NotificationDrawer/notification-drawer.scss +5 -5
- package/components/Page/page.css +0 -42
- package/components/Popover/popover.css +6 -6
- package/components/Popover/popover.scss +5 -5
- package/components/Popover/themes/dark/popover.scss +1 -1
- package/components/Wizard/wizard.css +0 -38
- package/docs/components/Alert/examples/Alert.md +15 -15
- package/docs/components/AlertGroup/examples/AlertGroup.md +6 -6
- package/docs/components/AppLauncher/examples/application-launcher.md +1 -0
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/ContextSelector/examples/context-selector.md +1 -0
- package/docs/components/DatePicker/examples/DatePicker.md +15 -3
- package/docs/components/Dropdown/examples/Dropdown.md +1 -0
- package/docs/components/FileUpload/examples/FileUpload.md +11 -6
- package/docs/components/Form/examples/Form.md +95 -73
- package/docs/components/FormControl/examples/FormControl.md +1 -0
- package/docs/components/HelperText/examples/HelperText.md +13 -24
- package/docs/components/Icon/examples/Icon.md +2 -2
- package/docs/components/Login/examples/Login.md +67 -30
- package/docs/components/Menu/examples/Menu.md +1 -0
- package/docs/components/MenuToggle/examples/MenuToggle.md +1 -0
- package/docs/components/ModalBox/examples/ModalBox.md +8 -8
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +2 -1
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +22 -22
- package/docs/components/OptionsMenu/examples/options-menu.md +1 -0
- package/docs/components/Popover/examples/Popover.md +9 -9
- package/docs/components/Progress/examples/Progress.md +1 -1
- package/docs/components/Radio/examples/Radio.md +1 -0
- package/docs/components/Select/examples/Select.md +1 -0
- package/docs/demos/Alert/examples/Alert.md +105 -58
- package/docs/demos/CardView/examples/CardView.md +1 -1
- package/docs/demos/Dashboard/examples/Dashboard.md +1 -1
- package/docs/demos/Form/examples/BasicForms.md +130 -140
- package/docs/demos/HelperText/examples/HelperText.md +11 -8
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -30
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +88 -54
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1 -1
- package/docs/demos/Toolbar/examples/Toolbar.md +17 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
- package/docs/utilities/Alignment/examples/Alignment.md +1 -1
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
- package/docs/utilities/BoxShadow/examples/box-shadow.md +1 -1
- package/docs/utilities/Display/examples/Display.md +1 -1
- package/docs/utilities/Flex/examples/Flex.md +1 -1
- package/docs/utilities/Float/examples/Float.md +1 -1
- package/docs/utilities/Sizing/examples/Sizing.md +1 -1
- package/docs/utilities/Spacing/examples/Spacing.md +1 -1
- package/docs/utilities/Text/examples/Text.md +5 -5
- package/package.json +2 -2
- package/patternfly-addons.css +48 -48
- package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +10 -31
- package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
- package/patternfly-base.css +45 -72
- package/{patternfly-no-reset.css → patternfly-no-globals.css} +56 -1245
- package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
- package/patternfly.css +87 -1282
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/placeholders.scss +0 -23
- package/sass-utilities/scss-variables.scss +4 -5
- package/sass-utilities/themes/dark/placeholders.scss +0 -22
- package/utilities/Text/text.css +48 -48
- package/utilities/Text/text.scss +6 -6
- package/utilities/Text/themes/dark/text.scss +2 -2
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
- package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
- package/assets/pficon/pficon.woff +0 -0
- package/sass-utilities/bs-variables.scss +0 -709
|
@@ -50,12 +50,18 @@ wrapperTag: div
|
|
|
50
50
|
</header>
|
|
51
51
|
<div class="pf-c-login__main-body">
|
|
52
52
|
<form class="pf-c-form" novalidate>
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
<div class="pf-c-form__helper-text" aria-live="polite">
|
|
54
|
+
<div class="pf-c-helper-text pf-m-hidden">
|
|
55
|
+
<div class="pf-c-helper-text__item pf-m-error" id="-helper">
|
|
56
|
+
<span class="pf-c-helper-text__item-icon">
|
|
57
|
+
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
|
|
58
|
+
</span>
|
|
59
|
+
<span
|
|
60
|
+
class="pf-c-helper-text__item-text"
|
|
61
|
+
>Invalid login credentials.</span>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
59
65
|
<div class="pf-c-form__group"><label class="pf-c-form__label" for="login-demo-form-username">
|
|
60
66
|
<span class="pf-c-form__label-text">Username</span> <span class="pf-c-form__label-required" aria-hidden="true">*</span></label>
|
|
61
67
|
|
|
@@ -266,12 +272,18 @@ wrapperTag: div
|
|
|
266
272
|
</header>
|
|
267
273
|
<div class="pf-c-login__main-body">
|
|
268
274
|
<form class="pf-c-form" novalidate>
|
|
269
|
-
<
|
|
270
|
-
<
|
|
271
|
-
<
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
+
<div class="pf-c-form__helper-text" aria-live="polite">
|
|
276
|
+
<div class="pf-c-helper-text">
|
|
277
|
+
<div class="pf-c-helper-text__item pf-m-error" id="-helper">
|
|
278
|
+
<span class="pf-c-helper-text__item-icon">
|
|
279
|
+
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
|
|
280
|
+
</span>
|
|
281
|
+
<span
|
|
282
|
+
class="pf-c-helper-text__item-text"
|
|
283
|
+
>Invalid login credentials.</span>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
</div>
|
|
275
287
|
<div class="pf-c-form__group"><label
|
|
276
288
|
class="pf-c-form__label"
|
|
277
289
|
for="invalid-login-demo-form-username"
|
|
@@ -488,12 +500,18 @@ wrapperTag: div
|
|
|
488
500
|
</header>
|
|
489
501
|
<div class="pf-c-login__main-body">
|
|
490
502
|
<form class="pf-c-form" novalidate>
|
|
491
|
-
<
|
|
492
|
-
<
|
|
493
|
-
<
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
503
|
+
<div class="pf-c-form__helper-text" aria-live="polite">
|
|
504
|
+
<div class="pf-c-helper-text pf-m-hidden">
|
|
505
|
+
<div class="pf-c-helper-text__item pf-m-error" id="-helper">
|
|
506
|
+
<span class="pf-c-helper-text__item-icon">
|
|
507
|
+
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
|
|
508
|
+
</span>
|
|
509
|
+
<span
|
|
510
|
+
class="pf-c-helper-text__item-text"
|
|
511
|
+
>Invalid login credentials.</span>
|
|
512
|
+
</div>
|
|
513
|
+
</div>
|
|
514
|
+
</div>
|
|
497
515
|
<div class="pf-c-form__group"><label class="pf-c-form__label" for="login-demo-form-username">
|
|
498
516
|
<span class="pf-c-form__label-text">Username</span> <span class="pf-c-form__label-required" aria-hidden="true">*</span></label>
|
|
499
517
|
|
|
@@ -715,12 +733,25 @@ wrapperTag: div
|
|
|
715
733
|
</header>
|
|
716
734
|
<div class="pf-c-login__main-body">
|
|
717
735
|
<form class="pf-c-form" novalidate>
|
|
718
|
-
<
|
|
719
|
-
<
|
|
720
|
-
<
|
|
721
|
-
|
|
736
|
+
<div class="pf-c-form__helper-text" aria-live="polite">
|
|
737
|
+
<div class="pf-c-helper-text pf-m-hidden">
|
|
738
|
+
<div class="pf-c-helper-text__item pf-m-error" id="-helper">
|
|
739
|
+
<span class="pf-c-helper-text__item-icon">
|
|
740
|
+
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
|
|
741
|
+
</span>
|
|
742
|
+
<span
|
|
743
|
+
class="pf-c-helper-text__item-text"
|
|
744
|
+
>Invalid login credentials.</span>
|
|
745
|
+
</div>
|
|
746
|
+
</div>
|
|
747
|
+
</div>
|
|
748
|
+
<div
|
|
749
|
+
class="pf-c-form__helper-text pf-m-error pf-m-hidden"
|
|
750
|
+
aria-live="polite"
|
|
751
|
+
>
|
|
752
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
722
753
|
Invalid login credentials.
|
|
723
|
-
</
|
|
754
|
+
</div>
|
|
724
755
|
<div class="pf-c-form__group"><label class="pf-c-form__label" for="login-demo-form-username">
|
|
725
756
|
<span class="pf-c-form__label-text">Username</span> <span class="pf-c-form__label-required" aria-hidden="true">*</span></label>
|
|
726
757
|
|
|
@@ -988,12 +1019,18 @@ wrapperTag: div
|
|
|
988
1019
|
</header>
|
|
989
1020
|
<div class="pf-c-login__main-body">
|
|
990
1021
|
<form class="pf-c-form" novalidate>
|
|
991
|
-
<
|
|
992
|
-
<
|
|
993
|
-
<
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1022
|
+
<div class="pf-c-form__helper-text" aria-live="polite">
|
|
1023
|
+
<div class="pf-c-helper-text pf-m-hidden">
|
|
1024
|
+
<div class="pf-c-helper-text__item pf-m-error" id="-helper">
|
|
1025
|
+
<span class="pf-c-helper-text__item-icon">
|
|
1026
|
+
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
|
|
1027
|
+
</span>
|
|
1028
|
+
<span
|
|
1029
|
+
class="pf-c-helper-text__item-text"
|
|
1030
|
+
>Invalid login credentials.</span>
|
|
1031
|
+
</div>
|
|
1032
|
+
</div>
|
|
1033
|
+
</div>
|
|
997
1034
|
<div class="pf-c-form__group"><label class="pf-c-form__label" for="login-demo-form-username">
|
|
998
1035
|
<span class="pf-c-form__label-text">Username</span> <span class="pf-c-form__label-required" aria-hidden="true">*</span></label>
|
|
999
1036
|
|
|
@@ -1176,7 +1213,7 @@ wrapperTag: div
|
|
|
1176
1213
|
| `.pf-c-login__main-header-utilities` | `<div>` | Creates a utilities section in the main header area. **Note:** For use with a language selector menu. |
|
|
1177
1214
|
| `.pf-c-login__main-body` | `<div>` | Creates the body of the main area. **Required** |
|
|
1178
1215
|
| `.pf-c-login__main-body .pf-c-form` | `<form>` | Creates the login form in the main body area. **Required**|
|
|
1179
|
-
| `.pf-c-login__main-body .pf-c-form .pf-c-form-helper-text
|
|
1216
|
+
| `.pf-c-login__main-body .pf-c-form .pf-c-form-helper-text` | `<form>` | Creates the error messages shown when the form has errors. When not active, apply `.pf-m-hidden`. **Required** |
|
|
1180
1217
|
| `.pf-c-login__main-footer` | `<footer>` | Creates the footer of the main area. **Required** |
|
|
1181
1218
|
| `.pf-c-login__main-footer-links` | `<ul>` | Creates a list of links in the main footer. **Required** |
|
|
1182
1219
|
| `.pf-c-login__main-footer-links-item` | `<li>` | Creates proper spacing for links in the main footer. **Required** |
|
|
@@ -290,15 +290,15 @@ cssPrefix: pf-c-modal-box
|
|
|
290
290
|
|
|
291
291
|
```
|
|
292
292
|
|
|
293
|
-
###
|
|
293
|
+
### Custom alert
|
|
294
294
|
|
|
295
295
|
```html isFullscreen
|
|
296
296
|
<div
|
|
297
|
-
class="pf-c-modal-box pf-m-
|
|
297
|
+
class="pf-c-modal-box pf-m-custom"
|
|
298
298
|
role="dialog"
|
|
299
299
|
aria-modal="true"
|
|
300
|
-
aria-labelledby="
|
|
301
|
-
aria-describedby="
|
|
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="
|
|
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">
|
|
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="
|
|
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-
|
|
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. |
|
|
@@ -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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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-
|
|
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">
|
|
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.
|
|
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-
|
|
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. |
|
|
@@ -373,15 +373,15 @@ cssPrefix: pf-c-popover
|
|
|
373
373
|
|
|
374
374
|
```
|
|
375
375
|
|
|
376
|
-
###
|
|
376
|
+
### Custom alert popover
|
|
377
377
|
|
|
378
378
|
```html isFullscreen
|
|
379
379
|
<div
|
|
380
|
-
class="pf-c-popover pf-m-
|
|
380
|
+
class="pf-c-popover pf-m-custom pf-m-left"
|
|
381
381
|
role="dialog"
|
|
382
382
|
aria-modal="true"
|
|
383
|
-
aria-labelledby="popover-
|
|
384
|
-
aria-describedby="popover-
|
|
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-
|
|
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
|
-
|
|
400
|
+
Custom
|
|
401
401
|
alert:
|
|
402
402
|
</span>
|
|
403
|
-
|
|
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-
|
|
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-
|
|
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. |
|
|
@@ -589,7 +589,7 @@ cssPrefix: pf-c-progress
|
|
|
589
589
|
|
|
590
590
|
```
|
|
591
591
|
|
|
592
|
-
### Non-
|
|
592
|
+
### Non-percentage progress
|
|
593
593
|
|
|
594
594
|
If the status that displays with the bar is not a percentage, then the ARIA tag `aria-valuetext` should be used to provide this status to screen reader users. This is the only case when setting the `aria-valuemax` to a value other than "100" is recommended, given how different screen readers handle these attributes.
|
|
595
595
|
|