@wix/form-elements 1.128.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-S9z3s23G.js → appointment-rac-BFrtR9Kx.js} +4 -4
  2. package/dist/component/{bookings-address-rac-B7wL2TjQ.js → bookings-address-rac-BiOaHkHb.js} +1 -1
  3. package/dist/component/{bookings-email-rac-T2lFRGpg.js → bookings-email-rac-AWVBomja.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BBrENRBf.js → bookings-first-name-rac-BVxrEBSC.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CWGMiMQz.js → bookings-header-rac-DZWoWz45.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BQWvH_gm.js → bookings-last-name-rac-wsOIAERt.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-tFs0Vioz.js → bookings-login-bar-rac-BEFZtTeh.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-BV_BTfAh.js → bookings-phone-rac-DClujcXK.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-8cD6QJBZ.js → bookings-rich-text-rac-ghEjDW-p.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-YmG26i31.js → checkbox-field-rac-DvsNu9Rv.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-CE8sEjZj.js → checkbox-group-field-headless-C9-35Ull.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CSuJRyk1.js → checkbox-group-field-rac-Cj09BgU-.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-VDezm9js.js → checkbox-group-rac-Buxfb0mq.js} +1 -1
  14. package/dist/component/{checkbox-rac-DoC1ZqAq.js → checkbox-rac-DiHUcWo3.js} +1 -1
  15. package/dist/component/{contacts-address-rac-10AZNzhI.js → contacts-address-rac-P0OBiw6-.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-C7YDiyg2.js → contacts-birthdate-rac-IDz3KjEo.js} +1 -1
  17. package/dist/component/{contacts-company-rac-xQEtJ_-m.js → contacts-company-rac-CC_USKNp.js} +1 -1
  18. package/dist/component/{contacts-email-rac-Bryw_aCU.js → contacts-email-rac-BcRvtene.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-BXmuuhfG.js → contacts-first-name-rac-DsybqPgd.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-CVWVZO8I.js → contacts-last-name-rac-BOKeJmHo.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-C-KSwisV.js → contacts-phone-rac-Dc_3ZdY_.js} +1 -1
  22. package/dist/component/{contacts-position-rac-od-5Gie5.js → contacts-position-rac-Bn5kybDQ.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CCh9JcQx.js → contacts-subscribe-rac-BouQEOeS.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-DOM7TPQz.js → contacts-tax-id-rac-DJFrxRyu.js} +1 -1
  25. package/dist/component/{date-availability-G5IwqtRi.js → date-availability-CWfQIoX1.js} +1 -1
  26. package/dist/component/{date-input-field-rac-BpBqS7LG.js → date-input-field-rac-CP15ihpI.js} +86 -86
  27. package/dist/component/{date-input-rac-CQyqRqZK.js → date-input-rac-Bf0H1oiA.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BsR_0eAW.js → date-picker-field-rac-SOddu2Zu.js} +92 -91
  29. package/dist/component/{date-picker-rac-Bl2k363u.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-CInfYWxN.js → date-time-input-rac-Mv_mEil2.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-E36LjEfn.js → dext-checkbox-group-rac-8kR2EZfL.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-DkMAv7aY.js → dext-checkbox-rac-B5CWQuVt.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BNkJPlYo.js → dext-date-picker-rac-D_hbdOUB.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BH3Q0pwI.js → dext-date-time-input-rac-DJa6HIBI.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-DkF_DD08.js → dext-dropdown-rac-rUST_4lA.js} +1 -1
  37. package/dist/component/{dext-email-rac-0x_DN0_O.js → dext-email-rac-BN1-DKDv.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-UiIENkK3.js → dext-number-input-rac-CjoV2Zr-.js} +1 -1
  39. package/dist/component/{dext-phone-rac-BZFK4Uq7.js → dext-phone-rac-BZK-MfUB.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-CBAdO7kt.js → dext-radio-group-rac-CdSOS1sE.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-fqR1sriq.js → dext-rating-input-rac-DAZjknQn.js} +1 -1
  42. package/dist/component/{dext-tags-rac-mDuiUs9L.js → dext-tags-rac-ButsCV5O.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-C-8jKWpK.js → dext-text-area-rac-TKwYp5Cp.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CCBAM9YO.js → dext-text-input-rac-Clcifgwu.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-C4_8Yk0p.js → dext-url-input-rac-1oQFTxHV.js} +1 -1
  46. package/dist/component/{donation-rac-BwDHypVJ.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-DduQJ9rO.js → dropdown-field-rac-Bo3lqJDR.js} +4 -4
  49. package/dist/component/{dropdown-rac-BhhECLoH.js → dropdown-rac-C29h60zI.js} +1 -1
  50. package/dist/component/{ecom-address-rac-BJ1nnEVL.js → ecom-address-rac-gs7OAQTj.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-4m1XMTDY.js → ecom-subscription-checkbox-rac-CI9zbJqB.js} +2 -2
  52. package/dist/component/{email-input-field-rac-bPEcgidt.js → email-input-field-rac-D75vjW_1.js} +3 -3
  53. package/dist/component/{events-repeater-rac-CujTGEHx.js → events-repeater-rac-UgCJlo2O.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-BPqr_aY9.js → events-rsvp-rac-D5YhJy0C.js} +3 -3
  55. package/dist/component/{field-error-headless-Bu_4Huhb.js → field-error-headless-44vAUpwr.js} +1 -1
  56. package/dist/component/{field-label-headless-DkDmQPFG.js → field-label-headless-Cfo9v3VS.js} +1 -1
  57. package/dist/component/{file-upload-rac-DmOQrGe8.js → file-upload-rac-B-rYIzhu.js} +4 -4
  58. package/dist/component/{fixed-payment-rac-CDsddKrV.js → fixed-payment-rac-CkbmX7hl.js} +3 -3
  59. package/dist/component/{form-BpJ4Lqbe.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-Cr1FVQdq.js → header-field-rac-BtKN5X7s.js} +2 -2
  63. package/dist/component/{header-rac-CvAZsqDL.js → header-rac-pmryP48d.js} +1 -1
  64. package/dist/component/{image-choice-rac-D_EKrD73.js → image-choice-rac-ByBjTccP.js} +4 -4
  65. package/dist/component/{index-DxsHfkik.js → index-DXsujvrm.js} +4 -4
  66. package/dist/component/{index-Tnke1N8m.js → index-Dyso3MNS.js} +2 -2
  67. package/dist/component/{isObjectLike-CMWsWjX8.js → isObjectLike-CUj2YjST.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-BMeMP7J6.js → multiline-address-field-rac-CkifK7lO.js} +7 -7
  69. package/dist/component/{multiline-address-rac-CFprfFXm.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-CaHySxYH.js → number-input-field-rac-BG8cRLXY.js} +4 -4
  72. package/dist/component/{number-input-rac-BezfoU8h.js → number-input-rac-Byuz2Nub.js} +1 -1
  73. package/dist/component/{password-rac-_wwZFd67.js → password-rac-BOus-ku5.js} +4 -4
  74. package/dist/component/{payment-input-rac-CWrSvBDp.js → payment-input-rac-D-CZ6cKL.js} +4 -4
  75. package/dist/component/{phone-input-field-rac-R3LYdPIs.js → phone-input-field-rac-DCfc-MrP.js} +7 -7
  76. package/dist/component/{phone-rac-D6uILVRw.js → phone-rac-1J-t9-Og.js} +1 -1
  77. package/dist/component/{product-list-rac-D3WTfC9k.js → product-list-rac-CJ1YZvV9.js} +4 -4
  78. package/dist/component/{quiz-radio-group-rac-B6T7eedk.js → quiz-radio-group-rac-C_JnWUd3.js} +1 -1
  79. package/dist/component/{radio-button-module-classes-D8Jm-Q6u.js → radio-button-module-classes-DWh_AiLg.js} +3 -3
  80. package/dist/component/{radio-group-field-rac-R5onZzJd.js → radio-group-field-rac-Cp48ayde.js} +4 -4
  81. package/dist/component/{radio-group-rac-DUPHR4tK.js → radio-group-rac-B7jR2Rb-.js} +1 -1
  82. package/dist/component/{rating-input-field-rac-C9GpwuRO.js → rating-input-field-rac-CHEWLp0k.js} +4 -4
  83. package/dist/component/{rating-input-rac-Iv_2PVqP.js → rating-input-rac-BX4osXZU.js} +1 -1
  84. package/dist/component/{rich-content-rac.module-Det3BKrI.js → rich-content-rac.module-Ce08oqQ9.js} +1 -1
  85. package/dist/component/{rich-text-field-rac-DnBtp2d_.js → rich-text-field-rac-Bi1SDfiU.js} +2 -2
  86. package/dist/component/{rich-text-rac-CXzxap1G.js → rich-text-rac-DdT8jmAf.js} +1 -1
  87. package/dist/component/{service-dropdown-rac-CVyd2HYC.js → service-dropdown-rac-DPeHyyz_.js} +5 -5
  88. package/dist/component/{services-multi-choice-rac-BY-W0xIt.js → services-multi-choice-rac-CKdjXJR8.js} +5 -5
  89. package/dist/component/{signature-rac-BojdPJhg.js → signature-rac-ffVbFXfs.js} +4 -4
  90. package/dist/component/{submit-button-rac-Q7KKQbiL.js → submit-button-rac-C55AG9QQ.js} +2 -2
  91. package/dist/component/{tags-field-rac-CbmR6gi4.js → tags-field-rac-BO2-TOy4.js} +5 -5
  92. package/dist/component/{tags-rac-hJo0tMVR.js → tags-rac-BkCC7NCe.js} +1 -1
  93. package/dist/component/{text-area-field-rac-DHQqkqtu.js → text-area-field-rac-BwYibo91.js} +4 -4
  94. package/dist/component/{text-area-rac-BTXxfWyK.js → text-area-rac-DZdY4txw.js} +1 -1
  95. package/dist/component/{text-input-field-rac-BVTBYjMM.js → text-input-field-rac-WiCBhW6i.js} +3 -3
  96. package/dist/component/{text-input-headless-Dk_0y9U-.js → text-input-headless-B3KeulEf.js} +3 -3
  97. package/dist/component/{text-input-rac-DIwGn0WI.js → text-input-rac-BIyCqBJv.js} +1 -1
  98. package/dist/component/{time-input-rac-ClyPOKOH.js → time-input-rac-CC4UwoED.js} +65 -64
  99. package/dist/component/{url-input-field-rac-BhPzHWTI.js → url-input-field-rac-OppUVl3A.js} +4 -4
  100. package/dist/component/{url-input-rac-COD7T5wo.js → url-input-rac-B5_eh6hN.js} +1 -1
  101. package/dist/component/{use-dropdown-option-class-name-CTDQ4YIC.js → use-dropdown-option-class-name-Bgp-eVle.js} +2 -2
  102. package/dist/component/{use-dropdown-trigger-class-name-DapDPNX0.js → use-dropdown-trigger-class-name-BjjdE7MT.js} +2 -2
  103. package/dist/component/{use-element-state-class-name-BU86oHkX.js → use-element-state-class-name-BXqvGrEm.js} +1 -1
  104. package/dist/component/{use-hoverable-input-class-name-DWkmQfPd.js → use-hoverable-input-class-name-CFgJ095f.js} +2 -2
  105. package/dist/component/{use-service-options-base-jkecu8jY.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-C5TC2nsm.js +0 -426
  109. package/dist/component/dropdown-field-headless-CspX2zV_.js +0 -91
  110. package/dist/component/non-modal-popover-DtIMXHbe.js +0 -63
  111. package/dist/component/use-text-input-class-name-CNTXVb7N.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-BpJ4Lqbe.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-Bu_4Huhb.js";
6
- import { L as x } from "./field-label-headless-DkDmQPFG.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-BVTBYjMM.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-BpJ4Lqbe.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-Bu_4Huhb.js";
9
- import { L as Y } from "./field-label-headless-DkDmQPFG.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-CNTXVb7N.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-BpJ4Lqbe.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-Bu_4Huhb.js";
8
- import { L as U } from "./field-label-headless-DkDmQPFG.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-CNTXVb7N.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-BhPzHWTI.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-BpJ4Lqbe.js";
6
- import { u as I } from "./use-element-state-class-name-BU86oHkX.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-BpJ4Lqbe.js";
3
- import { u as I } from "./use-hoverable-input-class-name-DWkmQfPd.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-BpJ4Lqbe.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-BpJ4Lqbe.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-BU86oHkX.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-BpJ4Lqbe.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.128.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": "3cc91aee772729660b5f820e19d5ab60df670a2b06211de6b0aa2672"
159
+ "falconPackageHash": "14f0b0c27c4e467bf558303ea86bc9db042b892e2c19474aa812f85d"
160
160
  }