@patternfly/patternfly 6.0.0-alpha.33 → 6.0.0-alpha.38
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/base/patternfly-variables.css +2 -0
- package/base/tokens/_tokens-default.scss +2 -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/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +10 -17
- package/components/ExpandableSection/expandable-section.scss +13 -20
- package/components/Form/form.css +6 -0
- package/components/Form/form.scss +4 -1
- 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/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +2 -4
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/Label/examples/Label.md +11 -11
- 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/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +2 -0
- package/patternfly-base-no-globals.css +2 -0
- package/patternfly-base-theme-dark-unversioned.css +2 -0
- package/patternfly-base.css +2 -0
- package/patternfly-no-globals.css +128 -113
- package/patternfly-theme-dark-unversioned.css +128 -113
- package/patternfly.css +128 -113
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
|
@@ -221,6 +221,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
.#{$form}__group {
|
|
224
|
+
min-width: 0;
|
|
225
|
+
|
|
224
226
|
&.pf-m-action {
|
|
225
227
|
margin-block-start: var(--#{$form}__group--m-action--MarginTop);
|
|
226
228
|
overflow: hidden; // keeps the negative bottom margin bottom on .#{$form}__actions from triggering overflow
|
|
@@ -320,8 +322,9 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
320
322
|
}
|
|
321
323
|
}
|
|
322
324
|
|
|
323
|
-
|
|
324
325
|
.#{$form}__group-control {
|
|
326
|
+
min-width: 0;
|
|
327
|
+
|
|
325
328
|
&.pf-m-inline {
|
|
326
329
|
display: flex;
|
|
327
330
|
flex-flow: row wrap;
|
|
@@ -273,6 +273,7 @@
|
|
|
273
273
|
align-self: stretch;
|
|
274
274
|
}
|
|
275
275
|
.pf-v5-c-menu-toggle.pf-m-split-button > .pf-v5-c-check .pf-v5-c-check__input {
|
|
276
|
+
--pf-v5-c-check__input--TranslateY: 0;
|
|
276
277
|
align-self: center;
|
|
277
278
|
}
|
|
278
279
|
.pf-v5-c-menu-toggle.pf-m-split-button.pf-m-action:where(:not(.pf-m-primary, .pf-m-secondary, .pf-m-disabled)) > *::after {
|
|
@@ -157,12 +157,10 @@
|
|
|
157
157
|
|
|
158
158
|
.pf-v5-c-popover__arrow {
|
|
159
159
|
position: absolute;
|
|
160
|
-
/* stylelint-disable liberty/use-logical-spec */
|
|
161
160
|
top: var(--pf-v5-c-popover__arrow--Top, auto);
|
|
162
161
|
right: var(--pf-v5-c-popover__arrow--Right, auto);
|
|
163
162
|
bottom: var(--pf-v5-c-popover__arrow--Bottom, auto);
|
|
164
163
|
left: var(--pf-v5-c-popover__arrow--Left, auto);
|
|
165
|
-
/* stylelint-enable */
|
|
166
164
|
width: var(--pf-v5-c-popover__arrow--Width);
|
|
167
165
|
height: var(--pf-v5-c-popover__arrow--Height);
|
|
168
166
|
pointer-events: none;
|
|
@@ -215,12 +215,12 @@
|
|
|
215
215
|
|
|
216
216
|
.#{$popover}__arrow {
|
|
217
217
|
position: absolute;
|
|
218
|
-
|
|
218
|
+
// stylelint-disable liberty/use-logical-spec
|
|
219
219
|
top: var(--#{$popover}__arrow--Top, auto);
|
|
220
220
|
right: var(--#{$popover}__arrow--Right, auto);
|
|
221
221
|
bottom: var(--#{$popover}__arrow--Bottom, auto);
|
|
222
222
|
left: var(--#{$popover}__arrow--Left, auto);
|
|
223
|
-
|
|
223
|
+
// stylelint-enable
|
|
224
224
|
width: var(--#{$popover}__arrow--Width);
|
|
225
225
|
height: var(--#{$popover}__arrow--Height);
|
|
226
226
|
pointer-events: none;
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
.pf-v5-c-simple-list {
|
|
2
|
-
--pf-v5-c-simple-list__item-link--PaddingTop: var(--pf-
|
|
3
|
-
--pf-v5-c-simple-list__item-link--PaddingRight: var(--pf-
|
|
4
|
-
--pf-v5-c-simple-list__item-link--PaddingBottom: var(--pf-
|
|
5
|
-
--pf-v5-c-simple-list__item-link--PaddingLeft: var(--pf-
|
|
6
|
-
--pf-v5-c-simple-list__item-link--BackgroundColor: var(--pf-
|
|
7
|
-
--pf-v5-c-simple-list__item-link--Color: var(--pf-
|
|
8
|
-
--pf-v5-c-simple-list__item-link--FontSize: var(--pf-
|
|
9
|
-
--pf-v5-c-simple-list__item-link--
|
|
10
|
-
--pf-v5-c-simple-list__item-link--m-current--
|
|
11
|
-
--pf-v5-c-simple-list__item-link--
|
|
12
|
-
--pf-v5-c-simple-list__item-link--
|
|
13
|
-
--pf-v5-c-simple-list__item-link--
|
|
14
|
-
--pf-v5-c-simple-list__item-link--
|
|
15
|
-
--pf-v5-c-simple-list__item-link--
|
|
16
|
-
--pf-v5-c-simple-list__item-link--
|
|
17
|
-
--pf-v5-c-simple-list__item-link--
|
|
18
|
-
--pf-v5-c-simple-
|
|
19
|
-
--pf-v5-c-simple-
|
|
20
|
-
--pf-v5-c-simple-
|
|
21
|
-
--pf-v5-c-simple-list__title--
|
|
22
|
-
--pf-v5-c-simple-list__title--
|
|
23
|
-
--pf-v5-c-simple-list__title--
|
|
24
|
-
--pf-v5-c-simple-list__title--
|
|
25
|
-
--pf-v5-c-simple-
|
|
26
|
-
--pf-v5-c-simple-list__title--Color: var(--pf-v5-global--Color--dark-200);
|
|
27
|
-
--pf-v5-c-simple-list__title--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
28
|
-
--pf-v5-c-simple-list__section--section--MarginTop: var(--pf-v5-global--spacer--sm);
|
|
1
|
+
:root, .pf-v5-c-simple-list {
|
|
2
|
+
--pf-v5-c-simple-list__item-link--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
3
|
+
--pf-v5-c-simple-list__item-link--PaddingRight: var(--pf-t--global--spacer--md);
|
|
4
|
+
--pf-v5-c-simple-list__item-link--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
5
|
+
--pf-v5-c-simple-list__item-link--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
6
|
+
--pf-v5-c-simple-list__item-link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
7
|
+
--pf-v5-c-simple-list__item-link--Color: var(--pf-t--global--text--color--subtle);
|
|
8
|
+
--pf-v5-c-simple-list__item-link--FontSize: var(--pf-t--global--font--size--body);
|
|
9
|
+
--pf-v5-c-simple-list__item-link--m-current--Color: var(--pf-t--global--text--color--regular);
|
|
10
|
+
--pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--selected);
|
|
11
|
+
--pf-v5-c-simple-list__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
|
|
12
|
+
--pf-v5-c-simple-list__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
13
|
+
--pf-v5-c-simple-list__item-link--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
|
|
14
|
+
--pf-v5-c-simple-list__item-link--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
15
|
+
--pf-v5-c-simple-list__item-link--m-link--Color: var(--pf-t--global--text--color--link--default);
|
|
16
|
+
--pf-v5-c-simple-list__item-link--m-link--m-current--Color: var(--pf-t--global--text--color--link--hover);
|
|
17
|
+
--pf-v5-c-simple-list__item-link--m-link--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
18
|
+
--pf-v5-c-simple-list__title--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
19
|
+
--pf-v5-c-simple-list__title--PaddingRight: var(--pf-t--global--spacer--md);
|
|
20
|
+
--pf-v5-c-simple-list__title--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
21
|
+
--pf-v5-c-simple-list__title--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
22
|
+
--pf-v5-c-simple-list__title--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
23
|
+
--pf-v5-c-simple-list__title--Color: var(--pf-t--global--text--color--regular);
|
|
24
|
+
--pf-v5-c-simple-list__title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
25
|
+
--pf-v5-c-simple-list__section--section--MarginTop: var(--pf-t--global--spacer--sm);
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
.pf-v5-c-simple-list__item-link {
|
|
@@ -36,31 +33,28 @@
|
|
|
36
33
|
padding-inline-start: var(--pf-v5-c-simple-list__item-link--PaddingLeft);
|
|
37
34
|
padding-inline-end: var(--pf-v5-c-simple-list__item-link--PaddingRight);
|
|
38
35
|
font-size: var(--pf-v5-c-simple-list__item-link--FontSize);
|
|
39
|
-
font-weight: var(--pf-v5-c-simple-list__item-link--FontWeight);
|
|
40
36
|
color: var(--pf-v5-c-simple-list__item-link--Color);
|
|
41
37
|
text-align: start;
|
|
38
|
+
text-decoration: none;
|
|
42
39
|
background-color: var(--pf-v5-c-simple-list__item-link--BackgroundColor);
|
|
43
40
|
border: none;
|
|
41
|
+
border-radius: var(--pf-v5-c-simple-list__item-link--BorderRadius);
|
|
42
|
+
}
|
|
43
|
+
.pf-v5-c-simple-list__item-link.pf-m-link {
|
|
44
|
+
--pf-v5-c-simple-list__item-link--Color: var(--pf-v5-c-simple-list__item-link--m-link--Color);
|
|
45
|
+
--pf-v5-c-simple-list__item-link--hover--Color: var(--pf-v5-c-simple-list__item-link--m-link--m-current--Color);
|
|
46
|
+
--pf-v5-c-simple-list__item-link--m-current--Color: var(--pf-v5-c-simple-list__item-link--m-link--hover--Color);
|
|
44
47
|
}
|
|
45
|
-
.pf-v5-c-simple-list__item-link:hover {
|
|
48
|
+
.pf-v5-c-simple-list__item-link:hover, .pf-v5-c-simple-list__item-link:focus {
|
|
46
49
|
--pf-v5-c-simple-list__item-link--BackgroundColor: var(--pf-v5-c-simple-list__item-link--hover--BackgroundColor);
|
|
47
50
|
--pf-v5-c-simple-list__item-link--Color: var(--pf-v5-c-simple-list__item-link--hover--Color);
|
|
48
51
|
text-decoration: none;
|
|
49
|
-
|
|
50
|
-
.pf-v5-c-simple-list__item-link:focus {
|
|
51
|
-
--pf-v5-c-simple-list__item-link--FontWeight: var(--pf-v5-c-simple-list__item-link--focus--FontWeight);
|
|
52
|
-
--pf-v5-c-simple-list__item-link--BackgroundColor: var(--pf-v5-c-simple-list__item-link--focus--BackgroundColor);
|
|
53
|
-
--pf-v5-c-simple-list__item-link--Color: var(--pf-v5-c-simple-list__item-link--focus--Color);
|
|
54
|
-
}
|
|
55
|
-
.pf-v5-c-simple-list__item-link:active {
|
|
56
|
-
--pf-v5-c-simple-list__item-link--FontWeight: var(--pf-v5-c-simple-list__item-link--active--FontWeight);
|
|
57
|
-
--pf-v5-c-simple-list__item-link--BackgroundColor: var(--pf-v5-c-simple-list__item-link--active--BackgroundColor);
|
|
58
|
-
--pf-v5-c-simple-list__item-link--Color: var(--pf-v5-c-simple-list__item-link--active--Color);
|
|
52
|
+
mix-blend-mode: var(--pf-v5-c-simple-list__item-link--MixBlendMode);
|
|
59
53
|
}
|
|
60
54
|
.pf-v5-c-simple-list__item-link.pf-m-current {
|
|
61
|
-
--pf-v5-c-simple-list__item-link--FontWeight: var(--pf-v5-c-simple-list__item-link--m-current--FontWeight);
|
|
62
55
|
--pf-v5-c-simple-list__item-link--BackgroundColor: var(--pf-v5-c-simple-list__item-link--m-current--BackgroundColor);
|
|
63
56
|
--pf-v5-c-simple-list__item-link--Color: var(--pf-v5-c-simple-list__item-link--m-current--Color);
|
|
57
|
+
mix-blend-mode: var(--pf-v5-c-simple-list__item-link--MixBlendMode);
|
|
64
58
|
}
|
|
65
59
|
|
|
66
60
|
.pf-v5-c-simple-list__title {
|
|
@@ -75,15 +69,4 @@
|
|
|
75
69
|
|
|
76
70
|
.pf-v5-c-simple-list__section + .pf-v5-c-simple-list__section {
|
|
77
71
|
margin-block-start: var(--pf-v5-c-simple-list__section--section--MarginTop);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-simple-list {
|
|
81
|
-
--pf-v5-c-simple-list__item-link--m-current--Color: var(--pf-v5-global--active-color--100);
|
|
82
|
-
--pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
83
|
-
--pf-v5-c-simple-list__item-link--hover--Color: var(--pf-v5-global--Color--100);
|
|
84
|
-
--pf-v5-c-simple-list__item-link--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
85
|
-
--pf-v5-c-simple-list__item-link--focus--Color: var(--pf-v5-global--Color--100);
|
|
86
|
-
--pf-v5-c-simple-list__item-link--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
87
|
-
--pf-v5-c-simple-list__item-link--active--Color: var(--pf-v5-global--Color--100);
|
|
88
|
-
--pf-v5-c-simple-list__item-link--active--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
89
72
|
}
|
|
@@ -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
|
|