@automattic/newspack-blocks 2.2.2-hotfix-update-subtitle-selector.2 → 2.2.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.
@@ -7,7 +7,7 @@
7
7
  * Author URI: https://newspack.com/
8
8
  * Text Domain: newspack-blocks
9
9
  * Domain Path: /languages
10
- * Version: 2.2.1
10
+ * Version: 2.2.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', '2.2.1' );
18
+ define( 'NEWSPACK_BLOCKS__VERSION', '2.2.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/newspack-blocks",
3
- "version": "2.2.2-hotfix-update-subtitle-selector.2",
3
+ "version": "2.2.2",
4
4
  "author": "Automattic",
5
5
  "devDependencies": {
6
6
  "@rushstack/eslint-patch": "^1.5.1",
@@ -1,11 +1,16 @@
1
1
  @use '../../shared/sass/variables';
2
2
  @use '../../shared/sass/placeholder';
3
3
  @use '../../shared/sass/colors';
4
+ @use '../../shared/sass/mixins';
4
5
 
5
6
  .wpnbha {
6
- article {
7
- .entry-title {
8
- margin: 0 0 0.25em;
7
+ article .entry-title {
8
+ margin: 0 0 0.25em;
9
+ }
10
+
11
+ @include mixins.media( tablet ) {
12
+ &.ts-4 article .entry-title {
13
+ font-size: 1.6em;
9
14
  }
10
15
  }
11
16
 
@@ -30,6 +35,8 @@
30
35
  .excerpt-contain p {
31
36
  margin: 0.5em 0;
32
37
  }
38
+
39
+
33
40
  }
34
41
 
35
42
  .editor-styles-wrapper.wpnbha__wp-block-button__wrapper {
@@ -134,7 +134,7 @@ function newspack_blocks_get_homepage_articles_css_string( $attrs ) {
134
134
 
135
135
  ob_start();
136
136
  ?>
137
- .wpnbha .entry-title {
137
+ .wpnbha article .entry-title {
138
138
  font-size: 1.2em;
139
139
  }
140
140
  .wpnbha .entry-meta {
@@ -193,7 +193,7 @@ function newspack_blocks_get_homepage_articles_css_string( $attrs ) {
193
193
  }
194
194
  if ( in_array( $scale, [ 1, 2, 3 ], true ) ) {
195
195
  echo esc_html(
196
- ".wpnbha.ts-$scale article .newspack-post-subtitle,.entry-wrapper p,.entry-wrapper .more-link,.entry-meta {font-size: 0.8em;}"
196
+ ".wpnbha.ts-$scale article .newspack-post-subtitle, .wpnbha.ts-$scale article .entry-wrapper p, .wpnbha.ts-$scale article .entry-wrapper .more-link, .wpnbha.ts-$scale article .entry-meta {font-size: 0.8em;}"
197
197
  );
198
198
  }
199
199
  }
@@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
22
22
 
23
23
  require_once __DIR__ . '/composer/autoload_real.php';
24
24
 
25
- return ComposerAutoloaderInitd4f8e6e60ff1e1b43965a4364ad1304a::getLoader();
25
+ return ComposerAutoloaderInit6670cef028b709b63195a06386196572::getLoader();
@@ -2,7 +2,7 @@
2
2
 
3
3
  // autoload_real.php @generated by Composer
4
4
 
5
- class ComposerAutoloaderInitd4f8e6e60ff1e1b43965a4364ad1304a
5
+ class ComposerAutoloaderInit6670cef028b709b63195a06386196572
6
6
  {
7
7
  private static $loader;
8
8
 
@@ -22,12 +22,12 @@ class ComposerAutoloaderInitd4f8e6e60ff1e1b43965a4364ad1304a
22
22
  return self::$loader;
23
23
  }
24
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitd4f8e6e60ff1e1b43965a4364ad1304a', 'loadClassLoader'), true, true);
25
+ spl_autoload_register(array('ComposerAutoloaderInit6670cef028b709b63195a06386196572', 'loadClassLoader'), true, true);
26
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
- spl_autoload_unregister(array('ComposerAutoloaderInitd4f8e6e60ff1e1b43965a4364ad1304a', 'loadClassLoader'));
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit6670cef028b709b63195a06386196572', 'loadClassLoader'));
28
28
 
29
29
  require __DIR__ . '/autoload_static.php';
30
- call_user_func(\Composer\Autoload\ComposerStaticInitd4f8e6e60ff1e1b43965a4364ad1304a::getInitializer($loader));
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit6670cef028b709b63195a06386196572::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 ComposerStaticInitd4f8e6e60ff1e1b43965a4364ad1304a
7
+ class ComposerStaticInit6670cef028b709b63195a06386196572
8
8
  {
9
9
  public static $classMap = array (
10
10
  'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
@@ -13,7 +13,7 @@ class ComposerStaticInitd4f8e6e60ff1e1b43965a4364ad1304a
13
13
  public static function getInitializer(ClassLoader $loader)
14
14
  {
15
15
  return \Closure::bind(function () use ($loader) {
16
- $loader->classMap = ComposerStaticInitd4f8e6e60ff1e1b43965a4364ad1304a::$classMap;
16
+ $loader->classMap = ComposerStaticInit6670cef028b709b63195a06386196572::$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-master',
5
5
  'version' => 'dev-master',
6
- 'reference' => '451b21b419f25a4d3c4a16a018a5a84ff42fdae9',
6
+ 'reference' => '0ccb9730c96a598b873fca6ff15147e2fe053930',
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-master',
15
15
  'version' => 'dev-master',
16
- 'reference' => '451b21b419f25a4d3c4a16a018a5a84ff42fdae9',
16
+ 'reference' => '0ccb9730c96a598b873fca6ff15147e2fe053930',
17
17
  'type' => 'wordpress-plugin',
18
18
  'install_path' => __DIR__ . '/../../',
19
19
  'aliases' => array(),