@patternfly/patternfly 6.0.0-alpha.97 → 6.0.0-alpha.99
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/components/Card/card.css +1 -0
- package/components/Card/card.scss +1 -0
- package/components/Check/check.css +10 -3
- package/components/Check/check.scss +17 -4
- package/components/Masthead/masthead.css +17 -9
- package/components/Masthead/masthead.scss +18 -9
- package/components/MenuToggle/menu-toggle.css +20 -6
- package/components/MenuToggle/menu-toggle.scss +32 -6
- package/components/ModalBox/modal-box.css +11 -7
- package/components/ModalBox/modal-box.scss +27 -12
- package/components/Nav/nav.css +64 -110
- package/components/Nav/nav.scss +70 -143
- package/components/Page/page.css +9 -17
- package/components/Page/page.scss +10 -23
- package/components/Radio/radio.css +12 -5
- package/components/Radio/radio.scss +21 -6
- package/components/Table/table-grid.css +30 -35
- package/components/Table/table-grid.scss +44 -32
- package/components/Table/table-scrollable.css +14 -6
- package/components/Table/table-scrollable.scss +6 -1
- package/components/Table/table-tree-view.css +5 -5
- package/components/Table/table-tree-view.scss +14 -8
- package/components/Table/table.css +90 -254
- package/components/Table/table.scss +158 -347
- package/components/Toolbar/toolbar.css +66 -2
- package/components/Toolbar/toolbar.scss +21 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
- package/docs/components/Accordion/examples/Accordion.md +19 -19
- package/docs/components/ActionList/examples/ActionList.md +5 -5
- package/docs/components/Alert/examples/Alert.md +26 -26
- package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
- package/docs/components/Avatar/examples/Avatar.md +8 -8
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +3 -3
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +6 -6
- package/docs/components/Banner/examples/Banner.md +17 -17
- package/docs/components/Brand/examples/Brand.css +3 -3
- package/docs/components/Brand/examples/Brand.md +7 -7
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
- package/docs/components/Card/examples/Card.md +30 -30
- package/docs/components/Check/examples/Check.md +12 -12
- package/docs/components/Chip/examples/Chip.md +21 -21
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
- package/docs/components/DataList/examples/DataList.md +177 -112
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
- package/docs/components/Divider/examples/Divider.md +7 -7
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +36 -36
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
- package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
- package/docs/components/EmptyState/examples/EmptyState.md +21 -21
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +52 -52
- package/docs/components/FormControl/examples/FormControl.md +22 -22
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +6 -6
- package/docs/components/Icon/examples/Icon.md +13 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/Label/examples/Label.css +4 -4
- package/docs/components/Label/examples/Label.md +45 -45
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +35 -35
- package/docs/components/Login/examples/Login.md +21 -21
- package/docs/components/Masthead/examples/masthead.md +7 -7
- package/docs/components/Menu/examples/Menu.md +60 -60
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -22
- package/docs/components/ModalBox/examples/ModalBox.md +75 -34
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
- package/docs/components/Nav/examples/Navigation.css +20 -3
- package/docs/components/Nav/examples/Navigation.md +44 -50
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
- package/docs/components/NumberInput/examples/NumberInput.md +13 -13
- package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
- package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
- package/docs/components/Page/deprecated/PageHeader.md +30 -30
- package/docs/components/Page/examples/Page.md +55 -54
- package/docs/components/Pagination/examples/Pagination.md +25 -25
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +30 -30
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
- package/docs/components/Radio/examples/Radio.md +9 -9
- package/docs/components/Select/deprecated/Select.md +110 -110
- package/docs/components/Sidebar/examples/Sidebar.md +16 -16
- package/docs/components/SimpleList/examples/SimpleList.md +9 -9
- package/docs/components/Skeleton/examples/Skeleton.md +14 -14
- package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
- package/docs/components/Slider/examples/Slider.md +33 -33
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +14 -14
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +5395 -15077
- package/docs/components/Tabs/examples/Tabs.md +39 -39
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/docs/components/Tile/examples/Tile.md +12 -12
- package/docs/components/Timestamp/examples/Timestamp.md +4 -4
- package/docs/components/Title/examples/Title.md +20 -20
- package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
- package/docs/components/Toolbar/examples/Toolbar.md +57 -57
- package/docs/components/Tooltip/examples/Tooltip.md +9 -9
- package/docs/components/TreeView/examples/TreeView.md +31 -31
- package/docs/components/Truncate/examples/Truncate.md +8 -8
- package/docs/components/Wizard/examples/Wizard.md +46 -46
- package/docs/demos/Banner/examples/Banner.md +1 -1
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/DataList/examples/DataList.md +179 -280
- package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -0
- package/docs/demos/Masthead/examples/Masthead.md +4 -8
- package/docs/demos/Nav/examples/Nav.md +45 -149
- package/docs/demos/Page/examples/Page.md +3 -37
- package/docs/demos/Page/examples/Penta.md +119 -40
- package/docs/demos/Table/examples/Table.md +1531 -4970
- package/docs/demos/Tabs/examples/Tabs.md +118 -174
- package/docs/demos/Toolbar/examples/Toolbar.md +220 -600
- package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
- package/docs/layouts/Flex/examples/Flex.md +76 -76
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.md +8 -8
- package/docs/layouts/Level/examples/Level.md +4 -4
- package/docs/layouts/Split/examples/Split.md +6 -6
- package/docs/layouts/Stack/examples/Stack.md +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
- package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
- package/docs/utilities/Display/examples/Display.md +9 -9
- package/docs/utilities/Flex/examples/Flex.md +32 -32
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Sizing/examples/Sizing.md +41 -41
- package/docs/utilities/Spacing/examples/Spacing.md +11 -11
- package/docs/utilities/Text/examples/Text.md +28 -28
- package/package.json +2 -1
- package/patternfly-no-globals.css +363 -465
- package/patternfly-theme-dark-unversioned.css +363 -465
- package/patternfly.css +363 -465
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
|
@@ -73,15 +73,19 @@
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
:root,
|
|
77
|
-
|
|
76
|
+
:where(:root),
|
|
77
|
+
:where(.pf-v6-c-toolbar) {
|
|
78
78
|
--pf-v6-c-toolbar--RowGap: var(--pf-t--global--spacer--sm);
|
|
79
79
|
--pf-v6-c-toolbar--ColumnGap: var(--pf-t--global--spacer--md);
|
|
80
80
|
--pf-v6-c-toolbar--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
81
81
|
--pf-v6-c-toolbar--PaddingInline: var(--pf-t--global--spacer--md);
|
|
82
82
|
--pf-v6-c-toolbar--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
83
83
|
--pf-v6-c-toolbar--FontSize: var(--pf-t--global--font--size--body--default);
|
|
84
|
+
--pf-v6-c-toolbar__item--Width: auto;
|
|
85
|
+
--pf-v6-c-toolbar__item--MinWidth: auto;
|
|
84
86
|
--pf-v6-c-toolbar__item--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
87
|
+
--pf-v6-c-toolbar__item--m-overflow-container--MinWidth: 0;
|
|
88
|
+
--pf-v6-c-toolbar__group--m-overflow-container--MinWidth: 0;
|
|
85
89
|
--pf-v6-c-toolbar__content--RowGap: var(--pf-t--global--spacer--sm);
|
|
86
90
|
--pf-v6-c-toolbar__content--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
87
91
|
--pf-v6-c-toolbar__content--PaddingInline: var(--pf-v6-c-toolbar--PaddingInline);
|
|
@@ -171,8 +175,62 @@
|
|
|
171
175
|
}
|
|
172
176
|
|
|
173
177
|
.pf-v6-c-toolbar__item {
|
|
178
|
+
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width);
|
|
179
|
+
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth);
|
|
174
180
|
row-gap: var(--pf-v6-c-toolbar__item--RowGap, var(--pf-v6-c-toolbar--RowGap));
|
|
175
181
|
column-gap: var(--pf-v6-c-toolbar__item--ColumnGap);
|
|
182
|
+
width: var(--pf-v6-c-toolbar__item--Width--base);
|
|
183
|
+
min-width: var(--pf-v6-c-toolbar__item--MinWidth--base);
|
|
184
|
+
}
|
|
185
|
+
@media (min-width: 576px) {
|
|
186
|
+
.pf-v6-c-toolbar__item {
|
|
187
|
+
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width-on-sm, var(--pf-v6-c-toolbar__item--Width));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
@media (min-width: 768px) {
|
|
191
|
+
.pf-v6-c-toolbar__item {
|
|
192
|
+
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width-on-md, var(--pf-v6-c-toolbar__item--Width-on-sm, var(--pf-v6-c-toolbar__item--Width)));
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
@media (min-width: 992px) {
|
|
196
|
+
.pf-v6-c-toolbar__item {
|
|
197
|
+
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width-on-lg, var(--pf-v6-c-toolbar__item--Width-on-md, var(--pf-v6-c-toolbar__item--Width-on-sm, var(--pf-v6-c-toolbar__item--Width))));
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
@media (min-width: 1200px) {
|
|
201
|
+
.pf-v6-c-toolbar__item {
|
|
202
|
+
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width-on-xl, var(--pf-v6-c-toolbar__item--Width-on-lg, var(--pf-v6-c-toolbar__item--Width-on-md, var(--pf-v6-c-toolbar__item--Width-on-sm, var(--pf-v6-c-toolbar__item--Width)))));
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
@media (min-width: 1450px) {
|
|
206
|
+
.pf-v6-c-toolbar__item {
|
|
207
|
+
--pf-v6-c-toolbar__item--Width--base: var(--pf-v6-c-toolbar__item--Width-on-2xl, var(--pf-v6-c-toolbar__item--Width-on-xl, var(--pf-v6-c-toolbar__item--Width-on-lg, var(--pf-v6-c-toolbar__item--Width-on-md, var(--pf-v6-c-toolbar__item--Width-on-sm, var(--pf-v6-c-toolbar__item--Width))))));
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
@media (min-width: 576px) {
|
|
211
|
+
.pf-v6-c-toolbar__item {
|
|
212
|
+
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth-on-sm, var(--pf-v6-c-toolbar__item--MinWidth));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
@media (min-width: 768px) {
|
|
216
|
+
.pf-v6-c-toolbar__item {
|
|
217
|
+
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth-on-md, var(--pf-v6-c-toolbar__item--MinWidth-on-sm, var(--pf-v6-c-toolbar__item--MinWidth)));
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
@media (min-width: 992px) {
|
|
221
|
+
.pf-v6-c-toolbar__item {
|
|
222
|
+
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth-on-lg, var(--pf-v6-c-toolbar__item--MinWidth-on-md, var(--pf-v6-c-toolbar__item--MinWidth-on-sm, var(--pf-v6-c-toolbar__item--MinWidth))));
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
@media (min-width: 1200px) {
|
|
226
|
+
.pf-v6-c-toolbar__item {
|
|
227
|
+
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth-on-xl, var(--pf-v6-c-toolbar__item--MinWidth-on-lg, var(--pf-v6-c-toolbar__item--MinWidth-on-md, var(--pf-v6-c-toolbar__item--MinWidth-on-sm, var(--pf-v6-c-toolbar__item--MinWidth)))));
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
@media (min-width: 1450px) {
|
|
231
|
+
.pf-v6-c-toolbar__item {
|
|
232
|
+
--pf-v6-c-toolbar__item--MinWidth--base: var(--pf-v6-c-toolbar__item--MinWidth-on-2xl, var(--pf-v6-c-toolbar__item--MinWidth-on-xl, var(--pf-v6-c-toolbar__item--MinWidth-on-lg, var(--pf-v6-c-toolbar__item--MinWidth-on-md, var(--pf-v6-c-toolbar__item--MinWidth-on-sm, var(--pf-v6-c-toolbar__item--MinWidth))))));
|
|
233
|
+
}
|
|
176
234
|
}
|
|
177
235
|
.pf-v6-c-toolbar__item.pf-m-expand-all.pf-m-expanded {
|
|
178
236
|
--pf-v6-c-toolbar__expand-all-icon--Rotate: var(--pf-v6-c-toolbar__item--m-expand-all--m-expanded__expand-all-icon--Rotate);
|
|
@@ -186,6 +244,9 @@
|
|
|
186
244
|
.pf-v6-c-toolbar__item.pf-m-pagination.pf-v6-c-pagination {
|
|
187
245
|
flex-wrap: nowrap;
|
|
188
246
|
}
|
|
247
|
+
.pf-v6-c-toolbar__item.pf-m-overflow-container {
|
|
248
|
+
min-width: var(--pf-v6-c-toolbar__item--m-overflow-container--MinWidth);
|
|
249
|
+
}
|
|
189
250
|
|
|
190
251
|
.pf-v6-c-toolbar__group {
|
|
191
252
|
row-gap: var(--pf-v6-c-toolbar__group--RowGap, var(--pf-v6-c-toolbar--RowGap));
|
|
@@ -204,6 +265,9 @@
|
|
|
204
265
|
.pf-v6-c-toolbar__group.pf-m-chip-group {
|
|
205
266
|
flex: 1;
|
|
206
267
|
}
|
|
268
|
+
.pf-v6-c-toolbar__group.pf-m-overflow-container {
|
|
269
|
+
min-width: var(--pf-v6-c-toolbar__group--m-overflow-container--MinWidth);
|
|
270
|
+
}
|
|
207
271
|
|
|
208
272
|
.pf-v6-c-toolbar__expandable-content {
|
|
209
273
|
position: absolute;
|
|
@@ -8,8 +8,8 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
8
8
|
$pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
:root,
|
|
12
|
-
|
|
11
|
+
:where(:root),
|
|
12
|
+
:where(.#{$toolbar}) {
|
|
13
13
|
--#{$toolbar}--RowGap: var(--pf-t--global--spacer--sm);
|
|
14
14
|
--#{$toolbar}--ColumnGap: var(--pf-t--global--spacer--md);
|
|
15
15
|
--#{$toolbar}--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
@@ -18,7 +18,13 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
18
18
|
--#{$toolbar}--FontSize: var(--pf-t--global--font--size--body--default);
|
|
19
19
|
|
|
20
20
|
// * Toolbar item
|
|
21
|
+
--#{$toolbar}__item--Width: auto;
|
|
22
|
+
--#{$toolbar}__item--MinWidth: auto;
|
|
21
23
|
--#{$toolbar}__item--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
24
|
+
--#{$toolbar}__item--m-overflow-container--MinWidth: 0;
|
|
25
|
+
|
|
26
|
+
// * Toolbar group
|
|
27
|
+
--#{$toolbar}__group--m-overflow-container--MinWidth: 0;
|
|
22
28
|
|
|
23
29
|
// * Toolbar content * Toolbar expandable content
|
|
24
30
|
--#{$toolbar}__content--RowGap: var(--pf-t--global--spacer--sm);
|
|
@@ -154,8 +160,13 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
154
160
|
|
|
155
161
|
// - Toolbar item
|
|
156
162
|
.#{$toolbar}__item {
|
|
163
|
+
@include pf-v5-build-css-variable-stack("--#{$toolbar}__item--Width--base", "--#{$toolbar}__item--Width", $pf-v5-c-toolbar--breakpoint-map);
|
|
164
|
+
@include pf-v5-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v5-c-toolbar--breakpoint-map);
|
|
165
|
+
|
|
157
166
|
row-gap: var(--#{$toolbar}__item--RowGap, var(--#{$toolbar}--RowGap));
|
|
158
167
|
column-gap: var(--#{$toolbar}__item--ColumnGap);
|
|
168
|
+
width: var(--#{$toolbar}__item--Width--base);
|
|
169
|
+
min-width: var(--#{$toolbar}__item--MinWidth--base);
|
|
159
170
|
|
|
160
171
|
// - Toolbar expand
|
|
161
172
|
&.pf-m-expand-all.pf-m-expanded {
|
|
@@ -175,6 +186,10 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
175
186
|
flex-wrap: nowrap;
|
|
176
187
|
}
|
|
177
188
|
}
|
|
189
|
+
|
|
190
|
+
&.pf-m-overflow-container {
|
|
191
|
+
min-width: var(--#{$toolbar}__item--m-overflow-container--MinWidth);
|
|
192
|
+
}
|
|
178
193
|
}
|
|
179
194
|
|
|
180
195
|
// - Toolbar group
|
|
@@ -202,6 +217,10 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
202
217
|
&.pf-m-chip-group {
|
|
203
218
|
flex: 1;
|
|
204
219
|
}
|
|
220
|
+
|
|
221
|
+
&.pf-m-overflow-container {
|
|
222
|
+
min-width: var(--#{$toolbar}__group--m-overflow-container--MinWidth);
|
|
223
|
+
}
|
|
205
224
|
}
|
|
206
225
|
|
|
207
226
|
// - Toolbar expandable content
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: About modal
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-about-modal-box
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
@@ -42,24 +42,24 @@ cssPrefix: pf-v5-c-about-modal-box
|
|
|
42
42
|
|
|
43
43
|
## Documentation
|
|
44
44
|
|
|
45
|
-
In order to add a background image, set the `--pf-
|
|
45
|
+
In order to add a background image, set the `--pf-v6-c-about-modal-box--BackgroundImage` CSS variable to the path of the image. For example: `--pf-v6-c-about-modal-box--BackgroundImage: url(custom/path/image.jpg);`
|
|
46
46
|
|
|
47
47
|
### Accessibility
|
|
48
48
|
|
|
49
49
|
| Attribute | Applies to | Outcome |
|
|
50
50
|
| -- | -- | -- |
|
|
51
|
-
| `aria-label="Close Dialog"` | `.pf-
|
|
51
|
+
| `aria-label="Close Dialog"` | `.pf-v6-c-modal-box__close .pf-v6-c-button` | Provides an accessible name for the close button as it uses an icon instead of text. **Required** |
|
|
52
52
|
|
|
53
53
|
### Usage
|
|
54
54
|
|
|
55
55
|
| Class | Applied to | Outcome |
|
|
56
56
|
| -- | -- | -- |
|
|
57
|
-
| `.pf-
|
|
58
|
-
| `.pf-
|
|
59
|
-
| `.pf-
|
|
60
|
-
| `.pf-
|
|
61
|
-
| `.pf-
|
|
62
|
-
| `.pf-
|
|
63
|
-
| `.pf-
|
|
64
|
-
| `.pf-
|
|
65
|
-
| `--pf-
|
|
57
|
+
| `.pf-v6-c-about-modal-box` | `<div>`, `<article>` | Initiates a modal box. |
|
|
58
|
+
| `.pf-v6-c-about-modal-box__brand` | `<div>` | Initiates a modal box brand cell. |
|
|
59
|
+
| `.pf-v6-c-about-modal-box__brand-image` | `<img>` | Initiates a modal box brand image. |
|
|
60
|
+
| `.pf-v6-c-about-modal-box__close` | `<div>` | Initiates a modal box close cell. |
|
|
61
|
+
| `.pf-v6-c-about-modal-box__header` | `<div>`, `<header>` | Initiates a modal box header cell. |
|
|
62
|
+
| `.pf-v6-c-about-modal-box__content` | `<div>` | Initiates a modal box content cell. |
|
|
63
|
+
| `.pf-v6-c-about-modal-box__body` | `<div>` | Initiates a modal box body cell. |
|
|
64
|
+
| `.pf-v6-c-about-modal-box__strapline` | `<p>` | Initiates a modal box strapline cell. |
|
|
65
|
+
| `--pf-v6-c-about-modal-box--BackgroundImage` | `.pf-v6-c-about-modal-box` | Sets the background image for the about modal. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Accordion
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-accordion
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Fluid
|
|
@@ -694,31 +694,31 @@ cssPrefix: pf-v5-c-accordion
|
|
|
694
694
|
|
|
695
695
|
There are two variations to build the accordion component. The first is to use `<div>` and `<h1 - h6>` tags:
|
|
696
696
|
|
|
697
|
-
* `.pf-
|
|
698
|
-
* `.pf-
|
|
699
|
-
* `.pf-
|
|
697
|
+
* `.pf-v6-c-accordion` is placed on a `<div>`,
|
|
698
|
+
* `.pf-v6-c-accordion__toggle` is placed on a `<button>` that is inside a `<h1-h6>`, and
|
|
699
|
+
* `.pf-v6-c-accordion__expandable-content` is placed on a `<div>`.
|
|
700
700
|
|
|
701
701
|
The heading level that you use should fit within the rest of the headings outlined on your page.
|
|
702
702
|
|
|
703
703
|
Another variation is using the definition list:
|
|
704
704
|
|
|
705
|
-
* `.pf-
|
|
706
|
-
* `.pf-
|
|
707
|
-
* `.pf-
|
|
705
|
+
* `.pf-v6-c-accordion` is placed on a `<dl>`,
|
|
706
|
+
* `.pf-v6-c-accordion__toggle` is placed on a `<button>` that is inside a `<dt>`, and
|
|
707
|
+
* `.pf-v6-c-accordion__expandable-content` is placed on a `<dd>`.
|
|
708
708
|
|
|
709
709
|
### Usage
|
|
710
710
|
|
|
711
711
|
| Class | Applied to | Outcome |
|
|
712
712
|
| -- | -- | -- |
|
|
713
|
-
| `.pf-
|
|
714
|
-
| `.pf-
|
|
715
|
-
| `.pf-
|
|
716
|
-
| `.pf-
|
|
717
|
-
| `.pf-
|
|
718
|
-
| `.pf-
|
|
719
|
-
| `.pf-
|
|
720
|
-
| `.pf-m-bordered` | `.pf-
|
|
721
|
-
| `.pf-m-display-lg` | `.pf-
|
|
722
|
-
| `.pf-m-toggle-start` | `.pf-
|
|
723
|
-
| `.pf-m-expanded` | `.pf-
|
|
724
|
-
| `.pf-m-fixed` | `.pf-
|
|
713
|
+
| `.pf-v6-c-accordion` | `<div>`, `<dl>` | Initiates an accordion component. **Required**|
|
|
714
|
+
| `.pf-v6-c-accordion__item` | `<div>` | Initiates an accordion item component. **Required**|
|
|
715
|
+
| `.pf-v6-c-accordion__toggle` | `<h1-h6><button>`, `<dt><button>` | Initiates a toggle in the accordion. **Required** |
|
|
716
|
+
| `.pf-v6-c-accordion__toggle-text` | `<span>` | Initiates the text inside the toggle. **Required** |
|
|
717
|
+
| `.pf-v6-c-accordion__toggle-icon` | `<span>` | Initiates the toggle icon wrapper. **Required** |
|
|
718
|
+
| `.pf-v6-c-accordion__expandable-content` | `<div>`, `<dd>` | Initiates expandable content. **Must be paired with a button** |
|
|
719
|
+
| `.pf-v6-c-accordion__expandable-content-body` | `<div>` | Initiates expandable content body. **Required** |
|
|
720
|
+
| `.pf-m-bordered` | `.pf-v6-c-accordion` | Modifies the accordion to add borders between items. |
|
|
721
|
+
| `.pf-m-display-lg` | `.pf-v6-c-accordion` | Modifies the accordion for large display styling. This variation is for marketing/web use cases. |
|
|
722
|
+
| `.pf-m-toggle-start` | `.pf-v6-c-accordion` | Modifies accordion styling when accordion toggle icons are rendered at the start of the toggle, before the toggle text. |
|
|
723
|
+
| `.pf-m-expanded` | `.pf-v6-c-accordion__item` | Modifies the accordion item for the expanded state. |
|
|
724
|
+
| `.pf-m-fixed` | `.pf-v6-c-accordion__expandable-content` | Modifies the expandable content for the fixed state. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Action list
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-action-list
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Action list single group
|
|
@@ -162,7 +162,7 @@ In modals, forms, data lists
|
|
|
162
162
|
|
|
163
163
|
| Attribute | Applied to | Outcome |
|
|
164
164
|
| -- | -- | -- |
|
|
165
|
-
| `.pf-
|
|
166
|
-
| `.pf-
|
|
167
|
-
| `.pf-
|
|
168
|
-
| `.pf-m-icons` | `.pf-
|
|
165
|
+
| `.pf-v6-c-action-list` | `<div>` | Initiates the action list container. |
|
|
166
|
+
| `.pf-v6-c-action-list__item` | `<div>` | Initiates the action list item container. |
|
|
167
|
+
| `.pf-v6-c-action-list__group` | `<div>` | Initiates the action list group container. |
|
|
168
|
+
| `.pf-m-icons` | `.pf-v6-c-action-list`, `.pf-v6-c-action-list__group` | Modifies the action list and/or group to support icon buttons. If applied to `.pf-v6-c-action-list`, all nested groups will inherit this modification. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Alert
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: ['pf-
|
|
4
|
+
cssPrefix: ['pf-v6-c-alert','pf-v6-c-alert-group']
|
|
5
5
|
---## Alert examples
|
|
6
6
|
|
|
7
7
|
### Types
|
|
@@ -196,13 +196,13 @@ cssPrefix: ['pf-v5-c-alert','pf-v5-c-alert-group']
|
|
|
196
196
|
</div>
|
|
197
197
|
<p
|
|
198
198
|
class="pf-v6-c-alert__title pf-m-truncate"
|
|
199
|
-
style="--pf-
|
|
199
|
+
style="--pf-v6-c-alert__title--max-lines: 2"
|
|
200
200
|
>
|
|
201
201
|
<span class="pf-v6-screen-reader">Success alert:</span>
|
|
202
202
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pellentesque neque cursus enim fringilla tincidunt. Proin lobortis aliquam dictum. Nam vel ullamcorper nulla, nec blandit dolor. Vivamus pellentesque neque justo, nec accumsan nulla rhoncus id. Suspendisse mollis, tortor quis faucibus volutpat, sem leo fringilla turpis, ac lacinia augue metus in nulla. Cras vestibulum lacinia orci. Pellentesque sodales consequat interdum. Sed porttitor tincidunt metus nec iaculis. Pellentesque non commodo justo. Morbi feugiat rhoncus neque, vitae facilisis diam aliquam nec. Sed dapibus vitae quam at tristique. Nunc vel commodo mi. Mauris et rhoncus leo.
|
|
203
203
|
</p>
|
|
204
204
|
<div class="pf-v6-c-alert__description">
|
|
205
|
-
<p>This example uses ".pf-m-truncate" and sets "--pf-
|
|
205
|
+
<p>This example uses ".pf-m-truncate" and sets "--pf-v6-c-alert__title--max-lines: 2" to limit title to two lines and truncate any overflow text with ellipses.</p>
|
|
206
206
|
</div>
|
|
207
207
|
</div>
|
|
208
208
|
|
|
@@ -678,7 +678,7 @@ When toast alerts include a link or action, these elements are not announced as
|
|
|
678
678
|
For sighted users, interactive elements can be included in this message in one of the following ways:
|
|
679
679
|
|
|
680
680
|
* Using a link to the Builds page: "The build is complete. Go to the [Builds](#) page to download" using `<a href="#">Builds</a>`
|
|
681
|
-
* Using a button to download: "The build is complete. Go to the Builds page to <button class="pf-
|
|
681
|
+
* Using a button to download: "The build is complete. Go to the Builds page to <button class="pf-v6-c-button pf-m-link pf-m-inline" type="button">download</button>" using `<button class="pf-v6-c-button pf-m-link pf-m-inline type="button">download</button>`
|
|
682
682
|
|
|
683
683
|
```html isFullscreen
|
|
684
684
|
<ul class="pf-v6-c-alert-group pf-m-toast" role="list">
|
|
@@ -770,24 +770,24 @@ Add a modifier class to the default alert to change the color: `.pf-m-success`,
|
|
|
770
770
|
|
|
771
771
|
| Class | Applied to | Outcome |
|
|
772
772
|
| -- | -- | -- |
|
|
773
|
-
| `.pf-
|
|
774
|
-
| `.pf-
|
|
775
|
-
| `.pf-
|
|
776
|
-
| `.pf-
|
|
777
|
-
| `.pf-
|
|
778
|
-
| `.pf-
|
|
779
|
-
| `.pf-
|
|
780
|
-
| `.pf-
|
|
781
|
-
| `.pf-m-custom` | `.pf-
|
|
782
|
-
| `.pf-m-success` | `.pf-
|
|
783
|
-
| `.pf-m-danger` | `.pf-
|
|
784
|
-
| `.pf-m-warning` | `.pf-
|
|
785
|
-
| `.pf-m-info` | `.pf-
|
|
786
|
-
| `.pf-m-inline` | `.pf-
|
|
787
|
-
| `.pf-m-plain` | `.pf-
|
|
788
|
-
| `.pf-m-expandable` | `.pf-
|
|
789
|
-
| `.pf-m-expanded` | `.pf-
|
|
790
|
-
| `.pf-m-truncate` | `.pf-
|
|
773
|
+
| `.pf-v6-c-alert` | `<div>` | Initiates the alert component. Always use with a status modifier class. **Required** |
|
|
774
|
+
| `.pf-v6-c-alert__toggle` | `<div>` | Defines the expandable alert toggle icon. **Required for expandable alerts** |
|
|
775
|
+
| `.pf-v6-c-alert__toggle-icon` | `<span>` | Defines the expandable alert toggle icon. **Required for expandable alerts** |
|
|
776
|
+
| `.pf-v6-c-alert__icon` | `<div>` | Defines the alert icon. **Required** |
|
|
777
|
+
| `.pf-v6-c-alert__title` | `<p>, <h1-h6>` | Defines the alert title. **Required** |
|
|
778
|
+
| `.pf-v6-c-alert__description` | `<div>` | Defines the alert description area. |
|
|
779
|
+
| `.pf-v6-c-alert__action` | `<div>` | Defines the action button wrapper. Should contain `.pf-v6-c-button.pf-m-plain` for close action or `.pf-v6-c-button.pf-m-link` for link text. It should only include one action. |
|
|
780
|
+
| `.pf-v6-c-alert__action-group` | `<div>` | Defines the action button group. Should contain `.pf-v6-c-button.pf-m-link.pf-m-inline` for inline link text. **Note:** only inline link buttons are supported in the alert action group. |
|
|
781
|
+
| `.pf-m-custom` | `.pf-v6-c-alert` | Applies custom status styling. |
|
|
782
|
+
| `.pf-m-success` | `.pf-v6-c-alert` | Applies success status styling. |
|
|
783
|
+
| `.pf-m-danger` | `.pf-v6-c-alert` | Applies danger status styling. |
|
|
784
|
+
| `.pf-m-warning` | `.pf-v6-c-alert` | Applies warning status styling. |
|
|
785
|
+
| `.pf-m-info` | `.pf-v6-c-alert` | Applies info status styling. |
|
|
786
|
+
| `.pf-m-inline` | `.pf-v6-c-alert` | Applies inline styling. |
|
|
787
|
+
| `.pf-m-plain` | `.pf-v6-c-alert.pf-m-inline` | Applies plain styling to an inline alert. |
|
|
788
|
+
| `.pf-m-expandable` | `.pf-v6-c-alert` | Applies expandable styles to the alert. |
|
|
789
|
+
| `.pf-m-expanded` | `.pf-v6-c-alert.pf-m-expandable` | Applies expanded styles to an expandable alert. |
|
|
790
|
+
| `.pf-m-truncate` | `.pf-v6-c-alert__title` | Modifies the title to display a single line and truncate any overflow text with ellipses. **Note:** you can specify the max number of lines to show by setting the `--pf-v6-c-alert__title--max-lines` (the default value is `1`). |
|
|
791
791
|
|
|
792
792
|
### Alert group overview
|
|
793
793
|
|
|
@@ -797,7 +797,7 @@ The alert component is used to contain and align consecutive alerts. Alert grou
|
|
|
797
797
|
|
|
798
798
|
| Class | Applied to | Outcome |
|
|
799
799
|
| -- | -- | -- |
|
|
800
|
-
| `.pf-
|
|
801
|
-
| `.pf-
|
|
802
|
-
| `.pf-
|
|
803
|
-
| `.pf-m-toast`| `.pf-
|
|
800
|
+
| `.pf-v6-c-alert-group` | `<ul>` | Creates an alert group component. **Required** |
|
|
801
|
+
| `.pf-v6-c-alert-group__item` | `<li>` | Creates an alert group item. **Required** |
|
|
802
|
+
| `.pf-v6-c-alert-group__overflow-button` | `<button>` | Applies overflow button styling to an alert group overflow button. |
|
|
803
|
+
| `.pf-m-toast`| `.pf-v6-c-alert-group` | Applies toast alert styling to an alert group. |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
id: Application launcher
|
|
3
3
|
section: components
|
|
4
4
|
subsection: menus
|
|
5
|
-
cssPrefix: pf-
|
|
5
|
+
cssPrefix: pf-v6-c-app-launcher
|
|
6
6
|
deprecated: true
|
|
7
7
|
---import './application-launcher.css'
|
|
8
8
|
|
|
@@ -755,38 +755,38 @@ deprecated: true
|
|
|
755
755
|
|
|
756
756
|
| Attribute | Applied | Outcome |
|
|
757
757
|
| -- | -- | -- |
|
|
758
|
-
| `aria-label="Application launcher"` | `.pf-
|
|
759
|
-
| `aria-expanded="false"` | `.pf-
|
|
760
|
-
| `aria-expanded="true"` | `.pf-
|
|
761
|
-
| `aria-label="Actions"` | `.pf-
|
|
762
|
-
| `hidden` | `.pf-
|
|
763
|
-
| `disabled` | `.pf-
|
|
764
|
-
| `disabled` | `button.pf-
|
|
765
|
-
| `aria-disabled="true"` | `a.pf-
|
|
766
|
-
| `tabindex="-1"` | `a.pf-
|
|
767
|
-
| `aria-hidden="true"` | `.pf-
|
|
758
|
+
| `aria-label="Application launcher"` | `.pf-v6-c-app-launcher` | Gives the app launcher element an accessible name. **Required** |
|
|
759
|
+
| `aria-expanded="false"` | `.pf-v6-c-button` | Indicates that the menu is hidden. |
|
|
760
|
+
| `aria-expanded="true"` | `.pf-v6-c-button` | Indicates that the menu is visible. |
|
|
761
|
+
| `aria-label="Actions"` | `.pf-v6-c-button` | Provides an accessible name for the app launcher when an icon is used. **Required** |
|
|
762
|
+
| `hidden` | `.pf-v6-c-app-launcher__menu` | Indicates that the menu is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
|
|
763
|
+
| `disabled` | `.pf-v6-c-app-launcher__toggle` | Disables the app launcher toggle and removes it from keyboard focus. |
|
|
764
|
+
| `disabled` | `button.pf-v6-c-app-launcher__menu-item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
|
|
765
|
+
| `aria-disabled="true"` | `a.pf-v6-c-app-launcher__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
|
|
766
|
+
| `tabindex="-1"` | `a.pf-v6-c-app-launcher__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
|
|
767
|
+
| `aria-hidden="true"` | `.pf-v6-c-app-launcher__menu-item-external-icon > *` | Hides the icon from assistive technologies. |
|
|
768
768
|
|
|
769
769
|
### Usage
|
|
770
770
|
|
|
771
771
|
| Class | Applied | Outcome |
|
|
772
772
|
| -- | -- | -- |
|
|
773
|
-
| `.pf-
|
|
774
|
-
| `.pf-
|
|
775
|
-
| `.pf-
|
|
776
|
-
| `.pf-
|
|
777
|
-
| `.pf-
|
|
778
|
-
| `.pf-
|
|
779
|
-
| `.pf-
|
|
780
|
-
| `.pf-
|
|
781
|
-
| `.pf-
|
|
782
|
-
| `.pf-
|
|
783
|
-
| `.pf-m-expanded` | `.pf-
|
|
784
|
-
| `.pf-m-top` | `.pf-
|
|
785
|
-
| `.pf-m-align-right` | `.pf-
|
|
786
|
-
| `.pf-m-static` | `.pf-
|
|
787
|
-
| `.pf-m-disabled` | `a.pf-
|
|
788
|
-
| `.pf-m-external` | `.pf-
|
|
789
|
-
| `.pf-m-favorite` | `.pf-
|
|
790
|
-
| `.pf-m-link` | `.pf-
|
|
791
|
-
| `.pf-m-action` | `.pf-
|
|
792
|
-
| `.pf-m-active` | `.pf-
|
|
773
|
+
| `.pf-v6-c-app-launcher` | `<nav>` | Defines the parent wrapper of the app launcher. |
|
|
774
|
+
| `.pf-v6-c-app-launcher__toggle` | `<button>` | Defines the app launcher toggle. |
|
|
775
|
+
| `.pf-v6-c-app-launcher__menu` | `<ul>`, `<div>` | Defines the parent wrapper of the menu items. Use a `<div>` if your app launcher has groups. |
|
|
776
|
+
| `.pf-v6-c-app-launcher__menu-search` | `<div>` | Defines the wrapper for the search input. |
|
|
777
|
+
| `.pf-v6-c-app-launcher__group` | `<section>` | Defines a group of items. Required when there is more than one group. |
|
|
778
|
+
| `.pf-v6-c-app-launcher__group-title` | `<h1>` | Defines a title for a group of items. |
|
|
779
|
+
| `.pf-v6-c-app-launcher__menu-wrapper` | `<li>` | Defines a menu wrapper for use with multiple actionable items in a single item row. |
|
|
780
|
+
| `.pf-v6-c-app-launcher__menu-item` | `<a>`, `<button>` | Defines a menu item. |
|
|
781
|
+
| `.pf-v6-c-app-launcher__menu-item-icon` | `<span>` | Defines the wrapper for the menu item icon. |
|
|
782
|
+
| `.pf-v6-c-app-launcher__menu-item-external-icon` | `<span>` | Defines the wrapper for the external link icon that appears on hover/focus. Use with `.pf-m-external`. |
|
|
783
|
+
| `.pf-m-expanded` | `.pf-v6-c-app-launcher` | Modifies for the expanded state. |
|
|
784
|
+
| `.pf-m-top` | `.pf-v6-c-app-launcher` | Modifies to display the menu above the toggle. |
|
|
785
|
+
| `.pf-m-align-right` | `.pf-v6-c-app-launcher__menu` | Modifies to display the menu aligned to the right edge of the toggle. |
|
|
786
|
+
| `.pf-m-static` | `.pf-v6-c-app-launcher__menu` | Modifies to position the menu statically to support custom positioning. |
|
|
787
|
+
| `.pf-m-disabled` | `a.pf-v6-c-app-launcher__menu-item` | Modifies to display the menu item as disabled. |
|
|
788
|
+
| `.pf-m-external` | `.pf-v6-c-app-launcher__menu-item` | Modifies to display the menu item as having an external link icon on hover/focus. |
|
|
789
|
+
| `.pf-m-favorite` | `.pf-v6-c-app-launcher__menu-wrapper` | Modifies wrapper to indicate that the item row has been favorited. |
|
|
790
|
+
| `.pf-m-link` | `.pf-v6-c-app-launcher__menu-item.pf-m-wrapper > .pf-v6-c-app-launcher__menu-item` | Modifies item for link styles. |
|
|
791
|
+
| `.pf-m-action` | `.pf-v6-c-app-launcher__menu-item.pf-m-wrapper > .pf-v6-c-app-launcher__menu-item` | Modifies item to for action styles. |
|
|
792
|
+
| `.pf-m-active` | `.pf-v6-c-app-launcher__toggle` | Forces display of the active state of the toggle. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Avatar
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-avatar
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
@@ -80,15 +80,15 @@ The avatar component provides a default SVG icon. If an image is used it should
|
|
|
80
80
|
|
|
81
81
|
| Attribute | Applied to | Outcome |
|
|
82
82
|
| -- | -- | -- |
|
|
83
|
-
| `alt` | `.pf-
|
|
83
|
+
| `alt` | `.pf-v6-c-avatar` | The alt attribute describes the appearance and function of the avatar image. **Required** |
|
|
84
84
|
|
|
85
85
|
### Usage
|
|
86
86
|
|
|
87
87
|
| Class | Applied to | Outcome |
|
|
88
88
|
| -- | -- | -- |
|
|
89
|
-
| `.pf-
|
|
90
|
-
| `.pf-m-bordered` | `.pf-
|
|
91
|
-
| `.pf-m-sm{-on-[breakpoint]}` | `.pf-
|
|
92
|
-
| `.pf-m-md{-on-[breakpoint]}` | `.pf-
|
|
93
|
-
| `.pf-m-lg{-on-[breakpoint]}` | `.pf-
|
|
94
|
-
| `.pf-m-xl{-on-[breakpoint]}` | `.pf-
|
|
89
|
+
| `.pf-v6-c-avatar` | `<img>` | Initiates an avatar image. **Required** |
|
|
90
|
+
| `.pf-m-bordered` | `.pf-v6-c-avatar` | Modifies an avatar to have a border. |
|
|
91
|
+
| `.pf-m-sm{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
92
|
+
| `.pf-m-md{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be medium on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** This is the default size. |
|
|
93
|
+
| `.pf-m-lg{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
94
|
+
| `.pf-m-xl{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: 'Back to top'
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-back-to-top
|
|
5
5
|
---import './BackToTop.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -26,5 +26,5 @@ cssPrefix: pf-v5-c-back-to-top
|
|
|
26
26
|
|
|
27
27
|
| Class | Applied to | Outcome |
|
|
28
28
|
| -- | -- | -- |
|
|
29
|
-
| `.pf-
|
|
30
|
-
| `.pf-m-hidden` | `.pf-
|
|
29
|
+
| `.pf-v6-c-back-to-top` | `<div>` | Initiates the back to top component. **Required** |
|
|
30
|
+
| `.pf-m-hidden` | `.pf-v6-c-back-to-top` | Modifies the component to be hidden. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Backdrop
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-backdrop
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
@@ -21,5 +21,5 @@ This component puts a backdrop over the entire viewport.
|
|
|
21
21
|
|
|
22
22
|
| Class | Applied to | Outcome |
|
|
23
23
|
| -- | -- | -- |
|
|
24
|
-
| `.pf-
|
|
25
|
-
| `.pf-
|
|
24
|
+
| `.pf-v6-c-backdrop` | `<div>` | Initiates backdrop. **Required** |
|
|
25
|
+
| `.pf-v6-c-backdrop__open` | `<body>` | Lock scrolling when backdrop is active. This class should be set on `<body>` while backdrop is active and removed while backdrop is inactive. **Required** |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Background image
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-background-image
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
@@ -18,11 +18,11 @@ cssPrefix: pf-v5-c-background-image
|
|
|
18
18
|
|
|
19
19
|
### Overview
|
|
20
20
|
|
|
21
|
-
In order to set the background image to be used, set the `--pf-
|
|
21
|
+
In order to set the background image to be used, set the `--pf-v6-c-background-image--BackgroundImage` CSS variable to the path of the image. For example: `--pf-v6-c-background-image--BackgroundImage: url(custom/path/image.jpg);`
|
|
22
22
|
|
|
23
23
|
### Usage
|
|
24
24
|
|
|
25
25
|
| Class | Applied to | Outcome |
|
|
26
26
|
| -- | -- | -- |
|
|
27
|
-
| `.pf-
|
|
28
|
-
| `--pf-
|
|
27
|
+
| `.pf-v6-c-background-image` | `*` | A fixed background image is applied to the background of the page. |
|
|
28
|
+
| `--pf-v6-c-background-image--BackgroundImage` | `.pf-v6-c-background-image` | Sets the background image to be used. **Required** |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Badge
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-badge
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Read
|
|
@@ -60,13 +60,13 @@ cssPrefix: pf-v5-c-badge
|
|
|
60
60
|
|
|
61
61
|
### Overview
|
|
62
62
|
|
|
63
|
-
Always add a modifier class. Never use the class `.pf-
|
|
63
|
+
Always add a modifier class. Never use the class `.pf-v6-c-badge` on its own.
|
|
64
64
|
|
|
65
65
|
### Usage
|
|
66
66
|
|
|
67
67
|
| Class | Applied to | Outcome |
|
|
68
68
|
| -- | -- | -- |
|
|
69
|
-
| `.pf-
|
|
70
|
-
| `.pf-
|
|
71
|
-
| `.pf-m-read` | `.pf-
|
|
72
|
-
| `.pf-m-unread` | `.pf-
|
|
69
|
+
| `.pf-v6-c-badge` | `<span>` | Initiates a badge. **Always use with a modifier class.** |
|
|
70
|
+
| `.pf-v6-c-badge__toggle-icon` | `<span>` | Initiates a badge toggle icon. |
|
|
71
|
+
| `.pf-m-read` | `.pf-v6-c-badge` | Applies read badge styling. |
|
|
72
|
+
| `.pf-m-unread` | `.pf-v6-c-badge` | Applies unread badge styling. |
|