@4site/engrid-scripts 0.19.7 → 0.19.9

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.
@@ -125,5 +125,13 @@ export class DataAttributes {
125
125
  if (ENGrid.getPageNumber() === ENGrid.getPageCount()) {
126
126
  ENGrid.setBodyData("last-page", "");
127
127
  }
128
+ // "Temporary solutions are forever, you know..."
129
+ // - Fernando Santos
130
+ // "I know, but what if we just..."
131
+ // - Bryan Casler
132
+ // Add data attribute if browser does not support :has selector
133
+ if (!CSS.supports("selector(:has(*))")) {
134
+ ENGrid.setBodyData("css-has-selector", "false");
135
+ }
128
136
  }
129
137
  }
@@ -1,7 +1,6 @@
1
1
  export declare class GiveBySelect {
2
2
  private logger;
3
3
  private transactionGiveBySelect;
4
- private paymentTypeField;
5
4
  private _frequency;
6
5
  constructor();
7
6
  isSelectedPaymentVisible(): boolean;
@@ -3,7 +3,6 @@ export class GiveBySelect {
3
3
  constructor() {
4
4
  this.logger = new EngridLogger("GiveBySelect", "#FFF", "#333", "🐇");
5
5
  this.transactionGiveBySelect = document.getElementsByName("transaction.giveBySelect");
6
- this.paymentTypeField = document.querySelector("select[name='transaction.paymenttype']");
7
6
  this._frequency = DonationFrequency.getInstance();
8
7
  if (!this.transactionGiveBySelect)
9
8
  return;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AppVersion = "0.19.7";
1
+ export declare const AppVersion = "0.19.9";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const AppVersion = "0.19.7";
1
+ export const AppVersion = "0.19.9";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4site/engrid-scripts",
3
- "version": "0.19.7",
3
+ "version": "0.19.9",
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": "cecd85e2e75954f206d16c6272e8965ea69dac7c",
28
+ "gitHead": "9361c560694896d53c7ea69258ed7b736d0d1771",
29
29
  "devDependencies": {
30
30
  "nodemon": "^2.0.20"
31
31
  }