From 9f3366ccfc909c14220947b5a94e43f2b9c1aaee Mon Sep 17 00:00:00 2001 From: Sander Date: Tue, 16 Jan 2024 10:55:46 +0100 Subject: [PATCH] v6.0.4 : Remove confusing circle around today's date in a book process --- changelog.md | 3 +++ css/themes/base.css | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 5 ++++- recras-wordpress-plugin.php | 2 +- src/Plugin.php | 2 +- 7 files changed, 15 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 7659fe1d..eec1829c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## 6.0.4 (2024-01-16) +* Remove confusing circle around today's date in a book process + ## 6.0.3 (2023-12-21) * Fix checkbox without explanation when adding book process shortcode diff --git a/css/themes/base.css b/css/themes/base.css index 5167a01e..8a40674c 100644 --- a/css/themes/base.css +++ b/css/themes/base.css @@ -8,6 +8,9 @@ .bookprocess .react-datepicker__navigation { display: flex; /* Fix Elementor overriding this to block */ } +.bookprocess .react-datepicker__day--today::after { + content: unset; /* Circle around today is confusing, people might think that day is selected */ +} /*** ONLINE BOOKING ***/ .recras-contactform-required::after { diff --git a/package-lock.json b/package-lock.json index 7f7022f2..10d80095 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "recras-wordpress-plugin", - "version": "6.0.3", + "version": "6.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "recras-wordpress-plugin", - "version": "6.0.3", + "version": "6.0.4", "license": "MIT", "devDependencies": { "po2json": "1.0.0-beta-3" diff --git a/package.json b/package.json index 074c6b3f..f3616484 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "recras-wordpress-plugin", - "version": "6.0.3", + "version": "6.0.4", "description": "Recras WordPress plugin", "main": "index.js", "directories": { diff --git a/readme.txt b/readme.txt index c6d92d9c..d3079011 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: zanderz Tags: recras, recreation, reservation, booking, voucher Tested up to: 6.4 -Stable tag: 6.0.3 +Stable tag: 6.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -80,6 +80,9 @@ No. "Must use" plugins don't appear in the update notifications nor show their u == Changelog == += 6.0.4 = +* Remove confusing circle around today's date in a book process + = 6.0.3 = * Fix checkbox without explanation when adding book process shortcode diff --git a/recras-wordpress-plugin.php b/recras-wordpress-plugin.php index a6251a50..498869c4 100644 --- a/recras-wordpress-plugin.php +++ b/recras-wordpress-plugin.php @@ -2,7 +2,7 @@ /* Plugin Name: Recras WordPress Plugin Plugin URI: https://www.recras.nl/ -Version: 6.0.3 +Version: 6.0.4 Description: Easily integrate your Recras data into your own site Requires at least: 6.2 Requires PHP: 7.2.0 diff --git a/src/Plugin.php b/src/Plugin.php index 5185ef6b..fb478c40 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -302,7 +302,7 @@ public function loadScripts(): void 'https://' . $subdomain . '.recras.nl/bookprocess/bookprocess_styling.css' ); - wp_enqueue_style('recras_theme_base', $this->baseUrl . '/css/themes/base.css', [], '5.5.1'); + wp_enqueue_style('recras_theme_base', $this->baseUrl . '/css/themes/base.css', [], '6.0.4'); wp_enqueue_style('recras_theme_' . $theme, $this->baseUrl . '/css/themes/' . $theme . '.css', [], $allowedThemes[$theme]['version']); } }