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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ coverage
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
build/
.wp-env/plugins/

# Dependency directories
node_modules/
Expand Down
2 changes: 1 addition & 1 deletion .plugin-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.1.5",
"version": "2.0.0",
"slug": "blockparty-tabs"
}
6 changes: 3 additions & 3 deletions .wordpress-org/blueprints/blueprint.json

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ 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).

## 2.0.0 - 2026-09-28

- Require WordPress 6.2 or later
- Prefer native `core/icon` for tab icons when available (WordPress 7.0+), with Blockparty / BeAPI icon blocks still allowed by default for WordPress 6.2–6.8
- Fix frontend spacing and styles for `core/icon` next to tab labels
- Add `blockparty_tabs_allowed_icon_blocks` filter to customize allowed icon blocks
- Limit tabs to a single icon block (no duplication)
- Improve accessibility: move `tablist` to nav and complete ARIA roles
- Expand block supports and refresh block descriptions
- Remove anchor support from the panel item block
- Share add/remove tab toolbar controls across nav and panels
- Add appender to insert synced tabs from the navigation
- Fix KSES stripping of tab ARIA attributes (`aria-controls`, `aria-selected`, `aria-expanded`) and `tabindex`
- Fix stale active index after tab removal
- Fix panel pairing locks when moving tabs
- Fix deprecated block versions omitting original supports
- Fix block validation after save when existing tabs were invalidated
- Fix saved tab nav items missing the active class
- Ship a `react-jsx-runtime` webpack polyfill so editor scripts load on WordPress 6.2–6.5
- Fix editor warnings by avoiding setState during render and enabling direct inner block insertion
- Add PHPUnit, Jest, and Playwright test suites with GitHub Actions CI
- Update French translations
- Move release/version scripts under `tests/bin`
- Remove `@beapi/icons` dependency

## 1.1.5 - 2026-08-24

- Fix editor margin reset for tabs block
Expand Down
4 changes: 2 additions & 2 deletions blockparty-tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Accessible Tabs block for WordPress gutenberg.
* Requires at least: 6.4
* Requires PHP: 8.1
* Version: 1.1.5
* Version: 2.0.0
* Author: Be API Technical team
* Author URI: https://beapi.fr
* License: GPL-2.0-or-later
Expand All @@ -14,7 +14,7 @@

namespace Blockparty\Tabs;

define( 'BLOCKPARTY_TABS_VERSION', '1.1.5' );
define( 'BLOCKPARTY_TABS_VERSION', '2.0.0' );
define( 'BLOCKPARTY_TABS_URL', plugin_dir_url( __FILE__ ) );
define( 'BLOCKPARTY_TABS_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLOCKPARTY_TABS_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-tabs",
"version": "1.1.5",
"version": "2.0.0",
"description": "Accessible tabs block for WordPress",
"author": "Be API Technical team",
"license": "GPL-2.0-or-later",
Expand Down
27 changes: 26 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Stable tag: 2.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accessible Tabs block for WordPress gutenberg.
Accessible Tabs block for the WordPress block editor.

== Description ==

Expand All @@ -33,6 +33,31 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove

== Changelog ==

= 2.0.0 =

* Require WordPress 6.2 or later
* Prefer native `core/icon` for tab icons when available (WordPress 7.0+), with Blockparty / BeAPI icon blocks still allowed by default for WordPress 6.2–6.8
* Fix frontend spacing and styles for `core/icon` next to tab labels
* Add `blockparty_tabs_allowed_icon_blocks` filter to customize allowed icon blocks
* Limit tabs to a single icon block (no duplication)
* Improve accessibility: move `tablist` to nav and complete ARIA roles
* Expand block supports and refresh block descriptions
* Remove anchor support from the panel item block
* Share add/remove tab toolbar controls across nav and panels
* Add appender to insert synced tabs from the navigation
* Fix KSES stripping of tab ARIA attributes (`aria-controls`, `aria-selected`, `aria-expanded`) and `tabindex`
* Fix stale active index after tab removal
* Fix panel pairing locks when moving tabs
* Fix deprecated block versions omitting original supports
* Fix block validation after save when existing tabs were invalidated
* Fix saved tab nav items missing the active class
* Ship a `react-jsx-runtime` webpack polyfill so editor scripts load on WordPress 6.2–6.5
* Fix editor warnings by avoiding setState during render and enabling direct inner block insertion
* Add PHPUnit, Jest, and Playwright test suites with GitHub Actions CI
* Update French translations
* Move release/version scripts under `tests/bin`
* Remove `@beapi/icons` dependency

= 1.1.5 =

* Fix editor margin reset for tabs block
Expand Down
2 changes: 1 addition & 1 deletion src/blockparty-tabs-nav-item/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "blockparty/tabs-nav-item",
"version": "1.1.5",
"version": "2.0.0",
"title": "Tab",
"category": "widgets",
"description": "A single tab button used to switch to its matching content panel.",
Expand Down
2 changes: 1 addition & 1 deletion src/blockparty-tabs-nav/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "blockparty/tabs-nav",
"version": "1.1.5",
"version": "2.0.0",
"title": "Tabs list",
"category": "widgets",
"description": "Display the tab list for switching between content panels.",
Expand Down
2 changes: 1 addition & 1 deletion src/blockparty-tabs-panel-item/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "blockparty/tabs-panel-item",
"version": "1.1.5",
"version": "2.0.0",
"title": "Panel",
"category": "widgets",
"icon": "layout",
Expand Down
2 changes: 1 addition & 1 deletion src/blockparty-tabs-panels/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "blockparty/tabs-panels",
"version": "1.1.5",
"version": "2.0.0",
"title": "Panels",
"category": "widgets",
"description": "Group the content panels of a tabbed interface.",
Expand Down
2 changes: 1 addition & 1 deletion src/blockparty-tabs/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "blockparty/tabs",
"version": "1.1.5",
"version": "2.0.0",
"title": "Tabs",
"category": "widgets",
"description": "Organize content into tabs so visitors can browse sections without scrolling endlessly.",
Expand Down
Loading