Skip to content

Commit 7facf6b

Browse files
committed
Resolve build on trunk
1 parent 210322b commit 7facf6b

35 files changed

+932
-79
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '4cdf9a85d9cbbc6918ed');
1+
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '59c90d6c8ab5e740f5a1');

build/editor-plugin/plugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/follow-me/block.json

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,20 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"name": "activitypub/follow-me",
44
"apiVersion": 3,
5-
"version": "1.0.0",
5+
"version": "2.2.0",
66
"title": "Follow me on the Fediverse",
77
"category": "widgets",
88
"description": "Display your Fediverse profile so that visitors can follow you.",
99
"textdomain": "activitypub",
1010
"icon": "groups",
11+
"example": {
12+
"attributes": {
13+
"className": "is-style-default"
14+
}
15+
},
1116
"supports": {
1217
"html": false,
18+
"interactivity": true,
1319
"color": {
1420
"gradients": true,
1521
"link": true,
@@ -25,44 +31,47 @@
2531
"color": true,
2632
"style": true
2733
},
34+
"shadow": true,
2835
"typography": {
2936
"fontSize": true,
3037
"__experimentalDefaultControls": {
3138
"fontSize": true
3239
}
40+
},
41+
"innerBlocks": {
42+
"allowedBlocks": [
43+
"core/button"
44+
]
3345
}
3446
},
35-
"attributes": {
36-
"selectedUser": {
37-
"type": "string",
38-
"default": "site"
47+
"styles": [
48+
{
49+
"name": "default",
50+
"label": "Default",
51+
"isDefault": true
3952
},
40-
"buttonOnly": {
41-
"type": "boolean",
42-
"default": false
53+
{
54+
"name": "button-only",
55+
"label": "Button"
4356
},
44-
"buttonText": {
45-
"type": "string",
46-
"default": "Follow"
47-
},
48-
"buttonSize": {
57+
{
58+
"name": "profile",
59+
"label": "Profile"
60+
}
61+
],
62+
"attributes": {
63+
"selectedUser": {
4964
"type": "string",
50-
"default": "default",
51-
"enum": [
52-
"small",
53-
"default",
54-
"compact"
55-
]
65+
"default": "blog"
5666
}
5767
},
5868
"usesContext": [
5969
"postType",
6070
"postId"
6171
],
6272
"editorScript": "file:./index.js",
63-
"viewScript": "file:./view.js",
64-
"style": [
65-
"file:./style-view.css",
66-
"wp-components"
67-
]
73+
"viewScriptModule": "file:./view.js",
74+
"viewScript": "wp-api-fetch",
75+
"style": "file:./style-index.css",
76+
"render": "file:./render.php"
6877
}

build/follow-me/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '8f1a6f7e5f76d58a3204');
1+
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'f86e4533c114b4304dd1');

0 commit comments

Comments
 (0)