Skip to content

Commit

Permalink
postcss-preset-env update
Browse files Browse the repository at this point in the history
  • Loading branch information
fernanDOTdo committed Jan 11, 2024
1 parent ff8f8e3 commit 4bcfd69
Show file tree
Hide file tree
Showing 6 changed files with 1,937 additions and 535 deletions.
37 changes: 29 additions & 8 deletions dist/engrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Thursday, January 11, 2024 @ 17:00:47 ET
* Date: Thursday, January 11, 2024 @ 17:04:48 ET
* By: fernando
* ENGrid styles: v0.16.11
* ENGrid scripts: v0.16.11
Expand Down Expand Up @@ -497,6 +497,7 @@ template{
.en__eventOccurrencesDateSelector__clear,.en__occurrenceSummary__change{
color:#0070ba;
cursor:pointer;
-webkit-text-decoration:underline;
text-decoration:underline;
}

Expand Down Expand Up @@ -2117,6 +2118,7 @@ label a.label-tooltip{
margin-left:var(--fields_spacing-inline);
margin-right:var(--fields_spacing-inline);
right:0;
-webkit-text-decoration:underline;
text-decoration:underline;
text-transform:none;
}
Expand Down Expand Up @@ -2186,7 +2188,8 @@ input[type=range]{
}

:not(#EN__RootElement) input[type=email],:not(#EN__RootElement) input[type=number],:not(#EN__RootElement) input[type=tel],input[type=text]{
appearance:textfield;
-webkit-appearance:textfield;
appearance:textfield;
}
input[type=radio]+label{
align-items:center;
Expand Down Expand Up @@ -2377,6 +2380,7 @@ input[type=checkbox]:checked+label:before{
input.en__contactDetails__select,input.en__field__input--checkbox,input.en__field__input--radio{
clip:rect(0 0 0 0);
border:0;
-webkit-clip-path:inset(50%);
clip-path:inset(50%);
height:1px;
margin:-1px;
Expand All @@ -2397,7 +2401,8 @@ input.en__contactDetails__select,input.en__field__input--checkbox,input.en__fiel
flex-direction:column;
}
select,select.en__field__input--select,select.en__field__input--splitselect,select.en__field__input--tripleselect{
appearance:none;
-webkit-appearance:none;
appearance:none;
background-color:var(--select_background-color);
background-image:url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 version=%271.1%27 width=%2732%27 height=%2724%27 viewBox=%270 0 32 24%27><polygon points=%270,0 32,0 16,24%27 style=%27fill: rgb%280, 0, 0%29%27></polygon></svg>");
background-origin:content-box;
Expand Down Expand Up @@ -2751,7 +2756,8 @@ body{
--submit__button_text-transform:var(--button_text-transform);
}
.button,.en__button,.pseduo__en__submit_button,button,button.en__eventOccurrence__select,button.en__ticketRecurring__select,button.en__ticketSummary__checkout{
appearance:none;
-webkit-appearance:none;
appearance:none;
background-color:var(--button_background-color);
border:var(--button_border-width) solid var(--button_border-color);
border-radius:var(--button_border-radius);
Expand Down Expand Up @@ -2779,6 +2785,7 @@ body{
color:var(--button_color_checked);
}
a.button,a.button.active,a.button:active,a.button:focus,a.button:hover{
-webkit-text-decoration:none;
text-decoration:none;
}

Expand Down Expand Up @@ -3174,7 +3181,7 @@ body:not(#en__pagebuilder) .click-to-expand.expanded .click-to-expand-text-wrapp
#en__pagebuilder .en__field--plaid,#en__pagebuilder .hide,#en__pagebuilder .hide-labels .en__field>label,#en__pagebuilder .hide-until-client-js-loading-finished,#en__pagebuilder .hide-until-engrid-js-loading-finished,#en__pagebuilder .i1-hide .en__field:first-of-type,#en__pagebuilder .i1-hide-label .en__field:first-of-type>label,#en__pagebuilder .i10-hide .en__field:nth-of-type(10),#en__pagebuilder .i10-hide-label .en__field:nth-of-type(10)>label,#en__pagebuilder .i11-hide .en__field:nth-of-type(11),#en__pagebuilder .i11-hide-label .en__field:nth-of-type(11)>label,#en__pagebuilder .i2-hide .en__field:nth-of-type(2),#en__pagebuilder .i2-hide-label .en__field:nth-of-type(2)>label,#en__pagebuilder .i3-hide .en__field:nth-of-type(3),#en__pagebuilder .i3-hide-label .en__field:nth-of-type(3)>label,#en__pagebuilder .i4-hide .en__field:nth-of-type(4),#en__pagebuilder .i4-hide-label .en__field:nth-of-type(4)>label,#en__pagebuilder .i5-hide .en__field:nth-of-type(5),#en__pagebuilder .i5-hide-label .en__field:nth-of-type(5)>label,#en__pagebuilder .i6-hide .en__field:nth-of-type(6),#en__pagebuilder .i6-hide-label .en__field:nth-of-type(6)>label,#en__pagebuilder .i7-hide .en__field:nth-of-type(7),#en__pagebuilder .i7-hide-label .en__field:nth-of-type(7)>label,#en__pagebuilder .i8-hide .en__field:nth-of-type(8),#en__pagebuilder .i8-hide-label .en__field:nth-of-type(8)>label,#en__pagebuilder .i9-hide .en__field:nth-of-type(9),#en__pagebuilder .i9-hide-label .en__field:nth-of-type(9)>label,#en__pagebuilder [hidden-via-url-argument],#en__pagebuilder label.hide-label,[data-engrid-debug] .en__field--plaid,[data-engrid-debug] .hide,[data-engrid-debug] .hide-labels .en__field>label,[data-engrid-debug] .hide-until-client-js-loading-finished,[data-engrid-debug] .hide-until-engrid-js-loading-finished,[data-engrid-debug] .i1-hide .en__field:first-of-type,[data-engrid-debug] .i1-hide-label .en__field:first-of-type>label,[data-engrid-debug] .i10-hide .en__field:nth-of-type(10),[data-engrid-debug] .i10-hide-label .en__field:nth-of-type(10)>label,[data-engrid-debug] .i11-hide .en__field:nth-of-type(11),[data-engrid-debug] .i11-hide-label .en__field:nth-of-type(11)>label,[data-engrid-debug] .i2-hide .en__field:nth-of-type(2),[data-engrid-debug] .i2-hide-label .en__field:nth-of-type(2)>label,[data-engrid-debug] .i3-hide .en__field:nth-of-type(3),[data-engrid-debug] .i3-hide-label .en__field:nth-of-type(3)>label,[data-engrid-debug] .i4-hide .en__field:nth-of-type(4),[data-engrid-debug] .i4-hide-label .en__field:nth-of-type(4)>label,[data-engrid-debug] .i5-hide .en__field:nth-of-type(5),[data-engrid-debug] .i5-hide-label .en__field:nth-of-type(5)>label,[data-engrid-debug] .i6-hide .en__field:nth-of-type(6),[data-engrid-debug] .i6-hide-label .en__field:nth-of-type(6)>label,[data-engrid-debug] .i7-hide .en__field:nth-of-type(7),[data-engrid-debug] .i7-hide-label .en__field:nth-of-type(7)>label,[data-engrid-debug] .i8-hide .en__field:nth-of-type(8),[data-engrid-debug] .i8-hide-label .en__field:nth-of-type(8)>label,[data-engrid-debug] .i9-hide .en__field:nth-of-type(9),[data-engrid-debug] .i9-hide-label .en__field:nth-of-type(9)>label,[data-engrid-debug] [hidden-via-url-argument],[data-engrid-debug] label.hide-label{
background-color:#ff00001a !important;
}
body:not(#en__pagebuilder):not([data-engrid-debug]) .hide:not(.en__field--validationFailed):not(:has(.en__field.en__field--validationFailed)),body:not(#en__pagebuilder):not([data-engrid-debug]) .hide:not(.en__field--validationFailed)[\:not-has\(\.en__field\.en__field--validationFailed\)],body:not(#en__pagebuilder):not([data-engrid-debug]) div:not(.en__field--validationFailed) .hide:not(.en__field--validationFailed):not(:has(.en__field.en__field--validationFailed)),body:not(#en__pagebuilder):not([data-engrid-debug]) div:not(.en__field--validationFailed) .hide:not(.en__field--validationFailed)[\:not-has\(\.en__field\.en__field--validationFailed\)]{
body:not(#en__pagebuilder):not([data-engrid-debug]) .hide:not(.en__field--validationFailed):not(:has(.en__field.en__field--validationFailed)),body:not(#en__pagebuilder):not([data-engrid-debug]) div:not(.en__field--validationFailed) .hide:not(.en__field--validationFailed):not(:has(.en__field.en__field--validationFailed)){
display:none;
}
body:not(#en__pagebuilder):not([data-engrid-debug]) .en__field--plaid,body:not(#en__pagebuilder):not([data-engrid-debug]) .i1-hide .en__field:not(.en__field--validationFailed):first-of-type,body:not(#en__pagebuilder):not([data-engrid-debug]) .i10-hide .en__field:not(.en__field--validationFailed):nth-of-type(10),body:not(#en__pagebuilder):not([data-engrid-debug]) .i11-hide .en__field:not(.en__field--validationFailed):nth-of-type(11),body:not(#en__pagebuilder):not([data-engrid-debug]) .i2-hide .en__field:not(.en__field--validationFailed):nth-of-type(2),body:not(#en__pagebuilder):not([data-engrid-debug]) .i3-hide .en__field:not(.en__field--validationFailed):nth-of-type(3),body:not(#en__pagebuilder):not([data-engrid-debug]) .i4-hide .en__field:not(.en__field--validationFailed):nth-of-type(4),body:not(#en__pagebuilder):not([data-engrid-debug]) .i5-hide .en__field:not(.en__field--validationFailed):nth-of-type(5),body:not(#en__pagebuilder):not([data-engrid-debug]) .i6-hide .en__field:not(.en__field--validationFailed):nth-of-type(6),body:not(#en__pagebuilder):not([data-engrid-debug]) .i7-hide .en__field:not(.en__field--validationFailed):nth-of-type(7),body:not(#en__pagebuilder):not([data-engrid-debug]) .i8-hide .en__field:not(.en__field--validationFailed):nth-of-type(8),body:not(#en__pagebuilder):not([data-engrid-debug]) .i9-hide .en__field:not(.en__field--validationFailed):nth-of-type(9),body:not(#en__pagebuilder):not([data-engrid-debug]) [hidden-via-url-argument],body:not(#en__pagebuilder):not([data-engrid-debug]):not([data-engrid-client-js-loading=finished]) .hide-until-client-js-loading-finished,body:not(#en__pagebuilder):not([data-engrid-debug]):not([data-engrid-scripts-js-loading=finished]) .hide-until-engrid-js-loading-finished{
Expand Down Expand Up @@ -4337,6 +4344,7 @@ figure.media-with-attribution figattribution,figure.media-with-attribution figat
font-weight:var(--media-attribution__font-weight);
}
figure.media-with-attribution figattribution a,figure.media-with-attribution figattribution a:focus,figure.media-with-attribution figattribution a:hover{
-webkit-text-decoration:none;
text-decoration:none;
}
figure.media-with-attribution figattribution{
Expand Down Expand Up @@ -4531,7 +4539,8 @@ body:not(#en__pagebuilder) img:not([src]):not([srcset]){
opacity:1;
}
#goMonthly #secondOtherField{
appearance:textfield;
-webkit-appearance:textfield;
appearance:textfield;
background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='288' height='288' xmlns='http://www.w3.org/2000/svg'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='288' height='288' viewBox='0 0 1792 1792' transform='translate(11.988 11.995) scale(.9167)'%3E%3Cpath d='M1362 1185q0 153-99.5 263.5T1004 1585v175q0 14-9 23t-23 9H837q-13 0-22.5-9.5T805 1760v-175q-66-9-127.5-31T576 1509.5t-74-48-46.5-37.5-17.5-18q-17-21-2-41l103-135q7-10 23-12 15-2 24 9l2 2q113 99 243 125 37 8 74 8 81 0 142.5-43t61.5-122q0-28-15-53t-33.5-42-58.5-37.5-66-32-80-32.5q-39-16-61.5-25T733 948.5t-62.5-31T614 882t-53.5-42.5-43.5-49-35.5-58-21-66.5-8.5-78q0-138 98-242t255-134V32q0-13 9.5-22.5T837 0h135q14 0 23 9t9 23v176q57 6 110.5 23t87 33.5T1265 302t39 29 15 14q17 18 5 38l-81 146q-8 15-23 16-14 3-27-7-3-3-14.5-12t-39-26.5-58.5-32-74.5-26T921 430q-95 0-155 43t-60 111q0 26 8.5 48t29.5 41.5 39.5 33 56 31 60.5 27 70 27.5q53 20 81 31.5t76 35 75.5 42.5 62 50 53 63.5 31.5 76.5 13 94z' fill='currentColor' class='color000 svgShape'/%3E%3C/svg%3E%3C/svg%3E");
background-position:0;
background-repeat:no-repeat;
Expand All @@ -4546,7 +4555,8 @@ body:not(#en__pagebuilder) img:not([src]):not([srcset]){
width:80px;
}
#goMonthly #secondOtherField::-webkit-inner-spin-button,#goMonthly #secondOtherField::-webkit-outer-spin-button{
appearance:none;
-webkit-appearance:none;
appearance:none;
margin:0;
}
#goMonthly #upsellYesButton{
Expand Down Expand Up @@ -4596,6 +4606,7 @@ body:not(#en__pagebuilder) img:not([src]):not([srcset]){
display:flex;
justify-content:center;
position:relative;
-webkit-text-decoration:none;
text-decoration:none;
width:100%;
}
Expand Down Expand Up @@ -4802,12 +4813,14 @@ a.skip-link{
z-index:2147483647 !important;
}
a.skip-link:active,a.skip-link:focus,a.skip-link:hover{
-webkit-text-decoration:underline !important;
text-decoration:underline !important;
}
a.skip-link:not(:focus):not(:active){
clip:rect(1px, 1px, 1px, 1px) !important;
word-wrap:normal !important;
border:0 !important;
-webkit-clip-path:inset(50%) !important;
clip-path:inset(50%) !important;
height:1px !important;
margin:-1px !important;
Expand Down Expand Up @@ -5366,6 +5379,7 @@ body[data-engrid-exit-intent-lightbox=open]{
padding-bottom:var(--exit-intent__button_padding-bottom);
padding-top:var(--exit-intent__button_padding-top);
text-align:center;
-webkit-text-decoration:none;
text-decoration:none;
text-transform:var(--exit-intent__button_text-transform);
transition:all .3s ease-in-out;
Expand Down Expand Up @@ -7006,6 +7020,7 @@ body[data-engrid-debug]:before{
color:#000;
cursor:pointer;
text-align:center;
-webkit-text-decoration:none;
text-decoration:none;
}
.debug-panel__link-label .debug-panel__edit-link,.debug-panel__link-label .debug-panel__edit-link:hover{
Expand Down Expand Up @@ -7046,7 +7061,8 @@ body[data-engrid-debug]:before{
.debug-panel__checkbox input[type=checkbox]{
clip:rect(0 0 0 0);
border:0;
clip-path:inset(50%);
-webkit-clip-path:inset(50%);
clip-path:inset(50%);
height:1px;
margin:-1px;
overflow:hidden;
Expand Down Expand Up @@ -7353,6 +7369,7 @@ body[data-engrid-debug]:before{
padding-right:0;
padding-top:var(--fields_spacing-block);
text-align:left;
-webkit-text-decoration:none;
text-decoration:none;
white-space:nowrap;
}
Expand Down Expand Up @@ -7964,6 +7981,7 @@ body[data-engrid-debug]:before{
font-weight:700;
padding:0 12px;
position:relative;
-webkit-text-decoration:underline;
text-decoration:underline;
}
[data-engrid-theme=engrid-ran3] .footer-menu a:not(:last-of-type):after{
Expand All @@ -7972,6 +7990,7 @@ body[data-engrid-debug]:before{
padding-left:6px;
pointer-events:none;
position:absolute;
-webkit-text-decoration:none;
text-decoration:none;
}
[data-engrid-theme=engrid-ran3] .footer-center{
Expand Down Expand Up @@ -8133,9 +8152,11 @@ body[data-engrid-debug]:before{
}
[data-engrid-theme=engrid-ran3] .unsub-from-all span{
cursor:pointer;
-webkit-text-decoration:underline;
text-decoration:underline;
}
[data-engrid-theme=engrid-ran3] .unsub-from-all span:hover{
-webkit-text-decoration:none;
text-decoration:none;
}
[data-engrid-theme=engrid-ran3]:not([data-engrid-recent-unsubscribe=true]):not(#en__pagebuilder) .resubscribe-block{
Expand Down
14 changes: 9 additions & 5 deletions dist/engrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Thursday, January 11, 2024 @ 17:00:47 ET
* Date: Thursday, January 11, 2024 @ 17:04:48 ET
* By: fernando
* ENGrid styles: v0.16.11
* ENGrid scripts: v0.16.11
Expand Down Expand Up @@ -21667,6 +21667,8 @@ class DonationLightboxForm {
buildSectionNavigation() {
console.log("DonationLightboxForm: buildSectionNavigation");
this.sections.forEach((section, key) => {
var _sectionNavigation$qu, _sectionNavigation$qu2, _sectionNavigation$qu3;

section.dataset.sectionId = key;
const sectionNavigation = document.createElement("div");
sectionNavigation.classList.add("section-navigation");
Expand Down Expand Up @@ -21716,27 +21718,29 @@ class DonationLightboxForm {
<span class="section-count__total">${sectionTotal}</span>
`;
} else {
var _document$querySelect;

// Single Section Pages
const submitButtonLabel = document.querySelector(".en__submit button")?.innerText || "Submit";
const submitButtonLabel = ((_document$querySelect = document.querySelector(".en__submit button")) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.innerText) || "Submit";
sectionNavigation.innerHTML = `
<button class="section-navigation__submit" data-section-id="${key}" type="submit" data-label="${submitButtonLabel}">
<span>${submitButtonLabel}</span>
</button>
`;
}

sectionNavigation.querySelector(".section-navigation__previous")?.addEventListener("click", e => {
(_sectionNavigation$qu = sectionNavigation.querySelector(".section-navigation__previous")) === null || _sectionNavigation$qu === void 0 ? void 0 : _sectionNavigation$qu.addEventListener("click", e => {
e.preventDefault();
this.scrollToSection(key - 1);
});
sectionNavigation.querySelector(".section-navigation__next")?.addEventListener("click", e => {
(_sectionNavigation$qu2 = sectionNavigation.querySelector(".section-navigation__next")) === null || _sectionNavigation$qu2 === void 0 ? void 0 : _sectionNavigation$qu2.addEventListener("click", e => {
e.preventDefault();

if (this.validateForm(key)) {
this.scrollToSection(key + 1);
}
});
sectionNavigation.querySelector(".section-navigation__submit")?.addEventListener("click", e => {
(_sectionNavigation$qu3 = sectionNavigation.querySelector(".section-navigation__submit")) === null || _sectionNavigation$qu3 === void 0 ? void 0 : _sectionNavigation$qu3.addEventListener("click", e => {
e.preventDefault(); // Validate the entire form again

if (this.validateForm()) {
Expand Down
14 changes: 7 additions & 7 deletions dist/engrid.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/engrid.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 4bcfd69

Please sign in to comment.