Releases: ndiego/icon-block
Releases · ndiego/icon-block
Version 2.0.0
Important
If you're upgrading from a version before v2.0.0 and have icons with custom rotation and styling, you may notice slight changes in their appearance. This is due to an update in how rotation is managed within the block.
Added
- Added full 360 degree rotation support.
- Added support for
contentOnly
editing. - Added support for text nodes within SVG icons.
- Added localStorage support for the preview size in the Icon Library.
Changed
- Updated "Tested up to" to WordPress 6.7.
- Updated minimum WordPress version to 6.5.
- Updated the way rotation and vertical/horizontal flipping are handled. CSS classes are no longer used.
- Updated the deprecated
useSetting
function touseSettings
. - Improved the positioning of the quick inserter modal.
- Updated the icon placeholder to better match Core.
- Updated the link control to better match Core.
- Updated general component styling to match Core.
Removed
- Removed the deprecated
getEditorSettings
conditional.
Fixed
- Fixed the bug where values would not get reset when closing the custom icon editor modal.
- Fixed the nested toolbar visual bug by replacing
DropdownMenu
withDropdown
.
Version 1.9.0
Added
- Add support for
clientNavigation
interactivity, meaning that the Icon Block can now be placed in Query Loops with client-side navigation enabled.
Changed
- Update "Tested up to" to WordPress 6.6.
- Update minimum WordPress version to 6.4.
- Update minimum PHP version 7.4.
- Update the settings panel to use the
ToolsPanel
component, which is consistent with WordPress Core. - Update the Playground blueprint for the Live Preview.
Removed
- Remove the custom
OptionsPanel
component in favor of the CoreToolsPanel
andToolsPanelItems
components.
Fixed
- Fix the bug causing icon categories to become unalphabetized after the search.
- Fix text overflow bug caused by custom icon categories with long names.
- Fix the bug where the icon color input would get duplicated when setting the icon label. This occurred when
blockInspectorTabs
was set tofalse
. - Fix a typo in the "Justify Stretch" icon name.
Version 1.8.0
Added
- The Icon Block can now be added to Navigation blocks (requires WordPress 6.5 or Gutenberg 17.6+)
- Add Playground blueprint for live preview in the Plugin Directory.
Changed
- Update "Tested up to" to WordPress 6.5.
- Update "Requires at least" to WordPress 6.3.
Version 1.7.0
Added
- Add X social icon.
Changed
- Bump the "Tested up to" version to WordPress 6.4.
- Update hover styles in icon pickers to match Core styling.
- Remove custom placeholder illustration.
Fixed
- Fix the text area height in the custom icon editor modal.
Version 1.6.0
Added
- Add Threads and WhatsApp social icons.
- Add Core icons new in WordPress 6.2: Border, Caption, Chevron Up/Down, Comment Edit Link, Copy, Drawer Left, Drawer Right, Filter, Justify Stretch, Line Dashed, Line Dotted, Line Solid, List Item, Lock Outline, Lock Small, Seen, Shadow, Shuffle, and Unseen
Changed
- Update minimum required WordPress version to 6.2. We want to be utilizing the latest functionality in WordPress.
- Update to block API v3 for better 6.3 compatibility.
- Disable dimension and border default controls for better 6.3 compatibility.
- Move color controls to the native "color" panel. (#35)
- Simplify transform CSS. (#32 - @cbirdsong)
Version 1.5.0
Added
- Added dropzone support for media library uploads and custom SVGs.
- Added support for style elements in custom SVGs.
- Added the ability to insert an SVG icon from the Media Library if SVG uploads are enabled on the website.
- Added the ability to clear the current icon.
Changed
- Updated the block inspector panels for WordPress 6.2 compatibility.
- Updated the replace dropdown to use the native DropDownMenu component for improved WordPress 6.2 compatibility.
Fixed
- Fixed invalid DOM properties error. Thanks @DeoThemes for reporting this issue and suggesting a solution! (#25)
- Fixed a few minor CSS issues for WordPress 6.2 compatibility.
Version 1.5.0 RC1
Testing RC1
Version 1.5.0 of the Icon Block is scheduled for release on March 9, 2023. This "Release Candidate" is made publically available ahead of time for testing purposes. You can help test RC1 by downloading the icon-block-1.5.0-rc.1.zip
attached to this release post. If you do encounter an error, please log it as soon as possible.
The video below highlights the main features included in Version 1.5.0.
icon-block-1.5.0.mp4
Changelog
Added
- Added dropzone support for media library uploads and custom SVGs.
- Added support for style elements in custom SVGs.
- Added the ability to insert an SVG icon from the Media Library if SVG uploads are enabled on the website.
- Added the ability to clear the current icon.
Changed
- Updated the block inspector panels for WordPress 6.2 compatibility.
- Updated the "Replace" dropdown to use the native DropDownMenu component for improved WordPress 6.2 compatibility.
Fixed
- Fixed invalid DOM properties error. Thanks @DeoThemes for reporting this issue and suggesting a solution. (#25)
- Fixed a few minor CSS issues for WordPress 6.2 compatibility.
Version 1.4.0
Added
- Added icon height control.
Changed
- Updated WordPress version requirement to 6.0+.
- Updated icon color handling to better support Global Styles.
- Updated icon width control to support additional units.
- Updated settings panel to mirror Core
ToolsPanel
implementations and support setting resets.
Version 1.3.2
Fixed
- Fix incorrect class specification.
- Fix placeholder background color in prep for WordPress 6.1.
Version 1.3.1
Fixed
- Fix alignment classes not getting applied in the correct spot.