@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.
- 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/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 +1 -0
- package/docs/components/Dropdown/examples/Dropdown.md +1 -0
- package/docs/components/FileUpload/examples/FileUpload.md +2 -1
- package/docs/components/Form/examples/Form.md +1 -0
- package/docs/components/FormControl/examples/FormControl.md +1 -0
- package/docs/components/Icon/examples/Icon.md +2 -2
- 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/Radio/examples/Radio.md +1 -0
- package/docs/components/Select/examples/Select.md +1 -0
- 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 +1 -0
- 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 +1 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1 -1
- 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 +1 -1
- 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} +52 -1237
- package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
- package/patternfly.css +83 -1274
- 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
|
@@ -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-
|
|
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-
|
|
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-
|
|
175
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-
|
|
176
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-
|
|
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--
|
|
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="
|
|
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">
|
|
16
|
-
|
|
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
|
|
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">
|
|
214
|
-
|
|
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>` |
|
|
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-
|
|
597
|
-
| `.pf-m-
|
|
598
|
-
| `.pf-m-
|
|
599
|
-
| `.pf-m-
|
|
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.
|
|
@@ -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-
|
|
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-
|
|
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. |
|
|
@@ -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. |
|