@patternfly/patternfly 6.3.0-prerelease.52 → 6.3.0-prerelease.54

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 (77) hide show
  1. package/README.md +17 -11
  2. package/base/patternfly-variables.css +1208 -1
  3. package/base/patternfly-variables.scss +10 -0
  4. package/base/tokens/tokens-charts-dark.scss +1 -1
  5. package/base/tokens/tokens-charts.scss +1 -1
  6. package/base/tokens/tokens-dark.scss +13 -1
  7. package/base/tokens/tokens-default.scss +60 -2
  8. package/base/tokens/tokens-highcontrast-dark.scss +396 -0
  9. package/base/tokens/tokens-highcontrast.scss +703 -0
  10. package/base/tokens/tokens-local.scss +39 -0
  11. package/base/tokens/tokens-palette.scss +9 -1
  12. package/components/Accordion/accordion.css +21 -0
  13. package/components/Accordion/accordion.scss +27 -1
  14. package/components/Alert/alert-group.css +15 -2
  15. package/components/Alert/alert-group.scss +18 -2
  16. package/components/Badge/badge.css +2 -0
  17. package/components/Badge/badge.scss +2 -0
  18. package/components/Banner/banner.css +4 -0
  19. package/components/Banner/banner.scss +4 -0
  20. package/components/Button/button.css +32 -3
  21. package/components/Button/button.scss +34 -5
  22. package/components/Card/card.css +5 -3
  23. package/components/Card/card.scss +5 -3
  24. package/components/CodeBlock/code-block.css +3 -0
  25. package/components/CodeBlock/code-block.scss +3 -0
  26. package/components/CodeEditor/code-editor.css +8 -3
  27. package/components/CodeEditor/code-editor.scss +11 -6
  28. package/components/Drawer/drawer.css +44 -41
  29. package/components/Drawer/drawer.scss +42 -36
  30. package/components/DualListSelector/dual-list-selector.css +19 -1
  31. package/components/DualListSelector/dual-list-selector.scss +20 -1
  32. package/components/Label/label.css +20 -11
  33. package/components/Label/label.scss +21 -11
  34. package/components/Login/login.css +3 -0
  35. package/components/Login/login.scss +3 -0
  36. package/components/Menu/menu.css +11 -0
  37. package/components/Menu/menu.scss +12 -1
  38. package/components/MenuToggle/menu-toggle.css +12 -5
  39. package/components/MenuToggle/menu-toggle.scss +12 -5
  40. package/components/ModalBox/modal-box.css +3 -0
  41. package/components/ModalBox/modal-box.scss +3 -0
  42. package/components/Nav/nav.css +17 -0
  43. package/components/Nav/nav.scss +20 -0
  44. package/components/Page/page.css +2 -2
  45. package/components/Page/page.scss +2 -2
  46. package/components/Panel/panel.css +7 -1
  47. package/components/Panel/panel.scss +7 -1
  48. package/components/Popover/popover.css +4 -0
  49. package/components/Popover/popover.scss +4 -0
  50. package/components/Progress/progress.css +10 -0
  51. package/components/Progress/progress.scss +11 -0
  52. package/components/SimpleList/simple-list.css +15 -0
  53. package/components/SimpleList/simple-list.scss +17 -1
  54. package/components/Table/table.css +29 -0
  55. package/components/Table/table.scss +33 -0
  56. package/components/Tabs/tabs.css +7 -0
  57. package/components/Tabs/tabs.scss +8 -1
  58. package/components/TreeView/tree-view.css +15 -0
  59. package/components/TreeView/tree-view.scss +17 -0
  60. package/components/Wizard/wizard.css +22 -1
  61. package/components/Wizard/wizard.scss +25 -3
  62. package/components/_index.css +330 -73
  63. package/docs/components/DataList/examples/DataList.md +60 -184
  64. package/docs/components/DualListSelector/examples/DualListSelector.md +0 -195
  65. package/docs/components/Login/examples/Login.md +22 -22
  66. package/docs/components/Table/examples/Table.md +936 -1412
  67. package/docs/demos/Dashboard/examples/Dashboard.md +5 -20
  68. package/docs/demos/DataList/examples/DataList.md +528 -168
  69. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +726 -312
  70. package/docs/demos/Table/examples/Table.md +5 -20
  71. package/package.json +3 -2
  72. package/patternfly-base-no-globals.css +1208 -1
  73. package/patternfly-base.css +1208 -1
  74. package/patternfly-no-globals.css +1538 -74
  75. package/patternfly.css +1538 -74
  76. package/patternfly.min.css +1 -1
  77. package/patternfly.min.css.map +1 -1
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # PatternFly
2
2
 
3
+ ## Contributing
4
+
5
+ We welcome contributions to PatternFly! Please read our [Contributing Guide](https://pf-core-staging.patternfly.org/contribution) to learn how to get started, submit issues, and contribute code to the project.
6
+
3
7
  ## Install
4
8
 
5
9
  - This assumes an environment is already set up for npm packages - if not, please use npm init following the steps at [https://docs.npmjs.com/getting-started/using-a-package.json](https://docs.npmjs.com/getting-started/using-a-package.json).
@@ -7,10 +11,11 @@
7
11
 
8
12
  When you install PatternFly, the package includes:
9
13
 
10
- - a single file for the entire compiled library: `node_modules/@patternfly/patternfly/patternfly.css`
11
- - individual files with each component compiled separately: `node_modules/@patternfly/patternfly/<ComponentName>/styles.css`
12
- - a single file for the entire library's source (SASS): `node_modules/@patternfly/patternfly/patternfly.scss`
13
- - individual files for each component's source (SASS): `node_modules/@patternfly/patternfly/<ComponentName>/styles.scss`
14
+ - @patternfly/patternfly/patternfly-base.css - base styles. Global styles, reset/normalize styles, global variables. These styles are required for patternfly styles to work properly.
15
+ - @patternfly/patternfly/patternfly.css - this is patternfly-base.css, as well as all component and layout styles. Does not include utility styles.
16
+ - @patternfly/patternfly/patternfly-addons.css - all utility class styles. These do not come with patternfly.css, and must be imported manually.
17
+ - @patternfly/patternfly/utilities/[UtilityName]/[utility-name].css - individual utility class styles if you prefer only use one or two, and don't want to import all of them.
18
+ - @patternfly/patternfly/patternfly-charts.css - required if using dark theme with [PatternFly charts](https://www.patternfly.org/charts/about-charts).
14
19
 
15
20
  Any of the files above are meant for use in consuming the library. The recommended consumption approach will vary from project to project.
16
21
 
@@ -70,14 +75,14 @@ When making visual changes to a full page example, new example preview screensho
70
75
  - CSS developers should ensure that animation is well documented and communicated to the respective React developer.
71
76
  - Once the component/enhancement is complete it should receive sign off from a visual designer who can then update the master sketch file with any changes.
72
77
 
73
- ### Handlebars guidelines
74
- [For information on how to contribute, refer to our guidelines.](https://pf-core-staging.patternfly.org/contribution)
78
+ ### Contribution guide
79
+ For information on how to contribute, refer to our [contribution guide](https://pf-core-staging.patternfly.org/contribution).
75
80
 
76
- ### CSS/Sass guidelines
77
- [For more information on using CSS and Sass, refer to our guidelines.](https://pf-core-staging.patternfly.org/guidelines)
81
+ ### Development guidelines
82
+ For more information on using CSS, Sass, and handlebars, refer to our [development guidelines](https://pf-core-staging.patternfly.org/guidelines).
78
83
 
79
84
  ### Custom icon guidelines
80
- [For more information on custom icons, refer to our guidelines.](https://pf-core-staging.patternfly.org/adding-custom-icons)
85
+ For more information on custom icons, refer to our [custom icon guidelines](https://pf-core-staging.patternfly.org/custom-icons).
81
86
 
82
87
  ## Beta components
83
88
 
@@ -113,13 +118,14 @@ If you have any suggestions about ways that we can improve how we use this tool,
113
118
 
114
119
  ## FAQ
115
120
 
116
- #### CSS Variables
121
+ ### CSS Variables
117
122
  [How do I use CSS variables to customize the library?](https://pf-core-staging.patternfly.org/guidelines#variables)
118
123
 
119
- #### Browser support
124
+ ### Browser support
120
125
  PatternFly is supported on the latest two major versions of the following browsers:
121
126
 
122
127
  - Chrome
123
128
  - Firefox
124
129
  - Safari
125
130
  - Edge
131
+