Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .plugin-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.0.0",
"version": "1.1.0",
"slug": "blockparty-button-icon"
}
2 changes: 1 addition & 1 deletion .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"pluginData": {
"resource": "git:directory",
"url": "https://github.com/BeAPI/blockparty-button-icon",
"ref": "1.0.0",
"ref": "1.1.0",
"refType": "tag"
},
"options": {
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## 1.1.0 - 2026-11-25

- Add an **Icon only** position: the label is visually hidden but kept for screen readers, and edited from a required sidebar field
- In icon-only mode, the icon stays clickable to replace it like in other positions; the required screen-reader label is also shown in the icon inspector
Expand Down
4 changes: 2 additions & 2 deletions blockparty-button-icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Blockparty Button Icon
* Description: Easily add icons to button blocks in WordPress.
* Version: 1.0.0
* Version: 1.1.0
* Requires at least: 7.0
* Requires PHP: 8.1
* Author: Be API Technical Team
Expand All @@ -27,7 +27,7 @@

require_once __DIR__ . '/vendor/autoload.php';

define( 'BLOCKPARTY_BUTTON_ICON_VERSION', '1.0.0' );
define( 'BLOCKPARTY_BUTTON_ICON_VERSION', '1.1.0' );
define( 'BLOCKPARTY_BUTTON_ICON_URL', plugin_dir_url( __FILE__ ) );
define( 'BLOCKPARTY_BUTTON_ICON_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLOCKPARTY_BUTTON_ICON_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blockparty-button-icon",
"version": "1.0.0",
"version": "1.1.0",
"description": "Easily add icons to button blocks in WordPress.",
"author": "Be API Technical Team",
"license": "GPL-2.0-or-later",
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: block, button, icon, gutenberg
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.0.0
Stable tag: 1.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -37,5 +37,11 @@ By default, only `core/icon` is allowed inside the button. Use the `blockparty_b

== Changelog ==

= 1.1.0 =
* Add an "Icon only" button position: the label is visually hidden but kept for screen readers
* Keep the icon clickable to replace it in icon-only mode
* Mark icons inside buttons as decorative when the button label has text
* Restore keyboard focus on the button after closing the link popover in icon-only mode

= 1.0.0 =
* Initial release
Loading