@wix/form-elements 1.127.0 → 1.129.0

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 (111) hide show
  1. package/dist/component/{appointment-rac-BrC7gcpn.js → appointment-rac-BFrtR9Kx.js} +4 -4
  2. package/dist/component/{bookings-address-rac-D-UmBxjD.js → bookings-address-rac-BiOaHkHb.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CjHDzU0Q.js → bookings-email-rac-AWVBomja.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-ChBkkkWm.js → bookings-first-name-rac-BVxrEBSC.js} +1 -1
  5. package/dist/component/{bookings-header-rac-ERfGeYyw.js → bookings-header-rac-DZWoWz45.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-CuTJ7Y8w.js → bookings-last-name-rac-wsOIAERt.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-pudlQ67l.js → bookings-login-bar-rac-BEFZtTeh.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-nLPnLRfS.js → bookings-phone-rac-DClujcXK.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DOmGQlyG.js → bookings-rich-text-rac-ghEjDW-p.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DLazY-iO.js → checkbox-field-rac-DvsNu9Rv.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-CPyWmFBH.js → checkbox-group-field-headless-C9-35Ull.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-Bir3gaI9.js → checkbox-group-field-rac-Cj09BgU-.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-BGXUl-sJ.js → checkbox-group-rac-Buxfb0mq.js} +1 -1
  14. package/dist/component/{checkbox-rac-D_wZVUFV.js → checkbox-rac-DiHUcWo3.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CNldSQbf.js → contacts-address-rac-P0OBiw6-.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-AVyldaRF.js → contacts-birthdate-rac-IDz3KjEo.js} +1 -1
  17. package/dist/component/{contacts-company-rac-CiP1Ctpa.js → contacts-company-rac-CC_USKNp.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CzjMVEJZ.js → contacts-email-rac-BcRvtene.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-G0kE0HmA.js → contacts-first-name-rac-DsybqPgd.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-cnTTtnMZ.js → contacts-last-name-rac-BOKeJmHo.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DJ9oxox4.js → contacts-phone-rac-Dc_3ZdY_.js} +1 -1
  22. package/dist/component/{contacts-position-rac-e0uQ-eqL.js → contacts-position-rac-Bn5kybDQ.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-D4J2x78f.js → contacts-subscribe-rac-BouQEOeS.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-DwJuNH-C.js → contacts-tax-id-rac-DJFrxRyu.js} +1 -1
  25. package/dist/component/{date-availability-D2BSwZ_r.js → date-availability-CWfQIoX1.js} +1 -1
  26. package/dist/component/{date-input-field-rac-ztJ02C60.js → date-input-field-rac-CP15ihpI.js} +86 -86
  27. package/dist/component/{date-input-rac-D-SFsC6P.js → date-input-rac-Bf0H1oiA.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-DaNwsa8z.js → date-picker-field-rac-SOddu2Zu.js} +92 -91
  29. package/dist/component/{date-picker-rac-Bn0sA6P1.js → date-picker-rac-BdRbAhSB.js} +1 -1
  30. package/dist/component/date-time-input-field-rac-Bj_uDj6E.js +427 -0
  31. package/dist/component/{date-time-input-rac-qYLa3IDx.js → date-time-input-rac-Mv_mEil2.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-Dir6tyvo.js → dext-checkbox-group-rac-8kR2EZfL.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-ByiMc3BH.js → dext-checkbox-rac-B5CWQuVt.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BwOozu5y.js → dext-date-picker-rac-D_hbdOUB.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CaJEzZa4.js → dext-date-time-input-rac-DJa6HIBI.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-DJnMjggU.js → dext-dropdown-rac-rUST_4lA.js} +1 -1
  37. package/dist/component/{dext-email-rac-CF4SQ86l.js → dext-email-rac-BN1-DKDv.js} +1 -1
  38. package/dist/component/{dext-number-input-rac--3goVI8C.js → dext-number-input-rac-CjoV2Zr-.js} +1 -1
  39. package/dist/component/{dext-phone-rac-MYJYG040.js → dext-phone-rac-BZK-MfUB.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-Q2J5Hk5W.js → dext-radio-group-rac-CdSOS1sE.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CAWhD-lI.js → dext-rating-input-rac-DAZjknQn.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DyxI5ooy.js → dext-tags-rac-ButsCV5O.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-CZpM-r49.js → dext-text-area-rac-TKwYp5Cp.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-Bv5Mhyw6.js → dext-text-input-rac-Clcifgwu.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-BkbTjbAI.js → dext-url-input-rac-1oQFTxHV.js} +1 -1
  46. package/dist/component/{donation-rac-DZjFeJFy.js → donation-rac-Bh_D5aEJ.js} +5 -5
  47. package/dist/component/dropdown-field-headless-C-rtyAEo.js +91 -0
  48. package/dist/component/{dropdown-field-rac-DOAlecw8.js → dropdown-field-rac-Bo3lqJDR.js} +4 -4
  49. package/dist/component/{dropdown-rac-D8HtaeBe.js → dropdown-rac-C29h60zI.js} +1 -1
  50. package/dist/component/{ecom-address-rac-B25o-GVv.js → ecom-address-rac-gs7OAQTj.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-NvdWnD0v.js → ecom-subscription-checkbox-rac-CI9zbJqB.js} +2 -2
  52. package/dist/component/{email-input-field-rac-rWyojsu0.js → email-input-field-rac-D75vjW_1.js} +3 -3
  53. package/dist/component/{events-repeater-rac-D2HvNt0y.js → events-repeater-rac-UgCJlo2O.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-D4WLn0Bx.js → events-rsvp-rac-D5YhJy0C.js} +3 -3
  55. package/dist/component/{field-error-headless-DU0YsEXR.js → field-error-headless-44vAUpwr.js} +1 -1
  56. package/dist/component/{field-label-headless-CvdTZi6i.js → field-label-headless-Cfo9v3VS.js} +1 -1
  57. package/dist/component/{file-upload-rac-CMelyfA8.js → file-upload-rac-B-rYIzhu.js} +4 -4
  58. package/dist/component/{fixed-payment-rac-CewsqE-k.js → fixed-payment-rac-CkbmX7hl.js} +3 -3
  59. package/dist/component/{form-D9IxiDXP.js → form-tScYihAT.js} +69 -69
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-CYBfb_5D.js → header-field-rac-BtKN5X7s.js} +2 -2
  63. package/dist/component/{header-rac-BIq3DmbL.js → header-rac-pmryP48d.js} +1 -1
  64. package/dist/component/{image-choice-rac-aOObRIMi.js → image-choice-rac-ByBjTccP.js} +4 -4
  65. package/dist/component/{index-D-g3wQ-z.js → index-DXsujvrm.js} +5 -5
  66. package/dist/component/{index-BXqA4oNj.js → index-Dyso3MNS.js} +2 -2
  67. package/dist/component/{isObjectLike-BNDXzCto.js → isObjectLike-CUj2YjST.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-BcTa7Von.js → multiline-address-field-rac-CkifK7lO.js} +7 -7
  69. package/dist/component/{multiline-address-rac-Cd_BFreP.js → multiline-address-rac-DfnDSoTY.js} +1 -1
  70. package/dist/component/non-modal-popover-D-u13tmp.js +64 -0
  71. package/dist/component/{number-input-field-rac-_JlH34_3.js → number-input-field-rac-BG8cRLXY.js} +4 -4
  72. package/dist/component/{number-input-rac-CiM20ScT.js → number-input-rac-Byuz2Nub.js} +1 -1
  73. package/dist/component/{password-rac-DrpXSY74.js → password-rac-BOus-ku5.js} +4 -4
  74. package/dist/component/{payment-input-rac-RnMeVWDc.js → payment-input-rac-D-CZ6cKL.js} +4 -4
  75. package/dist/component/{phone-input-field-rac-nNp7D7gK.js → phone-input-field-rac-DCfc-MrP.js} +7 -7
  76. package/dist/component/{phone-rac-B2JjPT2w.js → phone-rac-1J-t9-Og.js} +1 -1
  77. package/dist/component/{product-list-rac-Cv_fjFn3.js → product-list-rac-CJ1YZvV9.js} +4 -4
  78. package/dist/component/{quiz-radio-group-rac-CNqF6Tq3.js → quiz-radio-group-rac-C_JnWUd3.js} +1 -1
  79. package/dist/component/{radio-button-module-classes-vqR4TN-z.js → radio-button-module-classes-DWh_AiLg.js} +3 -3
  80. package/dist/component/{radio-group-field-rac-Bpyr40q-.js → radio-group-field-rac-Cp48ayde.js} +4 -4
  81. package/dist/component/{radio-group-rac-DBLPP0YC.js → radio-group-rac-B7jR2Rb-.js} +1 -1
  82. package/dist/component/{rating-input-field-rac-BOi0G37L.js → rating-input-field-rac-CHEWLp0k.js} +4 -4
  83. package/dist/component/{rating-input-rac-CxpmV0Pa.js → rating-input-rac-BX4osXZU.js} +1 -1
  84. package/dist/component/{rich-content-rac.module-Dmm9GyQq.js → rich-content-rac.module-Ce08oqQ9.js} +1 -1
  85. package/dist/component/{rich-text-field-rac-C466OrTf.js → rich-text-field-rac-Bi1SDfiU.js} +2 -2
  86. package/dist/component/{rich-text-rac-BvVxD7oJ.js → rich-text-rac-DdT8jmAf.js} +1 -1
  87. package/dist/component/{service-dropdown-rac-pmUKH0sP.js → service-dropdown-rac-DPeHyyz_.js} +5 -5
  88. package/dist/component/{services-multi-choice-rac-B65i6q2D.js → services-multi-choice-rac-CKdjXJR8.js} +5 -5
  89. package/dist/component/{signature-rac-BRyM06Vz.js → signature-rac-ffVbFXfs.js} +4 -4
  90. package/dist/component/{submit-button-rac-DaCRjZlQ.js → submit-button-rac-C55AG9QQ.js} +2 -2
  91. package/dist/component/{tags-field-rac-CEdfh-EQ.js → tags-field-rac-BO2-TOy4.js} +5 -5
  92. package/dist/component/{tags-rac-CGSTQ0qK.js → tags-rac-BkCC7NCe.js} +1 -1
  93. package/dist/component/{text-area-field-rac-C-EHPWwQ.js → text-area-field-rac-BwYibo91.js} +4 -4
  94. package/dist/component/{text-area-rac-Df1nSb2q.js → text-area-rac-DZdY4txw.js} +1 -1
  95. package/dist/component/{text-input-field-rac-DmCZtBi_.js → text-input-field-rac-WiCBhW6i.js} +3 -3
  96. package/dist/component/{text-input-headless-DAxEZP1P.js → text-input-headless-B3KeulEf.js} +3 -3
  97. package/dist/component/{text-input-rac-DgpO17dl.js → text-input-rac-BIyCqBJv.js} +1 -1
  98. package/dist/component/{time-input-rac-Dld_tLub.js → time-input-rac-CC4UwoED.js} +65 -64
  99. package/dist/component/{url-input-field-rac-DHZ6bpxZ.js → url-input-field-rac-OppUVl3A.js} +4 -4
  100. package/dist/component/{url-input-rac-CZlWy5RB.js → url-input-rac-B5_eh6hN.js} +1 -1
  101. package/dist/component/{use-dropdown-option-class-name-opBd-YJA.js → use-dropdown-option-class-name-Bgp-eVle.js} +2 -2
  102. package/dist/component/{use-dropdown-trigger-class-name-BGQH0WCO.js → use-dropdown-trigger-class-name-BjjdE7MT.js} +2 -2
  103. package/dist/component/{use-element-state-class-name-B2ecLjwN.js → use-element-state-class-name-BXqvGrEm.js} +1 -1
  104. package/dist/component/{use-hoverable-input-class-name-B42rAp82.js → use-hoverable-input-class-name-CFgJ095f.js} +2 -2
  105. package/dist/component/{use-service-options-base-D60-jNUT.js → use-service-options-base-Cspzf1ks.js} +1 -1
  106. package/dist/component/use-text-input-class-name-DUHXnnCn.js +6 -0
  107. package/package.json +2 -2
  108. package/dist/component/date-time-input-field-rac-D-ArMpcJ.js +0 -426
  109. package/dist/component/dropdown-field-headless-C7l2TQYy.js +0 -91
  110. package/dist/component/non-modal-popover-DtIMXHbe.js +0 -63
  111. package/dist/component/use-text-input-class-name-DGpCdZ_e.js +0 -6
@@ -1,9 +1,9 @@
1
1
  import t, { useRef as L } from "react";
2
2
  import { TextField as R, Input as h } from "react-aria-components";
3
- import { bh as d, be as c, bj as v } from "./form-D9IxiDXP.js";
3
+ import { bh as d, be as c, bj as v } from "./form-tScYihAT.js";
4
4
  import { f as s } from "./find-child-C60k4CxG.js";
5
- import { D as T, E as g } from "./field-error-headless-DU0YsEXR.js";
6
- import { L as x } from "./field-label-headless-CvdTZi6i.js";
5
+ import { D as T, E as g } from "./field-error-headless-44vAUpwr.js";
6
+ import { L as x } from "./field-label-headless-Cfo9v3VS.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
9
9
  return /* @__PURE__ */ t.createElement(f, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-DmCZtBi_.js";
2
+ import { T as e } from "./text-input-field-rac-WiCBhW6i.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC
@@ -1,116 +1,117 @@
1
- import e, { useCallback as V, useRef as v, useContext as x } from "react";
2
- import { RicosViewer as q } from "@wix/ricos/viewer";
3
- import c from "classnames";
4
- import { parseTime as B } from "@internationalized/date";
5
- import { TimeField as U, DateInput as k, DateSegment as _, TimeFieldStateContext as j } from "react-aria-components";
6
- import { bh as p, be as w, br as S, bj as Q, I as z, U as G, v as J, p as K } from "./form-D9IxiDXP.js";
7
- import { f as m, a as F } from "./find-child-C60k4CxG.js";
8
- import { D as W, E as X } from "./field-error-headless-DU0YsEXR.js";
9
- import { L as Y } from "./field-label-headless-CvdTZi6i.js";
1
+ import e, { useCallback as H, useRef as j, useContext as V } from "react";
2
+ import { RicosViewer as v } from "@wix/ricos/viewer";
3
+ import m from "classnames";
4
+ import { parseTime as x } from "@internationalized/date";
5
+ import { TimeField as q, DateInput as z, DateSegment as _, TimeFieldStateContext as B } from "react-aria-components";
6
+ import { bh as p, be as U, br as S, bj as w, I as Q, U as G, v as J, p as K } from "./form-tScYihAT.js";
7
+ import { f as u, a as F } from "./find-child-C60k4CxG.js";
8
+ import { D as W, E as X } from "./field-error-headless-44vAUpwr.js";
9
+ import { L as Y } from "./field-label-headless-Cfo9v3VS.js";
10
10
  import { E as Z } from "./error-icon-hZxQ6DEy.js";
11
11
  import { H as T } from "./custom-focus-class-_483Pkwp.js";
12
12
  import { s as f } from "./field-rac.module-BIBNQEOK.js";
13
- import { u as $ } from "./use-text-input-class-name-DGpCdZ_e.js";
13
+ import { u as $ } from "./use-text-input-class-name-DUHXnnCn.js";
14
14
  const r = ({ children: t }) => {
15
- const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = w(), R = V((M) => {
16
- const H = ae(M);
17
- o(H);
15
+ const { id: n, value: l, onChange: a, disabled: i, readOnly: o, required: c, onBlur: s, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = U(), R = H((M) => {
16
+ const k = ae(M);
17
+ a(k);
18
18
  }, [
19
- o
20
- ]), N = m(t, r.Label), y = m(t, r.Time), P = m(t, r.Description), A = m(t, r.Error), O = ne(l);
19
+ a
20
+ ]), N = u(t, r.Label), y = u(t, r.Time), P = u(t, r.Description), A = u(t, r.Error), O = ne(l);
21
21
  return /* @__PURE__ */ e.createElement(C, {
22
22
  fieldId: n,
23
23
  renderLabel: () => N,
24
- renderInput: () => /* @__PURE__ */ e.createElement(U, {
24
+ renderInput: () => /* @__PURE__ */ e.createElement(q, {
25
25
  "aria-labelledby": L,
26
26
  id: g,
27
27
  "aria-describedby": D,
28
28
  value: O,
29
29
  onChange: R,
30
30
  isDisabled: i,
31
- isReadOnly: s,
31
+ isReadOnly: o,
32
32
  isInvalid: I,
33
- isRequired: a,
34
- onBlur: d,
33
+ isRequired: c,
34
+ onBlur: s,
35
35
  onFocus: E,
36
36
  hourCycle: b ? 24 : 12
37
37
  }, y),
38
38
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, A, P)
39
39
  });
40
- }, u = ({ children: t, className: n }) => {
41
- const { hasError: l } = p(), o = m(t, u.Hour), i = m(t, u.Minute), s = m(t, u.Period);
42
- return /* @__PURE__ */ e.createElement(k, {
40
+ }, d = ({ children: t, className: n }) => {
41
+ const { hasError: l, hidePlaceholder: a } = p(), i = u(t, d.Hour), o = u(t, d.Minute), c = u(t, d.Period);
42
+ return /* @__PURE__ */ e.createElement(z, {
43
43
  className: n,
44
- "data-invalid": l || void 0
45
- }, (a) => {
46
- switch (a.type) {
44
+ "data-invalid": l || void 0,
45
+ "data-placeholder-hidden": a || void 0
46
+ }, (s) => {
47
+ switch (s.type) {
47
48
  case "hour":
48
- return F(o, {
49
- segment: a
49
+ return F(i, {
50
+ segment: s
50
51
  }) || /* @__PURE__ */ e.createElement(e.Fragment, null);
51
52
  case "minute":
52
- return F(i, {
53
- segment: a
53
+ return F(o, {
54
+ segment: s
54
55
  }) || /* @__PURE__ */ e.createElement(e.Fragment, null);
55
56
  case "dayPeriod":
56
- return F(s, {
57
- segment: a
57
+ return F(c, {
58
+ segment: s
58
59
  }) || /* @__PURE__ */ e.createElement(e.Fragment, null);
59
60
  case "literal":
60
61
  return /* @__PURE__ */ e.createElement(_, {
61
- segment: a
62
+ segment: s
62
63
  });
63
64
  default:
64
65
  return /* @__PURE__ */ e.createElement(e.Fragment, null);
65
66
  }
66
67
  });
67
68
  }, ee = ({ className: t, ...n }) => {
68
- const { id: l, hidePlaceholder: o } = p(), { segment: i } = n, { t: s } = S(), a = v(null);
69
- Q(() => {
69
+ const { id: l, hidePlaceholder: a } = p(), { segment: i } = n, { t: o } = S(), c = j(null);
70
+ w(() => {
70
71
  var E;
71
- (E = a.current) == null || E.focus();
72
+ (E = c.current) == null || E.focus();
72
73
  }, l);
73
- const d = o ? void 0 : s("field.date.placeholder.hour");
74
+ const s = a ? void 0 : o("field.date.placeholder.hour");
74
75
  return /* @__PURE__ */ e.createElement(_, {
75
- ref: a,
76
+ ref: c,
76
77
  segment: i,
77
78
  className: t,
78
- ...d && {
79
- placeholder: d
79
+ ...s && {
80
+ placeholder: s
80
81
  }
81
82
  });
82
83
  }, te = ({ className: t, ...n }) => {
83
- const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = l ? void 0 : i("field.date.placeholder.minute");
84
+ const { hidePlaceholder: l } = p(), { segment: a } = n, { t: i } = S(), o = l ? void 0 : i("field.date.placeholder.minute");
84
85
  return /* @__PURE__ */ e.createElement(_, {
85
- segment: o,
86
+ segment: a,
86
87
  className: t,
87
- ...s && {
88
- placeholder: s
88
+ ...o && {
89
+ placeholder: o
89
90
  }
90
91
  });
91
92
  }, re = ({ className: t, ...n }) => {
92
- const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = x(j), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
93
+ const { hidePlaceholder: l } = p(), { segment: a } = n, { t: i } = S(), o = V(B), c = l ? void 0 : i("field.date.placeholder.period"), s = () => o == null ? void 0 : o.increment("dayPeriod");
93
94
  return /* @__PURE__ */ e.createElement(_, {
94
- segment: o,
95
+ segment: a,
95
96
  className: t,
96
- onClick: d,
97
- ...a && {
98
- placeholder: a
97
+ onClick: s,
98
+ ...c && {
99
+ placeholder: c
99
100
  }
100
101
  });
101
102
  };
102
- u.Hour = ee;
103
- u.Minute = te;
104
- u.Period = re;
103
+ d.Hour = ee;
104
+ d.Minute = te;
105
+ d.Period = re;
105
106
  r.Label = Y;
106
- r.Time = u;
107
+ r.Time = d;
107
108
  r.Description = W;
108
109
  r.Error = X;
109
110
  function ne(t) {
110
111
  if (!t)
111
112
  return null;
112
113
  try {
113
- return B(t);
114
+ return x(t);
114
115
  } catch {
115
116
  return null;
116
117
  }
@@ -118,39 +119,39 @@ function ne(t) {
118
119
  function ae(t) {
119
120
  if (!t)
120
121
  return null;
121
- const n = String(t.hour).padStart(2, "0"), l = String(t.minute).padStart(2, "0"), o = String(t.second).padStart(2, "0");
122
+ const n = String(t.hour).padStart(2, "0"), l = String(t.minute).padStart(2, "0"), a = String(t.second).padStart(2, "0");
122
123
  return [
123
124
  n,
124
125
  l,
125
- o
126
+ a
126
127
  ].join(":");
127
128
  }
128
- const oe = "_time_10p0h_1", se = "_hour_10p0h_14", le = "_minute_10p0h_15", ie = "_period_10p0h_16", h = {
129
+ const oe = "_time_rzj2k_1", se = "_hour_rzj2k_14", le = "_minute_rzj2k_15", ie = "_period_rzj2k_16", h = {
129
130
  time: oe,
130
131
  hour: se,
131
132
  minute: le,
132
133
  period: ie
133
- }, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(q, {
134
+ }, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(v, {
134
135
  content: t,
135
136
  locale: n
136
137
  }), me = () => {
137
138
  const t = $(h.time);
138
139
  return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
139
- className: c(z, f.label)
140
+ className: m(Q, f.label)
140
141
  }, /* @__PURE__ */ e.createElement(r.Label.Required, {
141
- className: c(G, f.requiredMark)
142
+ className: m(G, f.requiredMark)
142
143
  })), /* @__PURE__ */ e.createElement(r.Time, {
143
144
  className: t
144
145
  }, /* @__PURE__ */ e.createElement(r.Time.Hour, {
145
- className: c(h.hour, T)
146
+ className: m(h.hour, T)
146
147
  }), /* @__PURE__ */ e.createElement(r.Time.Minute, {
147
- className: c(h.minute, T)
148
+ className: m(h.minute, T)
148
149
  }), /* @__PURE__ */ e.createElement(r.Time.Period, {
149
- className: c(h.period, T)
150
+ className: m(h.period, T)
150
151
  })), /* @__PURE__ */ e.createElement(r.Error, {
151
- className: c(J, f.error)
152
+ className: m(J, f.error)
152
153
  }, /* @__PURE__ */ e.createElement(Z, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
153
- className: c(K, f.description)
154
+ className: m(K, f.description)
154
155
  }, ce));
155
156
  }, ge = () => /* @__PURE__ */ e.createElement(me, null);
156
157
  export {
@@ -2,14 +2,14 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
3
  import r, { useCallback as S, useRef as O } from "react";
4
4
  import { TextField as y, Input as A } from "react-aria-components";
5
- import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-D9IxiDXP.js";
5
+ import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-tScYihAT.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as P } from "./field-error-headless-DU0YsEXR.js";
8
- import { L as U } from "./field-label-headless-CvdTZi6i.js";
7
+ import { D as M, E as P } from "./field-error-headless-44vAUpwr.js";
8
+ import { L as U } from "./field-label-headless-Cfo9v3VS.js";
9
9
  import { u as q } from "./use-invoke-callback-UH73A_J3.js";
10
10
  import { E as x } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as u } from "./field-rac.module-BIBNQEOK.js";
12
- import { u as w } from "./use-text-input-class-name-DGpCdZ_e.js";
12
+ import { u as w } from "./use-text-input-class-name-DUHXnnCn.js";
13
13
  const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
14
  const { id: o, value: s, onChange: n, disabled: m, readOnly: a, required: l, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = q(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), h = S(() => {
15
15
  n(V(s)), p();
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-DHZ6bpxZ.js";
2
+ import { U as t } from "./url-input-field-rac-OppUVl3A.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC
@@ -2,8 +2,8 @@ import d, { useContext as _, useRef as D, useState as m, Children as L, useLayou
2
2
  import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as N } from "react-aria-components";
3
3
  import T from "classnames";
4
4
  import { s as h } from "./field-rac.module-BIBNQEOK.js";
5
- import { s as H } from "./form-D9IxiDXP.js";
6
- import { u as I } from "./use-element-state-class-name-B2ecLjwN.js";
5
+ import { s as H } from "./form-tScYihAT.js";
6
+ import { u as I } from "./use-element-state-class-name-BXqvGrEm.js";
7
7
  const R = 1 / 0, B = {
8
8
  position: "absolute",
9
9
  width: 0,
@@ -1,6 +1,6 @@
1
1
  import { useContext as i, useMemo as u } from "react";
2
- import { bb as T, an as p, b9 as O, F as s, t as _ } from "./form-D9IxiDXP.js";
3
- import { u as I } from "./use-hoverable-input-class-name-B42rAp82.js";
2
+ import { bb as T, an as p, b9 as O, F as s, t as _ } from "./form-tScYihAT.js";
3
+ import { u as I } from "./use-hoverable-input-class-name-CFgJ095f.js";
4
4
  const l = [
5
5
  s.DROPDOWN,
6
6
  s.DEXT_DROPDOWN,
@@ -1,5 +1,5 @@
1
1
  import p from "classnames";
2
- import { ba as E, aJ as f } from "./form-D9IxiDXP.js";
2
+ import { ba as E, aJ as f } from "./form-tScYihAT.js";
3
3
  const J = ({ globalClasses: e, moduleClasses: c }) => {
4
4
  var d;
5
5
  const r = ((d = E(...f(e))) == null ? void 0 : d.split(/\s+/)) ?? [], h = [
@@ -1,6 +1,6 @@
1
- import { bh as i } from "./form-D9IxiDXP.js";
1
+ import { bh as i } from "./form-tScYihAT.js";
2
2
  import { s as e } from "./field-rac.module-BIBNQEOK.js";
3
- import { u as m } from "./use-element-state-class-name-B2ecLjwN.js";
3
+ import { u as m } from "./use-element-state-class-name-BXqvGrEm.js";
4
4
  const d = (s, a) => {
5
5
  const { disabled: t, readOnly: o } = i(), r = m({
6
6
  globalClasses: s,
@@ -1,5 +1,5 @@
1
1
  import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
2
- import { bg as v } from "./form-D9IxiDXP.js";
2
+ import { bg as v } from "./form-tScYihAT.js";
3
3
  const k = (I) => {
4
4
  const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, g] = o(!1), [h, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
5
5
  let d = e.map((l) => ({
@@ -0,0 +1,6 @@
1
+ import { a5 as a } from "./form-tScYihAT.js";
2
+ import { u as e } from "./use-hoverable-input-class-name-CFgJ095f.js";
3
+ const m = (...s) => e(a, s);
4
+ export {
5
+ m as u
6
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/form-elements",
3
- "version": "1.127.0",
3
+ "version": "1.129.0",
4
4
  "description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -156,5 +156,5 @@
156
156
  ]
157
157
  }
158
158
  },
159
- "falconPackageHash": "73de8ac9e44c791b09a6b35ca8fe406750d528c2668dfc82c536db72"
159
+ "falconPackageHash": "14f0b0c27c4e467bf558303ea86bc9db042b892e2c19474aa812f85d"
160
160
  }