itmar-block-packages 1.3.0 → 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 +9 -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 -4
- package/src/wordpressApi.js +165 -33
- package/build/index.css +0 -1
- package/build/style-index.css +0 -1
- package/src/editor.scss +0 -25
- package/src/style.scss +0 -0
package/README.md
CHANGED
|
@@ -14,6 +14,12 @@ 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
|
+
|
|
20
|
+
= 1.3.1 =
|
|
21
|
+
- edit.scssおよびstyle.scssの共通スタイルについては機能しないことが判明したので削除した。
|
|
22
|
+
|
|
17
23
|
= 1.3.0 =
|
|
18
24
|
- WordPressのデータをRest APIを通して取得する関数等に、次の関数とReactコンポーネントを追加した
|
|
19
25
|
- restTaxonomies
|
|
@@ -532,6 +538,9 @@ WordPressのブロックエディタのサイドバーにブロックの配置
|
|
|
532
538
|
onDirectionChange={(position) => {
|
|
533
539
|
setAttributes({direction: position });
|
|
534
540
|
}}
|
|
541
|
+
onReverseChange={(checked) => {
|
|
542
|
+
setAttributes({reverse: checked });
|
|
543
|
+
}}
|
|
535
544
|
onFlexChange={(position) => {
|
|
536
545
|
setAttributes({inner_align: position });
|
|
537
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');
|