@automattic/newspack-blocks 4.26.4 → 4.26.5-alpha.1
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/.prettierrc.js +1 -1
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +8 -0
- package/composer.json +3 -16
- package/dist/carousel/view-rtl.css +1 -1
- package/dist/carousel/view.asset.php +1 -1
- package/dist/carousel/view.css +1 -1
- package/dist/carousel/view.js +1 -1
- package/dist/editor-rtl.css +2 -2
- package/dist/editor.asset.php +1 -1
- package/dist/editor.css +2 -2
- package/dist/editor.js +11 -11
- package/languages/newspack-blocks-de_DE.po +1 -1
- package/languages/newspack-blocks-es_ES.po +1 -1
- package/languages/newspack-blocks-fr_BE.po +1 -1
- package/languages/newspack-blocks-nb_NO.po +1 -1
- package/languages/newspack-blocks-pt_PT.po +1 -1
- package/languages/newspack-blocks.pot +2 -2
- package/newspack-blocks.php +2 -2
- package/package.json +3 -3
- package/src/components/query-controls.js +8 -9
- package/vendor/composer/installed.php +2 -2
- package/phpcs.xml +0 -38
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-05-
|
|
5
|
+
"POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:45-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-05-
|
|
5
|
+
"POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2025-08-12T14:56:45+00:00\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-05-
|
|
5
|
+
"POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-05-
|
|
5
|
+
"POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-05-
|
|
5
|
+
"POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
# This file is distributed under the same license as the Newspack Blocks plugin.
|
|
3
3
|
msgid ""
|
|
4
4
|
msgstr ""
|
|
5
|
-
"Project-Id-Version: Newspack Blocks 4.26.
|
|
5
|
+
"Project-Id-Version: Newspack Blocks 4.26.3\n"
|
|
6
6
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
7
7
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
8
8
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
9
9
|
"MIME-Version: 1.0\n"
|
|
10
10
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
11
11
|
"Content-Transfer-Encoding: 8bit\n"
|
|
12
|
-
"POT-Creation-Date: 2026-05-
|
|
12
|
+
"POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
|
|
13
13
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
14
14
|
"X-Generator: WP-CLI 2.12.0\n"
|
|
15
15
|
"X-Domain: newspack-blocks\n"
|
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: 4.26.
|
|
10
|
+
* Version: 4.26.5-alpha.1
|
|
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', '4.26.
|
|
18
|
+
define( 'NEWSPACK_BLOCKS__VERSION', '4.26.5-alpha.1' );
|
|
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/newspack-blocks",
|
|
3
|
-
"version": "4.26.
|
|
3
|
+
"version": "4.26.5-alpha.1",
|
|
4
4
|
"author": "Automattic",
|
|
5
5
|
"description": "=== Newspack Blocks === Contributors: (this should be a list of wordpress.org userid's) Donate link: https://example.com/ Tags: comments, spam Requires at least: 4.5 Tested up to: 5.1.1 Stable tag: 0.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html",
|
|
6
6
|
"repository": {
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"newspack-colors": "1.1.0",
|
|
50
50
|
"newspack-icons": "1.0.8",
|
|
51
51
|
"redux": "^5.0.0",
|
|
52
|
-
"redux-saga": "^1.
|
|
52
|
+
"redux-saga": "^1.5.0",
|
|
53
53
|
"regenerator-runtime": "^0.14.1",
|
|
54
|
-
"swiper": "12.0
|
|
54
|
+
"swiper": "12.2.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/lodash": "^4.17.23",
|
|
@@ -420,17 +420,16 @@ class QueryControls extends Component {
|
|
|
420
420
|
tokens={ getTermsOfCustomTaxonomy( customTaxonomyExclusions, slug ) }
|
|
421
421
|
/>
|
|
422
422
|
) ) }
|
|
423
|
-
|
|
424
|
-
{ onAllowDedupeChange && (
|
|
425
|
-
<ToggleControl
|
|
426
|
-
label={ __( 'Allow duplicate content', 'newspack-blocks' ) }
|
|
427
|
-
help={ __( "Exclude this block from the page's deduplication logic.", 'newspack-blocks' ) }
|
|
428
|
-
checked={ allowDedupeCurrentValue }
|
|
429
|
-
onChange={ value => onAllowDedupeChange( value ) }
|
|
430
|
-
/>
|
|
431
|
-
) }
|
|
432
423
|
</>
|
|
433
424
|
) }
|
|
425
|
+
{ onAllowDedupeChange && (
|
|
426
|
+
<ToggleControl
|
|
427
|
+
label={ __( 'Allow duplicate content', 'newspack-blocks' ) }
|
|
428
|
+
help={ __( "Exclude this block from the page's deduplication logic.", 'newspack-blocks' ) }
|
|
429
|
+
checked={ allowDedupeCurrentValue }
|
|
430
|
+
onChange={ value => onAllowDedupeChange( value ) }
|
|
431
|
+
/>
|
|
432
|
+
) }
|
|
434
433
|
</>
|
|
435
434
|
);
|
|
436
435
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
'name' => 'automattic/newspack-blocks',
|
|
4
4
|
'pretty_version' => 'dev-main',
|
|
5
5
|
'version' => 'dev-main',
|
|
6
|
-
'reference' => '
|
|
6
|
+
'reference' => '0808284b50a6266602c9d3e2c7e91e402641787a',
|
|
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-main',
|
|
15
15
|
'version' => 'dev-main',
|
|
16
|
-
'reference' => '
|
|
16
|
+
'reference' => '0808284b50a6266602c9d3e2c7e91e402641787a',
|
|
17
17
|
'type' => 'wordpress-plugin',
|
|
18
18
|
'install_path' => __DIR__ . '/../../',
|
|
19
19
|
'aliases' => array(),
|
package/phpcs.xml
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<ruleset name="WordPress Coding Standards for Plugins">
|
|
3
|
-
<description>Generally-applicable sniffs for WordPress plugins</description>
|
|
4
|
-
|
|
5
|
-
<rule ref="WordPress-Extra" />
|
|
6
|
-
<rule ref="WordPress-Docs" />
|
|
7
|
-
<rule ref="WordPress-VIP-Go" />
|
|
8
|
-
|
|
9
|
-
<rule ref="WordPress">
|
|
10
|
-
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found" />
|
|
11
|
-
<exclude name="Universal.Arrays.DisallowShortArraySyntax.Found" />
|
|
12
|
-
<exclude name="Universal.Operators.DisallowStandalonePostIncrementDecrement.PostIncrementFound" />
|
|
13
|
-
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction" />
|
|
14
|
-
<exclude name="WordPress.PHP.YodaConditions.NotYoda" />
|
|
15
|
-
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
|
|
16
|
-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed" />
|
|
17
|
-
<exclude name="Universal.NamingConventions.NoReservedKeywordParameterNames" />
|
|
18
|
-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.Found" />
|
|
19
|
-
</rule>
|
|
20
|
-
|
|
21
|
-
<rule ref="PHPCompatibilityWP"/>
|
|
22
|
-
<config name="testVersion" value="7.2-"/>
|
|
23
|
-
|
|
24
|
-
<arg name="extensions" value="php"/>
|
|
25
|
-
|
|
26
|
-
<!-- Show sniff codes in all reports -->
|
|
27
|
-
<arg value="s"/>
|
|
28
|
-
|
|
29
|
-
<!-- Allow invoking just `phpcs` on command line without assuming STDIN for file input. -->
|
|
30
|
-
<file>.</file>
|
|
31
|
-
|
|
32
|
-
<exclude-pattern>*/dev-lib/*</exclude-pattern>
|
|
33
|
-
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
|
34
|
-
<exclude-pattern>*/vendor/*</exclude-pattern>
|
|
35
|
-
<exclude-pattern>*/dist/*</exclude-pattern>
|
|
36
|
-
<exclude-pattern>*/release/*</exclude-pattern>
|
|
37
|
-
<exclude-pattern>*/tests/*</exclude-pattern>
|
|
38
|
-
</ruleset>
|