@verbb/formie-browser 1.0.16 → 1.0.17-next.7.gf88643cc06da

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/chunks/{address-state-CHKit8AW.js → address-state-D9KfV-qB.js} +1 -1
  3. package/dist/chunks/{combobox-CJh2DoSO.js → combobox-B6ROYFW7.js} +1 -1
  4. package/dist/chunks/date-picker-dp41TnRq.js +5351 -0
  5. package/dist/chunks/{hcaptcha-COilLmRT.js → hcaptcha-lseqzFTP.js} +14 -14
  6. package/dist/chunks/phone-country-BMyw-Qcz.js +2647 -0
  7. package/dist/chunks/{upload-manager-Ccg3d_4I.js → upload-manager-CkmsPJRl.js} +1 -1
  8. package/dist/index.js +407 -386
  9. package/dist/js/core/create-formie-client.d.ts.map +1 -1
  10. package/dist/js/core/submit-result-ui.d.ts.map +1 -1
  11. package/dist/js/modules/captchas/hcaptcha.d.ts.map +1 -1
  12. package/dist/js/modules/fields/combobox.d.ts.map +1 -1
  13. package/dist/js/modules/fields/phone-country.d.ts.map +1 -1
  14. package/dist/js/modules/fields/upload-manager.d.ts.map +1 -1
  15. package/dist/js/modules/loader.d.ts.map +1 -1
  16. package/dist/js/theme/message-attributes.d.ts +4 -0
  17. package/dist/js/theme/message-attributes.d.ts.map +1 -0
  18. package/dist/js/transport/forms-api.d.ts +1 -1
  19. package/dist/js/transport/forms-api.d.ts.map +1 -1
  20. package/dist/js/validation/validator.d.ts.map +1 -1
  21. package/package.json +6 -4
  22. package/src/js/core/create-formie-client.ts +49 -33
  23. package/src/js/core/submit-result-ui.ts +10 -2
  24. package/src/js/modules/captchas/hcaptcha.ts +3 -2
  25. package/src/js/modules/fields/combobox.ts +4 -0
  26. package/src/js/modules/fields/date-picker.ts +3 -3
  27. package/src/js/modules/fields/phone-country.ts +25 -17
  28. package/src/js/modules/fields/upload-manager.ts +3 -2
  29. package/src/js/modules/loader.ts +7 -0
  30. package/src/js/theme/message-attributes.ts +54 -0
  31. package/src/js/transport/forms-api.ts +6 -1
  32. package/src/js/validation/validator.ts +3 -2
  33. package/src/vendor.d.ts +2 -3
  34. package/dist/chunks/date-picker-BVJxJVYT.js +0 -5321
  35. package/dist/chunks/phone-country-Bx9EG50h.js +0 -2645
package/CHANGELOG.md CHANGED
@@ -2,7 +2,22 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ### Changed
6
+ - Changed the `@verbb/formie-*` package versions to match the Formie plugin, so Formie 4.0.6 pairs with version 4.0.6 of each package. The jump from 1.x has no breaking changes, but version ranges such as `^1.0.16` need updating once. ([#3081](https://github.com/verbb/formie/issues/3081))
7
+
5
8
  ### Fixed
9
+ - Fixed required field and core modules blocking submission when there’s nothing rendered for them to enhance yet, such as conditions inside a Repeater with no rows.
10
+ - Fixed browser requests failing when Craft uses a custom action trigger, including token refresh after AJAX submissions. ([#3068](https://github.com/verbb/formie/issues/3068))
11
+ - Fixed upload manager file order and move button states becoming inconsistent after reordering files. ([#3070](https://github.com/verbb/formie/issues/3070))
12
+ - Fixed searchable dropdown placeholders not appearing until a form field is focused. ([#3072](https://github.com/verbb/formie/issues/3072))
13
+ - Fixed Date pickers displaying calendar labels in English on non-English sites. ([#3076](https://github.com/verbb/formie/issues/3076))
14
+ - Fixed required advanced Date pickers being skipped by client-side validation. ([#3077](https://github.com/verbb/formie/issues/3077))
15
+ - Fixed Phone country dropdowns selecting the first allowed country when the default is None, and not restoring None when forms reset. ([#3071](https://github.com/verbb/formie/issues/3071))
16
+ - Fixed invisible hCaptcha challenges timing out before they could be completed, requiring a second submit click. ([#3067](https://github.com/verbb/formie/issues/3067))
17
+ - Fixed token refreshes losing the form's site on multisite installations with path-based URLs. ([#3064](https://github.com/verbb/formie/issues/3064))
18
+ - Fixed theme attributes not being applied to AJAX success and error messages. ([#3061](https://github.com/verbb/formie/issues/3061))
19
+ - Fixed nested alert roles in form error messages that could cause duplicate screen reader announcements. ([#3062](https://github.com/verbb/formie/issues/3062))
20
+ - Fixed AJAX submissions showing the form error message when Error Message Position is set to None.
6
21
  - Fixed Opayo re-tokenizing cards and requesting unnecessary merchant sessions after completing a 3D Secure challenge. ([#3048](https://github.com/verbb/formie/issues/3048))
7
22
 
8
23
  ## 1.0.16 - 2026-10-28
@@ -4,7 +4,7 @@ import { t as n } from "./debug-rhzqP1j2.js";
4
4
  import { a as r, n as i } from "./theme-classes-DAQuEqdP.js";
5
5
  import { n as a } from "./constants-DVcJAvc5.js";
6
6
  import { i as o, n as s } from "./shared-CJ1LIEh3.js";
7
- import { initFormieCombobox as c } from "./combobox-CJh2DoSO.js";
7
+ import { initFormieCombobox as c } from "./combobox-B6ROYFW7.js";
8
8
  //#region src/js/modules/fields/address-state.ts
9
9
  var l = "[data-formie-address-state-dynamic]", u = "[data-formie-address-state-input]", d = "[data-formie-address-state-autofill-anchor]", f = "formie-address-autofill-start", p = a.country, m = "address-state", h = "formie/address/subdivisions", g = ["formie-select", "formie-dropdown-input"], _ = [
10
10
  0,
@@ -1854,7 +1854,7 @@ function Gt(e, t) {
1854
1854
  return t?.trim() || e.querySelector("option[value=\"\"]")?.textContent?.trim() || null;
1855
1855
  }
1856
1856
  function Kt(e) {
1857
- e.options[""] && e.removeOption("", !0);
1857
+ e.options[""] && (e.removeOption("", !0), e.inputState());
1858
1858
  }
1859
1859
  function $(e, t = {}) {
1860
1860
  e._formieTomSelect?.destroy();