From 7dd11db003c23ae2a7738316b57212c5bd6d8263 Mon Sep 17 00:00:00 2001 From: Geoff Dusome Date: Thu, 13 Jun 2024 11:09:33 -0400 Subject: [PATCH 1/2] add wrapper around thumbnail / button --- assets/css/style.pcss | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- src/Core.php | 4 +++- tribe-embed.php | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/assets/css/style.pcss b/assets/css/style.pcss index 03e586b..2e14c3c 100644 --- a/assets/css/style.pcss +++ b/assets/css/style.pcss @@ -1,6 +1,6 @@ @import "variables.pcss"; -.tribe-embed { +.tribe-embed__inner { position: relative; } diff --git a/package-lock.json b/package-lock.json index 07bc314..1850ff4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tribe-embed", - "version": "0.0.0", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tribe-embed", - "version": "0.0.0", + "version": "1.0.2", "license": "GPL-2.0-or-later", "devDependencies": { "@wordpress/scripts": "^26.19.0", @@ -15,8 +15,8 @@ "postcss-preset-env": "^9.2.0" }, "engines": { - "node": "18.16.0", - "npm": "9.6.4" + "node": "^18.16.0", + "npm": "^9.5.1" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 8b86a22..ed03e3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tribe-embed", - "version": "1.0.2", + "version": "1.0.3", "description": "Tribe Embed", "author": "Modern Tribe ", "license": "GPL-2.0-or-later", diff --git a/src/Core.php b/src/Core.php index 64c7442..71e66e0 100644 --- a/src/Core.php +++ b/src/Core.php @@ -9,7 +9,7 @@ final class Core { - public const VERSION = '1.0.2'; + public const VERSION = '1.0.3'; public const PLUGIN_NAME = 'tribe-embed'; private static self $instance; @@ -232,6 +232,7 @@ public function open_markup_figure_element( array $block, string $video_id, arra ?>
+
" public function close_markup_figure_element( array $block, string $video_id, array $thumbnail_data, array $wrapper_classes ): void { ?> +
Date: Thu, 13 Jun 2024 11:13:05 -0400 Subject: [PATCH 2/2] update package lock with new version --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1850ff4..6fc4349 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tribe-embed", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tribe-embed", - "version": "1.0.2", + "version": "1.0.3", "license": "GPL-2.0-or-later", "devDependencies": { "@wordpress/scripts": "^26.19.0",