updated plugin Jetpack Protect version 1.4.0

This commit is contained in:
2023-06-05 11:21:22 +00:00
committed by Gitium
parent b7bbe6d733
commit 63d1d30fa8
115 changed files with 3634 additions and 726 deletions

View File

@ -5,7 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.3.1] - 2023-03-07
## [2.3.4] - 2023-03-28
### Fixed
- JITM: Fix button overflow when text length is too big [#29749]
## [2.3.3] - 2023-03-27
### Changed
- JITM: Update styles [#29709]
## [2.3.2] - 2023-03-20
### Changed
- Updated package dependencies. [#29471]
## [2.3.1] - 2023-03-08
### Changed
- Updated package dependencies. [#29216]
@ -550,6 +562,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update Jetpack to use new JITM package
[2.3.3]: https://github.com/Automattic/jetpack-jitm/compare/v2.3.2...v2.3.3
[2.3.2]: https://github.com/Automattic/jetpack-jitm/compare/v2.3.1...v2.3.2
[2.3.1]: https://github.com/Automattic/jetpack-jitm/compare/v2.3.0...v2.3.1
[2.3.0]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.42...v2.3.0
[2.2.42]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.41...v2.2.42

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '7c399cb086c6eb967ade');
<?php return array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'ef911dd8f37f702652eb');

File diff suppressed because one or more lines are too long

View File

@ -5,13 +5,13 @@
"license": "GPL-2.0-or-later",
"require": {
"automattic/jetpack-a8c-mc-stats": "^1.4.19",
"automattic/jetpack-assets": "^1.17.33",
"automattic/jetpack-connection": "^1.51.1",
"automattic/jetpack-assets": "^1.17.34",
"automattic/jetpack-connection": "^1.51.4",
"automattic/jetpack-device-detection": "^1.4.24",
"automattic/jetpack-logo": "^1.5.22",
"automattic/jetpack-partner": "^1.7.22",
"automattic/jetpack-redirect": "^1.7.24",
"automattic/jetpack-status": "^1.16.2"
"automattic/jetpack-status": "^1.16.3"
},
"require-dev": {
"brain/monkey": "2.6.1",

View File

@ -20,7 +20,7 @@ use Automattic\Jetpack\Status;
*/
class JITM {
const PACKAGE_VERSION = '2.3.1';
const PACKAGE_VERSION = '2.3.4';
/**
* The configuration method that is called from the jetpack-config package.

View File

@ -7,7 +7,7 @@
@import '../../plugins/jetpack/_inc/client/scss/calypso-colors';
@mixin clear-fix {
&:after {
&::after {
content: ".";
display: block;
height: 0;
@ -58,6 +58,7 @@ $jp-gray-20: #a7aaad;
border-color: black;
background: $white;
color: black;
width: 100%;
// Primary buttons
&.is-primary {
@ -85,7 +86,7 @@ $jp-gray-20: #a7aaad;
cursor: default;
}
&.is-compact {
padding: 12px;
height: 32px;
font-size: 14px;
line-height: 1;
white-space: nowrap;
@ -117,7 +118,8 @@ $jp-gray-20: #a7aaad;
clear: both;
position: relative;
margin: rem( 48px ) rem( 20px ) 0 auto;
padding: 16px ;
padding: rem( 16px );
padding-left: rem( 20px );
box-sizing: border-box;
background-color: $white;
background-image: url( "../images/background.png" );
@ -129,11 +131,6 @@ $jp-gray-20: #a7aaad;
@include clear-fix;
@include breakpoint( ">480px" ) {
margin-bottom: rem( 16px );
padding: rem( 24px );
}
// Compact Card
&.is-compact {
margin-bottom: rem( 1px );
@ -235,7 +232,8 @@ $jp-gray-20: #a7aaad;
}
@include breakpoint( ">480px" ) {
padding: rem( 12px ) rem( 16px );
padding: rem( 16px );
padding-left: rem( 20px );
&.is-dismissible {
padding-right: rem( 16px );
@ -246,7 +244,13 @@ $jp-gray-20: #a7aaad;
.jitm-banner__buttons_container {
display: flex;
height: 50%;
margin: auto 16px auto;
margin: auto rem( 16px ) auto 0;
gap: rem( 16px );
overflow: hidden;
@include breakpoint( ">480px" ) {
margin-left: rem( 16px );
}
}
.jitm-banner__icons {
@ -302,7 +306,7 @@ $jp-gray-20: #a7aaad;
top: rem( 2px );
@include breakpoint( "<480px" ) {
margin-bottom: rem( 12px );
margin-bottom: rem( 16px );
}
svg {
@ -313,7 +317,7 @@ $jp-gray-20: #a7aaad;
.jitm-jp-logo {
height: inherit;
width: rem( 42px );
width: rem( 40px );
fill: inherit;
}
}
@ -321,10 +325,6 @@ $jp-gray-20: #a7aaad;
@include breakpoint( ">480px" ) {
align-items: center;
}
@include breakpoint( "<960px" ) {
margin-bottom: 10px;
}
}
.jitm-banner__content {
@ -332,6 +332,7 @@ $jp-gray-20: #a7aaad;
display: flex;
flex-grow: 1;
flex-wrap: wrap;
flex-shrink: 100000;
@include breakpoint( "<480px" ) {
margin-right: 0;
@ -365,14 +366,15 @@ $jp-gray-20: #a7aaad;
}
.jitm-banner__title {
font-size: 16px;
font-size: rem( 15px );
font-weight: 700;
line-height: 136%;
}
.jitm-banner__description {
font-size: rem( 14px );
line-height: 1.4;
margin-top: rem( 6px );
font-size: rem( 13px );
line-height: 150%;
margin-top: rem( 2px );
}
.banner__list {
@ -394,9 +396,8 @@ $jp-gray-20: #a7aaad;
.jitm-banner__action {
align-self: center;
font-size: rem( 12px );
margin: rem( 8px ) 0 0;
text-align: left;
width: 100%;
overflow: hidden;
.jitm-banner__prices {
display: flex;
@ -421,7 +422,6 @@ $jp-gray-20: #a7aaad;
}
@include breakpoint( ">480px" ) {
margin: 0 rem( 4px ) 0 rem( 8px );
text-align: center;
width: auto;
@ -443,10 +443,10 @@ $jp-gray-20: #a7aaad;
margin-top: auto;
margin-bottom: auto;
&:before {
&::before {
color: darken($gray, 20%);
font: 400 16px/1 dashicons;
content: '\f158';
font: 400 20px/1 dashicons;
content: '\f335';
}
@include breakpoint( ">660px" ) {