@patternfly/patternfly 6.0.0-alpha.34 → 6.0.0-alpha.39
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/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/Banner/banner.css +4 -0
- package/components/Banner/banner.scss +5 -0
- package/components/Card/card.css +3 -0
- package/components/Card/card.scss +8 -0
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/Form/form.css +6 -0
- package/components/Form/form.scss +4 -1
- package/components/Masthead/masthead.css +267 -435
- package/components/Masthead/masthead.scss +118 -233
- package/components/MenuToggle/menu-toggle.css +1 -0
- package/components/MenuToggle/menu-toggle.scss +2 -0
- package/components/Popover/popover.css +0 -2
- package/components/Popover/popover.scss +2 -2
- package/components/SimpleList/simple-list.css +35 -52
- package/components/SimpleList/simple-list.scss +41 -51
- package/components/Table/table.scss +1 -0
- package/components/Tooltip/tooltip.css +0 -2
- package/components/Tooltip/tooltip.scss +3 -3
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/docs/components/Accordion/examples/Accordion.md +6 -6
- package/docs/components/Alert/examples/Alert.md +2 -2
- package/docs/components/Brand/examples/Brand.md +9 -33
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Card/examples/Card.md +18 -20
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +4 -5
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/Label/examples/Label.md +11 -11
- package/docs/components/Masthead/examples/masthead.md +441 -16
- package/docs/components/Nav/examples/Navigation.css +18 -2
- package/docs/components/Nav/examples/Navigation.md +1 -1
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +40 -42
- package/docs/demos/Alert/examples/Alert.md +120 -126
- package/docs/demos/BackToTop/examples/BackToTop.md +40 -42
- package/docs/demos/Banner/examples/Banner.md +79 -80
- package/docs/demos/CardView/examples/CardView.md +40 -42
- package/docs/demos/ContextSelector/examples/ContextSelector.md +129 -146
- package/docs/demos/Dashboard/examples/Dashboard.md +40 -42
- package/docs/demos/DataList/examples/DataList.md +160 -279
- package/docs/demos/DescriptionList/examples/DescriptionList.md +120 -126
- package/docs/demos/Drawer/examples/Drawer.md +200 -210
- package/docs/demos/JumpLinks/examples/JumpLinks.md +240 -252
- package/docs/demos/Masthead/examples/Masthead.md +143 -224
- package/docs/demos/Modal/examples/Modal.md +240 -252
- package/docs/demos/Nav/examples/Nav.md +320 -336
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +200 -210
- package/docs/demos/Page/examples/Page.md +360 -378
- package/docs/demos/Page/examples/Penta.md +8 -15
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +280 -294
- package/docs/demos/Skeleton/examples/Skeleton.md +40 -42
- package/docs/demos/Table/examples/Table.md +617 -647
- package/docs/demos/Tabs/examples/Tabs.md +240 -252
- package/docs/demos/Toolbar/examples/Toolbar.md +80 -84
- package/docs/demos/Wizard/examples/Wizard.md +360 -378
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-no-globals.css +422 -673
- package/patternfly-theme-dark-unversioned.css +422 -673
- package/patternfly.css +422 -673
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
|
@@ -1,38 +1,37 @@
|
|
|
1
1
|
// @debug $simple-list; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
.#{$simple-list} {
|
|
3
|
+
:root, .#{$simple-list} {
|
|
4
4
|
// Simple list item link
|
|
5
|
-
--#{$simple-list}__item-link--PaddingTop: var(
|
|
6
|
-
--#{$simple-list}__item-link--PaddingRight: var(
|
|
7
|
-
--#{$simple-list}__item-link--PaddingBottom: var(
|
|
8
|
-
--#{$simple-list}__item-link--PaddingLeft: var(
|
|
9
|
-
--#{$simple-list}__item-link--BackgroundColor: var(
|
|
10
|
-
--#{$simple-list}__item-link--Color: var(
|
|
11
|
-
--#{$simple-list}__item-link--FontSize: var(
|
|
12
|
-
--#{$simple-list}__item-link--
|
|
13
|
-
--#{$simple-list}__item-link--m-current--
|
|
14
|
-
--#{$simple-list}__item-link--
|
|
15
|
-
--#{$simple-list}__item-link--
|
|
16
|
-
--#{$simple-list}__item-link--
|
|
17
|
-
--#{$simple-list}__item-link--
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
--#{$simple-list}__item-link--
|
|
21
|
-
--#{$simple-list}__item-link--
|
|
22
|
-
--#{$simple-list}__item-link--
|
|
23
|
-
--#{$simple-list}__item-link--active--FontWeight: var(--#{$pf-global}--FontWeight--normal); // remove at breaking change
|
|
5
|
+
--#{$simple-list}__item-link--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
6
|
+
--#{$simple-list}__item-link--PaddingRight: var(--pf-t--global--spacer--md);
|
|
7
|
+
--#{$simple-list}__item-link--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
8
|
+
--#{$simple-list}__item-link--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
9
|
+
--#{$simple-list}__item-link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
10
|
+
--#{$simple-list}__item-link--Color: var(--pf-t--global--text--color--subtle);
|
|
11
|
+
--#{$simple-list}__item-link--FontSize: var(--pf-t--global--font--size--body);
|
|
12
|
+
--#{$simple-list}__item-link--m-current--Color: var(--pf-t--global--text--color--regular);
|
|
13
|
+
--#{$simple-list}__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--selected);
|
|
14
|
+
--#{$simple-list}__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
|
|
15
|
+
--#{$simple-list}__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
16
|
+
--#{$simple-list}__item-link--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
|
|
17
|
+
--#{$simple-list}__item-link--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
18
|
+
|
|
19
|
+
// Simple list item link
|
|
20
|
+
--#{$simple-list}__item-link--m-link--Color: var(--pf-t--global--text--color--link--default);
|
|
21
|
+
--#{$simple-list}__item-link--m-link--m-current--Color: var(--pf-t--global--text--color--link--hover);
|
|
22
|
+
--#{$simple-list}__item-link--m-link--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
24
23
|
|
|
25
24
|
// Simple list title
|
|
26
|
-
--#{$simple-list}__title--PaddingTop: var(
|
|
27
|
-
--#{$simple-list}__title--PaddingRight: var(
|
|
28
|
-
--#{$simple-list}__title--PaddingBottom: var(
|
|
29
|
-
--#{$simple-list}__title--PaddingLeft: var(
|
|
30
|
-
--#{$simple-list}__title--FontSize: var(
|
|
31
|
-
--#{$simple-list}__title--Color: var(
|
|
32
|
-
--#{$simple-list}__title--FontWeight: var(
|
|
25
|
+
--#{$simple-list}__title--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
26
|
+
--#{$simple-list}__title--PaddingRight: var(--pf-t--global--spacer--md);
|
|
27
|
+
--#{$simple-list}__title--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
28
|
+
--#{$simple-list}__title--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
29
|
+
--#{$simple-list}__title--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
30
|
+
--#{$simple-list}__title--Color: var(--pf-t--global--text--color--regular);
|
|
31
|
+
--#{$simple-list}__title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
33
32
|
|
|
34
33
|
// Simple list section
|
|
35
|
-
--#{$simple-list}__section--section--MarginTop: var(
|
|
34
|
+
--#{$simple-list}__section--section--MarginTop: var(--pf-t--global--spacer--sm);
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
.#{$simple-list}__item-link {
|
|
@@ -43,35 +42,33 @@
|
|
|
43
42
|
padding-inline-start: var(--#{$simple-list}__item-link--PaddingLeft);
|
|
44
43
|
padding-inline-end: var(--#{$simple-list}__item-link--PaddingRight);
|
|
45
44
|
font-size: var(--#{$simple-list}__item-link--FontSize);
|
|
46
|
-
font-weight: var(--#{$simple-list}__item-link--FontWeight);
|
|
47
45
|
color: var(--#{$simple-list}__item-link--Color);
|
|
48
46
|
text-align: start;
|
|
47
|
+
text-decoration: none;
|
|
49
48
|
background-color: var(--#{$simple-list}__item-link--BackgroundColor);
|
|
50
49
|
border: none;
|
|
50
|
+
border-radius: var(--#{$simple-list}__item-link--BorderRadius);
|
|
51
|
+
|
|
52
|
+
&.pf-m-link {
|
|
53
|
+
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--m-link--Color);
|
|
54
|
+
--#{$simple-list}__item-link--hover--Color: var(--#{$simple-list}__item-link--m-link--m-current--Color);
|
|
55
|
+
--#{$simple-list}__item-link--m-current--Color: var(--#{$simple-list}__item-link--m-link--hover--Color);
|
|
56
|
+
}
|
|
51
57
|
|
|
52
|
-
&:hover
|
|
58
|
+
&:hover,
|
|
59
|
+
&:focus {
|
|
53
60
|
--#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--hover--BackgroundColor);
|
|
54
61
|
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--hover--Color);
|
|
55
62
|
|
|
56
63
|
text-decoration: none;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
&:focus {
|
|
60
|
-
--#{$simple-list}__item-link--FontWeight: var(--#{$simple-list}__item-link--focus--FontWeight);
|
|
61
|
-
--#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--focus--BackgroundColor);
|
|
62
|
-
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--focus--Color);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&:active {
|
|
66
|
-
--#{$simple-list}__item-link--FontWeight: var(--#{$simple-list}__item-link--active--FontWeight);
|
|
67
|
-
--#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--active--BackgroundColor);
|
|
68
|
-
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--active--Color);
|
|
64
|
+
mix-blend-mode: var(--#{$simple-list}__item-link--MixBlendMode);
|
|
69
65
|
}
|
|
70
66
|
|
|
71
67
|
&.pf-m-current {
|
|
72
|
-
--#{$simple-list}__item-link--FontWeight: var(--#{$simple-list}__item-link--m-current--FontWeight);
|
|
73
68
|
--#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--m-current--BackgroundColor);
|
|
74
69
|
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--m-current--Color);
|
|
70
|
+
|
|
71
|
+
mix-blend-mode: var(--#{$simple-list}__item-link--MixBlendMode);
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
|
|
@@ -87,11 +84,4 @@
|
|
|
87
84
|
|
|
88
85
|
.#{$simple-list}__section + .#{$simple-list}__section {
|
|
89
86
|
margin-block-start: var(--#{$simple-list}__section--section--MarginTop);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
93
|
-
@import "themes/dark/simple-list";
|
|
94
|
-
|
|
95
|
-
@include pf-v5-theme-dark {
|
|
96
|
-
@include pf-v5-theme-dark-simple-list;
|
|
97
|
-
}
|
|
87
|
+
}
|
|
@@ -986,6 +986,7 @@
|
|
|
986
986
|
margin-block-end: calc(var(--#{$table}--cell--PaddingBottom) * -1);
|
|
987
987
|
margin-inline-start: calc(var(--#{$table}--cell--PaddingLeft) * -1);
|
|
988
988
|
margin-inline-end: calc(var(--#{$table}--cell--PaddingRight) * -1);
|
|
989
|
+
|
|
989
990
|
}
|
|
990
991
|
|
|
991
992
|
@at-root .#{$table}__thead .#{$check}.pf-m-standalone {
|
|
@@ -108,12 +108,10 @@
|
|
|
108
108
|
|
|
109
109
|
.pf-v5-c-tooltip__arrow {
|
|
110
110
|
position: absolute;
|
|
111
|
-
/* stylelint-disable liberty/use-logical-spec */
|
|
112
111
|
top: var(--pf-v5-c-tooltip__arrow--Top, auto);
|
|
113
112
|
right: var(--pf-v5-c-tooltip__arrow--Right, auto);
|
|
114
113
|
bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
|
|
115
114
|
left: var(--pf-v5-c-tooltip__arrow--Left, auto);
|
|
116
|
-
/* stylelint-enable */
|
|
117
115
|
width: var(--pf-v5-c-tooltip__arrow--Width);
|
|
118
116
|
height: var(--pf-v5-c-tooltip__arrow--Height);
|
|
119
117
|
pointer-events: none;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
.pf-m-bottom,
|
|
55
55
|
.pf-m-bottom-left,
|
|
56
56
|
.pf-m-bottom-right
|
|
57
|
-
|
|
57
|
+
) {
|
|
58
58
|
--#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-bottom--Top, 0);
|
|
59
59
|
--#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-bottom--Left, 50%);
|
|
60
60
|
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-bottom--TranslateX);
|
|
@@ -139,12 +139,12 @@
|
|
|
139
139
|
|
|
140
140
|
.#{$tooltip}__arrow {
|
|
141
141
|
position: absolute;
|
|
142
|
-
|
|
142
|
+
// stylelint-disable liberty/use-logical-spec
|
|
143
143
|
top: var(--#{$tooltip}__arrow--Top, auto);
|
|
144
144
|
right: var(--#{$tooltip}__arrow--Right, auto);
|
|
145
145
|
bottom: var(--#{$tooltip}__arrow--Bottom, auto);
|
|
146
146
|
left: var(--#{$tooltip}__arrow--Left, auto);
|
|
147
|
-
|
|
147
|
+
// stylelint-enable
|
|
148
148
|
width: var(--#{$tooltip}__arrow--Width);
|
|
149
149
|
height: var(--#{$tooltip}__arrow--Height);
|
|
150
150
|
pointer-events: none;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
// @debug $truncate; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
+
:root,
|
|
3
4
|
.#{$truncate} {
|
|
4
5
|
--#{$truncate}--MinWidth: 12ch;
|
|
5
6
|
--#{$truncate}__start--MinWidth: 6ch;
|
|
7
|
+
}
|
|
6
8
|
|
|
9
|
+
.#{$truncate} {
|
|
7
10
|
display: inline-grid;
|
|
8
11
|
grid-auto-flow: column;
|
|
9
12
|
align-items: baseline;
|
|
@@ -694,17 +694,17 @@ 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
|
-
*
|
|
698
|
-
*
|
|
699
|
-
*
|
|
697
|
+
* `.pf-v5-c-accordion` is placed on a `<div>`,
|
|
698
|
+
* `.pf-v5-c-accordion__toggle` is placed on a `<button>` that is inside a `<h1-h6>`, and
|
|
699
|
+
* `.pf-v5-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
|
-
*
|
|
706
|
-
*
|
|
707
|
-
*
|
|
705
|
+
* `.pf-v5-c-accordion` is placed on a `<dl>`,
|
|
706
|
+
* `.pf-v5-c-accordion__toggle` is placed on a `<button>` that is inside a `<dt>`, and
|
|
707
|
+
* `.pf-v5-c-accordion__expandable-content` is placed on a `<dd>`.
|
|
708
708
|
|
|
709
709
|
### Usage
|
|
710
710
|
|
|
@@ -677,8 +677,8 @@ When toast alerts include a link or action, these elements are not announced as
|
|
|
677
677
|
|
|
678
678
|
For sighted users, interactive elements can be included in this message in one of the following ways:
|
|
679
679
|
|
|
680
|
-
*
|
|
681
|
-
*
|
|
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-v5-c-button pf-m-link pf-m-inline" type="button">download</button>" using `<button class="pf-v5-c-button pf-m-link pf-m-inline type="button">download</button>`
|
|
682
682
|
|
|
683
683
|
```html isFullscreen
|
|
684
684
|
<ul class="pf-v5-c-alert-group pf-m-toast" role="list">
|
|
@@ -11,7 +11,7 @@ section: components
|
|
|
11
11
|
<div class="show-light">
|
|
12
12
|
<img
|
|
13
13
|
class="pf-v5-c-brand"
|
|
14
|
-
src="/assets/images/
|
|
14
|
+
src="/assets/images/PF-HorizontalLogo-Color.svg"
|
|
15
15
|
alt="PatternFly logo"
|
|
16
16
|
/>
|
|
17
17
|
</div>
|
|
@@ -19,7 +19,7 @@ section: components
|
|
|
19
19
|
<div class="show-dark">
|
|
20
20
|
<img
|
|
21
21
|
class="pf-v5-c-brand"
|
|
22
|
-
src="/assets/images/
|
|
22
|
+
src="/assets/images/PF-HorizontalLogo-Reverse.svg"
|
|
23
23
|
alt="PatternFly logo"
|
|
24
24
|
/>
|
|
25
25
|
</div>
|
|
@@ -32,25 +32,13 @@ section: components
|
|
|
32
32
|
<div class="show-light">
|
|
33
33
|
<picture
|
|
34
34
|
class="pf-v5-c-brand pf-m-picture"
|
|
35
|
-
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-
|
|
35
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
36
36
|
>
|
|
37
|
-
<source
|
|
38
|
-
media="(min-width: 1200px)"
|
|
39
|
-
srcset="/assets/images/pf-c-brand__logo-on-xl.svg"
|
|
40
|
-
/>
|
|
41
|
-
<source
|
|
42
|
-
media="(min-width: 992px)"
|
|
43
|
-
srcset="/assets/images/pf-c-brand__logo-on-lg.svg"
|
|
44
|
-
/>
|
|
45
37
|
<source
|
|
46
38
|
media="(min-width: 768px)"
|
|
47
|
-
srcset="/assets/images/
|
|
39
|
+
srcset="/assets/images/PF-HorizontalLogo-Color.svg"
|
|
48
40
|
/>
|
|
49
|
-
<source
|
|
50
|
-
media="(min-width: 576px)"
|
|
51
|
-
srcset="/assets/images/pf-c-brand__logo-on-sm.svg"
|
|
52
|
-
/>
|
|
53
|
-
<source srcset="/assets/images/pf-c-brand__logo.svg" />
|
|
41
|
+
<source srcset="/assets/images/PF-IconLogo-color.svg" />
|
|
54
42
|
<img
|
|
55
43
|
src="/assets/images/pf_logo.svg"
|
|
56
44
|
alt="Fallback patternFly default logo"
|
|
@@ -61,27 +49,15 @@ section: components
|
|
|
61
49
|
<div class="show-dark">
|
|
62
50
|
<picture
|
|
63
51
|
class="pf-v5-c-brand pf-m-picture"
|
|
64
|
-
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-
|
|
52
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
65
53
|
>
|
|
66
|
-
<source
|
|
67
|
-
media="(min-width: 1200px)"
|
|
68
|
-
srcset="/assets/images/pf-c-brand__logo-on-xl-white.svg"
|
|
69
|
-
/>
|
|
70
|
-
<source
|
|
71
|
-
media="(min-width: 992px)"
|
|
72
|
-
srcset="/assets/images/pf-c-brand__logo-on-lg-white.svg"
|
|
73
|
-
/>
|
|
74
54
|
<source
|
|
75
55
|
media="(min-width: 768px)"
|
|
76
|
-
srcset="/assets/images/
|
|
56
|
+
srcset="/assets/images/PF-HorizontalLogo-Reverse.svg"
|
|
77
57
|
/>
|
|
78
|
-
<source
|
|
79
|
-
media="(min-width: 576px)"
|
|
80
|
-
srcset="/assets/images/pf-c-brand__logo-on-sm-white.svg"
|
|
81
|
-
/>
|
|
82
|
-
<source srcset="/assets/images/pf-c-brand__logo-white.svg" />
|
|
58
|
+
<source srcset="/assets/images/PF-IconLogo-Reverse.svg" />
|
|
83
59
|
<img
|
|
84
|
-
src="/assets/images/pf_logo
|
|
60
|
+
src="/assets/images/pf_logo.svg"
|
|
85
61
|
alt="Fallback patternFly default logo"
|
|
86
62
|
/>
|
|
87
63
|
</picture>
|
|
@@ -281,7 +281,7 @@ cssPrefix: pf-v5-c-breadcrumb
|
|
|
281
281
|
|
|
282
282
|
A breadcrumb is a list of links to display a user's navigational hierarchy. The last item of the breadcrumb list indicates the current page's location.
|
|
283
283
|
|
|
284
|
-
*
|
|
284
|
+
* `.pf-v5-c-breadcrumb__list` is the default breadcrumb navigation. It provides links to previous navigation pages and also shows the current page's location.
|
|
285
285
|
|
|
286
286
|
In the event that a page does not have a traditional `<h1>` page title, a heading can be included in the breadcrumbs and an optional link within.
|
|
287
287
|
|
|
@@ -139,6 +139,7 @@ cssPrefix: pf-v5-c-card
|
|
|
139
139
|
<input
|
|
140
140
|
class="pf-v5-c-check__input"
|
|
141
141
|
type="checkbox"
|
|
142
|
+
aria-label="Standalone check"
|
|
142
143
|
id="card-action-example-1-check"
|
|
143
144
|
name="card-action-example-1-check"
|
|
144
145
|
aria-labelledby="card-action-example-1"
|
|
@@ -221,6 +222,7 @@ cssPrefix: pf-v5-c-card
|
|
|
221
222
|
<input
|
|
222
223
|
class="pf-v5-c-check__input"
|
|
223
224
|
type="checkbox"
|
|
225
|
+
aria-label="Standalone check"
|
|
224
226
|
id="card-action-example-2-check"
|
|
225
227
|
name="card-action-example-2-check"
|
|
226
228
|
aria-labelledby="card-action-example-2"
|
|
@@ -305,6 +307,7 @@ cssPrefix: pf-v5-c-card
|
|
|
305
307
|
<input
|
|
306
308
|
class="pf-v5-c-check__input"
|
|
307
309
|
type="checkbox"
|
|
310
|
+
aria-label="Standalone check"
|
|
308
311
|
id="card-action-example-3-check"
|
|
309
312
|
name="card-action-example-3-check"
|
|
310
313
|
aria-labelledby="card-action-example-3"
|
|
@@ -508,7 +511,7 @@ cssPrefix: pf-v5-c-card
|
|
|
508
511
|
<div class="pf-v5-c-card__header">
|
|
509
512
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
510
513
|
<div class="pf-v5-c-card__selectable-actions">
|
|
511
|
-
<div class="pf-v5-c-check
|
|
514
|
+
<div class="pf-v5-c-check">
|
|
512
515
|
<input
|
|
513
516
|
class="pf-v5-c-check__input"
|
|
514
517
|
type="checkbox"
|
|
@@ -516,7 +519,6 @@ cssPrefix: pf-v5-c-card
|
|
|
516
519
|
name="card-selectable-example-check"
|
|
517
520
|
aria-labelledby="card-selectable-example"
|
|
518
521
|
/>
|
|
519
|
-
|
|
520
522
|
<label
|
|
521
523
|
class="pf-v5-c-check__label"
|
|
522
524
|
for="card-selectable-example-check"
|
|
@@ -543,7 +545,7 @@ cssPrefix: pf-v5-c-card
|
|
|
543
545
|
<div class="pf-v5-c-card__header">
|
|
544
546
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
545
547
|
<div class="pf-v5-c-card__selectable-actions">
|
|
546
|
-
<div class="pf-v5-c-check
|
|
548
|
+
<div class="pf-v5-c-check">
|
|
547
549
|
<input
|
|
548
550
|
class="pf-v5-c-check__input"
|
|
549
551
|
type="checkbox"
|
|
@@ -552,7 +554,6 @@ cssPrefix: pf-v5-c-card
|
|
|
552
554
|
name="card-selectable-example-disabled-check"
|
|
553
555
|
aria-labelledby="card-selectable-example-disabled"
|
|
554
556
|
/>
|
|
555
|
-
|
|
556
557
|
<label
|
|
557
558
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
558
559
|
for="card-selectable-example-disabled-check"
|
|
@@ -582,7 +583,7 @@ cssPrefix: pf-v5-c-card
|
|
|
582
583
|
<div class="pf-v5-c-card__header">
|
|
583
584
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
584
585
|
<div class="pf-v5-c-card__selectable-actions">
|
|
585
|
-
<div class="pf-v5-c-check
|
|
586
|
+
<div class="pf-v5-c-check">
|
|
586
587
|
<input
|
|
587
588
|
class="pf-v5-c-check__input"
|
|
588
589
|
type="checkbox"
|
|
@@ -592,7 +593,6 @@ cssPrefix: pf-v5-c-card
|
|
|
592
593
|
name="card-selectable-example-selected-disabled-check"
|
|
593
594
|
aria-labelledby="card-selectable-example-selected-disabled"
|
|
594
595
|
/>
|
|
595
|
-
|
|
596
596
|
<label
|
|
597
597
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
598
598
|
for="card-selectable-example-selected-disabled-check"
|
|
@@ -626,7 +626,7 @@ cssPrefix: pf-v5-c-card
|
|
|
626
626
|
<div class="pf-v5-c-card__header">
|
|
627
627
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
628
628
|
<div class="pf-v5-c-card__selectable-actions">
|
|
629
|
-
<div class="pf-v5-c-radio
|
|
629
|
+
<div class="pf-v5-c-radio">
|
|
630
630
|
<input
|
|
631
631
|
class="pf-v5-c-radio__input"
|
|
632
632
|
type="radio"
|
|
@@ -634,7 +634,6 @@ cssPrefix: pf-v5-c-card
|
|
|
634
634
|
name="card-single-selectable-example-radio"
|
|
635
635
|
aria-labelledby="card-single-selectable-example"
|
|
636
636
|
/>
|
|
637
|
-
|
|
638
637
|
<label
|
|
639
638
|
class="pf-v5-c-radio__label"
|
|
640
639
|
for="card-single-selectable-example-radio"
|
|
@@ -664,7 +663,7 @@ cssPrefix: pf-v5-c-card
|
|
|
664
663
|
<div class="pf-v5-c-card__header">
|
|
665
664
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
666
665
|
<div class="pf-v5-c-card__selectable-actions">
|
|
667
|
-
<div class="pf-v5-c-radio
|
|
666
|
+
<div class="pf-v5-c-radio">
|
|
668
667
|
<input
|
|
669
668
|
class="pf-v5-c-radio__input"
|
|
670
669
|
type="radio"
|
|
@@ -673,7 +672,6 @@ cssPrefix: pf-v5-c-card
|
|
|
673
672
|
aria-labelledby="card-single-selectable-example-disabled"
|
|
674
673
|
disabled
|
|
675
674
|
/>
|
|
676
|
-
|
|
677
675
|
<label
|
|
678
676
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
679
677
|
for="card-single-selectable-example-disabled-radio"
|
|
@@ -703,7 +701,7 @@ cssPrefix: pf-v5-c-card
|
|
|
703
701
|
<div class="pf-v5-c-card__header">
|
|
704
702
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
705
703
|
<div class="pf-v5-c-card__selectable-actions">
|
|
706
|
-
<div class="pf-v5-c-radio
|
|
704
|
+
<div class="pf-v5-c-radio">
|
|
707
705
|
<input
|
|
708
706
|
class="pf-v5-c-radio__input"
|
|
709
707
|
type="radio"
|
|
@@ -713,7 +711,6 @@ cssPrefix: pf-v5-c-card
|
|
|
713
711
|
disabled
|
|
714
712
|
checked
|
|
715
713
|
/>
|
|
716
|
-
|
|
717
714
|
<label
|
|
718
715
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
719
716
|
for="card-single-selectable-example-selected-disabled-radio"
|
|
@@ -867,7 +864,7 @@ cssPrefix: pf-v5-c-card
|
|
|
867
864
|
<div class="pf-v5-c-card__header">
|
|
868
865
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
869
866
|
<div class="pf-v5-c-card__selectable-actions">
|
|
870
|
-
<div class="pf-v5-c-check
|
|
867
|
+
<div class="pf-v5-c-check">
|
|
871
868
|
<input
|
|
872
869
|
class="pf-v5-c-check__input"
|
|
873
870
|
type="checkbox"
|
|
@@ -875,7 +872,6 @@ cssPrefix: pf-v5-c-card
|
|
|
875
872
|
name="card-clickable-selectable-example-check"
|
|
876
873
|
aria-labelledby="card-clickable-selectable-example"
|
|
877
874
|
/>
|
|
878
|
-
|
|
879
875
|
<label
|
|
880
876
|
class="pf-v5-c-check__label"
|
|
881
877
|
for="card-clickable-selectable-example-check"
|
|
@@ -908,7 +904,7 @@ cssPrefix: pf-v5-c-card
|
|
|
908
904
|
<div class="pf-v5-c-card__header">
|
|
909
905
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
910
906
|
<div class="pf-v5-c-card__selectable-actions">
|
|
911
|
-
<div class="pf-v5-c-check
|
|
907
|
+
<div class="pf-v5-c-check">
|
|
912
908
|
<input
|
|
913
909
|
class="pf-v5-c-check__input"
|
|
914
910
|
type="checkbox"
|
|
@@ -916,7 +912,6 @@ cssPrefix: pf-v5-c-card
|
|
|
916
912
|
name="card-clickable-selectable-current-example-check"
|
|
917
913
|
aria-labelledby="card-clickable-selectable-current-example"
|
|
918
914
|
/>
|
|
919
|
-
|
|
920
915
|
<label
|
|
921
916
|
class="pf-v5-c-check__label"
|
|
922
917
|
for="card-clickable-selectable-current-example-check"
|
|
@@ -949,7 +944,7 @@ cssPrefix: pf-v5-c-card
|
|
|
949
944
|
<div class="pf-v5-c-card__header">
|
|
950
945
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
951
946
|
<div class="pf-v5-c-card__selectable-actions">
|
|
952
|
-
<div class="pf-v5-c-check
|
|
947
|
+
<div class="pf-v5-c-check">
|
|
953
948
|
<input
|
|
954
949
|
class="pf-v5-c-check__input"
|
|
955
950
|
type="checkbox"
|
|
@@ -958,7 +953,6 @@ cssPrefix: pf-v5-c-card
|
|
|
958
953
|
name="card-clickable-selectable-example-disabled-check"
|
|
959
954
|
aria-labelledby="card-clickable-selectable-example-disabled"
|
|
960
955
|
/>
|
|
961
|
-
|
|
962
956
|
<label
|
|
963
957
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
964
958
|
for="card-clickable-selectable-example-disabled-check"
|
|
@@ -992,7 +986,7 @@ cssPrefix: pf-v5-c-card
|
|
|
992
986
|
<div class="pf-v5-c-card__header">
|
|
993
987
|
<div class="pf-v5-c-card__actions pf-m-no-offset">
|
|
994
988
|
<div class="pf-v5-c-card__selectable-actions">
|
|
995
|
-
<div class="pf-v5-c-check
|
|
989
|
+
<div class="pf-v5-c-check">
|
|
996
990
|
<input
|
|
997
991
|
class="pf-v5-c-check__input"
|
|
998
992
|
type="checkbox"
|
|
@@ -1002,7 +996,6 @@ cssPrefix: pf-v5-c-card
|
|
|
1002
996
|
name="card-clickable-selectable-example-selected-disabled-check"
|
|
1003
997
|
aria-labelledby="card-clickable-selectable-example-selected-disabled"
|
|
1004
998
|
/>
|
|
1005
|
-
|
|
1006
999
|
<label
|
|
1007
1000
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
1008
1001
|
for="card-clickable-selectable-example-selected-disabled-check"
|
|
@@ -1233,6 +1226,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1233
1226
|
<input
|
|
1234
1227
|
class="pf-v5-c-check__input"
|
|
1235
1228
|
type="checkbox"
|
|
1229
|
+
aria-label="Standalone check"
|
|
1236
1230
|
id="card-expandable-example-check"
|
|
1237
1231
|
name="card-expandable-example-check"
|
|
1238
1232
|
aria-labelledby="card-expandable-example"
|
|
@@ -1335,6 +1329,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1335
1329
|
<input
|
|
1336
1330
|
class="pf-v5-c-check__input"
|
|
1337
1331
|
type="checkbox"
|
|
1332
|
+
aria-label="Standalone check"
|
|
1338
1333
|
id="card-expandable-image-example-check"
|
|
1339
1334
|
name="card-expandable-image-example-check"
|
|
1340
1335
|
aria-labelledby="card-expandable-image-example"
|
|
@@ -1422,6 +1417,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1422
1417
|
<input
|
|
1423
1418
|
class="pf-v5-c-check__input"
|
|
1424
1419
|
type="checkbox"
|
|
1420
|
+
aria-label="Standalone check"
|
|
1425
1421
|
id="card-expanded-example-check"
|
|
1426
1422
|
name="card-expanded-example-check"
|
|
1427
1423
|
aria-labelledby="card-expanded-example"
|
|
@@ -1506,6 +1502,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1506
1502
|
<input
|
|
1507
1503
|
class="pf-v5-c-check__input"
|
|
1508
1504
|
type="checkbox"
|
|
1505
|
+
aria-label="Standalone check"
|
|
1509
1506
|
id="card-full-height-example-check"
|
|
1510
1507
|
name="card-full-height-example-check"
|
|
1511
1508
|
aria-labelledby="card-full-height-example"
|
|
@@ -1590,6 +1587,7 @@ cssPrefix: pf-v5-c-card
|
|
|
1590
1587
|
<input
|
|
1591
1588
|
class="pf-v5-c-check__input"
|
|
1592
1589
|
type="checkbox"
|
|
1590
|
+
aria-label="Standalone check"
|
|
1593
1591
|
id="card-toggle-on-right-example-check"
|
|
1594
1592
|
name="card-toggle-on-right-example-check"
|
|
1595
1593
|
aria-labelledby="card-toggle-on-right-example"
|
|
@@ -163,11 +163,11 @@ cssPrefix: pf-v5-c-content
|
|
|
163
163
|
|
|
164
164
|
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `pf-v5-c-content` as container. It can handle almost any HTML tag:
|
|
165
165
|
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
166
|
+
* `<p>` paragraphs
|
|
167
|
+
* `<ul>` `<ol>` `<dl>` lists
|
|
168
|
+
* `<h1>` to `<h6>` headings
|
|
169
|
+
* `<blockquote>` quotes
|
|
170
|
+
* `<em>` and `<strong>`
|
|
171
171
|
|
|
172
172
|
This `pf-v5-c-content` class can be used in any context where you just want to (or can only) write some text.
|
|
173
173
|
|
|
@@ -34,24 +34,23 @@ cssPrefix: pf-v5-c-divider
|
|
|
34
34
|
### Inset medium
|
|
35
35
|
|
|
36
36
|
```html
|
|
37
|
-
<
|
|
37
|
+
<hr class="pf-v5-c-divider pf-m-inset-md" />
|
|
38
38
|
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
### Md inset, no inset on md, 3xl inset on lg, lg inset on xl
|
|
42
42
|
|
|
43
43
|
```html
|
|
44
|
-
<
|
|
44
|
+
<hr
|
|
45
45
|
class="pf-v5-c-divider pf-m-inset-md pf-m-inset-none-on-md pf-m-inset-3xl-on-lg pf-m-inset-lg-on-xl"
|
|
46
|
-
|
|
47
|
-
></div>
|
|
46
|
+
/>
|
|
48
47
|
|
|
49
48
|
```
|
|
50
49
|
|
|
51
50
|
### Vertical
|
|
52
51
|
|
|
53
52
|
```html
|
|
54
|
-
<div class="pf-v5-c-divider pf-m-vertical
|
|
53
|
+
<div class="pf-v5-c-divider pf-m-vertical" role="separator"></div>
|
|
55
54
|
|
|
56
55
|
```
|
|
57
56
|
|
|
@@ -930,4 +930,6 @@ All accessibility requirements for inputs apply to elements within inline edit.
|
|
|
930
930
|
| `.pf-m-valid` | `.pf-v5-c-inline-edit__action` | Modifies the action button state. |
|
|
931
931
|
| `.pf-m-enable-editable` | `.pf-v5-c-inline-edit__action` | Exposes an inline edit action by default. |
|
|
932
932
|
|
|
933
|
-
|
|
933
|
+
```
|
|
934
|
+
-->
|
|
935
|
+
```
|