@patternfly/patternfly 6.5.0-prerelease.66 → 6.5.0-prerelease.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/components/Accordion/accordion.css +1 -2
  2. package/components/Accordion/accordion.scss +2 -2
  3. package/components/Card/card.css +8 -0
  4. package/components/Card/card.scss +13 -0
  5. package/components/DataList/data-list.css +1 -1
  6. package/components/DataList/data-list.scss +2 -2
  7. package/components/Drawer/drawer.css +3 -5
  8. package/components/Drawer/drawer.scss +7 -9
  9. package/components/OverflowMenu/overflow-menu.css +16 -0
  10. package/components/OverflowMenu/overflow-menu.scss +20 -1
  11. package/components/Page/page.css +11 -11
  12. package/components/Page/page.scss +2 -2
  13. package/components/Table/table.css +1 -2
  14. package/components/Table/table.scss +2 -2
  15. package/components/Toolbar/toolbar.css +100 -0
  16. package/components/Toolbar/toolbar.scss +2 -2
  17. package/components/Wizard/wizard.css +2 -2
  18. package/components/Wizard/wizard.scss +4 -4
  19. package/components/_index.css +143 -23
  20. package/docs/components/ActionList/examples/ActionList.md +2 -2
  21. package/docs/components/Alert/examples/Alert.md +4 -4
  22. package/docs/components/Button/examples/Button.md +1 -1
  23. package/docs/components/Icon/examples/Icon.md +13 -1
  24. package/docs/components/Menu/examples/Menu.md +26 -2
  25. package/docs/components/MenuToggle/examples/MenuToggle.md +172 -64
  26. package/docs/components/OverflowMenu/examples/overflow-menu.css +6 -3
  27. package/docs/components/OverflowMenu/examples/overflow-menu.md +21 -0
  28. package/docs/components/Toolbar/examples/Toolbar.md +106 -7
  29. package/docs/components/TreeView/examples/TreeView.md +4 -4
  30. package/docs/components/Wizard/examples/Wizard.md +1 -1
  31. package/docs/demos/AboutModal/examples/AboutModal.md +23 -15
  32. package/docs/demos/Alert/examples/Alert.md +69 -45
  33. package/docs/demos/BackToTop/examples/BackToTop.md +23 -15
  34. package/docs/demos/Banner/examples/Banner.md +46 -30
  35. package/docs/demos/CardView/examples/CardView.md +36 -16
  36. package/docs/demos/Compass/examples/Compass.md +76 -19
  37. package/docs/demos/Dashboard/examples/Dashboard.md +23 -15
  38. package/docs/demos/DataList/examples/DataList.md +157 -65
  39. package/docs/demos/DescriptionList/examples/DescriptionList.md +69 -45
  40. package/docs/demos/Drawer/examples/Drawer.md +115 -75
  41. package/docs/demos/JumpLinks/examples/JumpLinks.md +138 -90
  42. package/docs/demos/Masthead/examples/Masthead.md +101 -21
  43. package/docs/demos/Modal/examples/Modal.md +138 -90
  44. package/docs/demos/Nav/examples/Nav.md +188 -120
  45. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +115 -75
  46. package/docs/demos/Page/examples/Page.md +361 -213
  47. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +265 -113
  48. package/docs/demos/Skeleton/examples/Skeleton.md +23 -15
  49. package/docs/demos/Table/examples/Table.md +711 -271
  50. package/docs/demos/Tabs/examples/Tabs.md +151 -91
  51. package/docs/demos/Toolbar/examples/Toolbar.md +124 -36
  52. package/docs/demos/Wizard/examples/Wizard.md +207 -135
  53. package/package.json +1 -1
  54. package/patternfly-no-globals.css +143 -23
  55. package/patternfly.css +143 -23
  56. package/patternfly.min.css +1 -1
  57. package/patternfly.min.css.map +1 -1
  58. package/sass-utilities/mixins.scss +16 -1
@@ -196,7 +196,7 @@
196
196
  -ms-overflow-style: -ms-autohiding-scrollbar; // auto hides scrollbars in Edge
197
197
  }
198
198
 
199
- @mixin pf-v6-hidden-visible($val: "block") {
199
+ @mixin pf-v6-hidden-visible($val: "block", $ifIncludeHeight: false) {
200
200
  // stylelint-disable-next-line
201
201
  --#{$pf-prefix}hidden-visible--visible--Display: #{$val};
202
202
 
@@ -218,6 +218,21 @@
218
218
  --#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--hidden--Display);
219
219
  }
220
220
 
221
+ // only apply height breakpoints if $ifIncludeHeight is true
222
+ @if $ifIncludeHeight {
223
+ @each $size, $bp in $pf-v6-global--height-breakpoint-name-map {
224
+ @media screen and (min-height: $bp) {
225
+ &.pf-m-hidden-on-#{$size}-height {
226
+ --#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--hidden--Display);
227
+ }
228
+
229
+ &.pf-m-visible-on-#{$size}-height {
230
+ --#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--visible--Display);
231
+ }
232
+ }
233
+ }
234
+ }
235
+
221
236
  @each $size, $bp in $pf-v6-global--breakpoint-name-map {
222
237
  @media screen and (min-width: $bp) {
223
238
  &.pf-m-hidden-on-#{$size} {