@patternfly/patternfly 6.1.0-prerelease.2 → 6.1.0-prerelease.4

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.
Files changed (58) hide show
  1. package/README.md +5 -5
  2. package/components/Content/content.css +9 -0
  3. package/components/Content/content.scss +7 -0
  4. package/components/Label/label-group.css +12 -0
  5. package/components/Label/label-group.scss +14 -0
  6. package/components/Label/label.css +2 -0
  7. package/components/Label/label.scss +2 -0
  8. package/components/MenuToggle/menu-toggle.css +3 -7
  9. package/components/MenuToggle/menu-toggle.scss +3 -8
  10. package/components/Table/table.css +1 -0
  11. package/components/Table/table.scss +2 -0
  12. package/components/Title/title.css +4 -0
  13. package/components/Title/title.scss +7 -0
  14. package/components/Wizard/wizard.css +1 -1
  15. package/components/Wizard/wizard.scss +1 -1
  16. package/components/_index.css +32 -8
  17. package/docs/components/Content/examples/Content.md +8 -7
  18. package/docs/components/Label/examples/Label.css +12 -0
  19. package/docs/components/Label/examples/Label.md +127 -0
  20. package/docs/components/Table/examples/Table.md +2 -2
  21. package/docs/components/Title/examples/Title.md +10 -0
  22. package/docs/demos/AboutModal/examples/AboutModal.md +2 -4
  23. package/docs/demos/Alert/examples/Alert.md +6 -12
  24. package/docs/demos/BackToTop/examples/BackToTop.md +2 -4
  25. package/docs/demos/Banner/examples/Banner.md +4 -8
  26. package/docs/demos/CardView/examples/CardView.md +2 -4
  27. package/docs/demos/Dashboard/examples/Dashboard.md +2 -4
  28. package/docs/demos/DataList/examples/DataList.md +8 -16
  29. package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -12
  30. package/docs/demos/Drawer/examples/Drawer.md +6 -12
  31. package/docs/demos/JumpLinks/examples/JumpLinks.md +8 -16
  32. package/docs/demos/Masthead/examples/Masthead.md +18 -36
  33. package/docs/demos/Modal/examples/Modal.md +12 -24
  34. package/docs/demos/Nav/examples/Nav.md +12 -24
  35. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -20
  36. package/docs/demos/Page/examples/Page.md +24 -48
  37. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +14 -28
  38. package/docs/demos/Skeleton/examples/Skeleton.md +2 -4
  39. package/docs/demos/Table/examples/Table.md +30 -60
  40. package/docs/demos/Tabs/examples/Tabs.md +12 -24
  41. package/docs/demos/Toolbar/examples/Toolbar.md +4 -8
  42. package/docs/demos/Wizard/examples/Wizard.md +18 -36
  43. package/docs/layouts/Level/examples/Level.css +1 -2
  44. package/docs/layouts/Level/examples/Level.md +15 -3
  45. package/docs/layouts/Split/examples/Split.css +1 -2
  46. package/docs/layouts/Split/examples/Split.md +4 -4
  47. package/docs/layouts/Stack/examples/Stack.css +1 -2
  48. package/docs/layouts/Stack/examples/Stack.md +4 -4
  49. package/layouts/Split/split.css +1 -2
  50. package/layouts/Split/split.scss +4 -3
  51. package/layouts/Stack/stack.css +1 -2
  52. package/layouts/Stack/stack.scss +4 -3
  53. package/layouts/_index.css +2 -4
  54. package/package.json +2 -2
  55. package/patternfly-no-globals.css +34 -12
  56. package/patternfly.css +34 -12
  57. package/patternfly.min.css +1 -1
  58. package/patternfly.min.css.map +1 -1
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # PatternFly 5
1
+ # PatternFly
2
2
 
3
3
  ## Install
4
4
 
5
5
  - This assumes an environment is already set up for npm packages - if not, please use npm init following the steps at [https://docs.npmjs.com/getting-started/using-a-package.json](https://docs.npmjs.com/getting-started/using-a-package.json).
6
6
  - run `npm install @patternfly/patternfly --save`
7
7
 
8
- When you install PatternFly 5, the package includes:
8
+ When you install PatternFly, the package includes:
9
9
 
10
10
  - a single file for the entire compiled library: `node_modules/@patternfly/patternfly/patternfly.css`
11
11
  - individual files with each component compiled separately: `node_modules/@patternfly/patternfly/<ComponentName>/styles.css`
@@ -16,9 +16,9 @@ Any of the files above are meant for use in consuming the library. The recommend
16
16
 
17
17
  ## Development
18
18
 
19
- **PatternFly 5 Development requires Node v18.0.0 or greater**
19
+ **PatternFly Development requires Node v18.0.0 or greater**
20
20
 
21
- To setup the PatternFly 5 development environment:
21
+ To setup the PatternFly development environment:
22
22
 
23
23
  - clone the project
24
24
  - run `yarn install` from the project root
@@ -115,7 +115,7 @@ If you have any suggestions about ways that we can improve how we use this tool,
115
115
  [How do I use CSS variables to customize the library?](https://core-staging.patternfly.org/guidelines#variables)
116
116
 
117
117
  #### Browser support
118
- PatternFly 5 is supported on the latest two major versions of the following browsers:
118
+ PatternFly is supported on the latest two major versions of the following browsers:
119
119
 
120
120
  - Chrome
121
121
  - Firefox
@@ -36,6 +36,7 @@
36
36
  --pf-v6-c-content--h6--LineHeight: var(--pf-t--global--font--line-height--heading);
37
37
  --pf-v6-c-content--h6--FontSize: var(--pf-t--global--font--size--heading--h6);
38
38
  --pf-v6-c-content--h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
39
+ --pf-v6-c-content--heading--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
39
40
  --pf-v6-c-content--small--MarginBlockEnd: var(--pf-t--global--spacer--md);
40
41
  --pf-v6-c-content--small--LineHeight: var(--pf-t--global--font--line-height--body);
41
42
  --pf-v6-c-content--small--FontSize: var(--pf-t--global--font--size--body--sm);
@@ -135,6 +136,14 @@
135
136
  .pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6):last-child {
136
137
  margin-block-end: 0;
137
138
  }
139
+ :is(.pf-v6-c-content--h1,
140
+ .pf-v6-c-content--h2,
141
+ .pf-v6-c-content--h3,
142
+ .pf-v6-c-content--h4,
143
+ .pf-v6-c-content--h5,
144
+ .pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6).pf-m-page-title {
145
+ font-weight: var(--pf-v6-c-content--heading--m-page-title--FontWeight);
146
+ }
138
147
 
139
148
  :is(.pf-v6-c-content--h1, .pf-v6-c-content h1) {
140
149
  margin-block-start: var(--pf-v6-c-content--h1--MarginBlockStart);
@@ -56,6 +56,9 @@
56
56
  --#{$content}--h6--FontSize: var(--pf-t--global--font--size--heading--h6);
57
57
  --#{$content}--h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
58
58
 
59
+ // Page title
60
+ --#{$content}--heading--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
61
+
59
62
  // Small text
60
63
  --#{$content}--small--MarginBlockEnd: var(--pf-t--global--spacer--md);
61
64
  --#{$content}--small--LineHeight: var(--pf-t--global--font--line-height--body);
@@ -194,6 +197,10 @@
194
197
  &:last-child {
195
198
  margin-block-end: 0;
196
199
  }
200
+
201
+ &.pf-m-page-title {
202
+ font-weight: var(--#{$content}--heading--m-page-title--FontWeight);
203
+ }
197
204
  }
198
205
 
199
206
  @at-root :is(
@@ -1,16 +1,22 @@
1
1
  .pf-v6-c-label-group {
2
2
  --pf-v6-c-label-group--RowGap: var(--pf-t--global--spacer--sm);
3
3
  --pf-v6-c-label-group--ColumnGap: var(--pf-t--global--spacer--xs);
4
+ --pf-v6-c-label-group--MaxWidth: 100%;
4
5
  --pf-v6-c-label-group--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
5
6
  --pf-v6-c-label-group--m-vertical--ColumnGap: var(--pf-t--global--spacer--sm);
6
7
  --pf-v6-c-label-group__main--RowGap: var(--pf-t--global--spacer--xs);
7
8
  --pf-v6-c-label-group__main--ColumnGap: var(--pf-t--global--spacer--sm);
9
+ --pf-v6-c-label-group__main--MaxWidth: 100%;
10
+ --pf-v6-c-label-group__main--MinWidth: 0;
8
11
  --pf-v6-c-label-group--m-vertical__main--RowGap: var(--pf-t--global--spacer--sm);
9
12
  --pf-v6-c-label-group--m-vertical__main--ColumnGap: var(--pf-t--global--spacer--xs);
10
13
  --pf-v6-c-label-group__list--RowGap: var(--pf-t--global--spacer--xs);
11
14
  --pf-v6-c-label-group__list--ColumnGap: var(--pf-t--global--spacer--xs);
15
+ --pf-v6-c-label-group__list--MaxWidth: 100%;
16
+ --pf-v6-c-label-group__list--MinWidth: 0;
12
17
  --pf-v6-c-label-group--m-vertical__list--RowGap: var(--pf-t--global--spacer--xs);
13
18
  --pf-v6-c-label-group--m-vertical__list--ColumnGap: var(--pf-t--global--spacer--xs);
19
+ --pf-v6-c-label-group__list-item--MaxWidth: 100%;
14
20
  --pf-v6-c-label-group--m-category--PaddingBlockStart: var(--pf-t--global--spacer--xs);
15
21
  --pf-v6-c-label-group--m-category--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
16
22
  --pf-v6-c-label-group--m-category--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
@@ -37,6 +43,7 @@
37
43
  row-gap: var(--pf-v6-c-label-group--RowGap);
38
44
  column-gap: var(--pf-v6-c-label-group--ColumnGap);
39
45
  align-items: center;
46
+ max-width: var(--pf-v6-c-label-group--MaxWidth);
40
47
  }
41
48
  .pf-v6-c-label-group.pf-m-category {
42
49
  padding-block-start: var(--pf-v6-c-label-group--m-category--PaddingBlockStart);
@@ -62,9 +69,11 @@
62
69
  .pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__list {
63
70
  flex-direction: column;
64
71
  align-items: flex-start;
72
+ max-width: var(--pf-v6-c-label-group__list--MaxWidth);
65
73
  }
66
74
  .pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__main {
67
75
  flex-direction: column;
76
+ min-width: var(--pf-v6-c-label-group__main--MinWidth);
68
77
  }
69
78
  .pf-v6-c-label-group.pf-m-editable,
70
79
  .pf-v6-c-label-group.pf-m-editable .pf-v6-c-label-group__main,
@@ -85,6 +94,7 @@
85
94
  row-gap: var(--pf-v6-c-label-group__main--RowGap);
86
95
  column-gap: var(--pf-v6-c-label-group__main--ColumnGap);
87
96
  align-items: baseline;
97
+ min-width: var(--pf-v6-c-label-group__main--MinWidth);
88
98
  }
89
99
 
90
100
  .pf-v6-c-label-group__list {
@@ -92,10 +102,12 @@
92
102
  flex-wrap: wrap;
93
103
  row-gap: var(--pf-v6-c-label-group__list--RowGap);
94
104
  column-gap: var(--pf-v6-c-label-group__list--ColumnGap);
105
+ min-width: var(--pf-v6-c-label-group__list--MinWidth);
95
106
  }
96
107
 
97
108
  .pf-v6-c-label-group__list-item {
98
109
  display: inline-flex;
110
+ max-width: var(--pf-v6-c-label-group__list-item--MaxWidth);
99
111
  }
100
112
 
101
113
  .pf-v6-c-label-group__label {
@@ -4,21 +4,29 @@
4
4
  // Label group - spaces main with the close button
5
5
  --#{$label-group}--RowGap: var(--pf-t--global--spacer--sm);
6
6
  --#{$label-group}--ColumnGap: var(--pf-t--global--spacer--xs);
7
+ --#{$label-group}--MaxWidth: 100%;
7
8
  --#{$label-group}--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
8
9
  --#{$label-group}--m-vertical--ColumnGap: var(--pf-t--global--spacer--sm);
9
10
 
10
11
  // Main - spaces the category label with the list
11
12
  --#{$label-group}__main--RowGap: var(--pf-t--global--spacer--xs);
12
13
  --#{$label-group}__main--ColumnGap: var(--pf-t--global--spacer--sm);
14
+ --#{$label-group}__main--MaxWidth: 100%;
15
+ --#{$label-group}__main--MinWidth: 0;
13
16
  --#{$label-group}--m-vertical__main--RowGap: var(--pf-t--global--spacer--sm);
14
17
  --#{$label-group}--m-vertical__main--ColumnGap: var(--pf-t--global--spacer--xs);
15
18
 
16
19
  // List - spaces the items
17
20
  --#{$label-group}__list--RowGap: var(--pf-t--global--spacer--xs);
18
21
  --#{$label-group}__list--ColumnGap: var(--pf-t--global--spacer--xs);
22
+ --#{$label-group}__list--MaxWidth: 100%;
23
+ --#{$label-group}__list--MinWidth: 0;
19
24
  --#{$label-group}--m-vertical__list--RowGap: var(--pf-t--global--spacer--xs);
20
25
  --#{$label-group}--m-vertical__list--ColumnGap: var(--pf-t--global--spacer--xs);
21
26
 
27
+ // List item
28
+ --#{$label-group}__list-item--MaxWidth: 100%;
29
+
22
30
  // Category
23
31
  --#{$label-group}--m-category--PaddingBlockStart: var(--pf-t--global--spacer--xs);
24
32
  --#{$label-group}--m-category--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
@@ -52,6 +60,7 @@
52
60
  row-gap: var(--#{$label-group}--RowGap);
53
61
  column-gap: var(--#{$label-group}--ColumnGap);
54
62
  align-items: center;
63
+ max-width: var(--#{$label-group}--MaxWidth);
55
64
 
56
65
  &.pf-m-category {
57
66
  padding-block-start: var(--#{$label-group}--m-category--PaddingBlockStart);
@@ -79,10 +88,12 @@
79
88
  .#{$label-group}__list {
80
89
  flex-direction: column;
81
90
  align-items: flex-start;
91
+ max-width: var(--#{$label-group}__list--MaxWidth);
82
92
  }
83
93
 
84
94
  .#{$label-group}__main {
85
95
  flex-direction: column;
96
+ min-width: var(--#{$label-group}__main--MinWidth);
86
97
  }
87
98
  }
88
99
 
@@ -109,6 +120,7 @@
109
120
  row-gap: var(--#{$label-group}__main--RowGap);
110
121
  column-gap: var(--#{$label-group}__main--ColumnGap);
111
122
  align-items: baseline;
123
+ min-width: var(--#{$label-group}__main--MinWidth);
112
124
  }
113
125
 
114
126
  .#{$label-group}__list {
@@ -116,10 +128,12 @@
116
128
  flex-wrap: wrap;
117
129
  row-gap: var(--#{$label-group}__list--RowGap);
118
130
  column-gap: var(--#{$label-group}__list--ColumnGap);
131
+ min-width: var(--#{$label-group}__list--MinWidth);
119
132
  }
120
133
 
121
134
  .#{$label-group}__list-item {
122
135
  display: inline-flex;
136
+ max-width: var(--#{$label-group}__list-item--MaxWidth);
123
137
  }
124
138
 
125
139
  .#{$label-group}__label {
@@ -4,6 +4,7 @@
4
4
  --pf-v6-c-label--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
5
5
  --pf-v6-c-label--PaddingInlineStart: var(--pf-t--global--spacer--sm);
6
6
  --pf-v6-c-label--MaxWidth: 100%;
7
+ --pf-v6-c-label--MinWidth: 3em;
7
8
  --pf-v6-c-label--BorderWidth: 0;
8
9
  --pf-v6-c-label--BorderColor: transparent;
9
10
  --pf-v6-c-label--BorderRadius: var(--pf-t--global--border--radius--pill);
@@ -193,6 +194,7 @@
193
194
 
194
195
  .pf-v6-c-label {
195
196
  position: relative;
197
+ min-width: var(--pf-v6-c-label--MinWidth);
196
198
  max-width: var(--pf-v6-c-label--MaxWidth);
197
199
  padding-block-start: var(--pf-v6-c-label--PaddingBlockStart);
198
200
  padding-block-end: var(--pf-v6-c-label--PaddingBlockEnd);
@@ -6,6 +6,7 @@
6
6
  --#{$label}--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
7
7
  --#{$label}--PaddingInlineStart: var(--pf-t--global--spacer--sm);
8
8
  --#{$label}--MaxWidth: 100%;
9
+ --#{$label}--MinWidth: 3em;
9
10
  --#{$label}--BorderWidth: 0;
10
11
  --#{$label}--BorderColor: transparent;
11
12
  --#{$label}--BorderRadius: var(--pf-t--global--border--radius--pill);
@@ -251,6 +252,7 @@
251
252
 
252
253
  .#{$label} {
253
254
  position: relative;
255
+ min-width: var(--#{$label}--MinWidth);
254
256
  max-width: var(--#{$label}--MaxWidth);
255
257
  padding-block-start: var(--#{$label}--PaddingBlockStart);
256
258
  padding-block-end: var(--#{$label}--PaddingBlockEnd);
@@ -383,13 +383,6 @@
383
383
  flex-wrap: nowrap;
384
384
  }
385
385
 
386
- .pf-v6-c-menu-toggle__controls,
387
- .pf-v6-c-menu-toggle__toggle-icon {
388
- display: flex;
389
- align-items: center;
390
- justify-content: center;
391
- }
392
-
393
386
  .pf-v6-c-menu-toggle__icon {
394
387
  flex-shrink: 0;
395
388
  }
@@ -401,7 +394,10 @@
401
394
  }
402
395
 
403
396
  .pf-v6-c-menu-toggle__controls {
397
+ display: flex;
404
398
  gap: var(--pf-v6-c-menu-toggle__controls--Gap);
399
+ align-items: center;
400
+ justify-content: center;
405
401
  margin-inline-start: auto;
406
402
  }
407
403
 
@@ -500,14 +500,6 @@
500
500
  flex-wrap: nowrap;
501
501
  }
502
502
 
503
- // - Menu toggle controls - Menu toggle icon
504
- .#{$menu-toggle}__controls,
505
- .#{$menu-toggle}__toggle-icon {
506
- display: flex;
507
- align-items: center;
508
- justify-content: center;
509
- }
510
-
511
503
  .#{$menu-toggle}__icon {
512
504
  flex-shrink: 0;
513
505
 
@@ -523,7 +515,10 @@
523
515
 
524
516
  // - Menu toggle controls
525
517
  .#{$menu-toggle}__controls {
518
+ display: flex;
526
519
  gap: var(--#{$menu-toggle}__controls--Gap);
520
+ align-items: center;
521
+ justify-content: center;
527
522
  margin-inline-start: auto; // TODO: possibly replace as part of one of the other TODOs at top of file
528
523
  }
529
524
 
@@ -526,6 +526,7 @@
526
526
  .pf-v6-c-table .pf-v6-c-table__draggable {
527
527
  --pf-v6-c-table--cell--MinWidth: 0;
528
528
  --pf-v6-c-table--cell--Width: 1%;
529
+ max-width: none;
529
530
  }
530
531
 
531
532
  .pf-v6-c-table .pf-v6-c-table__favorite {
@@ -715,6 +715,8 @@
715
715
  .#{$table} .#{$table}__draggable {
716
716
  --#{$table}--cell--MinWidth: 0;
717
717
  --#{$table}--cell--Width: 1%;
718
+
719
+ max-width: none;
718
720
  }
719
721
  // stylelint-enable
720
722
 
@@ -36,6 +36,7 @@
36
36
  --pf-v6-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
37
37
  --pf-v6-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
38
38
  --pf-v6-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
39
+ --pf-v6-c-title--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
39
40
  }
40
41
 
41
42
  .pf-v6-c-title {
@@ -101,4 +102,7 @@
101
102
  font-size: var(--pf-v6-c-title--m-h6--FontSize);
102
103
  font-weight: var(--pf-v6-c-title--m-h6--FontWeight);
103
104
  line-height: var(--pf-v6-c-title--m-h6--LineHeight);
105
+ }
106
+ .pf-v6-c-title.pf-m-page-title {
107
+ font-weight: var(--pf-v6-c-title--m-page-title--FontWeight);
104
108
  }
@@ -64,6 +64,9 @@
64
64
  --#{$title}--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
65
65
  --#{$title}--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
66
66
  --#{$title}--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
67
+
68
+ // Page title
69
+ --#{$title}--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
67
70
  }
68
71
 
69
72
  .#{$title} {
@@ -141,4 +144,8 @@
141
144
  font-weight: var(--#{$title}--m-h6--FontWeight);
142
145
  line-height: var(--#{$title}--m-h6--LineHeight);
143
146
  }
147
+
148
+ &.pf-m-page-title {
149
+ font-weight: var(--#{$title}--m-page-title--FontWeight);
150
+ }
144
151
  }
@@ -82,7 +82,7 @@
82
82
  --pf-v6-c-wizard__toggle-separator--Color: var(--pf-t--global--border--color--default);
83
83
  --pf-v6-c-wizard__toggle-icon--LineHeight: var(--pf-t--global--font--line-height--body);
84
84
  --pf-v6-c-wizard__toggle--m-expanded__toggle-icon--Rotate: 180deg;
85
- --pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--xs);
85
+ --pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--sm);
86
86
  --pf-v6-c-wizard__nav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
87
87
  --pf-v6-c-wizard__nav--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
88
88
  --pf-v6-c-wizard__nav--Width: 100%;
@@ -126,7 +126,7 @@
126
126
  --#{$wizard}__toggle--m-expanded__toggle-icon--Rotate: 180deg;
127
127
 
128
128
  // Nav
129
- --#{$wizard}__nav--ZIndex: var(--pf-t--global--z-index--xs);
129
+ --#{$wizard}__nav--ZIndex: var(--pf-t--global--z-index--sm);
130
130
  --#{$wizard}__nav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
131
131
  --#{$wizard}__nav--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
132
132
  --#{$wizard}__nav--Width: 100%;
@@ -2982,6 +2982,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
2982
2982
  --pf-v6-c-content--h6--LineHeight: var(--pf-t--global--font--line-height--heading);
2983
2983
  --pf-v6-c-content--h6--FontSize: var(--pf-t--global--font--size--heading--h6);
2984
2984
  --pf-v6-c-content--h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
2985
+ --pf-v6-c-content--heading--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
2985
2986
  --pf-v6-c-content--small--MarginBlockEnd: var(--pf-t--global--spacer--md);
2986
2987
  --pf-v6-c-content--small--LineHeight: var(--pf-t--global--font--line-height--body);
2987
2988
  --pf-v6-c-content--small--FontSize: var(--pf-t--global--font--size--body--sm);
@@ -3081,6 +3082,14 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
3081
3082
  .pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6):last-child {
3082
3083
  margin-block-end: 0;
3083
3084
  }
3085
+ :is(.pf-v6-c-content--h1,
3086
+ .pf-v6-c-content--h2,
3087
+ .pf-v6-c-content--h3,
3088
+ .pf-v6-c-content--h4,
3089
+ .pf-v6-c-content--h5,
3090
+ .pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6).pf-m-page-title {
3091
+ font-weight: var(--pf-v6-c-content--heading--m-page-title--FontWeight);
3092
+ }
3084
3093
 
3085
3094
  :is(.pf-v6-c-content--h1, .pf-v6-c-content h1) {
3086
3095
  margin-block-start: var(--pf-v6-c-content--h1--MarginBlockStart);
@@ -7851,6 +7860,7 @@ label.pf-v6-c-input-group__text {
7851
7860
  --pf-v6-c-label--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
7852
7861
  --pf-v6-c-label--PaddingInlineStart: var(--pf-t--global--spacer--sm);
7853
7862
  --pf-v6-c-label--MaxWidth: 100%;
7863
+ --pf-v6-c-label--MinWidth: 3em;
7854
7864
  --pf-v6-c-label--BorderWidth: 0;
7855
7865
  --pf-v6-c-label--BorderColor: transparent;
7856
7866
  --pf-v6-c-label--BorderRadius: var(--pf-t--global--border--radius--pill);
@@ -8040,6 +8050,7 @@ label.pf-v6-c-input-group__text {
8040
8050
 
8041
8051
  .pf-v6-c-label {
8042
8052
  position: relative;
8053
+ min-width: var(--pf-v6-c-label--MinWidth);
8043
8054
  max-width: var(--pf-v6-c-label--MaxWidth);
8044
8055
  padding-block-start: var(--pf-v6-c-label--PaddingBlockStart);
8045
8056
  padding-block-end: var(--pf-v6-c-label--PaddingBlockEnd);
@@ -8342,16 +8353,22 @@ input.pf-v6-c-label__content {
8342
8353
  .pf-v6-c-label-group {
8343
8354
  --pf-v6-c-label-group--RowGap: var(--pf-t--global--spacer--sm);
8344
8355
  --pf-v6-c-label-group--ColumnGap: var(--pf-t--global--spacer--xs);
8356
+ --pf-v6-c-label-group--MaxWidth: 100%;
8345
8357
  --pf-v6-c-label-group--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
8346
8358
  --pf-v6-c-label-group--m-vertical--ColumnGap: var(--pf-t--global--spacer--sm);
8347
8359
  --pf-v6-c-label-group__main--RowGap: var(--pf-t--global--spacer--xs);
8348
8360
  --pf-v6-c-label-group__main--ColumnGap: var(--pf-t--global--spacer--sm);
8361
+ --pf-v6-c-label-group__main--MaxWidth: 100%;
8362
+ --pf-v6-c-label-group__main--MinWidth: 0;
8349
8363
  --pf-v6-c-label-group--m-vertical__main--RowGap: var(--pf-t--global--spacer--sm);
8350
8364
  --pf-v6-c-label-group--m-vertical__main--ColumnGap: var(--pf-t--global--spacer--xs);
8351
8365
  --pf-v6-c-label-group__list--RowGap: var(--pf-t--global--spacer--xs);
8352
8366
  --pf-v6-c-label-group__list--ColumnGap: var(--pf-t--global--spacer--xs);
8367
+ --pf-v6-c-label-group__list--MaxWidth: 100%;
8368
+ --pf-v6-c-label-group__list--MinWidth: 0;
8353
8369
  --pf-v6-c-label-group--m-vertical__list--RowGap: var(--pf-t--global--spacer--xs);
8354
8370
  --pf-v6-c-label-group--m-vertical__list--ColumnGap: var(--pf-t--global--spacer--xs);
8371
+ --pf-v6-c-label-group__list-item--MaxWidth: 100%;
8355
8372
  --pf-v6-c-label-group--m-category--PaddingBlockStart: var(--pf-t--global--spacer--xs);
8356
8373
  --pf-v6-c-label-group--m-category--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
8357
8374
  --pf-v6-c-label-group--m-category--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
@@ -8378,6 +8395,7 @@ input.pf-v6-c-label__content {
8378
8395
  row-gap: var(--pf-v6-c-label-group--RowGap);
8379
8396
  column-gap: var(--pf-v6-c-label-group--ColumnGap);
8380
8397
  align-items: center;
8398
+ max-width: var(--pf-v6-c-label-group--MaxWidth);
8381
8399
  }
8382
8400
  .pf-v6-c-label-group.pf-m-category {
8383
8401
  padding-block-start: var(--pf-v6-c-label-group--m-category--PaddingBlockStart);
@@ -8403,9 +8421,11 @@ input.pf-v6-c-label__content {
8403
8421
  .pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__list {
8404
8422
  flex-direction: column;
8405
8423
  align-items: flex-start;
8424
+ max-width: var(--pf-v6-c-label-group__list--MaxWidth);
8406
8425
  }
8407
8426
  .pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__main {
8408
8427
  flex-direction: column;
8428
+ min-width: var(--pf-v6-c-label-group__main--MinWidth);
8409
8429
  }
8410
8430
  .pf-v6-c-label-group.pf-m-editable,
8411
8431
  .pf-v6-c-label-group.pf-m-editable .pf-v6-c-label-group__main,
@@ -8426,6 +8446,7 @@ input.pf-v6-c-label__content {
8426
8446
  row-gap: var(--pf-v6-c-label-group__main--RowGap);
8427
8447
  column-gap: var(--pf-v6-c-label-group__main--ColumnGap);
8428
8448
  align-items: baseline;
8449
+ min-width: var(--pf-v6-c-label-group__main--MinWidth);
8429
8450
  }
8430
8451
 
8431
8452
  .pf-v6-c-label-group__list {
@@ -8433,10 +8454,12 @@ input.pf-v6-c-label__content {
8433
8454
  flex-wrap: wrap;
8434
8455
  row-gap: var(--pf-v6-c-label-group__list--RowGap);
8435
8456
  column-gap: var(--pf-v6-c-label-group__list--ColumnGap);
8457
+ min-width: var(--pf-v6-c-label-group__list--MinWidth);
8436
8458
  }
8437
8459
 
8438
8460
  .pf-v6-c-label-group__list-item {
8439
8461
  display: inline-flex;
8462
+ max-width: var(--pf-v6-c-label-group__list-item--MaxWidth);
8440
8463
  }
8441
8464
 
8442
8465
  .pf-v6-c-label-group__label {
@@ -10298,13 +10321,6 @@ ul.pf-v6-c-list {
10298
10321
  flex-wrap: nowrap;
10299
10322
  }
10300
10323
 
10301
- .pf-v6-c-menu-toggle__controls,
10302
- .pf-v6-c-menu-toggle__toggle-icon {
10303
- display: flex;
10304
- align-items: center;
10305
- justify-content: center;
10306
- }
10307
-
10308
10324
  .pf-v6-c-menu-toggle__icon {
10309
10325
  flex-shrink: 0;
10310
10326
  }
@@ -10316,7 +10332,10 @@ ul.pf-v6-c-list {
10316
10332
  }
10317
10333
 
10318
10334
  .pf-v6-c-menu-toggle__controls {
10335
+ display: flex;
10319
10336
  gap: var(--pf-v6-c-menu-toggle__controls--Gap);
10337
+ align-items: center;
10338
+ justify-content: center;
10320
10339
  margin-inline-start: auto;
10321
10340
  }
10322
10341
 
@@ -16682,6 +16701,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16682
16701
  .pf-v6-c-table .pf-v6-c-table__draggable {
16683
16702
  --pf-v6-c-table--cell--MinWidth: 0;
16684
16703
  --pf-v6-c-table--cell--Width: 1%;
16704
+ max-width: none;
16685
16705
  }
16686
16706
 
16687
16707
  .pf-v6-c-table .pf-v6-c-table__favorite {
@@ -19087,6 +19107,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
19087
19107
  --pf-v6-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
19088
19108
  --pf-v6-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
19089
19109
  --pf-v6-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
19110
+ --pf-v6-c-title--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
19090
19111
  }
19091
19112
 
19092
19113
  .pf-v6-c-title {
@@ -19153,6 +19174,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
19153
19174
  font-weight: var(--pf-v6-c-title--m-h6--FontWeight);
19154
19175
  line-height: var(--pf-v6-c-title--m-h6--LineHeight);
19155
19176
  }
19177
+ .pf-v6-c-title.pf-m-page-title {
19178
+ font-weight: var(--pf-v6-c-title--m-page-title--FontWeight);
19179
+ }
19156
19180
 
19157
19181
  .pf-v6-c-toggle-group {
19158
19182
  --pf-v6-c-toggle-group__button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -21924,7 +21948,7 @@ label.pf-v6-c-tree-view__node-text {
21924
21948
  --pf-v6-c-wizard__toggle-separator--Color: var(--pf-t--global--border--color--default);
21925
21949
  --pf-v6-c-wizard__toggle-icon--LineHeight: var(--pf-t--global--font--line-height--body);
21926
21950
  --pf-v6-c-wizard__toggle--m-expanded__toggle-icon--Rotate: 180deg;
21927
- --pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--xs);
21951
+ --pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--sm);
21928
21952
  --pf-v6-c-wizard__nav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
21929
21953
  --pf-v6-c-wizard__nav--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
21930
21954
  --pf-v6-c-wizard__nav--Width: 100%;
@@ -7,7 +7,7 @@ cssPrefix: pf-v6-c-content
7
7
  ### Basic
8
8
 
9
9
  ```html
10
- <h1 class="pf-v6-c-content--h1">Hello world</h1>
10
+ <h1 class="pf-v6-c-content--h1 pf-m-page-title">Hello world</h1>
11
11
  <p
12
12
  class="pf-v6-c-content--p"
13
13
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -179,7 +179,7 @@ cssPrefix: pf-v6-c-content
179
179
 
180
180
  ```html
181
181
  <div class="pf-v6-c-content">
182
- <h1>Hello world</h1>
182
+ <h1 class="pf-m-page-title">Hello world</h1>
183
183
  <p
184
184
  class
185
185
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -329,7 +329,7 @@ cssPrefix: pf-v6-c-content
329
329
  ### Long-form/editorial content
330
330
 
331
331
  ```html
332
- <h1 class="pf-v6-c-content--h1 pf-m-editorial">Hello world</h1>
332
+ <h1 class="pf-v6-c-content--h1 pf-m-page-title pf-m-editorial">Hello world</h1>
333
333
  <p
334
334
  class="pf-v6-c-content--p pf-m-editorial"
335
335
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -425,7 +425,7 @@ cssPrefix: pf-v6-c-content
425
425
  </p>
426
426
  <hr class="pf-v6-c-content--hr pf-m-editorial" />
427
427
  <h3 class="pf-v6-c-content--h3 pf-m-editorial">Plain list example</h3>
428
- <ol class="pf-v6-c-content--ol pf-m-editorial pf-m-plain">
428
+ <ol class="pf-v6-c-content--ol pf-m-plain pf-m-editorial">
429
429
  <li
430
430
  class="pf-v6-c-content--li pf-m-editorial"
431
431
  >Donec blandit a lorem id convallis.</li>
@@ -446,7 +446,7 @@ cssPrefix: pf-v6-c-content
446
446
  >Cras gravida arcu at diam gravida gravida.</li>
447
447
  <li class="pf-v6-c-content--li pf-m-editorial">
448
448
  Integer in volutpat libero.
449
- <ol class="pf-v6-c-content--ol pf-m-editorial pf-m-plain">
449
+ <ol class="pf-v6-c-content--ol pf-m-plain pf-m-editorial">
450
450
  <li class="pf-v6-c-content--li pf-m-editorial">Nested plain list</li>
451
451
  <li
452
452
  class="pf-v6-c-content--li pf-m-editorial"
@@ -469,7 +469,7 @@ cssPrefix: pf-v6-c-content
469
469
  <hr class="pf-v6-c-content--hr pf-m-editorial" />
470
470
  <h3 class="pf-v6-c-content--h3 pf-m-editorial">Visited link example</h3>
471
471
  <p class="pf-v6-c-content--p pf-m-editorial">
472
- <a class="pf-v6-c-content--a pf-m-editorial pf-m-plain" href>Visited link</a>
472
+ <a class="pf-v6-c-content--a pf-m-plain pf-m-editorial" href>Visited link</a>
473
473
  </p>
474
474
  <hr class="pf-v6-c-content--hr pf-m-editorial" />
475
475
  <p class="pf-v6-c-content--p pf-m-editorial">
@@ -533,7 +533,7 @@ cssPrefix: pf-v6-c-content
533
533
 
534
534
  ```html
535
535
  <div class="pf-v6-c-content pf-m-editorial">
536
- <h1>Hello world</h1>
536
+ <h1 class="pf-m-page-title">Hello world</h1>
537
537
  <p
538
538
  class
539
539
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub works as well!</p>
@@ -704,3 +704,4 @@ This component is an exception to the variable system since we style type select
704
704
  | `.pf-m-visited` | `.pf-v6-c-content`, `<a>` | Modifies all links in a content block to include visited styles. Can also be applied to a single link in a content block. |
705
705
  | `.pf-m-plain` | `<ul>`, `<ol>` | Removes the list marker and indentation. |
706
706
  | `.pf-m-editorial` | `.pf-v6-c-content*` | Applies long-form, editorial content styles to a block of content or individual content elements. |
707
+ | `.pf-m-page-title` | `.pf-v6-c-content--[h1, h2, h3, h4, h5, h6]`, `.pf-v6-c-content [h1, h2, h3, h4, h5, h6]` | Applies page title styles. **Note:** `.pf-m-page-title` should only apply to the heading that serves as the title for the current page. |
@@ -11,3 +11,15 @@
11
11
  #ws-core-c-label-overflow .pf-v6-c-label {
12
12
  margin: 4px;
13
13
  }
14
+
15
+ #ws-core-c-label-labels-with-truncation .ws-preview-html {
16
+ max-width: 320px;
17
+ }
18
+
19
+ .pf-v6-c-label-truncate--example {
20
+ max-width: 100%;
21
+ padding: var(--pf-t--global--spacer--sm);
22
+ overflow: auto;
23
+ resize: horizontal;
24
+ border: var(--pf-t--global--border--width--box--default) solid var(--pf-t--global--border--color--default);
25
+ }