Skip to content

Commit 3ee8406

Browse files
authored
Merge pull request #11 from BeAPI/release/1.0.3
Release/1.0.3
2 parents 9747d6f + a9a8012 commit 3ee8406

11 files changed

Lines changed: 21 additions & 13 deletions

File tree

.plugin-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.0.2",
2+
"version": "1.0.3",
33
"slug": "blockparty-tabs"
44
}

blockparty-tabs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: Accessible Tabs block for WordPress gutenberg.
55
* Requires at least: 6.2
66
* Requires PHP: 8.1
7-
* Version: 1.0.2
7+
* Version: 1.0.3
88
* Author: Be API Technical team
99
* Author URI: https://beapi.fr
1010
* License: GPL-2.0-or-later
@@ -14,7 +14,7 @@
1414

1515
namespace Blockparty\Tabs;
1616

17-
define( 'BLOCKPARTY_TABS_VERSION', '1.0.2' );
17+
define( 'BLOCKPARTY_TABS_VERSION', '1.0.3' );
1818
define( 'BLOCKPARTY_TABS_URL', plugin_dir_url( __FILE__ ) );
1919
define( 'BLOCKPARTY_TABS_DIR', plugin_dir_path( __FILE__ ) );
2020
define( 'BLOCKPARTY_TABS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blockparty-tabs",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Accessible tabs block for WordPress",
55
"author": "Be API Technical team",
66
"license": "GPL-2.0-or-later",

readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove
3131

3232
== Changelog ==
3333

34+
= 1.0.3 =
35+
36+
* fix icon inserter
37+
3438
= 1.0.2 =
3539

3640
* allow aria and tabindex attributes

src/blockparty-tabs-nav-item/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "blockparty/tabs-nav-item",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"title": "Tab",
77
"category": "widgets",
88
"icon": "button",

src/blockparty-tabs-nav-item/edit.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ export default function Edit( {
5959
<InnerBlocks
6060
allowedBlocks={ allowedTabsIconBlock }
6161
__experimentalDirectInsert={ false }
62-
templateLock="all"
63-
template={ [ [ tabsIconBlock, { width: 24 } ] ] }
62+
templateLock={ false }
63+
template={ [
64+
[ tabsIconBlock, { width: 24, maxIcons: 1 } ],
65+
] }
6466
templateInsertUpdatesSelection={ false }
67+
directInsert={ false }
68+
renderAppender={ false }
6569
/>
6670
) }
6771
<RichText

src/blockparty-tabs-nav/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "blockparty/tabs-nav",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"title": "Tabs list",
77
"category": "widgets",
88
"icon": "menu",

src/blockparty-tabs-panel-item/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "blockparty/tabs-panel-item",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"title": "Panel",
77
"category": "widgets",
88
"icon": "layout",

src/blockparty-tabs-panels/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "blockparty/tabs-panels",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"title": "Panels",
77
"category": "widgets",
88
"icon": "category",

0 commit comments

Comments
 (0)