Skip to content

Commit 6568dc5

Browse files
authored
Merge pull request #84 from 4site-interactive-studios/preferred-payment-method
Preferred payment method
2 parents 7b6c089 + bd052c9 commit 6568dc5

5 files changed

Lines changed: 25 additions & 14 deletions

File tree

dist/engrid.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
*
2020
* ENGRID PAGE TEMPLATE ASSETS
2121
*
22-
* Date: Monday, February 16, 2026 @ 11:07:45 ET
23-
* By: michael
22+
* Date: Wednesday, February 18, 2026 @ 00:11:30 ET
23+
* By: fernando
2424
* ENGrid styles: v0.24.0
2525
* ENGrid scripts: v0.24.0
2626
*
@@ -2854,7 +2854,8 @@ body:not(#en__pagebuilder) .click-to-expand:not(.expanded){
28542854
overflow:hidden;
28552855
}
28562856
body:not(#en__pagebuilder) .click-to-expand:not(.expanded) .click-to-expand-text-wrapper{
2857-
mask-image:linear-gradient(to bottom, #000 50%, #fff0 calc(100% - var(--click-to-expand__cta-image_height)));
2857+
-webkit-mask-image:linear-gradient(to bottom, #000 50%, #fff0 calc(100% - var(--click-to-expand__cta-image_height)));
2858+
mask-image:linear-gradient(to bottom, #000 50%, #fff0 calc(100% - var(--click-to-expand__cta-image_height)));
28582859
max-height:calc(var(--click-to-expand__copy-area_height) - var(--click-to-expand__cta-image_height) - 35px);
28592860
}
28602861
body:not(#en__pagebuilder) .click-to-expand:not(.expanded) .click-to-expand-cta{
@@ -8291,7 +8292,8 @@ body[data-engrid-debug]:before{
82918292
-webkit-box-orient:vertical;
82928293
display:-webkit-box;
82938294
margin-bottom:2.5rem;
8294-
mask-image:none;
8295+
-webkit-mask-image:none;
8296+
mask-image:none;
82958297
overflow:hidden;
82968298
}
82978299
@supports (-webkit-hyphens:none){
@@ -8788,7 +8790,8 @@ body[data-engrid-debug]:before{
87888790
width:2rem;
87898791
}
87908792
[data-engrid-theme=wwf] .ecardrecipient__name{
8791-
mask-image:linear-gradient(90deg, #000 75%, #fff0 calc(100% - 1rem));
8793+
-webkit-mask-image:linear-gradient(90deg, #000 75%, #fff0 calc(100% - 1rem));
8794+
mask-image:linear-gradient(90deg, #000 75%, #fff0 calc(100% - 1rem));
87928795
outline:none;
87938796
padding-right:1rem;
87948797
}

dist/engrid.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*
1818
* ENGRID PAGE TEMPLATE ASSETS
1919
*
20-
* Date: Monday, February 16, 2026 @ 11:07:45 ET
21-
* By: michael
20+
* Date: Wednesday, February 18, 2026 @ 00:11:30 ET
21+
* By: fernando
2222
* ENGrid styles: v0.24.0
2323
* ENGrid scripts: v0.24.0
2424
*
@@ -27430,6 +27430,10 @@ const options = {
2743027430
SkipToMainContentLink: true,
2743127431
SrcDefer: true,
2743227432
ProgressBar: true,
27433+
PreferredPaymentMethod: {
27434+
preferredPaymentMethodField: "supporter.NOT_TAGGED_150",
27435+
defaultPaymentMethod: ["card"]
27436+
},
2743327437
RegionLongFormat: "supporter.NOT_TAGGED_97",
2743427438
FreshAddress: {
2743527439
// dateField: "supporter.NOT_TAGGED_XXX",

dist/engrid.min.css

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/engrid.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ const options: Options = {
4242
SkipToMainContentLink: true,
4343
SrcDefer: true,
4444
ProgressBar: true,
45+
PreferredPaymentMethod: {
46+
preferredPaymentMethodField: "supporter.NOT_TAGGED_150",
47+
defaultPaymentMethod: ["card"],
48+
},
4549
RegionLongFormat: "supporter.NOT_TAGGED_97",
4650
FreshAddress: {
4751
// dateField: "supporter.NOT_TAGGED_XXX",

0 commit comments

Comments
 (0)