diff --git a/.github/workflows/quality-js.yml b/.github/workflows/quality-js.yml
index 77bb2ed..798f4f2 100644
--- a/.github/workflows/quality-js.yml
+++ b/.github/workflows/quality-js.yml
@@ -2,13 +2,8 @@ name: Javascript Quality Checks
on:
pull_request:
- paths:
- - 'src/**'
- push:
- paths:
- - 'src/**'
- branches:
- - main
+ paths:
+ - 'src/**'
# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
diff --git a/.plugin-data b/.plugin-data
index 83aec9e..11b7157 100644
--- a/.plugin-data
+++ b/.plugin-data
@@ -1,4 +1,4 @@
{
- "version": "1.0.4",
+ "version": "1.0.5",
"slug": "blockparty-icons"
}
diff --git a/.wp-env/themes/icon-block-theme/functions.php b/.wp-env/themes/icon-block-theme/functions.php
index e5c7e38..6a40cad 100644
--- a/.wp-env/themes/icon-block-theme/functions.php
+++ b/.wp-env/themes/icon-block-theme/functions.php
@@ -13,24 +13,27 @@ function wpc_mime_types( $mimes ) {
add_action( 'blockparty_icons_init', function () {
register_icon_collection(
- 'Bootstrap',
+ 'icon-bootstrap',
[
+ 'label' => 'Bootstrap Icons',
'type' => 'sprite',
'source' => get_theme_file_path( '/icons/bootstrap-icons.svg' ),
]
);
register_icon_collection(
- 'Social',
+ 'icon-social',
[
+ 'label' => 'Social Icons',
'type' => 'sprite',
'source' => get_theme_file_path( '/icons/social.svg' ),
]
);
register_icon_collection(
- 'Folder',
+ 'icon-user',
[
+ 'label' => 'User Icons',
'type' => 'folder',
'source' => get_theme_file_path( '/icons/user' ),
]
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9cfc9af..37b3e33 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,12 @@ This plugin **doesn't run any sanitization on SVGs** before using them. Only use
## Changelog
+### 1.0.5 - 2026-02-23
+
+- Set label collection on tabs item in icons selector modal instead of collection slug
+- Add tooltip to icon selector buttons
+- Remove quality js workflow on merge
+
### 1.0.4 - 2026-02-20
- Improve search result display in icons selector modal.
diff --git a/blockparty-icons.php b/blockparty-icons.php
index a9a108d..d5e6ae7 100644
--- a/blockparty-icons.php
+++ b/blockparty-icons.php
@@ -4,7 +4,7 @@
* Description: Provides blocks in WordPress editor to add custom SVG icons.
* Requires at least: 6.2
* Requires PHP: 8.1
- * Version: 1.0.4
+ * Version: 1.0.5
* Author: Blockparty
* Author URI: https://beapi.fr
* License: GPL-2.0-or-later
@@ -29,7 +29,7 @@
include_once __DIR__ . '/vendor/autoload.php';
}
-define( 'BLOCKPARTY_ICONS_VERSION', '1.0.4' );
+define( 'BLOCKPARTY_ICONS_VERSION', '1.0.5' );
define( 'BLOCKPARTY_ICONS_URL', plugin_dir_url( __FILE__ ) );
define( 'BLOCKPARTY_ICONS_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLOCKPARTY_ICONS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
diff --git a/package.json b/package.json
index 699c286..56ea3c6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "blockparty-icons",
- "version": "1.0.4",
+ "version": "1.0.5",
"description": "Provides blocks in WordPress editor to add custom SVG icons from your theme.",
"author": "Be API Technical team",
"license": "GPL-2.0-or-later",
diff --git a/src/block.json b/src/block.json
index 498837c..b6c467e 100644
--- a/src/block.json
+++ b/src/block.json
@@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "blockparty/icon",
- "version": "1.0.4",
+ "version": "1.0.5",
"title": "Icon",
"category": "widgets",
"description": "Easily add custom vector icon to your content.",
diff --git a/src/components/icon-modal.js b/src/components/icon-modal.js
index a3e9e54..687137d 100644
--- a/src/components/icon-modal.js
+++ b/src/components/icon-modal.js
@@ -535,14 +535,16 @@ function IconModal( { collections, onClose, handleIconSelectButtonClick } ) {
'blockparty-icons'
),
capitalize(
- c.name
+ c.label ||
+ c.name
),
c.icons
?.length ??
0
)
: capitalize(
- c.name
+ c.label ||
+ c.name
),
} )
) }
diff --git a/src/components/icon-selector.js b/src/components/icon-selector.js
index 6b0cc4e..6d64728 100644
--- a/src/components/icon-selector.js
+++ b/src/components/icon-selector.js
@@ -2,9 +2,10 @@
* WordPress dependencies
*/
import { memo } from '@wordpress/element';
-import { Button } from '@wordpress/components';
+import { Button, Tooltip } from '@wordpress/components';
import IconContent from './icon-content';
+import { capitalize } from '../utils';
/**
* IconSelector component
@@ -28,28 +29,32 @@ function IconSelector( {
children,
} ) {
return (
-
+
+ { children }
+
+
+
);
}