CL 5.0
What's new in 5.0.0
CL 5.0.0 is a major release focused on cards, tiles, and enhancements in the Block Editor.
Enhancements to Cards
- Cards have an all-new DOM construction that allows for flexibility and makes it easier to add new features in the future.1
- Cards have a new full-width default layout
- Card display is optimized based on context
- When space allows, cards not in tiles or columns now display similar to Panels, with image and body content appearing side-by-side
- On mobile, card images and body content stack traditionally
- Cards now support videos
- A video can now be used in place of an image
- Theatre Mode: Cards can also feature a user-controllable video that is revealed when the card is clicked
- Equal-height cards render more consistently and now work with WordPress column blocks in addition to Tiles
- Story cards can now be made equal-height in Tiles and columns
- Cards appear more accurately styled in the Block Editor
Enhancements to Tiles
- Introducing Magic Tiles
- With Magic Tiles, tiles flow from full-width, to asymmetric halves, to thirds automatically.
- Magic Tiles are useful for generating hierarchy that dynamically adjusts when content is updated.
- Using Magic Tiles replaces a specified column count (e.g.
thirds)
- Asymmetric tile layouts have been adjusted to make grid layouts appear more organic, and to help content from becoming too narrow.
Block Editor
- Block patterns featuring typical compound component usage have been added, which make it easy to build layouts quickly and consistently.
- Descriptions and examples have been added to the block picker, providing inline documentation and a preview of the component before adding it to the page.
General Improvements
- The Slideshow component now works with WordPress gallery blocks that are set to one column
- Component icons have been refreshed across the interface for clarity and consistency
- The image upload interface and media picker now only appear when appropriate
Bug Fixes and Development
- Prevents loading of TinyMCE buttons in admin contexts where they don't work (specifically, the WordPress All Import screen)
- Removes deprecated PHP functions (no longer supports PHP v5.3 and earlier)
- Fixes an issue where
0was considered empty in required shortcode attributes - Updates development tools, including major versions with breaking changes:
- Migration to Autoprefixer v10 (plus required peer dependencies)
- Migration to Webpack v5
- Other bug fixes
1 Card constructions is a breaking change that will affect existing cards built with HTML. Existing cards built with the Visual (TinyMCE) Editor and Block Editor will not be affected.
For complete details, see the commit history and the issue tracker.