itmar-block-packages 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/build/index.asset.php +1 -1
- package/build/index.js +3 -3
- package/img/blockplace.png +0 -0
- package/package.json +1 -1
- package/src/BlockPlace.js +293 -256
- package/src/index.js +1 -1
- package/src/wordpressApi.js +165 -33
package/README.md
CHANGED
|
@@ -14,6 +14,9 @@ import {関数名又はコンポーネント名} from "itmar-block-packages"
|
|
|
14
14
|
npm i @wordpress/scripts@^27.6.0 --save-dev
|
|
15
15
|
|
|
16
16
|
## 更新履歴
|
|
17
|
+
= 1.3.2 =
|
|
18
|
+
- BlockPlaceコンポーネントのインナーブロックの方向で縦方向又は横方向を選択したとき反転の設定ができるようにした。
|
|
19
|
+
|
|
17
20
|
= 1.3.1 =
|
|
18
21
|
- edit.scssおよびstyle.scssの共通スタイルについては機能しないことが判明したので削除した。
|
|
19
22
|
|
|
@@ -535,6 +538,9 @@ WordPressのブロックエディタのサイドバーにブロックの配置
|
|
|
535
538
|
onDirectionChange={(position) => {
|
|
536
539
|
setAttributes({direction: position });
|
|
537
540
|
}}
|
|
541
|
+
onReverseChange={(checked) => {
|
|
542
|
+
setAttributes({reverse: checked });
|
|
543
|
+
}}
|
|
538
544
|
onFlexChange={(position) => {
|
|
539
545
|
setAttributes({inner_align: position });
|
|
540
546
|
}}
|
package/build/index.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'f8498c1c300853b29dee');
|