@patternfly/patternfly 6.5.0-prerelease.70 → 6.5.0-prerelease.72

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.
@@ -3688,17 +3688,6 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
3688
3688
  --pf-v6-c-compass__main-header-content--RowGap: var(--pf-t--global--spacer--sm);
3689
3689
  --pf-v6-c-compass__main-header-content--ColumnGap: var(--pf-t--global--spacer--md);
3690
3690
  --pf-v6-c-compass__main-footer--MarginBlockStart: calc(var(--pf-v6-c-compass__main--RowGap) * -1 + var(--pf-v6-c-compass--Gap));
3691
- --pf-v6-c-compass__panel--m-pill--BorderRadius: var(--pf-t--global--border--radius--pill);
3692
- --pf-v6-c-compass__panel--PaddingBlockStart: var(--pf-t--global--spacer--inset--page-chrome);
3693
- --pf-v6-c-compass__panel--PaddingBlockEnd: var(--pf-t--global--spacer--inset--page-chrome);
3694
- --pf-v6-c-compass__panel--PaddingInlineStart: var(--pf-t--global--spacer--inset--page-chrome);
3695
- --pf-v6-c-compass__panel--PaddingInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
3696
- --pf-v6-c-compass__panel--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default, var(--pf-t--global--background--color--primary--default));
3697
- --pf-v6-c-compass__panel--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary, revert);
3698
- --pf-v6-c-compass__panel--BorderColor: var(--pf-t--global--border--color--glass--default, transparent);
3699
- --pf-v6-c-compass__panel--BorderRadius: var(--pf-t--global--border--radius--glass--default, var(--pf-t--global--border--radius--medium));
3700
- --pf-v6-c-compass__panel--BorderWidth: var(--pf-t--global--border--width--glass--default, 0);
3701
- --pf-v6-c-compass__panel--BoxShadow: var(--pf-t--global--box-shadow--glass--default, none);
3702
3691
  --pf-v6-c-compass__message-bar--Width: 450px;
3703
3692
  --pf-v6-c-compass__message-bar--MinWidth: 300px;
3704
3693
  --pf-v6-c-compass__message-bar--MaxWidth: 600px;
@@ -3761,9 +3750,6 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
3761
3750
  :root:where(.pf-v6-theme-dark) .pf-v6-c-compass {
3762
3751
  --pf-v6-c-compass--BackgroundImage: var(--pf-v6-c-compass--BackgroundImage--dark);
3763
3752
  }
3764
- .pf-v6-c-compass__panel.pf-m-no-glass, .pf-v6-c-compass.pf-m-no-glass {
3765
- --pf-v6-c-compass__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3766
- }
3767
3753
 
3768
3754
  .pf-v6-c-compass__header,
3769
3755
  .pf-v6-c-compass__sidebar:is(.pf-m-start, .pf-m-end),
@@ -3817,11 +3803,13 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
3817
3803
  margin-block-start: calc(var(--pf-v6-c-menu-toggle--PaddingBlockStart) * -1);
3818
3804
  }
3819
3805
 
3806
+ .pf-v6-c-compass__nav .pf-v6-c-panel {
3807
+ --pf-v6-c-panel__main-body--PaddingBlockStart: var(--pf-v6-c-compass__nav--PaddingBlockStart);
3808
+ --pf-v6-c-panel__main-body--PaddingBlockEnd: var(--pf-v6-c-compass__nav--PaddingBlockEnd);
3809
+ --pf-v6-c-panel__main-body--PaddingInlineStart: var(--pf-v6-c-compass__nav--PaddingInlineStart);
3810
+ --pf-v6-c-panel__main-body--PaddingInlineEnd: var(--pf-v6-c-compass__nav--PaddingInlineEnd);
3811
+ }
3820
3812
  .pf-v6-c-compass__nav {
3821
- --pf-v6-c-compass__panel--PaddingBlockStart: var(--pf-v6-c-compass__nav--PaddingBlockStart);
3822
- --pf-v6-c-compass__panel--PaddingBlockEnd: var(--pf-v6-c-compass__nav--PaddingBlockEnd);
3823
- --pf-v6-c-compass__panel--PaddingInlineStart: var(--pf-v6-c-compass__nav--PaddingInlineStart);
3824
- --pf-v6-c-compass__panel--PaddingInlineEnd: var(--pf-v6-c-compass__nav--PaddingInlineEnd);
3825
3813
  display: flex;
3826
3814
  flex-direction: column;
3827
3815
  gap: var(--pf-v6-c-compass__nav--RowGap);
@@ -3839,11 +3827,13 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
3839
3827
  padding-inline-end: var(--pf-v6-c-compass__nav-main--PaddingInlineEnd);
3840
3828
  }
3841
3829
 
3830
+ .pf-v6-c-compass__sidebar .pf-v6-c-panel {
3831
+ --pf-v6-c-panel__main-body--PaddingBlockStart: var(--pf-v6-c-compass__sidebar--PaddingBlockStart);
3832
+ --pf-v6-c-panel__main-body--PaddingBlockEnd: var(--pf-v6-c-compass__sidebar--PaddingBlockEnd);
3833
+ --pf-v6-c-panel__main-body--PaddingInlineStart: var(--pf-v6-c-compass__sidebar--PaddingInlineStart);
3834
+ --pf-v6-c-panel__main-body--PaddingInlineEnd: var(--pf-v6-c-compass__sidebar--PaddingInlineEnd);
3835
+ }
3842
3836
  .pf-v6-c-compass__sidebar {
3843
- --pf-v6-c-compass__panel--PaddingBlockStart: var(--pf-v6-c-compass__sidebar--PaddingBlockStart);
3844
- --pf-v6-c-compass__panel--PaddingBlockEnd: var(--pf-v6-c-compass__sidebar--PaddingBlockEnd);
3845
- --pf-v6-c-compass__panel--PaddingInlineStart: var(--pf-v6-c-compass__sidebar--PaddingInlineStart);
3846
- --pf-v6-c-compass__panel--PaddingInlineEnd: var(--pf-v6-c-compass__sidebar--PaddingInlineEnd);
3847
3837
  display: flex;
3848
3838
  width: 0;
3849
3839
  }
@@ -3933,60 +3923,6 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
3933
3923
  max-width: var(--pf-v6-c-compass__message-bar--MaxWidth);
3934
3924
  }
3935
3925
 
3936
- .pf-v6-c-compass__panel {
3937
- padding-block-start: var(--pf-v6-c-compass__panel--PaddingBlockStart);
3938
- padding-block-end: var(--pf-v6-c-compass__panel--PaddingBlockEnd);
3939
- padding-inline-start: var(--pf-v6-c-compass__panel--PaddingInlineStart);
3940
- padding-inline-end: var(--pf-v6-c-compass__panel--PaddingInlineEnd);
3941
- background-color: var(--pf-v6-c-compass__panel--BackgroundColor);
3942
- backdrop-filter: var(--pf-v6-c-compass__panel--BackdropFilter);
3943
- border: var(--pf-v6-c-compass__panel--BorderWidth) solid var(--pf-v6-c-compass__panel--BorderColor);
3944
- border-radius: var(--pf-v6-c-compass__panel--BorderRadius);
3945
- box-shadow: var(--pf-v6-c-compass__panel--BoxShadow);
3946
- }
3947
- .pf-v6-c-compass__panel.pf-m-no-border {
3948
- border-width: 0;
3949
- }
3950
- .pf-v6-c-compass__panel.pf-m-no-padding {
3951
- padding: 0;
3952
- }
3953
- .pf-v6-c-compass__panel.pf-m-full-height {
3954
- height: 100%;
3955
- }
3956
- .pf-v6-c-compass__panel.pf-m-pill {
3957
- border-radius: var(--pf-v6-c-compass__panel--m-pill--BorderRadius);
3958
- }
3959
- .pf-v6-c-compass__panel.pf-m-scrollable {
3960
- overflow: auto;
3961
- }
3962
-
3963
- /* stylelint-disable */
3964
- @media (max-width: 1200px) {
3965
- .pf-v6-c-compass:not(.pf-m-no-screen-warning) {
3966
- position: relative;
3967
- display: grid;
3968
- grid-template-columns: auto;
3969
- grid-template-rows: auto;
3970
- place-content: center;
3971
- gap: 0;
3972
- }
3973
- .pf-v6-c-compass:not(.pf-m-no-screen-warning)::after {
3974
- padding: 1em;
3975
- border-radius: var(--pf-t--global--border--radius--large);
3976
- background: var(--pf-t--global--background--color--primary--default);
3977
- content: "This page is optimized for wide screens.\a\aPlease view on a larger display and/or make your browser window wider.";
3978
- width: 80%;
3979
- width: 300px;
3980
- border: 1px solid var(--pf-t--global--border--color--default);
3981
- box-shadow: var(--pf-t--global--box-shadow--md);
3982
- white-space: pre-wrap;
3983
- text-align: center;
3984
- }
3985
- .pf-v6-c-compass:not(.pf-m-no-screen-warning) * {
3986
- display: none;
3987
- }
3988
- }
3989
- /* stylelint-enable */
3990
3926
  :root {
3991
3927
  --pf-v6-c-content--MarginBlockEnd: var(--pf-t--global--spacer--md);
3992
3928
  --pf-v6-c-content--LineHeight: var(--pf-t--global--font--line-height--body);
@@ -6593,7 +6529,7 @@ ul) {
6593
6529
  .pf-v6-c-drawer__section.pf-m-secondary {
6594
6530
  --pf-v6-c-drawer__section--BackgroundColor: var(--pf-v6-c-drawer__section--m-secondary--BackgroundColor);
6595
6531
  }
6596
- .pf-v6-c-drawer__section.pf-m-no-background {
6532
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-drawer__section.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-drawer__section:not(.pf-m-no-plain-on-glass), .pf-v6-c-drawer__section.pf-m-no-background {
6597
6533
  --pf-v6-c-drawer__section--BackgroundColor: transparent;
6598
6534
  }
6599
6535
 
@@ -14923,25 +14859,27 @@ ul.pf-v6-c-list {
14923
14859
  --pf-v6-c-panel--MaxWidth: none;
14924
14860
  --pf-v6-c-panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
14925
14861
  --pf-v6-c-panel--BoxShadow: none;
14926
- --pf-v6-c-panel--BorderRadius: var(--pf-t--global--border--radius--small);
14862
+ --pf-v6-c-panel--BorderRadius: var(--pf-t--global--border--radius--medium);
14927
14863
  --pf-v6-c-panel--before--BorderWidth: 0;
14928
14864
  --pf-v6-c-panel--before--BorderColor: var(--pf-t--global--border--color--high-contrast);
14929
14865
  --pf-v6-c-panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
14930
14866
  --pf-v6-c-panel--m-secondary--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
14931
14867
  --pf-v6-c-panel--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--box--default);
14932
14868
  --pf-v6-c-panel--m-bordered--before--BorderColor: var(--pf-t--global--border--color--default);
14869
+ --pf-v6-c-panel--m-no-border--before--BorderWidth: 0;
14933
14870
  --pf-v6-c-panel--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
14934
14871
  --pf-v6-c-panel--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
14935
14872
  --pf-v6-c-panel--m-raised--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
14873
+ --pf-v6-c-panel--m-raised--BorderRadius: var(--pf-t--global--border--radius--small);
14936
14874
  --pf-v6-c-panel__header--PaddingBlockStart: var(--pf-t--global--spacer--md);
14937
14875
  --pf-v6-c-panel__header--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
14938
14876
  --pf-v6-c-panel__header--PaddingBlockEnd: var(--pf-t--global--spacer--md);
14939
14877
  --pf-v6-c-panel__header--PaddingInlineStart: var(--pf-t--global--spacer--lg);
14940
14878
  --pf-v6-c-panel__main--MaxHeight: none;
14941
14879
  --pf-v6-c-panel__main--Overflow: visible;
14942
- --pf-v6-c-panel__main-body--PaddingBlockStart: var(--pf-t--global--spacer--md);
14880
+ --pf-v6-c-panel__main-body--PaddingBlockStart: var(--pf-t--global--spacer--lg);
14943
14881
  --pf-v6-c-panel__main-body--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
14944
- --pf-v6-c-panel__main-body--PaddingBlockEnd: var(--pf-t--global--spacer--md);
14882
+ --pf-v6-c-panel__main-body--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
14945
14883
  --pf-v6-c-panel__main-body--PaddingInlineStart: var(--pf-t--global--spacer--lg);
14946
14884
  --pf-v6-c-panel__footer--PaddingBlockStart: var(--pf-t--global--spacer--sm);
14947
14885
  --pf-v6-c-panel__footer--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -14950,6 +14888,7 @@ ul.pf-v6-c-list {
14950
14888
  --pf-v6-c-panel__footer--BoxShadow: none;
14951
14889
  --pf-v6-c-panel__footer--BorderColor: transparent;
14952
14890
  --pf-v6-c-panel__footer--BorderWidth: 0;
14891
+ --pf-v6-c-panel--m-pill--BorderRadius: var(--pf-t--global--border--radius--pill);
14953
14892
  --pf-v6-c-panel--m-scrollable__main--MaxHeight: 18.75rem;
14954
14893
  --pf-v6-c-panel--m-scrollable__main--Overflow: auto;
14955
14894
  --pf-v6-c-panel--m-scrollable__footer--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
@@ -14994,6 +14933,7 @@ ul.pf-v6-c-list {
14994
14933
  --pf-v6-c-panel--BackgroundColor: var(--pf-v6-c-panel--m-raised--BackgroundColor);
14995
14934
  --pf-v6-c-panel--BoxShadow: var(--pf-v6-c-panel--m-raised--BoxShadow);
14996
14935
  --pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-raised--before--BorderWidth);
14936
+ --pf-v6-c-panel--BorderRadius: var(--pf-v6-c-panel--m-raised--BorderRadius);
14997
14937
  }
14998
14938
  .pf-v6-c-panel.pf-m-scrollable {
14999
14939
  --pf-v6-c-panel__main--MaxHeight: var(--pf-v6-c-panel--m-scrollable__main--MaxHeight);
@@ -15004,7 +14944,11 @@ ul.pf-v6-c-list {
15004
14944
  --pf-v6-c-panel__footer--BorderColor: var(--pf-v6-c-panel--m-scrollable__footer--BorderColor);
15005
14945
  --pf-v6-c-panel__footer--BorderWidth: var(--pf-v6-c-panel--m-scrollable__footer--BorderWidth);
15006
14946
  }
15007
- .pf-v6-c-panel.pf-m-glass {
14947
+ .pf-v6-c-panel.pf-m-scrollable-auto-height {
14948
+ --pf-v6-c-panel__main--MaxHeight: 100%;
14949
+ max-height: 100%;
14950
+ }
14951
+ :where(.pf-v6-theme-glass) .pf-v6-c-panel.pf-m-glass {
15008
14952
  --pf-v6-c-panel--BackgroundColor: var(--pf-v6-c-panel--m-glass--BackgroundColor);
15009
14953
  --pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-glass--before--BorderWidth);
15010
14954
  --pf-v6-c-panel--before--BorderColor: var(--pf-v6-c-panel--m-glass--before--BorderColor);
@@ -15012,6 +14956,21 @@ ul.pf-v6-c-list {
15012
14956
  --pf-v6-c-panel--BorderRadius: var(--pf-v6-c-panel--m-glass--BorderRadius);
15013
14957
  backdrop-filter: var(--pf-v6-c-panel--m-glass--BackdropFilter);
15014
14958
  }
14959
+ .pf-v6-c-panel.pf-m-no-border {
14960
+ --pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-no-border--before--BorderWidth);
14961
+ }
14962
+ .pf-v6-c-panel.pf-m-pill {
14963
+ --pf-v6-c-panel--BorderRadius: var(--pf-v6-c-panel--m-pill--BorderRadius);
14964
+ }
14965
+ .pf-v6-c-panel.pf-m-full-height {
14966
+ height: 100%;
14967
+ }
14968
+
14969
+ .pf-v6-c-panel,
14970
+ .pf-v6-c-panel__main {
14971
+ display: flex;
14972
+ flex-direction: column;
14973
+ }
15015
14974
 
15016
14975
  .pf-v6-c-panel__header {
15017
14976
  padding-block-start: var(--pf-v6-c-panel__header--PaddingBlockStart);
@@ -15021,6 +14980,7 @@ ul.pf-v6-c-list {
15021
14980
  }
15022
14981
 
15023
14982
  .pf-v6-c-panel__main {
14983
+ min-height: 0;
15024
14984
  max-height: var(--pf-v6-c-panel__main--MaxHeight);
15025
14985
  overflow: var(--pf-v6-c-panel__main--Overflow);
15026
14986
  }
@@ -2,12 +2,12 @@
2
2
  height: 600px;
3
3
  }
4
4
 
5
- #ws-core-a-compass-default [class*="pf-v6-c-compass"],
5
+ #ws-core-a-compass-basic [class*="pf-v6-c-compass"],
6
6
  #ws-core-a-compass-docked [class*="pf-v6-c-compass"] {
7
7
  position: relative;
8
8
  }
9
9
 
10
- #ws-core-a-compass-default [class*="pf-v6-c-compass"]::after,
10
+ #ws-core-a-compass-basic [class*="pf-v6-c-compass"]::after,
11
11
  #ws-core-a-compass-docked [class*="pf-v6-c-compass"]::after {
12
12
  position: absolute;
13
13
  inset: 0;
@@ -24,14 +24,12 @@ In a basic Compass layout, the page structure is defined by the order of element
24
24
  <div class="pf-v6-c-compass__logo">logo</div>
25
25
 
26
26
  <div class="pf-v6-c-compass__nav">
27
- <div class="pf-v6-c-compass__panel">
28
- <div class="pf-v6-c-compass__nav-content">
29
- <div class="pf-v6-c-compass__nav-home">home</div>
27
+ <div class="pf-v6-c-compass__nav-content">
28
+ <div class="pf-v6-c-compass__nav-home">home</div>
30
29
 
31
- <div class="pf-v6-c-compass__nav-main">main</div>
30
+ <div class="pf-v6-c-compass__nav-main">main</div>
32
31
 
33
- <div class="pf-v6-c-compass__nav-search">search</div>
34
- </div>
32
+ <div class="pf-v6-c-compass__nav-search">search</div>
35
33
  </div>
36
34
  </div>
37
35
  <div class="pf-v6-c-compass__profile">profile</div>
@@ -39,13 +37,9 @@ In a basic Compass layout, the page structure is defined by the order of element
39
37
  <div class="pf-v6-c-compass__sidebar pf-m-expanded pf-m-start">sidebar (start)</div>
40
38
 
41
39
  <div class="pf-v6-c-compass__main">
42
- <div class="pf-v6-c-compass__hero">
43
- <div class="pf-v6-c-hero">hero</div>
44
- </div>
40
+ <div class="pf-v6-c-compass__hero">hero</div>
45
41
  <div class="pf-v6-c-compass__main-header">
46
- <div class="pf-v6-c-compass__panel">
47
- <div class="pf-v6-c-compass__main-header-content">main header</div>
48
- </div>
42
+ <div class="pf-v6-c-compass__main-header-content">main header</div>
49
43
  </div>
50
44
  <div class="pf-v6-c-compass__content">content</div>
51
45
 
@@ -67,13 +61,9 @@ In a basic Compass layout, the page structure is defined by the order of element
67
61
  <div class="pf-v6-c-compass__dock">dock</div>
68
62
  <div class="pf-v6-c-compass__main">
69
63
  <div class="pf-v6-c-compass__main-header">
70
- <div class="pf-v6-c-compass__panel">
71
- <div class="pf-v6-c-compass__main-header-content">main header</div>
72
- </div>
73
- </div>
74
- <div class="pf-v6-c-compass__content">
75
- <div class="pf-v6-c-compass__panel pf-m-scrollable">content</div>
64
+ <div class="pf-v6-c-compass__main-header-content">main header</div>
76
65
  </div>
66
+ <div class="pf-v6-c-compass__content">content</div>
77
67
  </div>
78
68
  </div>
79
69
 
@@ -93,12 +83,11 @@ In a basic Compass layout, the page structure is defined by the order of element
93
83
  | `.pf-v6-c-compass__sidebar` | `<div>` | Initiates a Compass sidebar. **Required** |
94
84
  | `.pf-v6-c-compass__main` | `<div>` | Initiates the Compass main wrapper. **Required** |
95
85
  | `.pf-v6-c-compass__main-header` | `<div>` | Initiates the Compass main header. |
96
- | `.pf-v6-c-compass__main-header-content` | `<div>` | Initiates the Compass main header content. This should be passed into a `.pf-v6-c-compass__panel` component. |
86
+ | `.pf-v6-c-compass__main-header-content` | `<div>` | Initiates the Compass main header content. This should be passed into a glass panel component. |
97
87
  | `.pf-v6-c-compass__main-header-title` | `<div>` | Initiates a title within the Compass main header content. |
98
88
  | `.pf-v6-c-compass__main-header-toolbar` | `<div>` | Initiates a toolbar of actions within the Compass main header content. |
99
89
  | `.pf-v6-c-compass__content` | `<div>` | Initiates the Compass content. **Required** |
100
90
  | `.pf-v6-c-compass__main-footer` | `<div>` | Initiates the Compass main footer. **Required** |
101
- | `.pf-v6-c-compass__panel` | `<div>` | Initiates a Compass panel. |
102
91
  | `.pf-v6-c-compass__nav` | `<div>` | Initiates a Compass container for site navigation. |
103
92
  | `.pf-v6-c-compass__nav-content` | `<div>` | Initiates a Compass container for navigation content. |
104
93
  | `.pf-v6-c-compass__nav-home` | `<div>` | Initiates a container for Compass home button. |
@@ -107,13 +96,7 @@ In a basic Compass layout, the page structure is defined by the order of element
107
96
  | `.pf-v6-c-compass__footer` | `<div>` | Initiates the Compass footer. |
108
97
  | `.pf-v6-c-compass__message-bar` | `<div>` | Initiates the Compass message bar. |
109
98
  | `.pf-m-docked` | `.pf-v6-c-compass` | Modifies for dock layout. |
110
- | `.pf-m-no-glass` | `.pf-v6-c-compass`, `.pf-v6-c-compass__panel` | Modifies all elements or individual panels to remove the glass styles. |
111
99
  | `.pf-m-no-screen-warning` | `.pf-v6-c-compass` | Disables the screen warning that shows on smaller viewports. |
112
100
  | `.pf-m-start` | `.pf-v6-c-compass__sidebar` | Modifies a Compass sidebar for start styles. **Required** |
113
101
  | `.pf-m-end` | `.pf-v6-c-compass__sidebar` | Modifies a Compass sidebar for end styles. **Required** |
114
- | `.pf-m-no-border` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to remove the border. |
115
- | `.pf-m-no-padding` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to remove the padding. |
116
- | `.pf-m-full-height` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to be full height. |
117
- | `.pf-m-pill` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to have a pill-shaped border radius. |
118
- | `.pf-m-scrollable` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to scroll its overflow. |
119
102
  | `.pf-m-expanded` | `.pf-v6-c-compass__header`, `.pf-v6-c-compass__sidebar`, `.pf-v6-c-compass__main-footer`, `.pf-v6-c-compass__footer` | Modifies a Compass section for expanded styles. |
@@ -1135,8 +1135,8 @@ cssPrefix: pf-v6-c-drawer
1135
1135
  | `.pf-m-padding` | `.pf-v6-c-drawer__body` | Modifies the element to add padding. |
1136
1136
  | `.pf-m-no-padding` | `.pf-v6-c-drawer__body` | Modifies the element to remove padding. |
1137
1137
  | `.pf-m-no-background` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__panel` | Modifies the drawer element background color to transparent. |
1138
- | `.pf-m-plain` | `.pf-v6-c-drawer__panel.pf-m-inline`, `.pf-v6-c-drawer__panel.pf-m-static` | Applies plain styling to the drawer panel. |
1139
- | `.pf-m-no-plain-on-glass` | `.pf-v6-c-drawer__panel.pf-m-inline`, `.pf-v6-c-drawer__panel.pf-m-static` | Prevents the drawer panel from automatically applying plain styling when glass theme is enabled. |
1138
+ | `.pf-m-plain` | `.pf-v6-c-drawer__panel.pf-m-inline`, `.pf-v6-c-drawer__panel.pf-m-static`, `.pf-v6-c-drawer__section` | Applies plain styling. |
1139
+ | `.pf-m-no-plain-on-glass` | `.pf-v6-c-drawer__panel.pf-m-inline`, `.pf-v6-c-drawer__panel.pf-m-static`, `.pf-v6-c-drawer__section` | Prevents the elements from automatically applying plain styling when glass theme is enabled. |
1140
1140
  | `.pf-m-primary` | `.pf-v6-c-drawer__content` | Modifies the drawer content to use the primary background color. |
1141
1141
  | `.pf-m-secondary` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__content`, `.pf-v6-c-drawer__panel` | Modifies the drawer element to use the secondary background color. |
1142
1142
  | `.pf-m-width-{25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel width at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
@@ -0,0 +1,3 @@
1
+ #ws-core-c-panel-scrollable-with-auto-height .ws-preview-html {
2
+ height: 450px;
3
+ }
@@ -2,7 +2,9 @@
2
2
  id: 'Panel'
3
3
  section: components
4
4
  cssPrefix: pf-v6-c-panel
5
- ---## Examples
5
+ ---import './Panel.css'
6
+
7
+ ## Examples
6
8
 
7
9
  ### Basic
8
10
 
@@ -125,6 +127,45 @@ cssPrefix: pf-v6-c-panel
125
127
 
126
128
  ```
127
129
 
130
+ ### Scrollable with auto height
131
+
132
+ ```html
133
+ <div class="pf-v6-c-panel pf-m-scrollable-auto-height pf-m-scrollable">
134
+ <div class="pf-v6-c-panel__main" tabindex="0">
135
+ <div class="pf-v6-c-panel__main-body">
136
+ Main content
137
+ <br />
138
+ <br />Main content
139
+ <br />
140
+ <br />Main content
141
+ <br />
142
+ <br />Main content
143
+ <br />
144
+ <br />Main content
145
+ <br />
146
+ <br />Main content
147
+ <br />
148
+ <br />Main content
149
+ <br />
150
+ <br />Main content
151
+ <br />
152
+ <br />Main content
153
+ <br />
154
+ <br />Main content
155
+ <br />
156
+ <br />Main content
157
+ <br />
158
+ <br />Main content
159
+ <br />
160
+ <br />Main content
161
+ <br />
162
+ <br />Main content
163
+ </div>
164
+ </div>
165
+ </div>
166
+
167
+ ```
168
+
128
169
  ### Scrollable with header and footer
129
170
 
130
171
  ```html
@@ -150,6 +191,16 @@ cssPrefix: pf-v6-c-panel
150
191
  <br />Main content
151
192
  <br />
152
193
  <br />Main content
194
+ <br />
195
+ <br />Main content
196
+ <br />
197
+ <br />Main content
198
+ <br />
199
+ <br />Main content
200
+ <br />
201
+ <br />Main content
202
+ <br />
203
+ <br />Main content
153
204
  </div>
154
205
  </div>
155
206
  <div class="pf-v6-c-panel__footer">Footer content</div>
@@ -180,8 +231,12 @@ cssPrefix: pf-v6-c-panel
180
231
  | `.pf-v6-c-panel__main-body` | `<div>` | Initiates a panel content body container. |
181
232
  | `.pf-v6-c-panel__menu` | `<div>` | Initiates a panel menu container. |
182
233
  | `.pf-v6-c-panel__footer` | `<div>` | Initiates the panel footer. |
183
- | `.pf-m-bordered` | `.pf-v6-c-panel` | Modifies the panel for bordered styles. |
184
- | `.pf-m-raised` | `.pf-v6-c-panel` | Modifies the panel for raised styles. |
185
- | `.pf-m-scrollable` | `.pf-v6-c-panel` | Modifies the panel for scrollable styles. |
234
+ | `.pf-m-bordered` | `.pf-v6-c-panel` | Adds a border to the panel. |
235
+ | `.pf-m-no-border` | `.pf-v6-c-panel` | Removes the border from a variant that has a default border. |
236
+ | `.pf-m-raised` | `.pf-v6-c-panel` | Applies elevated styles for use when the panel appears on top of other elements. |
237
+ | `.pf-m-scrollable` | `.pf-v6-c-panel` | Modifies the panel so the main content is scrollable. |
238
+ | `.pf-m-scrollable-auto-height` | `.pf-v6-c-panel` | Modifies the panel to have an auto height when scrollable. |
186
239
  | `.pf-m-secondary` | `.pf-v6-c-panel` | Modifies the panel for secondary styles. |
187
240
  | `.pf-m-pill` | `.pf-v6-c-panel` | Modifies the panel for pill border radius. |
241
+ | `.pf-m-full-height` | `.pf-v6-c-panel` | Makes the panel fill the available height. |
242
+ | `.pf-m-glass` | `.pf-v6-c-panel` | Applies glass styling to the panel in glass theme. |