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.2",
"version": "1.0.3",
"slug": "blockparty-tabs"
}
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.2
* Requires PHP: 8.1
* Version: 1.0.2
* Version: 1.0.3
* 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.0.2' );
define( 'BLOCKPARTY_TABS_VERSION', '1.0.3' );
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.0.2",
"version": "1.0.3",
"description": "Accessible tabs block for WordPress",
"author": "Be API Technical team",
"license": "GPL-2.0-or-later",
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove

== Changelog ==

= 1.0.3 =

* fix icon inserter

= 1.0.2 =

* allow aria and tabindex attributes
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.0.2",
"version": "1.0.3",
"title": "Tab",
"category": "widgets",
"icon": "button",
Expand Down
8 changes: 6 additions & 2 deletions src/blockparty-tabs-nav-item/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ export default function Edit( {
<InnerBlocks
allowedBlocks={ allowedTabsIconBlock }
__experimentalDirectInsert={ false }
templateLock="all"
template={ [ [ tabsIconBlock, { width: 24 } ] ] }
templateLock={ false }
template={ [
[ tabsIconBlock, { width: 24, maxIcons: 1 } ],
] }
templateInsertUpdatesSelection={ false }
directInsert={ false }
renderAppender={ false }
/>
) }
<RichText
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.0.2",
"version": "1.0.3",
"title": "Tabs list",
"category": "widgets",
"icon": "menu",
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.0.2",
"version": "1.0.3",
"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.0.2",
"version": "1.0.3",
"title": "Panels",
"category": "widgets",
"icon": "category",
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.0.2",
"version": "1.0.3",
"title": "Tabs",
"category": "widgets",
"icon": "table-row-after",
Expand Down
Loading