These releases are part of the PatternFly 4 - Albatross milestone:
- @patternfly/react-core@3.58.1
- @patternfly/react-inline-edit-extension@2.9.12
- @patternfly/react-table@2.13.43
- @patternfly/react-topology@2.4.21
- @patternfly/react-virtualized-extension@1.1.45
- @patternfly/react-charts@4.4.7
- @patternfly/react-styles@3.4.6
- @patternfly/react-tokens@2.6.5
Charts (@patternfly/react-charts@4.4.7):
- Added sparkline example and interpolation to area examples (#2373)
- Fixed themes for bar chart default colors (#2112)
- DonutThreshold): No longer show static threshold donut tooltips by default.(#2270)
- Added support for legends and grids (#2324)
Components (@patternfly/react-core@3.58.1):
- About modal: changed strapline element to paragraph (#2376)
- Breadcrumb switcher: Disabled autocomplete (#2407)
- Card: Add compacted card variation (#2399)
- Checkbox: Added 3rd state to checkbox controlled by consumer (#2252)
- Chip group: Added heading level prop to toolbar chip group label (#2278)
- Data list: Added DataListRow to imports (#2353)
- Dropdown: Automatically focused first dropdown item when DropdownMenu (#2355)
- Expandable: Added button type to the expandable component (#2340)
- Label: added TypeScript flag to the label docs (#2343)
- Notification badge: Added the notification badge component (#2342)
- Options menu: Added disabled modifier to the toggle (#2401)
- Page: Added page section main nav type variant (#2268)
- Radio: Fixed warning from undefined starting params (#2292)
- Form:
- Grid:
- Tabs:
TypeScript conversion
These releases are part of PatternFly 4 - RC2.1:
- @patternfly/react-charts@4.1.5
- @patternfly/react-core@3.38.1
- @patternfly/react-inline-edit-extension@2.7.7
- @patternfly/react-styles@3.3.3
- @patternfly/react-table@2.11.1
- @patternfly/react-tokens@2.5.5
Breaking Changes
Charts (@patternfly/react-charts@4.1.5):
- Major bump react-charts (#2143)
- Changed default Chart padding property to show axis
- Refactored ChartTheme colors and utils for donut utilization theme
- ChartLegend now defaults to be responsive
- Aligned label vertically and added donutHeight/Width defaults (#2193)
- Added examples on how to use VictoryZoomContainer. (#1879)
- Apply defaults to custom legend (#2194)
- Chart & ChartStack to use ReactNode as children type (#2155)
- Remove ChartThemeDefinition export from index.ts (#2149)
Components (@patternfly/react-core@3.38.1):
- About modal: Support isOpen initially set true in about modal. This ensures the about modal container exists on initial load if
isOpen
is passedtrue
with children contents initially (#2153) - Navigation: On NavItems, Maintain className passed to custom NavItems. Keeps classNames set on the child of a custom NavItem. (#2134)
- Pagination: When empty array is sent to pagination now no per page is visible. It is now possible with Per page option to hide by passing empty array of per page options. (#2175)
- Select: Added keyboard interaction to typeahead variants, other variants remained unchanged. Enter, with select closed, toggles open the menu. Focus should now remains on input. Arrow up and down navigates the options with a focus styling. Enter, with select opened, selects the highlighted item. (#2013)
- Tabs: fixed tabs ref proptype (#2158)
Table (@patternfly/react-table@2.11.1):
- Added React-Virtualized PF4 tables (#2011)
- Exported RowWrapper implementation. When using react table in TypeScript project there was no way to import
RowWrapper
implementation. This PR fixed this problem by exportingRowWrapperProps
as interface andRowWrapper
as implementation. (#2118) - Some props of IRow should not required Makes following props of
IRow
to optional isOpen parent props (#2196) - Fixed error Unknown event handler property
onCollapse
. Removedrows
andonCollapse
from..props
The recently collapse changes added some unknown props of table. Just remove it from..props
(#2195) - Added support for .pf-m-grid-2xl breakpoint. Added breakpoint to list of available breakpoints and updated snapshot. (#2206)
Topology (@patternfly/react-topology):
- Added @patternfly/react-topology package (#2170)
Infrastructure:
- Build:
- Chore:
- Stalebot:
- Wrapper: reverted bodywrapper conversion to stateless-function (#2161)
TypeScript conversion
React styles
- Changed all the React css imports and added types for them. Instead of using a babel plugin to generate the JS at compile time for our CSS-in-JS solution, we statically generated it beforehand in react-styles. (#2085)
- chore(react-styles): bump jsdom (#2080)
- added sideeffects to react-styles (#2207)
These releases are part of PatternFly 4 - RC2:
- @patternfly/react-charts@3.6.4
- @patternfly/react-core@3.34.2
- @patternfly/react-inline-edit-extension@2.5.2
- @patternfly/react-styles@3.2.3
- @patternfly/react-table@2.9.2
- @patternfly/react-tokens@2.5.3
RC2 contains the following improvements/fixes:
- Provided a way to set the background using props (#1940)
- Added accordion component (#1511)
- Fixed background image spacing issue (#1923)
- Added card is-hoverable modifier prop (#1852)
- Set checked value correctly (#1929)
- Fixed docs (#1821)
- Changed doc text (#1823)
- Removed textarea from clipboard copy (#1840)
- Renamed toggle export (#1861)
- Added missing props in d.ts (#1749)
- Added font awesome brands icons(#1669)
- Updated Popover max width. We made maxWidth optional (#2110)
- Enabled highlighting and selecting text in popover (#1757)
- Handled on enter focusing when options are disabled (#2025)
- Changed PopoverPosition from a const to an enum. This allows users to specify their choice of a string or object property for the position property value on Popover component. Also adds a test that exercises this method to ensure it doesn't regress going forward. (#2113)
- Updated the SelectProps interface to avoid a type error when importing react-core into a TypeScript application. I also removed some unnecessary code in a couple of the demo's I followed recently. Copying the code as is was creating an error. I think they were safe deletions but worth double checking. (#2107)
- Fixed ListGroupItem import (#1867)
- Added user personalized icon in Select component (#1768)
- Introduced Donut utilization chart and thresholds (#2064)
- Added example styles (#1889)
- Fixed chart font stack to use PatternFly core sans-serif font stack (#1865)
- Refactored themes for bar chart default colors (#2112)
- Added default for component props (#2103)
- Use frontmatter for what props to show in docs (#2072)
- If you add new imports to your MDX file, rerun yarn develop which now clears the gatsby-mdx cache and lets you be on your merry way (#2059)
- Hide inherited TypeScript props (#1866)
- Use mdx for docs (#1753)
- Reverted bodywrapper conversion to stateless-function (#2161)
We are in the process of converting all components to TypeScript to provide better types to consumers. The following components have been converted:
- Alert (#1978)
- Badge (#2048)
- Breadcrumb (#1723)
- Button (#1903)
- Brand (#1918)
- Card (#1885)
- Charts (#2081)
- Empty State (#1917)
- Label (#1896)
- List (#1946)
- Login Page (#1967)
- Modal (#1942)
- Popover (#2023)
- Radio (#1945)
- Text (#1907)