homeflowjs 0.12.13 → 0.12.14

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.
@@ -3,7 +3,7 @@ const initCookieConsent = () => {
3
3
  const defaultMessage = 'This website uses cookies to improve your experience.';
4
4
  // appends the 'decline' and 'learn more' links to the message
5
5
  const ccFullscreenMessage = (message = defaultMessage, href) => {
6
- let newMessage = `${message}<a aria-label="learn more about cookies" tabindex="0" class="cc-link" href="${href}" target="_blank">Learn more</a>`;
6
+ let newMessage = `${message}<a aria-label="learn more about cookies" tabindex="0" class="cc-link" href="${href}" target="_blank">View cookie policy</a>`;
7
7
  newMessage += ' or <a aria-label="deny cookies" role="button" tabindex="0" class="cc-btn cc-deny cc-deny-link">decline</a>';
8
8
  return newMessage;
9
9
  };
@@ -56,8 +56,8 @@ const initCookieConsent = () => {
56
56
  message: ccFullscreenMessage(message, href),
57
57
  },
58
58
  elements: {
59
- deny: '<a style="display: none;"></a>',
60
- link: '<a style="display: none;"></a>',
59
+ deny: '<a style="display: none;" href="#"></a>',
60
+ link: '<a style="display: none;" href="#"></a>',
61
61
  },
62
62
  };
63
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "0.12.13",
3
+ "version": "0.12.14",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",