@4site/engrid-scripts 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/iframe.js CHANGED
@@ -205,6 +205,7 @@ export class iFrame {
205
205
  "giveBySelect-Card",
206
206
  "en__field--ccnumber",
207
207
  "en__field--survey",
208
+ "en__component--ecardblock",
208
209
  "give-by-select",
209
210
  "give-by-select-header",
210
211
  "en__submit",
@@ -215,7 +216,7 @@ export class iFrame {
215
216
  "radio-to-buttons_donationAmt",
216
217
  ];
217
218
  const excludeIds = ["en__digitalWallet"];
218
- const components = Array.from(document.querySelectorAll(".body-main > div:not(:last-child)"));
219
+ const components = Array.from(document.querySelectorAll(".body-main:not(.force-visibility) > div:not(:last-child)"));
219
220
  components.forEach((component) => {
220
221
  const shouldExclude = excludeClasses.some((cls) => component.classList.contains(cls) ||
221
222
  component.querySelector(`:scope > .${cls}`)) || excludeIds.some((id) => component.querySelector(`#${id}`));
package/dist/index.d.ts CHANGED
@@ -80,5 +80,6 @@ export * from "./embedded-ecard";
80
80
  export * from "./us-only-form";
81
81
  export * from "./thank-you-page-conditional-content";
82
82
  export * from "./checkbox-label";
83
+ export * from "./optin-ladder";
83
84
  export * from "./events";
84
85
  export * from "./version";
package/dist/index.js CHANGED
@@ -80,6 +80,7 @@ export * from "./embedded-ecard";
80
80
  export * from "./us-only-form";
81
81
  export * from "./thank-you-page-conditional-content";
82
82
  export * from "./checkbox-label";
83
+ export * from "./optin-ladder";
83
84
  // Events
84
85
  export * from "./events";
85
86
  // Version
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AppVersion = "0.20.0";
1
+ export declare const AppVersion = "0.20.2";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const AppVersion = "0.20.0";
1
+ export const AppVersion = "0.20.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4site/engrid-scripts",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
4
4
  "description": "Scripts for the ENGRID Project",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "strongly-typed-events": "^2.0.9"
26
26
  },
27
27
  "homepage": "https://github.com/4site-interactive-studios/engrid#readme",
28
- "gitHead": "3ad823e81402dce7592f47930bba030e9935fe9a",
28
+ "gitHead": "adb404739290088346c897570c1a587d4fe30f99",
29
29
  "devDependencies": {
30
30
  "nodemon": "^2.0.20"
31
31
  }