hr-design-system-handlebars 1.114.90 → 1.114.91

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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # v1.114.91 (Thu Feb 13 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 3535 js protection v2 [#1240](https://github.com/mumprod/hr-design-system-handlebars/pull/1240) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
6
+
7
+ #### Authors: 2
8
+
9
+ - [@eduardo-hr](https://github.com/eduardo-hr)
10
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
11
+
12
+ ---
13
+
1
14
  # v1.114.90 (Thu Feb 13 2025)
2
15
 
3
16
  #### 🐛 Bug Fix
@@ -3846,7 +3846,7 @@ article #commentList {
3846
3846
  border-bottom-color: var(--color-secondary-ds);
3847
3847
  }
3848
3848
  .counter-reset {
3849
- counter-reset: cnt1739484096529;
3849
+ counter-reset: cnt1739486962195;
3850
3850
  }
3851
3851
  .animate-delay-100 {
3852
3852
  --tw-animate-delay: 100ms;
@@ -4291,7 +4291,7 @@ html { scroll-behavior: smooth; }
4291
4291
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4292
4292
  }
4293
4293
  .-ordered {
4294
- counter-increment: cnt1739484096529 1;
4294
+ counter-increment: cnt1739486962195 1;
4295
4295
  }
4296
4296
  .-ordered::before {
4297
4297
  position: absolute;
@@ -4309,7 +4309,7 @@ html { scroll-behavior: smooth; }
4309
4309
  --tw-text-opacity: 1;
4310
4310
  color: rgba(0, 0, 0, 1);
4311
4311
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4312
- content: counter(cnt1739484096529);
4312
+ content: counter(cnt1739486962195);
4313
4313
  }
4314
4314
  /*! ****************************/
4315
4315
  /*! DataPolicy stuff */
@@ -1,6 +1,6 @@
1
1
  import { uxAction } from 'base/tracking/pianoHelper.subfeature'
2
2
 
3
- export default function contactForm(formId, jsonUrl, errorMessages, multipart, trackingInformations, jsonp = false, hasSpamProtection) {
3
+ export default function contactForm(formId, jsonUrl, errorMessages, multipart, trackingInformations, hasSpamProtection, jsonp = false) {
4
4
  return {
5
5
  isPosting: false,
6
6
  wasPosted: false,
@@ -109,7 +109,7 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
109
109
  } else {
110
110
  ajaxOptions.url = `${this.actionUrl}?${responseFormatParam}`;
111
111
  }
112
-
112
+ console.log('ajaxOptions:', ajaxOptions);
113
113
  fetch(ajaxOptions.url, ajaxOptions)
114
114
  .then(async (response) => {
115
115
  const data = await response.text();
@@ -7,7 +7,7 @@
7
7
  <form
8
8
  x-ref="form{{nextRandom}}"
9
9
  ax-load
10
- x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}', 'false', '{{this.hasSpamProtection}}')"
10
+ x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}','{{this.hasSpamProtection}}')"
11
11
  x-init="formInit()"
12
12
  x-ignore
13
13
 
@@ -7,7 +7,7 @@
7
7
  <form
8
8
  x-ref="form{{nextRandom}}"
9
9
  ax-load
10
- x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}', 'false', '{{this.hasSpamProtection}}')"
10
+ x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}','{{this.hasSpamProtection}}')"
11
11
  x-init="formInit()"
12
12
  x-ignore
13
13
 
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
8
8
  "repository": "https://github.com/szuelch/hr-design-system-handlebars",
9
- "version": "1.114.90",
9
+ "version": "1.114.91",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1,6 +1,6 @@
1
1
  import { uxAction } from 'base/tracking/pianoHelper.subfeature'
2
2
 
3
- export default function contactForm(formId, jsonUrl, errorMessages, multipart, trackingInformations, jsonp = false, hasSpamProtection) {
3
+ export default function contactForm(formId, jsonUrl, errorMessages, multipart, trackingInformations, hasSpamProtection, jsonp = false) {
4
4
  return {
5
5
  isPosting: false,
6
6
  wasPosted: false,
@@ -109,7 +109,7 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
109
109
  } else {
110
110
  ajaxOptions.url = `${this.actionUrl}?${responseFormatParam}`;
111
111
  }
112
-
112
+ console.log('ajaxOptions:', ajaxOptions);
113
113
  fetch(ajaxOptions.url, ajaxOptions)
114
114
  .then(async (response) => {
115
115
  const data = await response.text();
@@ -7,7 +7,7 @@
7
7
  <form
8
8
  x-ref="form{{nextRandom}}"
9
9
  ax-load
10
- x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}', 'false', '{{this.hasSpamProtection}}')"
10
+ x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}','{{this.hasSpamProtection}}')"
11
11
  x-init="formInit()"
12
12
  x-ignore
13
13