@patternfly/react-docs 6.0.0-prerelease.8 → 6.0.0

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 (68) hide show
  1. package/CHANGELOG.md +94 -9037
  2. package/package.json +11 -11
  3. package/patternfly-docs/generated/components/alert/react-demos/alert-group-toast-with-notification-drawer.png +0 -0
  4. package/patternfly-docs/generated/components/back-to-top/react-demos/using-name-selector.png +0 -0
  5. package/patternfly-docs/generated/components/background-image/react/basic.png +0 -0
  6. package/patternfly-docs/generated/components/banner/react-demos/basic-sticky-banner.png +0 -0
  7. package/patternfly-docs/generated/components/banner/react-demos/top-and-bottom-banner.png +0 -0
  8. package/patternfly-docs/generated/components/jump-links/react-demos/scrollspy-with-subsections.png +0 -0
  9. package/patternfly-docs/generated/components/jump-links/react-demos/with-drawer.png +0 -0
  10. package/patternfly-docs/generated/components/login-page/react/basic.png +0 -0
  11. package/patternfly-docs/generated/components/login-page/react/showhide-password.png +0 -0
  12. package/patternfly-docs/generated/components/login-page/react/with-header-utilities.png +0 -0
  13. package/patternfly-docs/generated/components/masthead/react-demos/masthead-with-utilities-and-user-dropdown-menu.png +0 -0
  14. package/patternfly-docs/generated/components/navigation/react-demos/default-nav.png +0 -0
  15. package/patternfly-docs/generated/components/navigation/react-demos/drilldown-nav.png +0 -0
  16. package/patternfly-docs/generated/components/navigation/react-demos/expandable-nav.png +0 -0
  17. package/patternfly-docs/generated/components/navigation/react-demos/flyout-nav.png +0 -0
  18. package/patternfly-docs/generated/components/navigation/react-demos/grouped-nav.png +0 -0
  19. package/patternfly-docs/generated/components/navigation/react-demos/horizontal-nav-with-horizontal-subnav.png +0 -0
  20. package/patternfly-docs/generated/components/navigation/react-demos/horizontal-nav.png +0 -0
  21. package/patternfly-docs/generated/components/navigation/react-demos/horizontal-subnav.png +0 -0
  22. package/patternfly-docs/generated/components/navigation/react-demos/light-nav-deprecated.png +0 -0
  23. package/patternfly-docs/generated/components/navigation/react-demos/manual-nav.png +0 -0
  24. package/patternfly-docs/generated/components/navigation/react-demos/tertiary-nav-deprecated.png +0 -0
  25. package/patternfly-docs/generated/components/notification-drawer/react-demos/basic.png +0 -0
  26. package/patternfly-docs/generated/components/notification-drawer/react-demos/grouped.png +0 -0
  27. package/patternfly-docs/generated/components/page/react-demos/sticky-section-breadcrumb-with-breakpoints.png +0 -0
  28. package/patternfly-docs/generated/components/page/react-demos/sticky-section-group-alternate-syntax.png +0 -0
  29. package/patternfly-docs/generated/components/page/react-demos/sticky-section-group.png +0 -0
  30. package/patternfly-docs/generated/components/pagination/react/sticky.png +0 -0
  31. package/patternfly-docs/generated/components/table/react-demos/automatic-pagination.png +0 -0
  32. package/patternfly-docs/generated/components/table/react-demos/bulk-select.png +0 -0
  33. package/patternfly-docs/generated/components/table/react-demos/column-management.png +0 -0
  34. package/patternfly-docs/generated/components/table/react-demos/compact.png +0 -0
  35. package/patternfly-docs/generated/components/table/react-demos/compound-expansion.png +0 -0
  36. package/patternfly-docs/generated/components/table/react-demos/empty.png +0 -0
  37. package/patternfly-docs/generated/components/table/react-demos/error.png +0 -0
  38. package/patternfly-docs/generated/components/table/react-demos/expandcollapse-all.png +0 -0
  39. package/patternfly-docs/generated/components/table/react-demos/filterable.png +0 -0
  40. package/patternfly-docs/generated/components/table/react-demos/loading.png +0 -0
  41. package/patternfly-docs/generated/components/table/react-demos/sortable---responsive.png +0 -0
  42. package/patternfly-docs/generated/components/table/react-demos/static-bottom-pagination-on-mobile.png +0 -0
  43. package/patternfly-docs/generated/components/table/react-demos/sticky-columns-and-header-with-toolbar.png +0 -0
  44. package/patternfly-docs/generated/components/table/react-demos/sticky-first-column.png +0 -0
  45. package/patternfly-docs/generated/components/table/react-demos/sticky-header.png +0 -0
  46. package/patternfly-docs/generated/components/tabs/react-demos/modal-tabs.png +0 -0
  47. package/patternfly-docs/generated/components/tabs/react-demos/nested-tabs.png +0 -0
  48. package/patternfly-docs/generated/components/tabs/react-demos/nested-unindented-tabs.png +0 -0
  49. package/patternfly-docs/generated/components/tabs/react-demos/open-tabs-with-secondary-tabs.png +0 -0
  50. package/patternfly-docs/generated/components/tabs/react-demos/open-tabs.png +0 -0
  51. package/patternfly-docs/generated/components/tabs/react-demos/tables-and-tabs.png +0 -0
  52. package/patternfly-docs/generated/components/toolbar/react-demos/console-log-viewer-toolbar-demo.png +0 -0
  53. package/patternfly-docs/generated/components/wizard/react-demos/in-modal-with-drawer-and-informational-step.png +0 -0
  54. package/patternfly-docs/generated/components/wizard/react-demos/in-modal-with-drawer.png +0 -0
  55. package/patternfly-docs/generated/components/wizard/react-demos/in-modal.png +0 -0
  56. package/patternfly-docs/generated/components/wizard/react-demos/in-page-with-drawer-and-informational-step.png +0 -0
  57. package/patternfly-docs/generated/components/wizard/react-demos/in-page-with-drawer.png +0 -0
  58. package/patternfly-docs/generated/components/wizard/react-demos/in-page.png +0 -0
  59. package/patternfly-docs/generated/patterns/card-view/react-demos/card-view.png +0 -0
  60. package/patternfly-docs/generated/patterns/primary-detail/react-demos/primary-detail-card-view.png +0 -0
  61. package/patternfly-docs/generated/patterns/primary-detail/react-demos/primary-detail-content-padding.png +0 -0
  62. package/patternfly-docs/generated/patterns/primary-detail/react-demos/primary-detail-data-list-in-card.png +0 -0
  63. package/patternfly-docs/generated/patterns/primary-detail/react-demos/primary-detail-full-page.png +0 -0
  64. package/patternfly-docs/generated/patterns/primary-detail/react-demos/primary-detail-inline-modifier.png +0 -0
  65. package/patternfly-docs/generated/patterns/primary-detail/react-demos/primary-detail-simple-list-in-card.png +0 -0
  66. package/patternfly-docs/patternfly-docs.source.js +0 -8
  67. package/RELEASE-NOTES.md +0 -4630
  68. package/UPGRADE-GUIDE.md +0 -279
package/UPGRADE-GUIDE.md DELETED
@@ -1,279 +0,0 @@
1
- ---
2
- id: Upgrade guide
3
- section: developer-resources
4
- ---
5
-
6
- **Note:** this guide details upgrading from PatternFly v3 to v4, and references [major release 2020.07](/developer-resources/release-notes#2020.07-release-notes-2020-06-05) from 2020-06-05.
7
- <hr/>
8
-
9
- Hey, Flyers! We’ve been busy for the past 12 weeks keeping up with changes to PatternFly’s HTML and CSS. We’ve replaced `babel` with `tsc` as our compiler of choice and removed prop-types in favor of using our `.d.ts` types, which are supported in most editors.
10
-
11
- This upgrade guide details **what** was broken and **how** to fix it. To learn **why** a change was made, check out the linked pull requests.
12
-
13
- ## Global
14
- - We no longer support UMD builds for individual packages. Consider using our [react-core.umd.js bundle](https://unpkg.com/@patternfly/react-core@3/dist/umd/react-core.umd.js) instead. [(#4076)](https://github.com/patternfly/patternfly-react/pull/4076)
15
- - We no longer define `propTypes` for our components. Consider using our Typescript types under each package's `dist/js` folder instead. [(#4076)](https://github.com/patternfly/patternfly-react/pull/4076)
16
-
17
- ## React core
18
- - Major changes include removing the `Toolbar` layout in favor of a new `PageHeaderTools` component. `DataToolbar` has been renamed `Toolbar`. `Expandable` has been renamed `ExpandableSection`.
19
-
20
- ### About modal
21
- - **AboutModalContainer**:
22
- - Removed prop `ariaLabelledbyId` in favor of `aboutModalBoxHeaderId`
23
- - Removed prop `ariaDescribedById` in favor of `aboutModalBoxContentId`
24
-
25
- ### Accordion
26
- - Removed prop `noBoxShadow`. If a shadow is needed, the accordion can be placed in a card, or a shadow can be applied either using CSS or a box-shadow utility class. [(#4022)](https://github.com/patternfly/patternfly-react/pull/4022)
27
-
28
- ### Alert
29
- - Changed default variant to `default`. To maintain current default behavior, set the `variant` property to `info`. [(#3903)](https://github.com/patternfly/patternfly-react/pull/3903).
30
- - If you were previously using the `action` prop for the close button, use the `actionClose` prop instead [(#4190)](https://github.com/patternfly/patternfly-react/pull/4190)
31
- - If you were previously using the `action` prop for a link button, use the `actionLinks` prop instead [(#4190)](https://github.com/patternfly/patternfly-react/pull/4190)
32
-
33
- ### Application launcher
34
- - Removed deprecated prop `dropdownItems`. the prop `items` should be used instead [(#3929)](https://github.com/patternfly/patternfly-react/pull/3929)
35
-
36
- ### Background image
37
- - Replaced `[BackgroundImageSrc.{sm,xs2x,sm,sm2x,lg}]` with strings `'sm' | 'xs2x' | 'sm' | 'sm2x' | 'lg'` [(#3886)](https://github.com/patternfly/patternfly-react/pull/3886)
38
- - Removed always ignored `[BackgroundImageSrc.filter]` for new `filter` prop of type `ReactNode` [(#3886)](https://github.com/patternfly/patternfly-react/pull/3886)
39
-
40
- ### Button
41
- - Removed props `isHover` and `isFocus` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
42
-
43
- ### Card
44
- - **CardHeader:**
45
- - Renamed to CardTitle [(#4170)](https://github.com/patternfly/patternfly-react/pull/4170)
46
- - **CardHeadMain:**
47
- - Renamed to CardHeaderMain [(#4170)](https://github.com/patternfly/patternfly-react/pull/4170)
48
- - **CardHead**:
49
- - Renamed to CardHeader [(#4170)](https://github.com/patternfly/patternfly-react/pull/4170)
50
-
51
-
52
- ### Chip group
53
- - **Chip:**
54
- - The overflow chip no longer contains a button. To specify an overflow chip as a button do use `<Chip component='button' isOverflowChip>Chip</Chip>` [(#4246)](https://github.com/patternfly/patternfly-react/pull/4246)
55
- - **ChipGroup** :
56
- - Removed prop `withToolbar`. Use the `categoryName` prop instead to add a chip group with a category. [(#4246)](https://github.com/patternfly/patternfly-react/pull/4246)
57
- - Removed prop `headingLevel`. The category name has internally been switched to a `<span>`. [(#4246)](https://github.com/patternfly/patternfly-react/pull/4246)
58
- - **ChipGroupToolbarItem**: This component has been removed in favor of `<ChipGroup categoryName="name">`. All props that were on the `<ChipGroupToolbarItem>` have been added to `<ChipGroup>`. To use the new API, move props from `<ChipGroupToolbarItem>` to `<ChipGroup>`. [(#4246)](https://github.com/patternfly/patternfly-react/pull/4246)
59
-
60
-
61
- ### Context selector
62
- - **ContextSelectorItem:**
63
- - Removed prop `isHover` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
64
- - **ContextSelectorToggle:**
65
- - Removed props `isHovered` and `isFocused` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
66
-
67
- ### Data list
68
- - Renamed `noPadding` to `hasNoPadding`. [(#4133)](https://github.com/patternfly/patternfly-react/pull/4133)
69
-
70
- ### Divider
71
- - Removed promoted component from experimental index file. Change import path from `import { Divider } from '@patternfly/react-core/dist/esm/experimental';` to `'import { Divider } from '@patternfly/react-core/dist/esm/components';` [(#4029)](https://github.com/patternfly/patternfly-react/pull/4029).
72
-
73
-
74
- ### Drawer
75
- - Renamed `noPadding` to `hasNoPadding`. [(#4133)](https://github.com/patternfly/patternfly-react/pull/4133)
76
- - Removed import path `'@patternfly/react-core/dist/js/experimental'`. The import path `'@patternfly/react-core'` should be used instead. [(#4176)](https://github.com/patternfly/patternfly-react/pull/4176)
77
-
78
- ### Dropdown
79
- - **Dropdown:**
80
- - Removed props `isHover` and `isFocus` from Toggle, KebabToggle, and DropdownToggle [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
81
- - Removed prop `variant`. If you were using `variant="icon"` before, use the new prop `icon` instead. [(#4147)](https://github.com/patternfly/patternfly-react/pull/4147)
82
- - **DropdownToggle**:
83
- - Removed prop `ariaHasPopup` in favor of `aria-haspopup`
84
- - Renamed `iconComponent` to `toggleIndicator` [(#4038)](https://github.com/patternfly/patternfly-react/pull/4038)
85
- - **DropdownItemIcon**:
86
- - This component has been removed in favor of `<DropdownItem icon={<Icon />} />` [(#4147)](https://github.com/patternfly/patternfly-react/pull/4147)
87
-
88
- ### Empty state
89
- - **EmptyState**
90
- - Changed the default width to `full` instead of `large`. To maintain the previous default behaviour, set the `variant` prop to large. Example `<EmptyState variant={EmptyStateVariant.large}> ...</EmptyState>` [(#3933)](https://github.com/patternfly/patternfly-react/pull/3933)
91
- - Variant `large` has been updated to `lg` [(#3933)](https://github.com/patternfly/patternfly-react/pull/3933)
92
- - **EmptyStateIcon:**
93
- - Removed deprecated `size` and `title` from IconProps.
94
-
95
- ### Expandable section (formerly Expandable)
96
- - Renamed component to `ExpandableSection` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
97
- - Removed props `isFocus` and `isHovered` from ExpandableSection [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
98
-
99
- ### Flex
100
- - **Flex:**
101
- - Removed `breakpointMods` prop in favor of `spacer`, `spaceItems`, `grow`, `shrink`, `flex`, `direction`, `alignItems`, `alignContent`, `alignSelf`, `align`, `justifyContent`, `display`, `fullWidth` and `flexWrap` [(#4310)](https://github.com/patternfly/patternfly-react/pull/4310)
102
- - **FlexItem:**
103
- - Removed `breakpointMods` prop in favor of `spacer`, `grow`, `shrink`, `flex`, `alignSelf`, `align`, and `fullWidth` [(#4310)](https://github.com/patternfly/patternfly-react/pull/4310)
104
-
105
- ### Form select
106
- - Removed boolean `isValid` prop in favor of `validated?: 'default' | 'success' | 'error' | ValidatedOptions;`. Update your boolean logic to use the new 'default' or 'error' options instead. [(#3975)](https://github.com/patternfly/patternfly-react/pull/3975)
107
-
108
- ### Gallery
109
- - Removed prop `gutter` in favor of `hasGutter` [(#4014)](https://github.com/patternfly/patternfly-react/pull/4014)
110
-
111
- ### Grid
112
- - Removed prop `gutter` in favor of `hasGutter` [(#4014)](https://github.com/patternfly/patternfly-react/pull/4014)
113
-
114
- ### Label
115
- - Removed prop `isCompact` from Label [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
116
- - Default color changed to grey. Design also adjusted. [(#4165)](https://github.com/patternfly/patternfly-react/pull/4165)
117
-
118
- ### Level
119
- - Removed prop `gutter` in favor of `hasGutter` [(#4014)](https://github.com/patternfly/patternfly-react/pull/4014)
120
-
121
- ### Login page
122
- - **LoginForm:**
123
- - Removed prop `rememberMeAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
124
-
125
- ### Modal
126
- - **Modal**
127
- - Collapsed the `isLarge` and `isSmall` properties into a single `variant` property. To maintain the current behavior, set the `variant` property to `large` or `small`, or use the newly added `ModalVariant` enum as `ModalVariant.large` or `ModalVariant.small`. [(#3920)](https://github.com/patternfly/patternfly-react/pull/3920)
128
- - Removed prop `ariaDescribedById` in favor of `modalContentAriaDescribedById` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
129
- - Removed prop `isFooterLeftAligned `. This prop is now always enabled and cannot be opted out of. [(#4017)](https://github.com/patternfly/patternfly-react/pull/4017)
130
- - Removed prop `hideTitle`. To hide the Modal header, do not pass a title prop, a description prop, or a header prop. If there is no title or header passed, provide an `aria-label` prop to the Modal component to make it accessible. [(#4140)](https://github.com/patternfly/patternfly-react/pull/4140)
131
- - **ModalContent:**
132
- - Removed prop `ariaDescribedById` in favor of `modalBoxAriaDescribedById`
133
- - **ModalFooter:**
134
- - Removed prop `isLeftAligned` [(#4017)](https://github.com/patternfly/patternfly-react/pull/4017)
135
-
136
- ### Nav
137
- - **Nav:**
138
- - Changed default theme to dark. To use the light variant, use `theme="light"`. [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
139
- - **NavList:**
140
- - Removed prop `variant`. Pass `variant="horizontal"` or `variant="tertiary"` to `Nav` instead. [(#4225)](https://github.com/patternfly/patternfly-react/pull/4225)
141
-
142
- ### Options menu
143
- - **OptionsMenu:**
144
- - Removed prop `ariaLabelMenu`.
145
- - **OptionsMenuItemGroup:**
146
- - Removed prop `ariaLabel` in favor of `aria-label`
147
- - **OptionsMenuToggleWithText**:
148
- - Removed prop `ariaHasPopup` in favor of `aria-haspopup`
149
- - Removed props `isFocused` and `isHovered` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
150
- - **OptionsMenuToggle:**
151
- - Removed props `isFocused` and `isHovered` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
152
-
153
- ### Page
154
- - **Page:**
155
- - Made mainContainerId a required property for skip to content component [(#3904)](https://github.com/patternfly/patternfly-react/pull/3904)
156
- - Changed default theme to dark. Use `theme="light"` if you wish to use the light variant. [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
157
- - Renamed `noPadding` to `hasNoPadding`. [(#4133)](https://github.com/patternfly/patternfly-react/pull/4133)
158
- - Removed prop `hasNoPadding` in favor of `padding={{ default: 'noPadding' }}` to prevent conflicts when setting both `hasNoPadding` and `padding={{ default: 'padding' | 'noPadding' }}` [(#4310)](https://github.com/patternfly/patternfly-react/pull/4310)
159
- - **PageSection:**
160
- - Removed prop `noPaddingMobile` from PageSection in favor of `hasNoPaddingOn={PageSectionBreakpoints[]}` [(#4133)](https://github.com/patternfly/patternfly-react/pull/4133)
161
- - Added `hasPaddingOn` and `hasNoPaddingOn` properties to PageSection, accounting for page size breakpoints. Breakpoints are defined in the `PageSectionBreakpoints` enum. [(#4133)](https://github.com/patternfly/patternfly-react/pull/4133)
162
- - **PageHeader**:
163
- - Removed prop `avatar`. Add the avatar to the `PageHeaderTools` component instead (which is passed into `PageHeader` via the `headerTools` prop) [(#4223)](https://github.com/patternfly/patternfly-react/pull/4223)
164
- - Removed prop `toolbar`. Use the `headerTools` prop instead. Also, if you previously used the `Toolbar`, `ToolbarGroup`, or `ToolbarItem` components for the header, replace them with the `PageHeaderTools`, `PageHeaderToolsGroup`, and `PageHeaderToolsItem` components. [(#4223)](https://github.com/patternfly/patternfly-react/pull/4223)
165
-
166
- ### Pagination
167
- - Removed obsolete 'left' and 'right' variants. These should be replaced with 'top' (default) or 'bottom'. [(#4202)](https://github.com/patternfly/patternfly-react/pull/4202)
168
-
169
- ### Popover
170
- - **PopoverHeader:**
171
- - Title size now defaults to medium instead of extra large [(#4030)](https://github.com/patternfly/patternfly-react/pull/4030)
172
-
173
- ### Progress
174
- - **Progress:**
175
- - Removed deprecated `ProgressVariant.info` that adds no styling. Do not pass this prop or pass `null` instead. [(#3886)](https://github.com/patternfly/patternfly-react/pull/3886)
176
- - **ProgressBar:**
177
- - Removed prop `ariaProps` in favor of `progressBarAriaProps` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
178
- - **ProgressContainer:**
179
- - Removed prop `ariaProps` in favor of `progressBarAriaProps` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
180
-
181
- ### Select
182
- - **Select**:
183
- - Removed prop `ariaLabelledBy` in favor of `aria-labelledby` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
184
- - Removed prop `ariaLabelTypeAhead` in favor of `typeAheadAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
185
- - Removed prop `ariaLabelClear` in favor of `clearSelectionsAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
186
- - Removed prop `ariaLabelToggle` in favor of `toggleAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
187
- - Removed prop `ariaLabelRemove` in favor of `RemovedelectionAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
188
- - Renamed `isExpanded` property to `isOpen` [(#3945)](https://github.com/patternfly/patternfly-react/pull/3945)
189
- - Removed deprecated `CheckboxSelect` and `CheckboxSelectOption` in favor of `variant="checkbox"`
190
- - **SelectOption:**
191
- - Removed prop `isFocus` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
192
- - **SelectToggle**
193
- - Removed prop `ariaLabelledBy` in favor of `aria-labelledby` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
194
- - Removed prop `ariaLabelToggle` in favor of `aria-label` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
195
- - Removed props `isFocus` and `isHovered` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
196
-
197
- ### Skip to content
198
- - Removed `component` prop in favor of always using an anchor tag [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
199
-
200
- ### Split
201
- - Removed prop `gutter` in favor of `hasGutter` [(#4014)](https://github.com/patternfly/patternfly-react/pull/4014)
202
-
203
- ### Stack
204
- - Removed prop `gutter` in favor of `hasGutter` [(#4014)](https://github.com/patternfly/patternfly-react/pull/4014)
205
-
206
- ### Tabs
207
- - **Tab:**
208
- - The title should be wrapped with `<TabTitleText>` for proper styling. If you would like to place an icon in the tab, it should be wrapped with `<TabTitleIcon>` for proper styling. [(#4146)](https://github.com/patternfly/patternfly-react/pull/4146)
209
- - **Tabs**:
210
- - Removed prop `variant` in favor of `component` [(#4146)](https://github.com/patternfly/patternfly-react/pull/4146)
211
- - Removed enum `TabVariant` in favor of `TabComponent` [(#4146)](https://github.com/patternfly/patternfly-react/pull/4146)
212
-
213
- ### Table
214
- - Updated onSelect type from `(event: React.ChangeEvent<HTMLInputElement>) => void` to `(event: React.FormEvent<HTMLInputElement>) => void` [(#3296)](https://github.com/patternfly/patternfly-react/pull/3296)
215
- - Removed `cellHeightAuto` transformer [(#4170)](https://github.com/patternfly/patternfly-react/pull/4170)
216
- - `cellWidth('max')` has been replaced with `cellWidth(100)` [(#4170)](https://github.com/patternfly/patternfly-react/pull/4170)
217
-
218
- ### Text input
219
- - Removed boolean `isValid` prop in favor of `validated?: 'default' | 'success' | 'error' | ValidatedOptions;`. Update your boolean logic to use the new 'default' or 'error' options instead. [(#3975)](https://github.com/patternfly/patternfly-react/pull/3975)
220
-
221
- ### Text area
222
- - Removed boolean `isValid` prop in favor of `validated?: 'default' | 'success' | 'error' | ValidatedOptions;`. Update your boolean logic to use the new 'default' or 'error' options instead. [(#3975)](https://github.com/patternfly/patternfly-react/pull/3975)
223
-
224
- ### Title
225
- - Make `headingLevel` required and remove default of `h2` to improve accessibility [(#3922)](https://github.com/patternfly/patternfly-react/pull/3922)
226
- - Removed enum `TitleLevel`. Use one of the string values `h1`, `h2`, `h3`, `h4`, `h5`, or `h6` instead.
227
- - Heading levels should be set contextually and and always be increasing or decreasing by 1 when read top-to-bottom in the DOM.
228
- - Rename enum `TitleSize` to `TitleSizes` [(#3922)](https://github.com/patternfly/patternfly-react/pull/3922)
229
- - Removed invalid values `xs` and `sm` for `size` prop. Use size `md` instead.
230
-
231
- ### Toolbar (formerly DataToolbar)
232
- - **Toolbar:**
233
- - The old Toolbar component that is normally used in the PageHeader has been removed in favor of `PageHeaderTools` [(#4223)](https://github.com/patternfly/patternfly-react/pull/4223)
234
- - Removed separator variant [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
235
- - **ToolbarItem:**
236
- - Removed `breakpointMods` prop in favor of `visibility`, `alignment`, and `spacer` [(#4310)](https://github.com/patternfly/patternfly-react/pull/4310)
237
- - **ToolbarToggleGroup:**
238
- - Removed `breakpointMods` prop in favor of `visibility`, `alignment`, `spacer`, and `spaceItems` [(#4310)](https://github.com/patternfly/patternfly-react/pull/4310)
239
-
240
- ### Wizard
241
- - **Wizard**
242
- - Removed prop `ariaLabelNav` in favor of `navAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
243
- - Removed prop `ariaLabelCloseButton` in favor of `closeButtonAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
244
- - Removed props `isFullHeight` and `isFullWidth` [(#4116)](https://github.com/patternfly/patternfly-react/pull/4116)
245
- - Renamed prop `hasBodyPadding` to `hasNoBodyPadding`. [(#4136)](https://github.com/patternfly/patternfly-react/pull/4136)
246
- - Removed `inPage` prop. By default the wizard will be displayed in page, filling its parent container. If the consumer passes a managed `isOpen` flag then the wizard will be displayed in a modal. [(#4140)](https://github.com/patternfly/patternfly-react/pull/4140)
247
- - **WizardBody:**
248
- - Renamed `hasBodyPadding` to `hasNoBodyPadding`. [(#4136)](https://github.com/patternfly/patternfly-react/pull/4136)
249
- - **WizardHeader:**
250
- - Removed prop `ariaLabelCloseButton` in favor of `closeButtonAriaLabel` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
251
- - **WizardNav**:
252
- - Removed prop `ariaLabel` in favor of `aria-label` [(#3924)](https://github.com/patternfly/patternfly-react/pull/3924)
253
- - Removed prop `isCompactNav` [(#4142)](https://github.com/patternfly/patternfly-react/pull/4142)
254
-
255
- - **WizardNavItem:**
256
- - Renamed prop `text` to `content`. The type of the prop has been changed to `React.ReactNode` to allow for flexibility. [(#4063)](https://github.com/patternfly/patternfly-react/pull/4063)
257
-
258
- ## React charts
259
- - Updated Victory to package versions to 34.3.9 [(#3974)](https://github.com/patternfly/patternfly-react/pull/3974)
260
- - Removed the `@types/victory` dependency and updated the PatternFly charts to use the types introduced with Victory 34.x. [(#4138)](https://github.com/patternfly/patternfly-react/pull/4138)
261
- - Updated label prop types to sync with Victory 34.3.9 [(#4152)](https://github.com/patternfly/patternfly-react/pull/4152)
262
- - Use `containerComponent={<VictoryZoomComponent />}` with Chart instead of `allowZoom`. [(#4278)](https://github.com/patternfly/patternfly-react/pull/4278)
263
- - Use `containerComponent={<VictoryZoomComponent />}` with ChartGroup instead of `allowZoom`. [(#4278)](https://github.com/patternfly/patternfly-react/pull/4278)
264
- - The `allowTooltip` prop was removed from `ChartVoronoiContainer` because Victory always provides a default tooltip.
265
-
266
- ## React icons
267
- - Updated types.
268
- - Removed `OutlinedFontAwesomeLogoFullIcon`. [(#3978)](https://github.com/patternfly/patternfly-react/pull/3978)
269
-
270
- ## React inline edit extension
271
- - Changed and added many types while converting this project to TypeScript. [(#4073)](https://github.com/patternfly/patternfly-react/pull/4073)
272
-
273
- ## React styles
274
- - Removed all exports except for the `css` function and CSS-in-JS stylesheets in the `css` folder since we no longer use `emotion`. To use these functions, import directly from `emotion` instead. [(#3886)](https://github.com/patternfly/patternfly-react/pull/3886)
275
-
276
- ## React tokens
277
- - Removed tokens `global_BackgroundColor_150` and `global_BackgroundColor_300` (see associated [Core PR](https://github.com/patternfly/patternfly/pull/2818)). At the discretion of design, use `global_BackgroundColor_200` with its new value `#f0f0f0` instead.
278
- - Updated some of our tokens' values to be correct. [(#4058)](https://github.com/patternfly/patternfly-react/pull/4058)
279
- - Added new files with a different structure to the index. [(#4058)](https://github.com/patternfly/patternfly-react/pull/4058)