@patternfly/patternfly 6.1.0-prerelease.1 → 6.1.0-prerelease.3

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 (60) hide show
  1. package/README.md +5 -5
  2. package/components/CodeEditor/code-editor.css +15 -0
  3. package/components/CodeEditor/code-editor.scss +16 -1
  4. package/components/Content/content.css +9 -0
  5. package/components/Content/content.scss +7 -0
  6. package/components/Label/label-group.css +12 -0
  7. package/components/Label/label-group.scss +14 -0
  8. package/components/Label/label.css +2 -0
  9. package/components/Label/label.scss +2 -0
  10. package/components/MenuToggle/menu-toggle.css +3 -7
  11. package/components/MenuToggle/menu-toggle.scss +3 -8
  12. package/components/Table/table-grid.css +12 -12
  13. package/components/Table/table-grid.scss +4 -4
  14. package/components/Table/table-tree-view.css +4 -4
  15. package/components/Table/table-tree-view.scss +4 -4
  16. package/components/Table/table.css +1 -0
  17. package/components/Table/table.scss +2 -0
  18. package/components/Title/title.css +4 -0
  19. package/components/Title/title.scss +7 -0
  20. package/components/Wizard/wizard.css +1 -1
  21. package/components/Wizard/wizard.scss +1 -1
  22. package/components/_index.css +63 -24
  23. package/docs/components/CodeEditor/examples/CodeEditor.css +3 -0
  24. package/docs/components/CodeEditor/examples/CodeEditor.md +158 -7
  25. package/docs/components/Content/examples/Content.md +8 -7
  26. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -18
  27. package/docs/components/Label/examples/Label.css +12 -0
  28. package/docs/components/Label/examples/Label.md +127 -0
  29. package/docs/components/MenuToggle/examples/MenuToggle.md +1193 -536
  30. package/docs/components/Table/examples/Table.md +465 -2523
  31. package/docs/components/Title/examples/Title.md +10 -0
  32. package/docs/demos/AboutModal/examples/AboutModal.md +2 -4
  33. package/docs/demos/Alert/examples/Alert.md +6 -12
  34. package/docs/demos/BackToTop/examples/BackToTop.md +2 -4
  35. package/docs/demos/Banner/examples/Banner.md +4 -8
  36. package/docs/demos/Card/examples/Card.css +4 -0
  37. package/docs/demos/Card/examples/Card.md +13 -21
  38. package/docs/demos/CardView/examples/CardView.md +2 -4
  39. package/docs/demos/Dashboard/examples/Dashboard.md +2 -4
  40. package/docs/demos/DataList/examples/DataList.md +13 -46
  41. package/docs/demos/DescriptionList/examples/DescriptionList.md +11 -42
  42. package/docs/demos/Drawer/examples/Drawer.md +6 -12
  43. package/docs/demos/JumpLinks/examples/JumpLinks.md +8 -16
  44. package/docs/demos/Masthead/examples/Masthead.md +18 -36
  45. package/docs/demos/Modal/examples/Modal.md +12 -24
  46. package/docs/demos/Nav/examples/Nav.md +12 -24
  47. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -20
  48. package/docs/demos/Page/examples/Page.md +24 -48
  49. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +14 -28
  50. package/docs/demos/Skeleton/examples/Skeleton.md +2 -4
  51. package/docs/demos/Table/examples/Table.md +191 -984
  52. package/docs/demos/Tabs/examples/Tabs.md +18 -60
  53. package/docs/demos/Toolbar/examples/Toolbar.md +16 -80
  54. package/docs/demos/Wizard/examples/Wizard.md +18 -36
  55. package/package.json +3 -3
  56. package/patternfly-no-globals.css +63 -24
  57. package/patternfly.css +63 -24
  58. package/patternfly.min.css +1 -1
  59. package/patternfly.min.css.map +1 -1
  60. package/sass-utilities/functions.scss +6 -0
@@ -21,6 +21,12 @@
21
21
  @return math.div(pf-strip-unit($pxval), $base) * 1rem;
22
22
  }
23
23
 
24
+ // Return breakpoint for max-width
25
+ // Used in combination with min-width avoids 1px overlap
26
+ @function pf-v6-max-width-bp($breakpoint) {
27
+ @return calc($breakpoint - 1px);
28
+ }
29
+
24
30
  // Return (width) breakpoint value if it exists
25
31
  @function pf-breakpoint-value($breakpoint, $breakpoint-map: $pf-v6-global--breakpoint-name-map) {
26
32
  $breakpoint-value: if(map-has-key($breakpoint-map, #{$breakpoint}), map-get($breakpoint-map, #{$breakpoint}), false);