Releases: happyprime/toggle-block
Releases · happyprime/toggle-block
Release list
Toggle Block 1.0.0
1.0.0
- Initial submission to wp.org repository.
- Added block selection interface to toggle block.
- Added support for additional block supports features.
Toggle Block 0.6.0
0.6.0
- Add toggle group support: when toggle blocks are inside a container with the
toggle-block-groupclass, activating one toggle automatically closes others in the group. - Add a "Default toggle" option to mark which toggle should be active by default in a group.
- Extend block supports to match paragraph and heading blocks: add font family, font style, font weight, letter spacing, text decoration, text transform, writing mode, border, and link color support.
- Only render
aria-labelwhen screen reader text is provided, allowing the button text to serve as the accessible name by default. - Use
aria-expandedinstead of botharia-pressedandaria-expandedfor toggle state. - Update to latest dependencies, build process, and code standards.
Toggle Block 0.5.0
0.5.0
- Wrap button text in a
<span>element to help with styling. - Move editor styles to an editor-only stylesheet.
- Update to latest dependencies, build process, and code standards.
Toggle Block 0.4.0
- Add an attribute to toggle a toggle block-specific class on the body element.
- Allow the toggle block to be placed inside the
core/navigationblock. - Add transform support from/to
core/navigation-linkblocks. - Update to latest dependencies, build process, and code standards.
Toggle Block 0.3.1
- Add persisting
toggle-block-has-been-toggledclass to toggled element when first toggled