@patternfly/patternfly 6.5.0-prerelease.33 → 6.5.0-prerelease.35

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 (93) hide show
  1. package/assets/fontawesome/_variables.scss +2 -1
  2. package/base/patternfly-variables.css +340 -14
  3. package/base/patternfly-variables.scss +40 -0
  4. package/base/tokens/tokens-dark.scss +49 -3
  5. package/base/tokens/tokens-default.scss +65 -13
  6. package/base/tokens/tokens-glass-dark.scss +11 -0
  7. package/base/tokens/tokens-glass.scss +11 -0
  8. package/base/tokens/tokens-local.scss +1 -1
  9. package/base/tokens/tokens-redhat-dark.scss +14 -0
  10. package/base/tokens/tokens-redhat-glass-dark.scss +18 -0
  11. package/base/tokens/tokens-redhat-glass.scss +17 -0
  12. package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
  13. package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
  14. package/base/tokens/tokens-redhat.scss +15 -0
  15. package/components/AboutModalBox/about-modal-box.css +36 -26
  16. package/components/Accordion/accordion.css +16 -13
  17. package/components/Alert/alert.css +5 -4
  18. package/components/Avatar/avatar.css +12 -4
  19. package/components/BackgroundImage/background-image.css +6 -3
  20. package/components/Banner/banner.css +8 -6
  21. package/components/Brand/brand.css +3 -1
  22. package/components/Breadcrumb/breadcrumb.css +4 -3
  23. package/components/Button/button.css +6 -6
  24. package/components/CalendarMonth/calendar-month.css +4 -3
  25. package/components/Card/card.css +7 -6
  26. package/components/ClipboardCopy/clipboard-copy.css +4 -3
  27. package/components/CodeEditor/code-editor.css +1 -1
  28. package/components/CodeEditor/code-editor.scss +1 -1
  29. package/components/Compass/compass.css +6 -2
  30. package/components/DataList/data-list.css +28 -21
  31. package/components/DescriptionList/description-list-order.scss +5 -1
  32. package/components/DescriptionList/description-list.css +7 -5
  33. package/components/DescriptionList/description-list.scss +5 -1
  34. package/components/Divider/divider.css +7 -5
  35. package/components/Drawer/drawer.css +38 -28
  36. package/components/Drawer/drawer.scss +12 -4
  37. package/components/DualListSelector/dual-list-selector.css +17 -11
  38. package/components/ExpandableSection/expandable-section.css +16 -14
  39. package/components/ExpandableSection/expandable-section.scss +1 -1
  40. package/components/Form/form.css +1 -1
  41. package/components/Form/form.scss +1 -1
  42. package/components/FormControl/form-control.css +1 -1
  43. package/components/FormControl/form-control.scss +1 -1
  44. package/components/JumpLinks/jump-links.css +4 -3
  45. package/components/JumpLinks/jump-links.scss +5 -1
  46. package/components/Label/label-group.css +2 -2
  47. package/components/Label/label-group.scss +2 -2
  48. package/components/Label/label.css +4 -3
  49. package/components/Login/login.css +51 -37
  50. package/components/Masthead/masthead.css +20 -18
  51. package/components/Masthead/masthead.scss +6 -2
  52. package/components/Menu/menu.css +23 -14
  53. package/components/ModalBox/modal-box.css +9 -7
  54. package/components/ModalBox/modal-box.scss +2 -2
  55. package/components/Nav/nav.css +13 -9
  56. package/components/NotificationDrawer/notification-drawer.css +6 -6
  57. package/components/Page/page.css +35 -29
  58. package/components/Page/page.scss +17 -5
  59. package/components/Pagination/pagination.scss +5 -1
  60. package/components/ProgressStepper/progress-stepper.scss +5 -1
  61. package/components/Sidebar/sidebar.css +1 -1
  62. package/components/Sidebar/sidebar.scss +7 -3
  63. package/components/Skeleton/skeleton.css +16 -15
  64. package/components/Slider/slider.css +32 -18
  65. package/components/Switch/switch.css +3 -1
  66. package/components/Table/table-tree-view.css +4 -2
  67. package/components/Table/table.css +31 -27
  68. package/components/Tabs/tabs.css +17 -15
  69. package/components/Tabs/tabs.scss +12 -4
  70. package/components/Toolbar/toolbar.css +14 -8
  71. package/components/Toolbar/toolbar.scss +5 -1
  72. package/components/TreeView/tree-view.css +44 -13
  73. package/components/TreeView/tree-view.scss +31 -0
  74. package/components/Wizard/wizard.css +20 -16
  75. package/components/Wizard/wizard.scss +3 -3
  76. package/components/_index.css +598 -427
  77. package/docs/components/Compass/examples/Compass.md +38 -32
  78. package/docs/components/ModalBox/examples/ModalBox.md +1 -1
  79. package/docs/components/TreeView/examples/TreeView.md +38 -26
  80. package/docs/demos/Compass/examples/Compass.md +16 -0
  81. package/layouts/Flex/flex.scss +83 -19
  82. package/layouts/Gallery/gallery.css +6 -2
  83. package/layouts/_index.css +6 -2
  84. package/package.json +4 -2
  85. package/patternfly-base-no-globals.css +340 -14
  86. package/patternfly-base.css +340 -14
  87. package/patternfly-charts.css +3 -3
  88. package/patternfly-no-globals.css +928 -427
  89. package/patternfly.css +928 -427
  90. package/patternfly.min.css +1 -1
  91. package/patternfly.min.css.map +1 -1
  92. package/sass-utilities/functions.scss +32 -25
  93. package/sass-utilities/mixins.scss +36 -20
@@ -8,7 +8,15 @@ cssPrefix: pf-v6-c-compass
8
8
 
9
9
  ## Examples
10
10
 
11
- ### Default
11
+ ### Basic
12
+
13
+ In a basic Compass layout, the page structure is defined by the order of elements nested within the main `.pf-v6-c-compass` container:
14
+
15
+ * **Header:** Content rendered at the top of the page (`.pf-v6-c-compass__header`), typically containing a logo (`.pf-v6-c-compass__logo`), middle navigation (`.pf-v6-c-compass__nav`), and profile (`.pf-v6-c-compass__profile`).
16
+ * **Start sidebar:** Content rendered at the horizontal start of the page (by default, the left side). In this example, a `.pf-v6-c-compass__sidebar` with the `.pf-m-start` modifier.
17
+ * **Main:** Content rendered in the center of the page. The `.pf-v6-c-compass__main` wrapper contains a [hero component](/components/hero), the main header (`.pf-v6-c-compass__main-header`), the content area (`.pf-v6-c-compass__content`), and the main footer (`.pf-v6-c-compass__main-footer`) with the message bar.
18
+ * **End sidebar:** Content rendered at the horizontal end of the page (by default, the right side). In this example, a `.pf-v6-c-compass__sidebar` with the `.pf-m-end` modifier.
19
+ * **Footer:** Content rendered at the bottom of the page (`.pf-v6-c-compass__footer`).
12
20
 
13
21
  ```html isBeta
14
22
  <div class="pf-v6-c-compass pf-m-animate-smoothly">
@@ -77,36 +85,34 @@ cssPrefix: pf-v6-c-compass
77
85
 
78
86
  | Class | Applied to | Outcome |
79
87
  | -- | -- | -- |
80
- | `.pf-v6-c-compass` | `<div>` | Initiates the compass component. **Required** |
81
- | `.pf-v6-c-compass__header` | `<div>` | Initiates the compass header. **Required** |
82
- | `.pf-v6-c-compass__logo` | `<div>` | Initiates the compass logo header. |
83
- | `.pf-v6-c-compass__nav` | `<div>` | Initiates the compass nav. |
84
- | `.pf-v6-c-compass__dock` | `<div>` | Initiates the compass dock. |
85
- | `.pf-v6-c-compass__profile` | `<div>` | Initiates the compass profile. |
86
- | `.pf-v6-c-compass__sidebar` | `<div>` | Initiates a compass sidebar. **Required** |
87
- | `.pf-v6-c-compass__main` | `<div>` | Initiates the compass main wrapper. **Required** |
88
- | `.pf-v6-c-compass__main-header` | `<div>` | Initiates the compass main header. |
89
- | `.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. |
90
- | `.pf-v6-c-compass__main-header-title` | `<div>` | Initiates a title within the compass main header content. |
91
- | `.pf-v6-c-compass__main-header-toolbar` | `<div>` | Initiates a toolbar of actions within the compass main header content. |
92
- | `.pf-v6-c-compass__content` | `<div>` | Initiates the compass content. **Required** |
93
- | `.pf-v6-c-compass__main-footer` | `<div>` | Initiates the compass main footer. **Required** |
94
- | `.pf-v6-c-compass__panel` | `<div>` | Initiates a compass panel. |
95
- | `.pf-v6-c-compass__nav` | `<div>` | Initiates a compass container for site navigation. |
96
- | `.pf-v6-c-compass__nav-content` | `<div>` | Initiates a compass container for navigation content. |
97
- | `.pf-v6-c-compass__nav-home` | `<div>` | Initiates a container for compass home button. |
98
- | `.pf-v6-c-compass__nav-main` | `<div>` | Initiates a container for compass navigation main content. |
99
- | `.pf-v6-c-compass__nav-search` | `<div>` | Initiates a container for compass search button. |
100
- | `.pf-v6-c-compass__hero` | `<div>` | Initiates a compass hero. |
101
- | `.pf-v6-c-compass__footer` | `<div>` | Initiates the compass footer. |
102
- | `.pf-v6-c-compass__message-bar` | `<div>` | Initiates the compass message bar. |
88
+ | `.pf-v6-c-compass` | `<div>` | Initiates the Compass component. **Required** |
89
+ | `.pf-v6-c-compass__header` | `<div>` | Initiates the Compass header. **Required** |
90
+ | `.pf-v6-c-compass__logo` | `<div>` | Initiates the Compass logo header. |
91
+ | `.pf-v6-c-compass__dock` | `<div>` | Initiates the Compass dock. |
92
+ | `.pf-v6-c-compass__profile` | `<div>` | Initiates the Compass profile. |
93
+ | `.pf-v6-c-compass__sidebar` | `<div>` | Initiates a Compass sidebar. **Required** |
94
+ | `.pf-v6-c-compass__main` | `<div>` | Initiates the Compass main wrapper. **Required** |
95
+ | `.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. |
97
+ | `.pf-v6-c-compass__main-header-title` | `<div>` | Initiates a title within the Compass main header content. |
98
+ | `.pf-v6-c-compass__main-header-toolbar` | `<div>` | Initiates a toolbar of actions within the Compass main header content. |
99
+ | `.pf-v6-c-compass__content` | `<div>` | Initiates the Compass content. **Required** |
100
+ | `.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
+ | `.pf-v6-c-compass__nav` | `<div>` | Initiates a Compass container for site navigation. |
103
+ | `.pf-v6-c-compass__nav-content` | `<div>` | Initiates a Compass container for navigation content. |
104
+ | `.pf-v6-c-compass__nav-home` | `<div>` | Initiates a container for Compass home button. |
105
+ | `.pf-v6-c-compass__nav-main` | `<div>` | Initiates a container for Compass navigation main content. |
106
+ | `.pf-v6-c-compass__nav-search` | `<div>` | Initiates a container for Compass search button. |
107
+ | `.pf-v6-c-compass__footer` | `<div>` | Initiates the Compass footer. |
108
+ | `.pf-v6-c-compass__message-bar` | `<div>` | Initiates the Compass message bar. |
103
109
  | `.pf-m-dock` | `.pf-v6-c-compass` | Modifies for dock layout. |
104
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. |
105
- | `.pf-m-start` | `.pf-v6-c-compass__sidebar` | Modifies a compass sidebar for start styles. **Required** |
106
- | `.pf-m-end` | `.pf-v6-c-compass__sidebar` | Modifies a compass sidebar for end styles. **Required** |
107
- | `.pf-m-no-border` | `.pf-v6-c-compass__panel` | Modifies a compass panel to remove the border. |
108
- | `.pf-m-no-padding` | `.pf-v6-c-compass__panel` | Modifies a compass panel to remove the padding. |
109
- | `.pf-m-full-height` | `.pf-v6-c-compass__panel` | Modifies a compass panel to be full height. |
110
- | `.pf-m-pill` | `.pf-v6-c-compass__panel` | Modifies a compass panel to have a pill shaped border radius. |
111
- | `.pf-m-scrollable` | `.pf-v6-c-compass__panel` | Modifies a compass panel to scroll its overflow. |
112
- | `.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. |
111
+ | `.pf-m-start` | `.pf-v6-c-compass__sidebar` | Modifies a Compass sidebar for start styles. **Required** |
112
+ | `.pf-m-end` | `.pf-v6-c-compass__sidebar` | Modifies a Compass sidebar for end styles. **Required** |
113
+ | `.pf-m-no-border` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to remove the border. |
114
+ | `.pf-m-no-padding` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to remove the padding. |
115
+ | `.pf-m-full-height` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to be full height. |
116
+ | `.pf-m-pill` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to have a pill-shaped border radius. |
117
+ | `.pf-m-scrollable` | `.pf-v6-c-compass__panel` | Modifies a Compass panel to scroll its overflow. |
118
+ | `.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. |
@@ -597,7 +597,7 @@ A modal box is a generic rectangular container that can be used to build modals.
597
597
  | `aria-describedby="[id value of applicable content]"` | `.pf-v6-c-modal-box` | Gives the modal an accessible description by referring to the modal content that describes the primary message or purpose of the dialog. Not used if there is no static text that describes the modal. |
598
598
  | `aria-modal="true"` | `.pf-v6-c-modal-box` | Tells assistive technologies that the windows underneath the current modal are not available for interaction. **Required**|
599
599
  | `aria-label="Close"` | `.pf-v6-c-modal-box__close .pf-v6-c-button` | Provides an accessible name for the close button as it uses an icon instead of text. **Required**|
600
- | `aria-hidden="true"` | Parent element containing the page contents when modal is open | Hides main contents of the page from screen readers. The element with `.pf-v6-c-modal-box` must not be a descendent of the element with `aria-hidden="true"`. For more info see [trapping focus](/accessibility/product-development-guide#trapping-focus). **Required** |
600
+ | `aria-hidden="true"` | Parent element containing the page contents when modal is open | Hides main contents of the page from screen readers. The element with `.pf-v6-c-modal-box` must not be a descendent of the element with `aria-hidden="true"`. For more info see [trapping focus](/accessibility/develop#trapping-focus). **Required** |
601
601
  | `form="[id of form in modal body]"` | `.pf-v6-c-modal-box__footer .pf-v6-c-button` | Associates a submit button in the modal footer with a form in the modal body. For use when the submit button is outside of the `<form>` that the button submits. |
602
602
  | `tabindex="0"` | `.pf-v6-c-modal-box__body` | If a modal box body has overflow content that triggers a scrollbar, to ensure that the content is keyboard accessible, the body must include either a focusable element within the scrollable region or the body itself must be focusable by adding `tabindex="0"`. |
603
603
 
@@ -111,16 +111,18 @@ cssPrefix: pf-v6-c-tree-view
111
111
  tabindex="0"
112
112
  >
113
113
  <div class="pf-v6-c-tree-view__content">
114
- <button class="pf-v6-c-tree-view__node">
114
+ <div class="pf-v6-c-tree-view__node pf-m-disabled" tabindex="0">
115
115
  <span class="pf-v6-c-tree-view__node-container">
116
- <span class="pf-v6-c-tree-view__node-toggle">
116
+ <span class="pf-v6-c-tree-view__node-toggle pf-m-disabled">
117
117
  <span class="pf-v6-c-tree-view__node-toggle-icon">
118
118
  <i class="fas fa-angle-right" aria-hidden="true"></i>
119
119
  </span>
120
120
  </span>
121
- <span class="pf-v6-c-tree-view__node-text">Application 2</span>
121
+ <span
122
+ class="pf-v6-c-tree-view__node-text"
123
+ >Application 2 (disabled item and toggle)</span>
122
124
  </span>
123
- </button>
125
+ </div>
124
126
  </div>
125
127
  <ul class="pf-v6-c-tree-view__list" role="group">
126
128
  <li
@@ -130,11 +132,11 @@ cssPrefix: pf-v6-c-tree-view
130
132
  tabindex="-1"
131
133
  >
132
134
  <div class="pf-v6-c-tree-view__content">
133
- <button class="pf-v6-c-tree-view__node">
135
+ <div class="pf-v6-c-tree-view__node" tabindex="0">
134
136
  <span class="pf-v6-c-tree-view__node-container">
135
137
  <span class="pf-v6-c-tree-view__node-text">Settings</span>
136
138
  </span>
137
- </button>
139
+ </div>
138
140
  </div>
139
141
  </li>
140
142
  <li
@@ -1594,9 +1596,9 @@ A search input can be used to filter tree view items. It is recommended that a t
1594
1596
  tabindex="0"
1595
1597
  >
1596
1598
  <div class="pf-v6-c-tree-view__content">
1597
- <button class="pf-v6-c-tree-view__node">
1599
+ <button class="pf-v6-c-tree-view__node pf-m-disabled">
1598
1600
  <span class="pf-v6-c-tree-view__node-container">
1599
- <span class="pf-v6-c-tree-view__node-toggle">
1601
+ <span class="pf-v6-c-tree-view__node-toggle pf-m-disabled">
1600
1602
  <span class="pf-v6-c-tree-view__node-toggle-icon">
1601
1603
  <i class="fas fa-angle-right" aria-hidden="true"></i>
1602
1604
  </span>
@@ -1604,7 +1606,9 @@ A search input can be used to filter tree view items. It is recommended that a t
1604
1606
  <span class="pf-v6-c-tree-view__node-icon">
1605
1607
  <i class="fas fa-folder-open" aria-hidden="true"></i>
1606
1608
  </span>
1607
- <span class="pf-v6-c-tree-view__node-text">Application 2</span>
1609
+ <span
1610
+ class="pf-v6-c-tree-view__node-text"
1611
+ >Application 2 (disabled item and toggle)</span>
1608
1612
  </span>
1609
1613
  </button>
1610
1614
  </div>
@@ -2797,10 +2801,11 @@ A search input can be used to filter tree view items. It is recommended that a t
2797
2801
  >
2798
2802
  <span class="pf-v6-c-tree-view__node-container">
2799
2803
  <button
2800
- class="pf-v6-c-tree-view__node-toggle"
2804
+ class="pf-v6-c-tree-view__node-toggle pf-m-disabled"
2801
2805
  id="toggle-tree-view-selectable-expandable-3"
2802
2806
  aria-label="Toggle"
2803
2807
  aria-labelledby="toggle-tree-view-selectable-expandable-3 text-tree-view-selectable-expandable-3"
2808
+ disabled
2804
2809
  >
2805
2810
  <span class="pf-v6-c-tree-view__node-toggle-icon">
2806
2811
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2809,7 +2814,7 @@ A search input can be used to filter tree view items. It is recommended that a t
2809
2814
  <button
2810
2815
  class="pf-v6-c-tree-view__node-text"
2811
2816
  id="text-tree-view-selectable-expandable-3"
2812
- >Loader</button>
2817
+ >Loader (toggle disabled)</button>
2813
2818
  </span>
2814
2819
  </div>
2815
2820
  </div>
@@ -2907,7 +2912,7 @@ A search input can be used to filter tree view items. It is recommended that a t
2907
2912
  >
2908
2913
  <div class="pf-v6-c-tree-view__content">
2909
2914
  <div
2910
- class="pf-v6-c-tree-view__node pf-m-selectable"
2915
+ class="pf-v6-c-tree-view__node pf-m-selectable pf-m-disabled"
2911
2916
  tabindex="0"
2912
2917
  id="node-tree-view-selectable-expandable-6"
2913
2918
  aria-label="Select"
@@ -2927,7 +2932,7 @@ A search input can be used to filter tree view items. It is recommended that a t
2927
2932
  <button
2928
2933
  class="pf-v6-c-tree-view__node-text"
2929
2934
  id="text-tree-view-selectable-expandable-6"
2930
- >Loader</button>
2935
+ >Loader (disabled item but toggle is enabled)</button>
2931
2936
  </span>
2932
2937
  </div>
2933
2938
  </div>
@@ -2941,7 +2946,7 @@ A search input can be used to filter tree view items. It is recommended that a t
2941
2946
  >
2942
2947
  <div class="pf-v6-c-tree-view__content">
2943
2948
  <div
2944
- class="pf-v6-c-tree-view__node pf-m-selectable pf-m-current"
2949
+ class="pf-v6-c-tree-view__node pf-m-selectable pf-m-current pf-m-disabled"
2945
2950
  tabindex="0"
2946
2951
  id="node-tree-view-selectable-expandable-7"
2947
2952
  aria-label="Select"
@@ -2949,10 +2954,11 @@ A search input can be used to filter tree view items. It is recommended that a t
2949
2954
  >
2950
2955
  <span class="pf-v6-c-tree-view__node-container">
2951
2956
  <button
2952
- class="pf-v6-c-tree-view__node-toggle"
2957
+ class="pf-v6-c-tree-view__node-toggle pf-m-disabled"
2953
2958
  id="toggle-tree-view-selectable-expandable-7"
2954
2959
  aria-label="Toggle"
2955
2960
  aria-labelledby="toggle-tree-view-selectable-expandable-7 text-tree-view-selectable-expandable-7"
2961
+ disabled
2956
2962
  >
2957
2963
  <span class="pf-v6-c-tree-view__node-toggle-icon">
2958
2964
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -2961,7 +2967,7 @@ A search input can be used to filter tree view items. It is recommended that a t
2961
2967
  <button
2962
2968
  class="pf-v6-c-tree-view__node-text"
2963
2969
  id="text-tree-view-selectable-expandable-7"
2964
- >Loader app 1</button>
2970
+ >Loader app 1 (disabled item and toggle)</button>
2965
2971
  </span>
2966
2972
  </div>
2967
2973
  </div>
@@ -3455,10 +3461,12 @@ A search input can be used to filter tree view items. It is recommended that a t
3455
3461
  tabindex="-1"
3456
3462
  >
3457
3463
  <div class="pf-v6-c-tree-view__content">
3458
- <button class="pf-v6-c-tree-view__node">
3464
+ <button class="pf-v6-c-tree-view__node pf-m-disabled">
3459
3465
  <span class="pf-v6-c-tree-view__node-container">
3460
3466
  <span class="pf-v6-c-tree-view__node-content">
3461
- <span class="pf-v6-c-tree-view__node-title">metadata</span>
3467
+ <span
3468
+ class="pf-v6-c-tree-view__node-title"
3469
+ >metadata (disabled item)</span>
3462
3470
  <span
3463
3471
  class="pf-v6-c-tree-view__node-text"
3464
3472
  >Standard object metadata</span>
@@ -3624,9 +3632,9 @@ A search input can be used to filter tree view items. It is recommended that a t
3624
3632
  tabindex="0"
3625
3633
  >
3626
3634
  <div class="pf-v6-c-tree-view__content">
3627
- <button class="pf-v6-c-tree-view__node">
3635
+ <button class="pf-v6-c-tree-view__node pf-m-disabled">
3628
3636
  <span class="pf-v6-c-tree-view__node-container">
3629
- <span class="pf-v6-c-tree-view__node-toggle">
3637
+ <span class="pf-v6-c-tree-view__node-toggle pf-m-disabled">
3630
3638
  <span class="pf-v6-c-tree-view__node-toggle-icon">
3631
3639
  <i class="fas fa-angle-right" aria-hidden="true"></i>
3632
3640
  </span>
@@ -3634,7 +3642,7 @@ A search input can be used to filter tree view items. It is recommended that a t
3634
3642
  <span class="pf-v6-c-tree-view__node-content">
3635
3643
  <span
3636
3644
  class="pf-v6-c-tree-view__node-title"
3637
- >matchExpressions</span>
3645
+ >matchExpressions (disabled item and toggle)</span>
3638
3646
  <span
3639
3647
  class="pf-v6-c-tree-view__node-text"
3640
3648
  >matchExpressions is a list of the label selector requirements. The requirements and ANDed.</span>
@@ -3767,10 +3775,12 @@ A search input can be used to filter tree view items. It is recommended that a t
3767
3775
  tabindex="-1"
3768
3776
  >
3769
3777
  <div class="pf-v6-c-tree-view__content">
3770
- <button class="pf-v6-c-tree-view__node">
3778
+ <button class="pf-v6-c-tree-view__node pf-m-disabled">
3771
3779
  <span class="pf-v6-c-tree-view__node-container">
3772
3780
  <span class="pf-v6-c-tree-view__node-content">
3773
- <span class="pf-v6-c-tree-view__node-title">metadata</span>
3781
+ <span
3782
+ class="pf-v6-c-tree-view__node-title"
3783
+ >metadata (disabled item)</span>
3774
3784
  <span
3775
3785
  class="pf-v6-c-tree-view__node-text"
3776
3786
  >Standard object metadata</span>
@@ -3936,9 +3946,9 @@ A search input can be used to filter tree view items. It is recommended that a t
3936
3946
  tabindex="0"
3937
3947
  >
3938
3948
  <div class="pf-v6-c-tree-view__content">
3939
- <button class="pf-v6-c-tree-view__node">
3949
+ <button class="pf-v6-c-tree-view__node pf-m-disabled">
3940
3950
  <span class="pf-v6-c-tree-view__node-container">
3941
- <span class="pf-v6-c-tree-view__node-toggle">
3951
+ <span class="pf-v6-c-tree-view__node-toggle pf-m-disabled">
3942
3952
  <span class="pf-v6-c-tree-view__node-toggle-icon">
3943
3953
  <i class="fas fa-angle-right" aria-hidden="true"></i>
3944
3954
  </span>
@@ -3946,7 +3956,7 @@ A search input can be used to filter tree view items. It is recommended that a t
3946
3956
  <span class="pf-v6-c-tree-view__node-content">
3947
3957
  <span
3948
3958
  class="pf-v6-c-tree-view__node-title"
3949
- >matchExpressions</span>
3959
+ >matchExpressions (disabled item and toggle)</span>
3950
3960
  <span
3951
3961
  class="pf-v6-c-tree-view__node-text"
3952
3962
  >matchExpressions is a list of the label selector requirements. The requirements and ANDed.</span>
@@ -4052,4 +4062,6 @@ A search input can be used to filter tree view items. It is recommended that a t
4052
4062
  | `.pf-m-no-background` | `.pf-v6-c-tree-view.pf-m-compact` | Modifies the tree view compact variant node containers to have a transparent background. |
4053
4063
  | `.pf-m-current` | `.pf-v6-c-tree-view__node` | Modifies the tree view node to be current. |
4054
4064
  | `.pf-m-selectable` | `.pf-v6-c-tree-view__node` | For use on nodes that are expandable and selectable, when the default click action on the node selects it instead of expanding it. |
4065
+ | `.pf-m-disabled` | `.pf-v6-c-tree-view__node` | Modifies the tree view node to display as disabled. |
4066
+ | `.pf-m-disabled` | `.pf-v6-c-tree-view__node-toggle` | Modifies the tree view node toggle to display as disabled. |
4055
4067
  | `.pf-m-truncate` | `.pf-v6-c-tree-view`, `.pf-v6-c-tree-view__node-title`, `.pf-v6-c-tree-view__node-text` | Modifies the tree view title or text to truncate. |
@@ -7,6 +7,11 @@ wrapperTag: div
7
7
 
8
8
  ### Card view
9
9
 
10
+ This demo populates the main Compass section with a card view, which is one of the more common page types used within a Compass layout. In this demo, the page includes:
11
+
12
+ * A `.pf-v6-c-compass__main-header` that contains the page title and toolbar with action items.
13
+ * A `.pf-v6-c-compass__content`, which contains a `.pf-v6-c-compass__panel` to create a rounded-rectangle container that serves as the main content background.
14
+
10
15
  ```html isFullscreen isBeta
11
16
  <div
12
17
  class="pf-v6-c-compass pf-m-animate-smoothly"
@@ -1321,6 +1326,11 @@ wrapperTag: div
1321
1326
 
1322
1327
  ### Dashboard
1323
1328
 
1329
+ This demo populates the main Compass section with a dashboard, which is often used as the landing page within a Compass layout. This demo page includes:
1330
+
1331
+ * A `.pf-v6-c-hero` component positioned between the top navigation and the main page content, containing promotional or introductory content with important CTAs.
1332
+ * A `.pf-v6-c-compass__content` without a `.pf-v6-c-compass__panel` wrapping all of the contents. This removes the rounded-rectangle container that typically serves as the main content background. Instead, the content area is a dashboard (a grid of cards), and each card is individually wrapped in`.pf-v6-c-compass__panel` to provide the rounded-rectangle styling.
1333
+
1324
1334
  ```html isFullscreen isBeta
1325
1335
  <div
1326
1336
  class="pf-v6-c-compass pf-m-animate-smoothly"
@@ -2857,6 +2867,10 @@ wrapperTag: div
2857
2867
 
2858
2868
  ### Multiple sections
2859
2869
 
2870
+ This demo places multiple sections within the main Compass section, with each section containing a card view.
2871
+
2872
+ Without a `.pf-v6-c-compass__panel` wrapping all of the content, there is no rounded-rectangle container as the main content background. Instead, the `.pf-v6-c-compass__content` is a grid with 2 independently scrollable `.pf-v6-c-compass__panel` elements.
2873
+
2860
2874
  ```html isFullscreen isBeta
2861
2875
  <div
2862
2876
  class="pf-v6-c-compass pf-m-animate-smoothly"
@@ -4844,6 +4858,8 @@ wrapperTag: div
4844
4858
 
4845
4859
  ### With drawer
4846
4860
 
4861
+ This demo showcases how you can position a side-panel drawer on top of the other Compass elements.
4862
+
4847
4863
  ```html isFullscreen isBeta
4848
4864
  <div class="pf-v6-c-drawer pf-m-expanded pf-m-pill">
4849
4865
  <div class="pf-v6-c-drawer__main">
@@ -1,4 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
+ @use 'sass:list';
3
+ @use 'sass:map';
2
4
 
3
5
  // Always keep list of spacers and breakpoints up-to-date
4
6
  $pf-v6-l-flex--breakpoint-map: build-breakpoint-map();
@@ -74,7 +76,11 @@ $pf-v6-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
74
76
 
75
77
  .#{$flex} {
76
78
  @each $breakpoint, $breakpoint-value in $pf-v6-l-flex--breakpoint-map {
77
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
79
+ $breakpoint-name: "";
80
+
81
+ @if $breakpoint != "base" {
82
+ $breakpoint-name: -on-#{$breakpoint};
83
+ }
78
84
 
79
85
  @include pf-v6-apply-breakpoint($breakpoint) {
80
86
  // display
@@ -301,13 +307,17 @@ $pf-v6-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
301
307
 
302
308
  // .pf-m-space-items-{size}{-on-[breakpoint]}
303
309
  @each $breakpoint, $breakpoint-value in $pf-v6-l-flex--breakpoint-map {
304
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
310
+ $breakpoint-name: "";
311
+
312
+ @if $breakpoint != "base" {
313
+ $breakpoint-name: -on-#{$breakpoint};
314
+ }
305
315
 
306
316
  @include pf-v6-apply-breakpoint($breakpoint) {
307
317
  @each $spacer, $spacer-value in $pf-v6-l-flex--spacer-map {
308
318
  &.pf-m-space-items-#{$spacer}#{$breakpoint-name} {
309
319
  > * {
310
- --#{$flex}--spacer: var(#{map-get($pf-v6-l-flex--variable-map, $spacer-value)});
320
+ --#{$flex}--spacer: var(#{map.get($pf-v6-l-flex--variable-map, $spacer-value)});
311
321
  }
312
322
 
313
323
  > :last-child {
@@ -320,15 +330,19 @@ $pf-v6-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
320
330
 
321
331
  // .pf-m-spacer-{size}{-on-[breakpoint]}
322
332
  @each $breakpoint, $breakpoint-value in $pf-v6-l-flex--breakpoint-map {
323
- $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
333
+ $breakpoint-name: "";
334
+
335
+ @if $breakpoint != "base" {
336
+ $breakpoint-name: -on-#{$breakpoint};
337
+ }
324
338
 
325
339
  @include pf-v6-apply-breakpoint($breakpoint) {
326
340
  @each $spacer, $spacer-value in $pf-v6-l-flex--spacer-map {
327
341
  .pf-m-spacer-#{$spacer}#{$breakpoint-name} {
328
- --#{$flex}--spacer: var(#{map-get($pf-v6-l-flex--variable-map, $spacer-value)});
342
+ --#{$flex}--spacer: var(#{map.get($pf-v6-l-flex--variable-map, $spacer-value)});
329
343
 
330
344
  &:last-child {
331
- --#{$flex}--spacer: var(#{map-get($pf-v6-l-flex--variable-map, $spacer-value)});
345
+ --#{$flex}--spacer: var(#{map.get($pf-v6-l-flex--variable-map, $spacer-value)});
332
346
  }
333
347
  }
334
348
  }
@@ -341,12 +355,32 @@ $pf-v6-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
341
355
 
342
356
  @include pf-v6-apply-breakpoint($breakpoint) {
343
357
  @each $spacer, $value in $pf-v6-l-flex--gap-map {
344
- $breakpoint-name: if($breakpoint == "base", "", -on-#{$breakpoint});
345
- $spacer-name: if($spacer == "base", "", -#{$spacer});
346
- $spacer-row: if($spacer == "base", var(--#{$flex}--m-gap--RowGap), $value);
347
- $spacer-column: if($spacer == "base", var(--#{$flex}--m-gap--ColumnGap), $value);
358
+ $breakpoint-name: -on-#{$breakpoint};
359
+
360
+ @if $breakpoint == "base" {
361
+ $breakpoint-name: "";
362
+ }
363
+
364
+ $spacer-name: -#{$spacer};
365
+
366
+ @if $spacer == "base" {
367
+ $spacer-name: "";
368
+ }
369
+
370
+ $spacer-row: $value;
371
+
372
+ @if $spacer == "base" {
373
+ $spacer-row: var(--#{$flex}--m-gap--RowGap);
374
+ }
375
+
376
+ $spacer-column: $value;
377
+
378
+ @if $spacer == "base" {
379
+ $spacer-column: var(--#{$flex}--m-gap--ColumnGap);
380
+ }
381
+
348
382
  $selector: ".pf-m-gap#{$spacer-name}#{$breakpoint-name}";
349
- $pf-v6-l-flex--gap--selectors: append($pf-v6-l-flex--gap--selectors, $selector, $separator: comma);
383
+ $pf-v6-l-flex--gap--selectors: list.append($pf-v6-l-flex--gap--selectors, $selector, $separator: comma);
350
384
 
351
385
  &#{$selector} {
352
386
  --#{$flex}--RowGap: #{$spacer-row};
@@ -369,11 +403,26 @@ $pf-v6-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
369
403
  $pf-v6-l-flex--row-gap--selectors: ();
370
404
 
371
405
  @each $spacer, $value in $pf-v6-l-flex--gap-map {
372
- $breakpoint-name: if($breakpoint == "base", "", -on-#{$breakpoint});
373
- $spacer-name: if($spacer == "base", "", -#{$spacer});
374
- $spacer-value: if($spacer == "base", var(--#{$flex}--m-row-gap--RowGap), $value);
406
+ $breakpoint-name: -on-#{$breakpoint};
407
+
408
+ @if $breakpoint == "base" {
409
+ $breakpoint-name: "";
410
+ }
411
+
412
+ $spacer-name: -#{$spacer};
413
+
414
+ @if $spacer == "base" {
415
+ $spacer-name: "";
416
+ }
417
+
418
+ $spacer-value: $value;
419
+
420
+ @if $spacer == "base" {
421
+ $spacer-value: var(--#{$flex}--m-row-gap--RowGap);
422
+ }
423
+
375
424
  $selector: ".pf-m-row-gap#{$spacer-name}#{$breakpoint-name}";
376
- $pf-v6-l-flex--row-gap--selectors: append($pf-v6-l-flex--row-gap--selectors, $selector, $separator: comma);
425
+ $pf-v6-l-flex--row-gap--selectors: list.append($pf-v6-l-flex--row-gap--selectors, $selector, $separator: comma);
377
426
 
378
427
  &#{$selector} {
379
428
  --#{$flex}--RowGap: #{$spacer-value};
@@ -394,11 +443,26 @@ $pf-v6-l-flex--variable-map: build-variable-map("#{$pf-prefix}l-flex--spacer", $
394
443
 
395
444
  @include pf-v6-apply-breakpoint($breakpoint) {
396
445
  @each $spacer, $value in $pf-v6-l-flex--gap-map {
397
- $breakpoint-name: if($breakpoint == "base", "", -on-#{$breakpoint});
398
- $spacer-name: if($spacer == "base", "", -#{$spacer});
399
- $spacer-value: if($spacer == "base", var(--#{$flex}--m-column-gap--ColumnGap), $value);
446
+ $breakpoint-name: -on-#{$breakpoint};
447
+
448
+ @if $breakpoint == "base" {
449
+ $breakpoint-name: "";
450
+ }
451
+
452
+ $spacer-name: -#{$spacer};
453
+
454
+ @if $spacer == "base" {
455
+ $spacer-name: "";
456
+ }
457
+
458
+ $spacer-value: $value;
459
+
460
+ @if $spacer == "base" {
461
+ $spacer-value: var(--#{$flex}--m-column-gap--ColumnGap);
462
+ }
463
+
400
464
  $selector: ".pf-m-column-gap#{$spacer-name}#{$breakpoint-name}";
401
- $pf-v6-l-flex--column-gap--selectors: append($pf-v6-l-flex--column-gap--selectors, $selector, $separator: comma);
465
+ $pf-v6-l-flex--column-gap--selectors: list.append($pf-v6-l-flex--column-gap--selectors, $selector, $separator: comma);
402
466
 
403
467
  &#{$selector} {
404
468
  --#{$flex}--ColumnGap: #{$spacer-value};
@@ -12,12 +12,13 @@
12
12
  display: grid;
13
13
  grid-template-rows: var(--pf-v6-l-gallery--GridTemplateRows);
14
14
  grid-template-columns: var(--pf-v6-l-gallery--GridTemplateColumns);
15
- --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min);
16
- --pf-v6-l-gallery--GridTemplateColumns--minmax--max: var(--pf-v6-l-gallery--GridTemplateColumns--max);
17
15
  }
18
16
  .pf-v6-l-gallery.pf-m-gutter {
19
17
  grid-gap: var(--pf-v6-l-gallery--m-gutter--GridGap);
20
18
  }
19
+ .pf-v6-l-gallery {
20
+ --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min);
21
+ }
21
22
  @media (min-width: 36rem) {
22
23
  .pf-v6-l-gallery {
23
24
  --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-v6-l-gallery--GridTemplateColumns--min));
@@ -43,6 +44,9 @@
43
44
  --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min-on-2xl, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-md, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-v6-l-gallery--GridTemplateColumns--min))))));
44
45
  }
45
46
  }
47
+ .pf-v6-l-gallery {
48
+ --pf-v6-l-gallery--GridTemplateColumns--minmax--max: var(--pf-v6-l-gallery--GridTemplateColumns--max);
49
+ }
46
50
  @media (min-width: 36rem) {
47
51
  .pf-v6-l-gallery {
48
52
  --pf-v6-l-gallery--GridTemplateColumns--minmax--max: var(--pf-v6-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-v6-l-gallery--GridTemplateColumns--max));
@@ -2406,12 +2406,13 @@
2406
2406
  display: grid;
2407
2407
  grid-template-rows: var(--pf-v6-l-gallery--GridTemplateRows);
2408
2408
  grid-template-columns: var(--pf-v6-l-gallery--GridTemplateColumns);
2409
- --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min);
2410
- --pf-v6-l-gallery--GridTemplateColumns--minmax--max: var(--pf-v6-l-gallery--GridTemplateColumns--max);
2411
2409
  }
2412
2410
  .pf-v6-l-gallery.pf-m-gutter {
2413
2411
  grid-gap: var(--pf-v6-l-gallery--m-gutter--GridGap);
2414
2412
  }
2413
+ .pf-v6-l-gallery {
2414
+ --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min);
2415
+ }
2415
2416
  @media (min-width: 36rem) {
2416
2417
  .pf-v6-l-gallery {
2417
2418
  --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-v6-l-gallery--GridTemplateColumns--min));
@@ -2437,6 +2438,9 @@
2437
2438
  --pf-v6-l-gallery--GridTemplateColumns--minmax--min: var(--pf-v6-l-gallery--GridTemplateColumns--min-on-2xl, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-md, var(--pf-v6-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-v6-l-gallery--GridTemplateColumns--min))))));
2438
2439
  }
2439
2440
  }
2441
+ .pf-v6-l-gallery {
2442
+ --pf-v6-l-gallery--GridTemplateColumns--minmax--max: var(--pf-v6-l-gallery--GridTemplateColumns--max);
2443
+ }
2440
2444
  @media (min-width: 36rem) {
2441
2445
  .pf-v6-l-gallery {
2442
2446
  --pf-v6-l-gallery--GridTemplateColumns--minmax--max: var(--pf-v6-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-v6-l-gallery--GridTemplateColumns--max));
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.5.0-prerelease.33",
4
+ "version": "6.5.0-prerelease.35",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -12,6 +12,7 @@
12
12
  "backstop:approve": "backstop approve --config='backstop.js'",
13
13
  "backstop:approve:dark": "backstop approve --config='backstop.js' --dark",
14
14
  "backstop:chrome": "node backstop_data/engine_scripts/puppet/chrome.js",
15
+ "playwright": "node ./node_modules/playwright/cli.js",
15
16
  "build-patternfly": "gulp buildPatternfly",
16
17
  "build": "gulp build",
17
18
  "build:docs": "gulp buildWebpack",
@@ -48,7 +49,7 @@
48
49
  "@commitlint/config-conventional": "^19.1.0",
49
50
  "@fortawesome/fontawesome": "^1.1.8",
50
51
  "@octokit/rest": "^20.1.0",
51
- "@patternfly/documentation-framework": "6.31.15",
52
+ "@patternfly/documentation-framework": "6.33.5",
52
53
  "@patternfly/patternfly-a11y": "5.1.0",
53
54
  "@patternfly/react-code-editor": "6.4.0",
54
55
  "@patternfly/react-core": "6.4.0",
@@ -90,6 +91,7 @@
90
91
  "react-dom": "^18.2.0",
91
92
  "remark-parse": "^11.0.0",
92
93
  "remark-stringify": "^11.0.0",
94
+ "resemblejs": "^5.0.0",
93
95
  "rimraf": "^6.0.1",
94
96
  "sass": "^1.74.1",
95
97
  "stylelint": "^16.3.1",