@automattic/newspack-blocks 3.4.1 → 3.5.0-alpha.2
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/.cache/babel/{b69c05682a3bd6b8f597906127dab44e.json.gz → 050608d6bb87b44df501893f38b9ae45.json.gz} +0 -0
- package/.cache/babel/{95b366451514b5cb06cca346773302ee.json.gz → 42b3be539a06623274ab967d11d2a462.json.gz} +0 -0
- package/CHANGELOG.md +7 -0
- package/composer.lock +23 -22
- package/dist/editor.asset.php +1 -1
- package/dist/editor.js +1 -1
- package/newspack-blocks.php +2 -2
- package/package.json +1 -1
- package/src/blocks/checkout-button/save.js +1 -1
- package/src/blocks/donate/edit/index.tsx +2 -2
- package/vendor/autoload.php +1 -1
- package/vendor/composer/autoload_real.php +4 -4
- package/vendor/composer/autoload_static.php +2 -2
- package/vendor/composer/installed.php +2 -2
package/newspack-blocks.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Author URI: https://newspack.com/
|
|
8
8
|
* Text Domain: newspack-blocks
|
|
9
9
|
* Domain Path: /languages
|
|
10
|
-
* Version: 3.
|
|
10
|
+
* Version: 3.5.0-alpha.2
|
|
11
11
|
*
|
|
12
12
|
* @package Newspack_Blocks
|
|
13
13
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ );
|
|
16
16
|
define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' );
|
|
17
17
|
define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) );
|
|
18
|
-
define( 'NEWSPACK_BLOCKS__VERSION', '3.
|
|
18
|
+
define( 'NEWSPACK_BLOCKS__VERSION', '3.5.0-alpha.2' );
|
|
19
19
|
|
|
20
20
|
require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php';
|
|
21
21
|
require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php';
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ export default function save( { attributes, className } ) {
|
|
|
43
43
|
...spacingProps.style,
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
const wrapperClasses = classnames( className, {
|
|
46
|
+
const wrapperClasses = classnames( className, 'wp-block-button', {
|
|
47
47
|
[ `has-custom-font-size` ]: fontSize || style?.typography?.fontSize,
|
|
48
48
|
[ `has-custom-width wp-block-button__width-${ width }` ]: width,
|
|
49
49
|
} );
|
|
@@ -435,7 +435,7 @@ const Edit = ( { attributes, setAttributes, className }: EditProps ) => {
|
|
|
435
435
|
<p>
|
|
436
436
|
{ sprintf(
|
|
437
437
|
// translators: %s is either 'enabled' or 'disabled'.
|
|
438
|
-
__( 'reCAPTCHA
|
|
438
|
+
__( 'reCAPTCHA is currently %s.', 'newspack' ),
|
|
439
439
|
window.newspack_blocks_data.has_recaptcha
|
|
440
440
|
? __( 'enabled', 'newspack' )
|
|
441
441
|
: __( 'disabled', 'newspack' )
|
|
@@ -444,7 +444,7 @@ const Edit = ( { attributes, setAttributes, className }: EditProps ) => {
|
|
|
444
444
|
{ ! window.newspack_blocks_data.has_recaptcha && (
|
|
445
445
|
<p>
|
|
446
446
|
{ __(
|
|
447
|
-
"It's highly recommended that you enable reCAPTCHA
|
|
447
|
+
"It's highly recommended that you enable reCAPTCHA protection to prevent spambots from using this form!",
|
|
448
448
|
'newspack'
|
|
449
449
|
) }
|
|
450
450
|
</p>
|
package/vendor/autoload.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// autoload_real.php @generated by Composer
|
|
4
4
|
|
|
5
|
-
class
|
|
5
|
+
class ComposerAutoloaderInit2e116f9a62b0350195fc3be273b72fbd
|
|
6
6
|
{
|
|
7
7
|
private static $loader;
|
|
8
8
|
|
|
@@ -22,12 +22,12 @@ class ComposerAutoloaderInit738857c49b2d40360e3c549550e6544b
|
|
|
22
22
|
return self::$loader;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
spl_autoload_register(array('
|
|
25
|
+
spl_autoload_register(array('ComposerAutoloaderInit2e116f9a62b0350195fc3be273b72fbd', 'loadClassLoader'), true, true);
|
|
26
26
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
|
27
|
-
spl_autoload_unregister(array('
|
|
27
|
+
spl_autoload_unregister(array('ComposerAutoloaderInit2e116f9a62b0350195fc3be273b72fbd', 'loadClassLoader'));
|
|
28
28
|
|
|
29
29
|
require __DIR__ . '/autoload_static.php';
|
|
30
|
-
call_user_func(\Composer\Autoload\
|
|
30
|
+
call_user_func(\Composer\Autoload\ComposerStaticInit2e116f9a62b0350195fc3be273b72fbd::getInitializer($loader));
|
|
31
31
|
|
|
32
32
|
$loader->register(true);
|
|
33
33
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
namespace Composer\Autoload;
|
|
6
6
|
|
|
7
|
-
class
|
|
7
|
+
class ComposerStaticInit2e116f9a62b0350195fc3be273b72fbd
|
|
8
8
|
{
|
|
9
9
|
public static $classMap = array (
|
|
10
10
|
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
|
@@ -13,7 +13,7 @@ class ComposerStaticInit738857c49b2d40360e3c549550e6544b
|
|
|
13
13
|
public static function getInitializer(ClassLoader $loader)
|
|
14
14
|
{
|
|
15
15
|
return \Closure::bind(function () use ($loader) {
|
|
16
|
-
$loader->classMap =
|
|
16
|
+
$loader->classMap = ComposerStaticInit2e116f9a62b0350195fc3be273b72fbd::$classMap;
|
|
17
17
|
|
|
18
18
|
}, null, ClassLoader::class);
|
|
19
19
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
'name' => 'automattic/newspack-blocks',
|
|
4
4
|
'pretty_version' => 'dev-trunk',
|
|
5
5
|
'version' => 'dev-trunk',
|
|
6
|
-
'reference' => '
|
|
6
|
+
'reference' => '02cb3faa2ccd2b125045f85cb0c8f2377d2a20a2',
|
|
7
7
|
'type' => 'wordpress-plugin',
|
|
8
8
|
'install_path' => __DIR__ . '/../../',
|
|
9
9
|
'aliases' => array(),
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
'automattic/newspack-blocks' => array(
|
|
14
14
|
'pretty_version' => 'dev-trunk',
|
|
15
15
|
'version' => 'dev-trunk',
|
|
16
|
-
'reference' => '
|
|
16
|
+
'reference' => '02cb3faa2ccd2b125045f85cb0c8f2377d2a20a2',
|
|
17
17
|
'type' => 'wordpress-plugin',
|
|
18
18
|
'install_path' => __DIR__ . '/../../',
|
|
19
19
|
'aliases' => array(),
|