@patternfly/patternfly 6.0.0-alpha.189 → 6.0.0-alpha.190

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.
@@ -415,6 +415,7 @@
415
415
  .pf-v6-c-page__main-container {
416
416
  display: flex;
417
417
  flex-direction: column;
418
+ align-self: start;
418
419
  max-height: var(--pf-v6-c-page__main-container--MaxHeight);
419
420
  margin-block-start: 0;
420
421
  margin-inline-start: var(--pf-v6-c-page__main-container--MarginInlineStart);
@@ -424,6 +425,9 @@
424
425
  border: var(--pf-v6-c-page__main-container--BorderWidth) solid var(--pf-v6-c-page__main-container--BorderColor);
425
426
  border-radius: var(--pf-v6-c-page__main-container--BorderRadius);
426
427
  }
428
+ .pf-v6-c-page__main-container.pf-m-fill, .pf-v6-c-page__main-container:has(.pf-v6-c-page__main-wizard) {
429
+ align-self: stretch;
430
+ }
427
431
 
428
432
  .pf-v6-c-page__main-container,
429
433
  .pf-v6-c-page__drawer {
@@ -543,12 +547,8 @@
543
547
  --pf-v6-c-page__main-tabs--PaddingBlockStart: var(--pf-v6-c-page__main-breadcrumb--page__main-tabs--PaddingBlockStart);
544
548
  }
545
549
 
546
- .pf-v6-c-page__main-section:last-child, .pf-v6-c-page__main-section:only-child, .pf-v6-c-page__main-section.pf-m-fill,
547
- .pf-v6-c-page__main-group:last-child,
548
- .pf-v6-c-page__main-group:only-child,
550
+ .pf-v6-c-page__main-section.pf-m-fill,
549
551
  .pf-v6-c-page__main-group.pf-m-fill,
550
- .pf-v6-c-page__main-wizard:last-child,
551
- .pf-v6-c-page__main-wizard:only-child,
552
552
  .pf-v6-c-page__main-wizard.pf-m-fill {
553
553
  flex-grow: 1;
554
554
  }
@@ -320,6 +320,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
320
320
  .#{$page}__main-container {
321
321
  display: flex;
322
322
  flex-direction: column;
323
+ align-self: start;
323
324
  max-height: var(--#{$page}__main-container--MaxHeight);
324
325
  margin-block-start: 0;
325
326
  margin-inline-start: var(--#{$page}__main-container--MarginInlineStart);
@@ -328,6 +329,11 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
328
329
  background: var(--#{$page}__main-container--BackgroundColor);
329
330
  border: var(--#{$page}__main-container--BorderWidth) solid var(--#{$page}__main-container--BorderColor);
330
331
  border-radius: var(--#{$page}__main-container--BorderRadius);
332
+
333
+ &.pf-m-fill,
334
+ &:has(.#{$page}__main-wizard) {
335
+ align-self: stretch;
336
+ }
331
337
  }
332
338
 
333
339
  .#{$page}__main-container,
@@ -422,8 +428,6 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
422
428
  .#{$page}__main-section,
423
429
  .#{$page}__main-group,
424
430
  .#{$page}__main-wizard {
425
- &:last-child,
426
- &:only-child,
427
431
  &.pf-m-fill {
428
432
  flex-grow: 1;
429
433
  }
@@ -11759,6 +11759,7 @@ ul.pf-v6-c-list {
11759
11759
  .pf-v6-c-page__main-container {
11760
11760
  display: flex;
11761
11761
  flex-direction: column;
11762
+ align-self: start;
11762
11763
  max-height: var(--pf-v6-c-page__main-container--MaxHeight);
11763
11764
  margin-block-start: 0;
11764
11765
  margin-inline-start: var(--pf-v6-c-page__main-container--MarginInlineStart);
@@ -11768,6 +11769,9 @@ ul.pf-v6-c-list {
11768
11769
  border: var(--pf-v6-c-page__main-container--BorderWidth) solid var(--pf-v6-c-page__main-container--BorderColor);
11769
11770
  border-radius: var(--pf-v6-c-page__main-container--BorderRadius);
11770
11771
  }
11772
+ .pf-v6-c-page__main-container.pf-m-fill, .pf-v6-c-page__main-container:has(.pf-v6-c-page__main-wizard) {
11773
+ align-self: stretch;
11774
+ }
11771
11775
 
11772
11776
  .pf-v6-c-page__main-container,
11773
11777
  .pf-v6-c-page__drawer {
@@ -11887,12 +11891,8 @@ ul.pf-v6-c-list {
11887
11891
  --pf-v6-c-page__main-tabs--PaddingBlockStart: var(--pf-v6-c-page__main-breadcrumb--page__main-tabs--PaddingBlockStart);
11888
11892
  }
11889
11893
 
11890
- .pf-v6-c-page__main-section:last-child, .pf-v6-c-page__main-section:only-child, .pf-v6-c-page__main-section.pf-m-fill,
11891
- .pf-v6-c-page__main-group:last-child,
11892
- .pf-v6-c-page__main-group:only-child,
11894
+ .pf-v6-c-page__main-section.pf-m-fill,
11893
11895
  .pf-v6-c-page__main-group.pf-m-fill,
11894
- .pf-v6-c-page__main-wizard:last-child,
11895
- .pf-v6-c-page__main-wizard:only-child,
11896
11896
  .pf-v6-c-page__main-wizard.pf-m-fill {
11897
11897
  flex-grow: 1;
11898
11898
  }
@@ -1,5 +1,5 @@
1
1
  /* Because the page component has height:100dvh, override it just for the embedded examples */
2
- .ws-mdx-content-content [id^=ws-core-c-page-] .ws-preview-html .pf-v6-c-page {
2
+ .ws-mdx-content-content [id^=ws-core-c-page-] .pf-v6-c-page {
3
3
  height: min-content;
4
4
  min-height: 30em;
5
5
  }
@@ -199,7 +199,7 @@ wrapperTag: div
199
199
  <section class="pf-v6-c-page__main-section pf-m-no-fill">
200
200
  <div class="pf-v6-c-page__main-body">
201
201
  This section uses
202
- <code>.pf-m-no-fill</code> to not fill the available space.
202
+ <code>.pf-m-no-fill</code> not to fill the available space.
203
203
  </div>
204
204
  </section>
205
205
  </main>
@@ -388,12 +388,12 @@ This component provides the basic chrome for a page, including sidebar and main
388
388
  | -- | -- | -- |
389
389
  | `.pf-v6-c-page` | `<div>` | Declares the page component. |
390
390
  | `.pf-v6-c-page__sidebar` | `<aside>` | Declares the page sidebar. |
391
- | `.pf-v6-c-page__sidebar-body` | `<div>` | Creates a wrapper within the sidebar to hold content. **Note: The last/only `.pf-v6-c-page__sidebar-body` element will grow to fill the availble vertical space. You can change this behavior using `.pf-m-fill` and `.pf-m-no-fill`, which are documented below.** |
391
+ | `.pf-v6-c-page__sidebar-body` | `<div>` | Creates a wrapper within the sidebar to hold content. **Note: The last/only `.pf-v6-c-page__sidebar-body` element will grow to fill the available vertical space. You can change this behavior using `.pf-m-fill` and `.pf-m-no-fill`, which are documented below.** |
392
392
  | `.pf-v6-c-page__main` | `<main>` | Declares the main page area. |
393
393
  | `.pf-v6-c-page__main-nav` | `<section>` | Creates a container to nest the (deprecated) tertiary navigation component in the main page area. |
394
394
  | `.pf-v6-c-page__main-subnav` | `<section>` | Creates a container to nest the horizontal subnav navigation component in the main page area. |
395
395
  | `.pf-v6-c-page__main-breadcrumb` | `<section>` | Creates a container to nest the breadcrumb component in the main page area. |
396
- | `.pf-v6-c-page__main-section` | `<section>` | Creates a section container in the main page area. **Note: The last/only `.pf-v6-c-page__main-section` element will grow to fill the available vertical space. You can change this behavior using `.pf-m-fill` and `.pf-m-no-fill`, which are documented below.** |
396
+ | `.pf-v6-c-page__main-section` | `<section>` | Creates a section container in the main page area. **Note: This section will not fill the vertical space. You can change this behavior using `.pf-m-fill` and `.pf-m-no-fill`, which are documented below.** |
397
397
  | `.pf-v6-c-page__main-tabs` | `<section>` | Creates a container to nest the tabs component in the main page area. |
398
398
  | `.pf-v6-c-page__main-wizard` | `<section>` | Creates a container to nest the wizard component in the main page area. |
399
399
  | `.pf-v6-c-page__main-body` | `<div>` | Creates the body section for a page section. **Required** |
@@ -411,8 +411,8 @@ This component provides the basic chrome for a page, including sidebar and main
411
411
  | `.pf-m-light-200` | `.pf-v6-c-page__main-wizard` | Modifies a wizard page section to have a light 200 theme. |
412
412
  | `.pf-m-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Modifies the main page section to add padding back in at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). Should be used with pf-m-no-padding. |
413
413
  | `.pf-m-no-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Removes padding from the main page section at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
414
- | `.pf-m-fill` | `.pf-v6-c-page__main-section`, `.pf-v6-c-page__sidebar-body` | Modifies the element to grow to fill the available space. |
415
- | `.pf-m-no-fill` | `.pf-v6-c-page__main-section`, `.pf-v6-c-page__sidebar-body` | Modifies the element to not grow to fill the available vertical space. |
414
+ | `.pf-m-fill` | `.pf-v6-c-page__main-container`, `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__sidebar-body` | Modifies the element to grow to fill the available space. |
415
+ | `.pf-m-no-fill` | `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__sidebar-body` | Modifies the element not to grow to fill the available vertical space. |
416
416
  | `.pf-m-limit-width` | `.pf-v6-c-page__main-section` | Modifies a page section to limit the `max-width` of the content inside. |
417
417
  | `.pf-m-align-center` | `.pf-v6-c-page__main-section.pf-m-limit-width` | Modifies a page section body to align center. |
418
418
  | `.pf-m-sticky-top{-on-[breakpoint]-height}` | `.pf-v6-c-page__main-*` | Modifies a section/group to be sticky to the top of its container at an optional height breakpoint. |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "6.0.0-alpha.189",
4
+ "version": "6.0.0-alpha.190",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -17826,6 +17826,7 @@ ul.pf-v6-c-list {
17826
17826
  .pf-v6-c-page__main-container {
17827
17827
  display: flex;
17828
17828
  flex-direction: column;
17829
+ align-self: start;
17829
17830
  max-height: var(--pf-v6-c-page__main-container--MaxHeight);
17830
17831
  margin-block-start: 0;
17831
17832
  margin-inline-start: var(--pf-v6-c-page__main-container--MarginInlineStart);
@@ -17835,6 +17836,9 @@ ul.pf-v6-c-list {
17835
17836
  border: var(--pf-v6-c-page__main-container--BorderWidth) solid var(--pf-v6-c-page__main-container--BorderColor);
17836
17837
  border-radius: var(--pf-v6-c-page__main-container--BorderRadius);
17837
17838
  }
17839
+ .pf-v6-c-page__main-container.pf-m-fill, .pf-v6-c-page__main-container:has(.pf-v6-c-page__main-wizard) {
17840
+ align-self: stretch;
17841
+ }
17838
17842
 
17839
17843
  .pf-v6-c-page__main-container,
17840
17844
  .pf-v6-c-page__drawer {
@@ -17954,12 +17958,8 @@ ul.pf-v6-c-list {
17954
17958
  --pf-v6-c-page__main-tabs--PaddingBlockStart: var(--pf-v6-c-page__main-breadcrumb--page__main-tabs--PaddingBlockStart);
17955
17959
  }
17956
17960
 
17957
- .pf-v6-c-page__main-section:last-child, .pf-v6-c-page__main-section:only-child, .pf-v6-c-page__main-section.pf-m-fill,
17958
- .pf-v6-c-page__main-group:last-child,
17959
- .pf-v6-c-page__main-group:only-child,
17961
+ .pf-v6-c-page__main-section.pf-m-fill,
17960
17962
  .pf-v6-c-page__main-group.pf-m-fill,
17961
- .pf-v6-c-page__main-wizard:last-child,
17962
- .pf-v6-c-page__main-wizard:only-child,
17963
17963
  .pf-v6-c-page__main-wizard.pf-m-fill {
17964
17964
  flex-grow: 1;
17965
17965
  }
package/patternfly.css CHANGED
@@ -17947,6 +17947,7 @@ ul.pf-v6-c-list {
17947
17947
  .pf-v6-c-page__main-container {
17948
17948
  display: flex;
17949
17949
  flex-direction: column;
17950
+ align-self: start;
17950
17951
  max-height: var(--pf-v6-c-page__main-container--MaxHeight);
17951
17952
  margin-block-start: 0;
17952
17953
  margin-inline-start: var(--pf-v6-c-page__main-container--MarginInlineStart);
@@ -17956,6 +17957,9 @@ ul.pf-v6-c-list {
17956
17957
  border: var(--pf-v6-c-page__main-container--BorderWidth) solid var(--pf-v6-c-page__main-container--BorderColor);
17957
17958
  border-radius: var(--pf-v6-c-page__main-container--BorderRadius);
17958
17959
  }
17960
+ .pf-v6-c-page__main-container.pf-m-fill, .pf-v6-c-page__main-container:has(.pf-v6-c-page__main-wizard) {
17961
+ align-self: stretch;
17962
+ }
17959
17963
 
17960
17964
  .pf-v6-c-page__main-container,
17961
17965
  .pf-v6-c-page__drawer {
@@ -18075,12 +18079,8 @@ ul.pf-v6-c-list {
18075
18079
  --pf-v6-c-page__main-tabs--PaddingBlockStart: var(--pf-v6-c-page__main-breadcrumb--page__main-tabs--PaddingBlockStart);
18076
18080
  }
18077
18081
 
18078
- .pf-v6-c-page__main-section:last-child, .pf-v6-c-page__main-section:only-child, .pf-v6-c-page__main-section.pf-m-fill,
18079
- .pf-v6-c-page__main-group:last-child,
18080
- .pf-v6-c-page__main-group:only-child,
18082
+ .pf-v6-c-page__main-section.pf-m-fill,
18081
18083
  .pf-v6-c-page__main-group.pf-m-fill,
18082
- .pf-v6-c-page__main-wizard:last-child,
18083
- .pf-v6-c-page__main-wizard:only-child,
18084
18084
  .pf-v6-c-page__main-wizard.pf-m-fill {
18085
18085
  flex-grow: 1;
18086
18086
  }