@patternfly/patternfly 6.5.0-prerelease.51 → 6.5.0-prerelease.52

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 (46) hide show
  1. package/components/Button/button.css +22 -2
  2. package/components/Button/button.scss +26 -2
  3. package/components/Masthead/masthead.css +38 -4
  4. package/components/Masthead/masthead.scss +52 -4
  5. package/components/MenuToggle/menu-toggle.css +26 -2
  6. package/components/MenuToggle/menu-toggle.scss +30 -2
  7. package/components/Nav/nav.css +16 -8
  8. package/components/Nav/nav.scss +16 -8
  9. package/components/Page/page.css +59 -7
  10. package/components/Page/page.scss +79 -15
  11. package/components/_index.css +161 -23
  12. package/docs/components/Breadcrumb/examples/Breadcrumb.md +0 -1
  13. package/docs/components/Button/examples/Button.md +339 -0
  14. package/docs/components/Masthead/examples/masthead.md +1 -1
  15. package/docs/components/Menu/examples/Menu.md +0 -2
  16. package/docs/components/MenuToggle/examples/MenuToggle.md +1 -4
  17. package/docs/components/Pagination/examples/Pagination.md +0 -13
  18. package/docs/components/Toolbar/examples/Toolbar.md +0 -2
  19. package/docs/demos/AboutModal/examples/AboutModal.md +1 -0
  20. package/docs/demos/Alert/examples/Alert.md +3 -0
  21. package/docs/demos/BackToTop/examples/BackToTop.md +1 -0
  22. package/docs/demos/Banner/examples/Banner.md +2 -0
  23. package/docs/demos/CardView/examples/CardView.md +1 -2
  24. package/docs/demos/Compass/examples/Compass.md +158 -52
  25. package/docs/demos/Dashboard/examples/Dashboard.md +1 -0
  26. package/docs/demos/DataList/examples/DataList.md +4 -8
  27. package/docs/demos/DescriptionList/examples/DescriptionList.md +3 -0
  28. package/docs/demos/Drawer/examples/Drawer.md +5 -0
  29. package/docs/demos/JumpLinks/examples/JumpLinks.md +6 -0
  30. package/docs/demos/Masthead/examples/Masthead.md +9 -58
  31. package/docs/demos/Modal/examples/Modal.md +6 -0
  32. package/docs/demos/Nav/examples/Nav.md +305 -160
  33. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +5 -0
  34. package/docs/demos/Page/examples/Page.md +14 -0
  35. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +7 -6
  36. package/docs/demos/Skeleton/examples/Skeleton.md +1 -0
  37. package/docs/demos/Table/examples/Table.md +16 -27
  38. package/docs/demos/Tabs/examples/Tabs.md +6 -0
  39. package/docs/demos/Toolbar/examples/Toolbar.md +2 -8
  40. package/docs/demos/Wizard/examples/Wizard.md +9 -0
  41. package/package.json +1 -1
  42. package/patternfly-no-globals.css +161 -23
  43. package/patternfly.css +161 -23
  44. package/patternfly.min.css +1 -1
  45. package/patternfly.min.css.map +1 -1
  46. package/sass-utilities/scss-variables.scss +3 -0
@@ -3,7 +3,7 @@
3
3
  --pf-v6-c-button--AlignItems: baseline;
4
4
  --pf-v6-c-button--JustifyContent: center;
5
5
  --pf-v6-c-button--Gap: var(--pf-t--global--spacer--gap--text-to-element--default);
6
- --pf-v6-c-button--MinWidth: calc(1em * var(--pf-v6-c-button--LineHeight) + var(--pf-v6-c-button--PaddingBlockStart) + var(--pf-v6-c-button--PaddingBlockEnd));
6
+ --pf-v6-c-button--MinWidth: initial;
7
7
  --pf-v6-c-button--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
8
8
  --pf-v6-c-button--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--default);
9
9
  --pf-v6-c-button--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--default);
@@ -371,7 +371,7 @@
371
371
  gap: var(--pf-v6-c-button--Gap);
372
372
  align-items: var(--pf-v6-c-button--AlignItems);
373
373
  justify-content: var(--pf-v6-c-button--JustifyContent);
374
- min-width: var(--pf-v6-c-button--MinWidth);
374
+ min-width: var(--pf-v6-c-button--MinWidth, revert);
375
375
  padding-block-start: var(--pf-v6-c-button--PaddingBlockStart);
376
376
  padding-block-end: var(--pf-v6-c-button--PaddingBlockEnd);
377
377
  padding-inline-start: var(--pf-v6-c-button--PaddingInlineStart);
@@ -858,8 +858,28 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
858
858
  animation-duration: var(--pf-v6-c-button--m-notify__icon--AnimationDuration--notify);
859
859
  animation-timing-function: var(--pf-v6-c-button--m-notify__icon--AnimationTimingFunction--notify);
860
860
  }
861
+ .pf-v6-c-button.pf-m-dock {
862
+ justify-content: flex-start;
863
+ width: 100%;
864
+ }
865
+ @media (min-width: 62rem) {
866
+ .pf-v6-c-button.pf-m-dock {
867
+ justify-content: center;
868
+ }
869
+ .pf-v6-c-button.pf-m-dock .pf-v6-c-button__text {
870
+ display: none;
871
+ }
872
+ }
873
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-button, .pf-v6-c-button.pf-m-text-expanded {
874
+ justify-content: flex-start;
875
+ width: 100%;
876
+ }
877
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-button .pf-v6-c-button__text, .pf-v6-c-button.pf-m-text-expanded .pf-v6-c-button__text {
878
+ display: revert;
879
+ }
861
880
 
862
881
  .pf-v6-c-button__icon {
882
+ min-width: 1lh;
863
883
  margin-inline-start: var(--pf-v6-c-button__icon--MarginInlineStart);
864
884
  margin-inline-end: var(--pf-v6-c-button__icon--MarginInlineEnd);
865
885
  color: var(--pf-v6-c-button__icon--Color);
@@ -5,7 +5,7 @@
5
5
  --#{$button}--AlignItems: baseline;
6
6
  --#{$button}--JustifyContent: center;
7
7
  --#{$button}--Gap: var(--pf-t--global--spacer--gap--text-to-element--default);
8
- --#{$button}--MinWidth: calc(1em * var(--#{$button}--LineHeight) + var(--#{$button}--PaddingBlockStart) + var(--#{$button}--PaddingBlockEnd));
8
+ --#{$button}--MinWidth: initial;
9
9
  --#{$button}--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
10
10
  --#{$button}--PaddingInlineEnd: var(--pf-t--global--spacer--action--horizontal--default);
11
11
  --#{$button}--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--default);
@@ -435,7 +435,7 @@
435
435
  gap: var(--#{$button}--Gap);
436
436
  align-items: var(--#{$button}--AlignItems);
437
437
  justify-content: var(--#{$button}--JustifyContent);
438
- min-width: var(--#{$button}--MinWidth);
438
+ min-width: var(--#{$button}--MinWidth, revert);
439
439
  padding-block-start: var(--#{$button}--PaddingBlockStart);
440
440
  padding-block-end: var(--#{$button}--PaddingBlockEnd);
441
441
  padding-inline-start: var(--#{$button}--PaddingInlineStart);
@@ -986,9 +986,33 @@
986
986
  animation-duration: var(--#{$button}--m-notify__icon--AnimationDuration--notify);
987
987
  animation-timing-function: var(--#{$button}--m-notify__icon--AnimationTimingFunction--notify);
988
988
  }
989
+
990
+ &.pf-m-dock {
991
+ justify-content: flex-start;
992
+ width: 100%;
993
+
994
+ @media (min-width: $pf-v6-global--breakpoint--dock--expand) {
995
+ justify-content: center;
996
+
997
+ .#{$button}__text {
998
+ display: none;
999
+ }
1000
+ }
1001
+ }
1002
+
1003
+ @at-root .#{$page}__dock.pf-m-text-expanded &,
1004
+ &.pf-m-text-expanded {
1005
+ justify-content: flex-start;
1006
+ width: 100%;
1007
+
1008
+ .#{$button}__text {
1009
+ display: revert;
1010
+ }
1011
+ }
989
1012
  }
990
1013
 
991
1014
  .#{$button}__icon {
1015
+ min-width: 1lh;
992
1016
  margin-inline-start: var(--#{$button}__icon--MarginInlineStart);
993
1017
  margin-inline-end: var(--#{$button}__icon--MarginInlineEnd);
994
1018
  color: var(--#{$button}__icon--Color);
@@ -8,6 +8,7 @@
8
8
  --pf-v6-c-masthead--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
9
9
  --pf-v6-c-masthead__main--ColumnGap: var(--pf-t--global--spacer--md);
10
10
  --pf-v6-c-masthead__main--MarginInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
11
+ --pf-v6-c-masthead--m-docked__main--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
11
12
  --pf-v6-c-masthead__logo--MaxHeight: 2.375rem;
12
13
  --pf-v6-c-masthead__logo--Width: 11.8125rem;
13
14
  --pf-v6-c-masthead__toggle--Size: var(--pf-t--global--icon--size--xl);
@@ -124,24 +125,57 @@
124
125
  --pf-v6-c-masthead--m-display-inline--breakpoint--xl--GridTemplateColumns: auto;
125
126
  --pf-v6-c-masthead__main--GridColumn: auto;
126
127
  --pf-v6-c-masthead__content--GridColumn: auto;
127
- --pf-v6-c-masthead__logo--Width: auto;
128
128
  --pf-v6-c-masthead__main--MarginInlineEnd: 0;
129
129
  display: flex;
130
130
  flex-direction: column;
131
- align-items: center;
132
- width: fit-content;
131
+ align-items: stretch;
133
132
  height: 100%;
134
133
  backdrop-filter: var(--pf-v6-c-masthead--m-docked--BackdropFilter);
135
134
  }
135
+ .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo {
136
+ width: revert;
137
+ }
138
+ .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo.pf-m-compact {
139
+ display: none;
140
+ max-width: 2.3125rem;
141
+ max-height: revert;
142
+ }
143
+ .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__main {
144
+ flex-direction: column;
145
+ row-gap: var(--pf-v6-c-masthead--m-docked__main--RowGap);
146
+ align-items: flex-start;
147
+ }
136
148
  .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__content {
137
149
  flex-grow: 1;
138
150
  flex-direction: column;
151
+ align-items: stretch;
139
152
  align-self: revert;
140
153
  }
141
154
  .pf-v6-c-masthead.pf-m-docked .pf-v6-c-toolbar {
142
- --pf-v6-c-masthead--c-toolbar--Width: fit-content;
155
+ --pf-v6-c-toolbar--m-vertical--Width: auto;
143
156
  height: var(--pf-v6-c-masthead--m-docked--c-toolbar--Height);
144
157
  }
158
+ @media (min-width: 62rem) {
159
+ .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__main {
160
+ align-items: center;
161
+ }
162
+ .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo {
163
+ display: none;
164
+ }
165
+ .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo.pf-m-compact {
166
+ display: revert;
167
+ }
168
+ }
169
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo {
170
+ display: revert;
171
+ }
172
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo.pf-m-compact {
173
+ display: none;
174
+ }
175
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__main {
176
+ align-items: flex-start;
177
+ }
178
+
145
179
  .pf-v6-c-masthead .pf-v6-c-toolbar__content-section {
146
180
  flex-wrap: nowrap;
147
181
  min-width: 0;
@@ -16,6 +16,7 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
16
16
  // * Masthead main container holds the toggle and brand
17
17
  --#{$masthead}__main--ColumnGap: var(--pf-t--global--spacer--md);
18
18
  --#{$masthead}__main--MarginInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
19
+ --#{$masthead}--m-docked__main--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
19
20
 
20
21
  // * Masthead brand
21
22
  --#{$masthead}__logo--MaxHeight: #{pf-size-prem(38px)};
@@ -155,27 +156,74 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
155
156
  --#{$masthead}--m-display-inline--breakpoint--xl--GridTemplateColumns: auto;
156
157
  --#{$masthead}__main--GridColumn: auto;
157
158
  --#{$masthead}__content--GridColumn: auto;
158
- --#{$masthead}__logo--Width: auto;
159
159
  --#{$masthead}__main--MarginInlineEnd: 0;
160
160
 
161
161
  display: flex;
162
162
  flex-direction: column;
163
- align-items: center;
164
- width: fit-content;
163
+ align-items: stretch;
165
164
  height: 100%;
166
165
  backdrop-filter: var(--#{$masthead}--m-docked--BackdropFilter);
167
166
 
167
+ .#{$masthead}__logo {
168
+ width: revert;
169
+
170
+ &.pf-m-compact {
171
+ display: none;
172
+ max-width: #{pf-size-prem(37px)};
173
+ max-height: revert;
174
+ }
175
+ }
176
+
177
+ .#{$masthead}__main {
178
+ flex-direction: column;
179
+ row-gap: var(--#{$masthead}--m-docked__main--RowGap);
180
+ align-items: flex-start;
181
+ }
182
+
168
183
  .#{$masthead}__content {
169
184
  flex-grow: 1;
170
185
  flex-direction: column;
186
+ align-items: stretch;
171
187
  align-self: revert;
172
188
  }
173
189
 
174
190
  .#{$toolbar} {
175
- --#{$masthead}--c-toolbar--Width: fit-content;
191
+ --pf-v6-c-toolbar--m-vertical--Width: auto;
176
192
 
177
193
  height: var(--#{$masthead}--m-docked--c-toolbar--Height);
178
194
  }
195
+
196
+ @media (min-width: $pf-v6-global--breakpoint--dock--expand) {
197
+ .#{$masthead}__main {
198
+ align-items: center;
199
+ }
200
+
201
+ .#{$masthead}__logo {
202
+ display: none;
203
+
204
+ // stylelint-disable max-nesting-depth
205
+ &.pf-m-compact {
206
+ display: revert;
207
+ }
208
+ // stylelint-enable
209
+ }
210
+ }
211
+
212
+ @at-root .#{$page}__dock.pf-m-text-expanded & {
213
+ .#{$masthead}__logo {
214
+ display: revert;
215
+
216
+ // stylelint-disable max-nesting-depth
217
+ &.pf-m-compact {
218
+ display: none;
219
+ }
220
+ // stylelint-enable
221
+ }
222
+
223
+ .#{$masthead}__main {
224
+ align-items: flex-start;
225
+ }
226
+ }
179
227
  }
180
228
 
181
229
  .#{$toolbar}__content-section {
@@ -4,7 +4,7 @@
4
4
  --pf-v6-c-menu-toggle--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
5
5
  --pf-v6-c-menu-toggle--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--default);
6
6
  --pf-v6-c-menu-toggle--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--default);
7
- --pf-v6-c-menu-toggle--MinWidth: calc(var(--pf-v6-c-menu-toggle--FontSize) * var(--pf-v6-c-menu-toggle--LineHeight) + var(--pf-v6-c-menu-toggle--PaddingBlockStart) + var(--pf-v6-c-menu-toggle--PaddingBlockEnd));
7
+ --pf-v6-c-menu-toggle--MinWidth: initial;
8
8
  --pf-v6-c-menu-toggle--FontSize: var(--pf-t--global--font--size--body--default);
9
9
  --pf-v6-c-menu-toggle--Color: var(--pf-t--global--text--color--regular);
10
10
  --pf-v6-c-menu-toggle--LineHeight: var(--pf-t--global--font--line-height--body);
@@ -155,7 +155,7 @@
155
155
  gap: var(--pf-v6-c-menu-toggle--Gap);
156
156
  align-items: center;
157
157
  justify-content: center;
158
- min-width: var(--pf-v6-c-menu-toggle--MinWidth);
158
+ min-width: var(--pf-v6-c-menu-toggle--MinWidth, revert);
159
159
  max-width: 100%;
160
160
  padding-block-start: var(--pf-v6-c-menu-toggle--PaddingBlockStart);
161
161
  padding-block-end: var(--pf-v6-c-menu-toggle--PaddingBlockEnd);
@@ -349,6 +349,29 @@
349
349
  .pf-v6-c-menu-toggle:is(:disabled, .pf-m-disabled) .pf-v6-c-button {
350
350
  pointer-events: none;
351
351
  }
352
+ .pf-v6-c-menu-toggle.pf-m-dock {
353
+ justify-content: flex-start;
354
+ width: 100%;
355
+ }
356
+ @media (min-width: 62rem) {
357
+ .pf-v6-c-menu-toggle.pf-m-dock {
358
+ justify-content: center;
359
+ width: auto;
360
+ }
361
+ .pf-v6-c-menu-toggle.pf-m-dock .pf-v6-c-menu-toggle__text,
362
+ .pf-v6-c-menu-toggle.pf-m-dock .pf-v6-c-menu-toggle__controls {
363
+ display: none;
364
+ }
365
+ }
366
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-menu-toggle, .pf-v6-c-menu-toggle.pf-m-text-expanded {
367
+ justify-content: flex-start;
368
+ width: 100%;
369
+ }
370
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-menu-toggle .pf-v6-c-menu-toggle__text,
371
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-menu-toggle .pf-v6-c-menu-toggle__controls, .pf-v6-c-menu-toggle.pf-m-text-expanded .pf-v6-c-menu-toggle__text,
372
+ .pf-v6-c-menu-toggle.pf-m-text-expanded .pf-v6-c-menu-toggle__controls {
373
+ display: revert;
374
+ }
352
375
 
353
376
  @property --pf-v6-c-menu-toggle--m-danger--TranslateX {
354
377
  syntax: "<length>";
@@ -496,6 +519,7 @@
496
519
 
497
520
  .pf-v6-c-menu-toggle__icon {
498
521
  flex-shrink: 0;
522
+ min-width: 1lh;
499
523
  transition-delay: var(--pf-v6-c-menu-toggle__icon--TransitionDelay);
500
524
  transition-duration: var(--pf-v6-c-menu-toggle__icon--TransitionDuration);
501
525
  transition-property: var(--pf-v6-c-menu-toggle__icon--TransitionProperty);
@@ -6,7 +6,7 @@
6
6
  --#{$menu-toggle}--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
7
7
  --#{$menu-toggle}--PaddingBlockEnd: var(--pf-t--global--spacer--control--vertical--default);
8
8
  --#{$menu-toggle}--PaddingInlineStart: var(--pf-t--global--spacer--control--horizontal--default);
9
- --#{$menu-toggle}--MinWidth: calc(var(--#{$menu-toggle}--FontSize) * var(--#{$menu-toggle}--LineHeight) + var(--#{$menu-toggle}--PaddingBlockStart) + var(--#{$menu-toggle}--PaddingBlockEnd));
9
+ --#{$menu-toggle}--MinWidth: initial;
10
10
  --#{$menu-toggle}--FontSize: var(--pf-t--global--font--size--body--default);
11
11
  --#{$menu-toggle}--Color: var(--pf-t--global--text--color--regular);
12
12
  --#{$menu-toggle}--LineHeight: var(--pf-t--global--font--line-height--body);
@@ -201,7 +201,7 @@
201
201
  gap: var(--#{$menu-toggle}--Gap);
202
202
  align-items: center;
203
203
  justify-content: center;
204
- min-width: var(--#{$menu-toggle}--MinWidth);
204
+ min-width: var(--#{$menu-toggle}--MinWidth, revert);
205
205
  max-width: 100%;
206
206
  padding-block-start: var(--#{$menu-toggle}--PaddingBlockStart);
207
207
  padding-block-end: var(--#{$menu-toggle}--PaddingBlockEnd);
@@ -426,6 +426,33 @@
426
426
  pointer-events: none;
427
427
  }
428
428
  }
429
+
430
+ &.pf-m-dock {
431
+ justify-content: flex-start;
432
+ width: 100%;
433
+
434
+ @media (min-width: $pf-v6-global--breakpoint--dock--expand) {
435
+ justify-content: center;
436
+ width: auto;
437
+
438
+ .#{$menu-toggle}__text,
439
+ .#{$menu-toggle}__controls {
440
+ display: none;
441
+ }
442
+ }
443
+ }
444
+
445
+ @at-root .#{$page}__dock.pf-m-text-expanded &,
446
+ &.pf-m-text-expanded {
447
+ justify-content: flex-start;
448
+ width: 100%;
449
+
450
+ .#{$menu-toggle}__text,
451
+ .#{$menu-toggle}__controls {
452
+ display: revert;
453
+ }
454
+ }
455
+
429
456
  }
430
457
 
431
458
  // Register the property type for the custom property to be animatable
@@ -615,6 +642,7 @@
615
642
 
616
643
  .#{$menu-toggle}__icon {
617
644
  flex-shrink: 0;
645
+ min-width: 1lh;
618
646
  transition-delay: var(--#{$menu-toggle}__icon--TransitionDelay);
619
647
  transition-duration: var(--#{$menu-toggle}__icon--TransitionDuration);
620
648
  transition-property: var(--#{$menu-toggle}__icon--TransitionProperty);
@@ -158,17 +158,23 @@
158
158
  --pf-v6-c-nav__link--PaddingInlineEnd: var(--pf-v6-c-nav--m-docked__link--PaddingInlineEnd);
159
159
  --pf-v6-c-nav__link--hover--BackgroundColor: var(--pf-v6-c-nav--m-docked__link--hover--BackgroundColor);
160
160
  --pf-v6-c-nav__link--m-current--BackgroundColor: var(--pf-v6-c-nav--m-docked__link--m-current--BackgroundColor);
161
- width: fit-content;
161
+ width: 100%;
162
162
  }
163
- .pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-icon {
164
- position: relative;
165
- align-self: center;
166
- min-width: 1lh;
167
- text-align: center;
163
+ @media (min-width: 62rem) {
164
+ .pf-v6-c-nav.pf-m-docked {
165
+ width: fit-content;
166
+ }
167
+ .pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-text {
168
+ display: none;
169
+ }
168
170
  }
169
- .pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-text {
170
- display: none;
171
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-nav.pf-m-docked, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded {
172
+ width: 100%;
173
+ }
174
+ .pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-text, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded .pf-v6-c-nav__link-text {
175
+ display: revert;
171
176
  }
177
+
172
178
  .pf-v6-c-nav .pf-v6-c-menu {
173
179
  --pf-v6-c-menu--MinWidth: 100%;
174
180
  }
@@ -318,7 +324,9 @@
318
324
  }
319
325
 
320
326
  .pf-v6-c-nav__link-icon {
327
+ min-width: 1lh;
321
328
  color: var(--pf-v6-c-nav__link-icon--Color);
329
+ text-align: center;
322
330
  }
323
331
 
324
332
  .pf-v6-c-nav__link-text {
@@ -198,17 +198,23 @@
198
198
  --#{$nav}__link--hover--BackgroundColor: var(--#{$nav}--m-docked__link--hover--BackgroundColor);
199
199
  --#{$nav}__link--m-current--BackgroundColor: var(--#{$nav}--m-docked__link--m-current--BackgroundColor);
200
200
 
201
- width: fit-content;
201
+ width: 100%;
202
+
203
+ @media (min-width: #{$pf-v6-global--breakpoint--dock--expand}) {
204
+ width: fit-content;
202
205
 
203
- .#{$nav}__link-icon {
204
- position: relative;
205
- align-self: center;
206
- min-width: 1lh;
207
- text-align: center;
206
+ .#{$nav}__link-text {
207
+ display: none;
208
+ }
208
209
  }
209
210
 
210
- .#{$nav}__link-text {
211
- display: none;
211
+ @at-root .#{$page}__dock.pf-m-text-expanded &,
212
+ &.pf-m-text-expanded {
213
+ width: 100%;
214
+
215
+ .#{$nav}__link-text {
216
+ display: revert;
217
+ }
212
218
  }
213
219
  }
214
220
 
@@ -393,7 +399,9 @@
393
399
 
394
400
  // - Nav link icon
395
401
  .#{$nav}__link-icon {
402
+ min-width: 1lh;
396
403
  color: var(--#{$nav}__link-icon--Color);
404
+ text-align: center;
397
405
  }
398
406
 
399
407
  // - Nav link text
@@ -1,8 +1,20 @@
1
1
  .pf-v6-c-page {
2
2
  --pf-v6-c-page--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
3
3
  --pf-v6-c-page--inset: var(--pf-t--global--spacer--inset--page-chrome);
4
+ --pf-v6-c-page--m-dock__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg) * 2);
5
+ --pf-v6-c-page--m-dock__main-container--MarginBlockStart: 0;
6
+ --pf-v6-c-page--m-dock__main-container--xl--MarginBlockStart: var(--pf-t--global--spacer--lg);
7
+ --pf-v6-c-page--m-dock--ColumnGap: var(--pf-t--global--spacer--inset--page-chrome);
8
+ --pf-v6-c-page--m-dock--c-masthead--m-display-inline--GridTemplateColumns: min-content 1fr;
4
9
  --pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
10
+ --pf-v6-c-page__dock--Width: 15.625rem;
11
+ --pf-v6-c-page__dock--desktop--Width: auto;
5
12
  --pf-v6-c-page__dock--ZIndex: var(--pf-t--global--z-index--md);
13
+ --pf-v6-c-page__dock--BorderInlineEndWidth: var(--pf-t--global--border--width--regular);
14
+ --pf-v6-c-page__dock--BorderInlineEndColor: var(--pf-t--global--border--color--default);
15
+ --pf-v6-c-page__dock--TransitionDuration--slide: 0s;
16
+ --pf-v6-c-page__dock--m-expanded--TransitionDuration--slide: 0s;
17
+ --pf-v6-c-page__dock--TransitionTimingFunction--slide: var(--pf-t--global--motion--timing-function--decelerate);
6
18
  --pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
7
19
  --pf-v6-c-page__sidebar--Width--base: 18.125rem;
8
20
  --pf-v6-c-page__sidebar--Width: var(--pf-v6-c-page__sidebar--Width--base);
@@ -31,6 +43,8 @@
31
43
  --pf-v6-c-page__sidebar--Opacity: 1;
32
44
  --pf-v6-c-page__sidebar--TransitionProperty: transform;
33
45
  --pf-v6-c-page__sidebar--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--default);
46
+ --pf-v6-c-page__dock--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-out--short);
47
+ --pf-v6-c-page__dock--m-expanded--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--default);
34
48
  }
35
49
  }
36
50
  .pf-v6-c-page {
@@ -139,9 +153,6 @@
139
153
  --pf-v6-c-page__main-wizard--BorderBlockStartWidth: var(--pf-t--global--border--width--action--default);
140
154
  --pf-v6-c-page__drawer--c-drawer--BorderBlockStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
141
155
  --pf-v6-c-page__drawer--c-drawer--BorderBlockStartColor: var(--pf-t--global--border--color--high-contrast);
142
- --pf-v6-c-page--m-dock__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg) * 2);
143
- --pf-v6-c-page--m-dock__main-container--MarginBlockStart: var(--pf-t--global--spacer--lg);
144
- --pf-v6-c-page--m-dock--ColumnGap: var(--pf-t--global--spacer--inset--page-chrome);
145
156
  }
146
157
 
147
158
  .pf-v6-c-page {
@@ -165,11 +176,22 @@
165
176
  --pf-v6-c-page--masthead--main-container--GridArea: main;
166
177
  --pf-v6-c-page__main-container--MaxHeight: var(--pf-v6-c-page--m-dock__main-container--MaxHeight);
167
178
  --pf-v6-c-page__main-container--MarginBlockStart: var(--pf-v6-c-page--m-dock__main-container--MarginBlockStart);
168
- --pf-v6-c-page__main-container--MarginInlineStart: 0;
169
- grid-template-areas: "dock main";
170
- grid-template-rows: auto;
179
+ grid-template-areas: "header header" "dock main";
180
+ grid-template-rows: max-content 1fr;
171
181
  grid-template-columns: auto 1fr;
172
- column-gap: var(--pf-v6-c-page--m-dock--ColumnGap);
182
+ }
183
+ @media (min-width: 62rem) {
184
+ .pf-v6-c-page.pf-m-dock {
185
+ --pf-v6-c-page__main-container--MarginBlockStart: var(--pf-v6-c-page--m-dock__main-container--xl--MarginBlockStart);
186
+ --pf-v6-c-page__main-container--MarginInlineStart: 0;
187
+ grid-template-areas: "dock main";
188
+ grid-template-rows: auto;
189
+ grid-template-columns: auto 1fr;
190
+ column-gap: var(--pf-v6-c-page--m-dock--ColumnGap);
191
+ }
192
+ .pf-v6-c-page.pf-m-dock > .pf-v6-c-masthead {
193
+ display: none;
194
+ }
173
195
  }
174
196
  .pf-v6-c-page > .pf-v6-c-masthead .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger:is(:hover, :focus-visible) {
175
197
  --pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--collapse--path);
@@ -226,10 +248,40 @@
226
248
  z-index: var(--pf-v6-c-page--c-masthead--ZIndex);
227
249
  grid-area: header;
228
250
  }
251
+ .pf-v6-c-page.pf-m-dock > .pf-v6-c-masthead {
252
+ --pf-v6-c-masthead--m-display-inline--GridTemplateColumns: var(--pf-v6-c-page--m-dock--c-masthead--m-display-inline--GridTemplateColumns);
253
+ }
229
254
 
230
255
  .pf-v6-c-page__dock {
256
+ position: fixed;
257
+ inset-block-start: 0;
258
+ inset-block-end: 0;
259
+ inset-inline-start: 0;
231
260
  z-index: var(--pf-v6-c-page__dock--ZIndex);
232
261
  grid-area: dock;
262
+ width: var(--pf-v6-c-page__dock--Width);
263
+ transition: translate var(--pf-v6-c-page__dock--TransitionDuration--slide) var(--pf-v6-c-page__dock--TransitionTimingFunction--slide);
264
+ translate: -100% 0;
265
+ }
266
+ .pf-v6-c-page__dock.pf-m-expanded {
267
+ --pf-v6-c-page__dock--TransitionDuration--slide: var(--pf-v6-c-page__dock--m-expanded--TransitionDuration--slide);
268
+ border-inline-end: var(--pf-v6-c-page__dock--BorderInlineEndWidth) solid var(--pf-v6-c-page__dock--BorderInlineEndColor);
269
+ translate: 0;
270
+ }
271
+ @media (min-width: 62rem) {
272
+ .pf-v6-c-page__dock {
273
+ --pf-v6-c-page__dock--BorderInlineEndWidth: 0;
274
+ position: revert;
275
+ inset: revert;
276
+ width: auto;
277
+ translate: 0;
278
+ }
279
+ }
280
+ .pf-v6-c-page__dock .pf-v6-c-toolbar.pf-m-vertical :is(.pf-v6-c-toolbar__content-section, .pf-v6-c-toolbar__group, .pf-v6-c-toolbar__item) {
281
+ align-items: stretch;
282
+ }
283
+ .pf-v6-c-page__dock.pf-m-text-expanded {
284
+ width: var(--pf-v6-c-page__dock--Width);
233
285
  }
234
286
 
235
287
  .pf-v6-c-page__sidebar {