Skip to content

Commit

Permalink
Merge pull request #230 from awesomemotive/release/4.12.2
Browse files Browse the repository at this point in the history
`release/4.12.2`
  • Loading branch information
spencerfinnell authored Jan 9, 2025
2 parents 3023126 + 4ca0469 commit 3064f9e
Show file tree
Hide file tree
Showing 65 changed files with 1,917 additions and 748 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
9 changes: 9 additions & 0 deletions data/etc/public_key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw6WI2Yb1HVAs2WmJ1R3k
P4TU+hfzlmD/Mryioj4mjcwdRDMrRfNZkVdI79cajvj9gm9VWfK3d3lfKYH5B2vq
wdgaWYhduJvMBI8E6mgC4F3bZ8ZuBA9tSHXESXwqsTUuF0yiHkKztzhsjSDRjYZl
pWiWHaKsWwiI9Iui9+dI48XC2ZkquH5jJin1LaM2I8AlQ9i0U3M+LopKdOcOCa8a
9Zx4Wx3AbiNaasC04n412I9/aRE6qkitP3tOfAT8p/0TbIXztdOm52csEu36+W5k
nanP6FzoZI8Iakc/iF0TUevAOv+Xq/FaE4rGbvLEhGZdMOJYWu9LbbFJHU8/cBQm
+QIDAQAB
-----END PUBLIC KEY-----
95 changes: 94 additions & 1 deletion includes/core/assets/css/admin/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
}

&[href="#purchase-restrictions-settings-panel"],
&[href="#payment-page-settings-panel"] {
&[href="#confirmation-settings-panel"] {
margin-bottom: 20px;
position: relative;

Expand Down Expand Up @@ -2424,3 +2424,96 @@ body.post-type-simple-pay #wpbody-content {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
padding: 12px 18px;
}

// Payment Page
.payment-page-background-color-selector {
display: flex;
align-items: center;
flex-wrap: wrap;
position: relative;
}

.simpay-payment-page-background-color {
margin: 0 8px 8px 0;
}

.simpay-payment-page-background-color label {
width: 88px;
height: 50px;
border-radius: 4px;
display: flex;
justify-content: center;
align-items: center;
border: 2px solid transparent;
position: relative;
box-sizing: border-box;
}

.simpay-payment-page-background-color input {
position: absolute;
top: 0;
left: 0;
z-index: -1;
}

.simpay-payment-page-background-color input:checked + label,
.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button.is-selected {
box-shadow: inset 0 0 0 2px white;
}

.simpay-payment-page-background-color input:checked + label:after,
.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button.is-selected:after {
color: #fff;
font-size: 20px;
font-weight: bold;
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
}

.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button {
width: 80px;
height: 50px;
border-radius: 4px;
border: 2px solid transparent;
box-sizing: border-box;
margin: 0;
position: relative;
}

.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button:after {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M482.8 29.23c38.9 38.98 38.9 102.17 0 141.17L381.2 271.9l9.4 9.5c12.5 12.5 12.5 32.7 0 45.2s-32.7 12.5-45.2 0l-160-160c-12.5-12.5-12.5-32.7 0-45.2s32.7-12.5 45.2 0l9.5 9.4L341.6 29.23c39-38.974 102.2-38.974 141.2 0zM55.43 323.3 176.1 202.6l45.3 45.3-120.7 120.7c-3.01 3-4.7 7-4.7 11.3V416h36.1c4.3 0 8.3-1.7 11.3-4.7l120.7-120.7 45.3 45.3-120.7 120.7c-15 15-35.4 23.4-56.6 23.4H89.69l-39.94 26.6c-12.69 8.5-29.59 6.8-40.377-4-10.786-10.8-12.459-27.7-3.998-40.4L32 422.3v-42.4c0-21.2 8.43-41.6 23.43-56.6z' fill='%23fff' /%3E%3C/svg%3E");
position: absolute;
top: 58%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
}

.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button:hover,
.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button:focus {
color: #fff;
border: 2px solid transparent;
box-shadow: none;
}

.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button:hover:after,
.simpay-payment-page-background-color .wp-picker-container .wp-color-result.button:focus:after {
color: #fff;
border: 0;
}

.simpay-payment-page-background-color .wp-picker-holder {
position: absolute;
z-index: 10;
}

.simpay-payment-page-background-color .wp-picker-container .wp-picker-clear,
.simpay-payment-page-background-color .wp-picker-container .wp-color-result-text {
display: none;
}

.simpay-payment-page-background-color .wp-picker-open + .wp-picker-input-wrap {
display: none;
}
2 changes: 1 addition & 1 deletion includes/core/assets/css/simpay-admin.min.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '38c85620585476bbd62c1c2e85cb53e8');
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '84ce2259cd5bd16f300d867549f42a0e');
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'b6ae19d94aa17b2127536341fff8ed48');
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '128a5eacf4f4f2055bff18db16c9ae8f');
2 changes: 1 addition & 1 deletion includes/core/assets/js/dist/simpay-admin-help.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '6e145ab4db2f4a0e8506bfa24f5e784f');
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => 'a4a94d1076b88f6a55a3fc2607303dcf');
2 changes: 1 addition & 1 deletion includes/core/assets/js/dist/simpay-admin-notices.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-autop', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '3960de8850d66e054d601d7f5b765cd5');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-autop', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'd2ed2f9effcfd07e000a9546afa3c06f');
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'd58cefddd24203f4cc2c4dc025526219');
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'db9fe5d1db4bf31992965b941c70587a');
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => '742bc3a9b3de5b96ad5daa7476fa4918');
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => 'e64c533313c54b39783d6749f9fbc532');

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/core/assets/js/dist/simpay-admin-page-smtp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion includes/core/assets/js/dist/simpay-admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/core/assets/js/dist/simpay-block-button.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => '00172db84ef1041569d965faeaaa8efb');
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => 'ddb98e1f2550fd026d0dd257d2d39359');
Loading

0 comments on commit 3064f9e

Please sign in to comment.