nsw-design-system 3.22.3 → 3.22.4

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/js/main.js CHANGED
@@ -358,7 +358,7 @@
358
358
 
359
359
  /* eslint-disable no-console */
360
360
  const log = (...args) => {
361
- if (process.env.NODE_ENV !== 'production') {
361
+ if ("production" !== 'production') {
362
362
  console.log(...args);
363
363
  }
364
364
  };
@@ -1434,7 +1434,7 @@
1434
1434
  event.preventDefault();
1435
1435
  this.hideConsentBanner();
1436
1436
  if (this.dialogInstance) {
1437
- this.dialogInstance.open();
1437
+ this.dialogInstance.openEvent();
1438
1438
  }
1439
1439
  }
1440
1440
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nsw-design-system",
3
- "version": "3.22.3",
3
+ "version": "3.22.4",
4
4
  "description": "Design system for Digital NSW",
5
5
  "main": "dist/js/main.js",
6
6
  "types": "dist/js/main.d.ts",
@@ -337,7 +337,7 @@ class CookieConsent {
337
337
  event.preventDefault()
338
338
  this.hideConsentBanner()
339
339
  if (this.dialogInstance) {
340
- this.dialogInstance.open()
340
+ this.dialogInstance.openEvent()
341
341
  }
342
342
  }
343
343
  })