@wix/form-elements 1.145.0 → 1.147.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 (113) hide show
  1. package/dist/component/{appointment-rac-De-uH9rz.js → appointment-rac-BG5-bIZU.js} +98 -98
  2. package/dist/component/{bookings-address-rac-DB6QCMQJ.js → bookings-address-rac-8e8PqKsp.js} +1 -1
  3. package/dist/component/{bookings-email-rac-g6ZdB_BO.js → bookings-email-rac-CtlnU8ws.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DQgL_VHl.js → bookings-first-name-rac-CrivNlXM.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DAnIm-Oq.js → bookings-header-rac-DWDAjfqq.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-D62jNdDb.js → bookings-last-name-rac-qAthWem2.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-5z8HfBhU.js → bookings-login-bar-rac-BNyUDqlM.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-D0gu-_wy.js → bookings-phone-rac-Tc39XLr7.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-b4J1HcdI.js → bookings-rich-text-rac-CPNaPtFK.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CmRRc9Dz.js → checkbox-field-rac-DEa78Tpf.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-CB8yAfMe.js → checkbox-group-field-headless-BxBaMg29.js} +68 -68
  12. package/dist/component/{checkbox-group-field-rac-C5gRZRTd.js → checkbox-group-field-rac-CRRP03Qk.js} +7 -7
  13. package/dist/component/{checkbox-group-rac-DNDF1Irh.js → checkbox-group-rac-TOofMGl3.js} +1 -1
  14. package/dist/component/{checkbox-rac-B9vztGBU.js → checkbox-rac-CHMHr8Ry.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CKZeSncj.js → contacts-address-rac-Bc5yDvTL.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BbpNNQgF.js → contacts-birthdate-rac-Ubtg5ncv.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BX2KT201.js → contacts-company-rac-BksH9IoV.js} +1 -1
  18. package/dist/component/{contacts-email-rac-5Irzx1mA.js → contacts-email-rac-DDPEtMAm.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CxKp8_2u.js → contacts-first-name-rac-DUlCvEdx.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BDCbSv5I.js → contacts-last-name-rac-BikqNgUr.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BM_PV_uH.js → contacts-phone-rac-B4OEgM_8.js} +1 -1
  22. package/dist/component/{contacts-position-rac-1aqthQSi.js → contacts-position-rac-BfybzySV.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CdqXs4kp.js → contacts-subscribe-rac-CMHb33v1.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-BKHpcDb6.js → contacts-tax-id-rac-C-qEqwO5.js} +1 -1
  25. package/dist/component/{date-availability-DmFFTX8p.js → date-availability-DZ3J3LLm.js} +1 -1
  26. package/dist/component/date-input-field-rac-DeL5vuE7.js +297 -0
  27. package/dist/component/{date-input-rac-BB6qZ16w.js → date-input-rac-Di6TQvFf.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Ckwu2vD6.js → date-picker-field-rac-BcdpTkjV.js} +107 -103
  29. package/dist/component/{date-picker-rac-DSqzUAaH.js → date-picker-rac-Brne65gr.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DO-iRdkW.js → date-time-input-field-rac-BtQfAxRp.js} +49 -49
  31. package/dist/component/{date-time-input-rac-smVCCxdY.js → date-time-input-rac-DM_HXiqV.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-B8bx3rT2.js → dext-checkbox-group-rac-WTVwhGG0.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-x8VLGRbc.js → dext-checkbox-rac-BR5YwmLQ.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-D2a9NXap.js → dext-date-picker-rac-DvDuRGYi.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Cp5XjpGv.js → dext-date-time-input-rac-C6RgbaVv.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-nWgEvyxt.js → dext-dropdown-rac-CWjSdcZx.js} +1 -1
  37. package/dist/component/{dext-email-rac-CkX6ya8p.js → dext-email-rac-D-C1gVTq.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-CKT0MS1x.js → dext-number-input-rac-YKzZS2ZG.js} +1 -1
  39. package/dist/component/{dext-phone-rac-DM2E7zW_.js → dext-phone-rac-CFZlEH2a.js} +1 -1
  40. package/dist/component/dext-radio-group-rac-DiH0wIIl.js +18 -0
  41. package/dist/component/{dext-rating-input-rac-CKWNpFuu.js → dext-rating-input-rac-D0s-i0qO.js} +1 -1
  42. package/dist/component/{dext-tags-rac-6AskGGTp.js → dext-tags-rac-Br48OQQ5.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-ClGLD7sD.js → dext-text-area-rac-6jG8gJ7i.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-Blbk53d4.js → dext-text-input-rac-FAJTCXuf.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-BuitmJU0.js → dext-url-input-rac-BoMP8sQB.js} +1 -1
  46. package/dist/component/{donation-rac-DOifFCD7.js → donation-rac-DNi4p-v5.js} +69 -69
  47. package/dist/component/{dropdown-field-headless-m2P6s7X5.js → dropdown-field-headless-7SCC-xOC.js} +27 -27
  48. package/dist/component/{dropdown-field-rac-5e6wWJBl.js → dropdown-field-rac-CMzZh6J6.js} +8 -9
  49. package/dist/component/{dropdown-rac-BGxE9pJB.js → dropdown-rac-qeugpHXY.js} +1 -1
  50. package/dist/component/{ecom-address-rac-kbD9qW5Y.js → ecom-address-rac-D8b_L5md.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-CE-Yixnj.js → ecom-subscription-checkbox-rac-BnAuR9La.js} +5 -5
  52. package/dist/component/{email-input-field-rac-CbwcB33o.js → email-input-field-rac-CunXRyc5.js} +64 -62
  53. package/dist/component/{events-repeater-rac-CGhUscBr.js → events-repeater-rac-DMjyIOkB.js} +17 -17
  54. package/dist/component/{events-rsvp-rac-AQ33zPTe.js → events-rsvp-rac-BsuDPq2K.js} +8 -8
  55. package/dist/component/{field-error-headless-ClPQ03Jc.js → field-error-headless-E8WjFr_n.js} +6 -6
  56. package/dist/component/{field-label-headless-DhN8Lkuq.js → field-label-headless-BakLOu5E.js} +15 -15
  57. package/dist/component/{file-upload-rac-yTx1ZRhZ.js → file-upload-rac-Clu_c--0.js} +43 -43
  58. package/dist/component/{fixed-payment-rac-nlyxa9nB.js → fixed-payment-rac-CzAXxsb-.js} +12 -12
  59. package/dist/component/{form-D3iU18lh.js → form-DHAKwnLt.js} +3850 -3872
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +2 -2
  62. package/dist/component/{header-field-rac-DAEzcleV.js → header-field-rac-CwmVpz3r.js} +4 -4
  63. package/dist/component/{header-rac-CJZ4qMFg.js → header-rac-ahkGRjSy.js} +1 -1
  64. package/dist/component/{image-choice-rac-BFAMHwPh.js → image-choice-rac-BwxkkdUu.js} +17 -17
  65. package/dist/component/{index-DQW26cnX.js → index-BFi_n6B7.js} +2 -2
  66. package/dist/component/{index-W7GOFnq8.js → index-BQf23zZi.js} +91 -91
  67. package/dist/component/{isObjectLike-CE8eaxSI.js → isObjectLike-DHcMRYYH.js} +15 -15
  68. package/dist/component/{multiline-address-field-rac-FbJO0HFf.js → multiline-address-field-rac-C6xaqNOk.js} +68 -60
  69. package/dist/component/{multiline-address-rac-CI-vt6Pm.js → multiline-address-rac-DF4TFuDx.js} +1 -1
  70. package/dist/component/{number-input-field-rac-BRVAr7LL.js → number-input-field-rac-uVJ3SBv2.js} +27 -27
  71. package/dist/component/{number-input-rac-C8hCiJiu.js → number-input-rac-D6ERhrSM.js} +1 -1
  72. package/dist/component/{password-rac-Baslr6Ga.js → password-rac-CAiC0ZKl.js} +47 -46
  73. package/dist/component/{payment-input-rac-CfJSKxYz.js → payment-input-rac-Bu25xvby.js} +33 -32
  74. package/dist/component/{phone-input-field-rac-Dqh4CXdC.js → phone-input-field-rac-32qUvCsC.js} +46 -45
  75. package/dist/component/{phone-rac-DaLuGuxd.js → phone-rac-mNrpj30q.js} +1 -1
  76. package/dist/component/{product-list-rac-PNMwRBtL.js → product-list-rac-zHdM9rHw.js} +53 -53
  77. package/dist/component/{quiz-radio-group-rac-DN8vY-oM.js → quiz-radio-group-rac-BaSlT8w3.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-DlJi9a2f.js → radio-button-module-classes-BdWjkBlX.js} +9 -9
  79. package/dist/component/{radio-group-field-rac-C0tLXhl5.js → radio-group-field-rac-DI0UgTBr.js} +12 -12
  80. package/dist/component/{radio-group-rac-FAk7PYgP.js → radio-group-rac-D2ESG8J4.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-Cl1kH_uu.js → rating-input-field-rac-BYT2XqOK.js} +26 -26
  82. package/dist/component/{rating-input-rac-D9p-0pkI.js → rating-input-rac-D-5CmVAX.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-Dkr46kPC.js → rich-content-rac.module-Dp9Advo9.js} +8 -8
  84. package/dist/component/{rich-text-field-rac-DthhTvTp.js → rich-text-field-rac-COEUwoXQ.js} +4 -4
  85. package/dist/component/{rich-text-rac-DqZX4NeB.js → rich-text-rac-CQZLjBQ0.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-BMOGLU2Z.js → service-dropdown-rac-BTtJVFv8.js} +44 -45
  87. package/dist/component/{services-multi-choice-rac-DcdUewzJ.js → services-multi-choice-rac-hbY3g0Kb.js} +11 -11
  88. package/dist/component/{signature-rac-BRvN6kUW.js → signature-rac-CTCNclwL.js} +67 -67
  89. package/dist/component/{submit-button-rac-B70UC8eS.js → submit-button-rac-kKGeVgsG.js} +25 -25
  90. package/dist/component/{tags-field-rac-NpYyV8X4.js → tags-field-rac-CVf7oQr_.js} +35 -35
  91. package/dist/component/{tags-rac-BMEbpJ-z.js → tags-rac-DiX1_nTT.js} +1 -1
  92. package/dist/component/{text-area-field-rac-BLSrNwJ6.js → text-area-field-rac-IhBNXiDl.js} +22 -22
  93. package/dist/component/{text-area-rac-Cm7aAfIz.js → text-area-rac-DHevCtFF.js} +1 -1
  94. package/dist/component/{text-input-field-rac-BDqV7s0M.js → text-input-field-rac-Da3_wTdh.js} +5 -5
  95. package/dist/component/text-input-headless-DcZRRXCp.js +45 -0
  96. package/dist/component/{text-input-rac-Cc_SkCCS.js → text-input-rac-564LIZ1_.js} +1 -1
  97. package/dist/component/{time-input-rac-DDCiAFe2.js → time-input-rac-p-Nnsxp_.js} +54 -54
  98. package/dist/component/{url-input-field-rac-jen6pbz7.js → url-input-field-rac-DjrcpRtm.js} +27 -26
  99. package/dist/component/{url-input-rac-BWh6udtS.js → url-input-rac-B3brpyop.js} +1 -1
  100. package/dist/component/use-dropdown-trigger-class-name-BWTT7ltv.js +117 -0
  101. package/dist/component/{use-element-state-class-name-B1r_nXW1.js → use-element-state-class-name-CUZuhFvZ.js} +3 -3
  102. package/dist/component/{use-hoverable-input-class-name-B-FhrcyQ.js → use-hoverable-input-class-name-ugX8-g4E.js} +6 -6
  103. package/dist/component/use-is-forced-open-dropdown-DUZMvWpk.js +48 -0
  104. package/dist/component/{use-service-options-base-CTA_43F3.js → use-service-options-base-hqO9Ev38.js} +6 -6
  105. package/dist/component/use-text-input-class-name-wp9dzpEy.js +6 -0
  106. package/dist/form.d.ts +5 -0
  107. package/package.json +2 -2
  108. package/dist/component/date-input-field-rac-BnlAOn12.js +0 -290
  109. package/dist/component/dext-radio-group-rac-Czr5yY3K.js +0 -18
  110. package/dist/component/text-input-headless-B0jcwDev.js +0 -44
  111. package/dist/component/use-dropdown-option-class-name-OD8brKoy.js +0 -115
  112. package/dist/component/use-dropdown-trigger-class-name-BrkmG0ad.js +0 -40
  113. package/dist/component/use-text-input-class-name-BXuk3TK7.js +0 -6
@@ -1,37 +1,37 @@
1
- import o, { useMemo as k, useCallback as $, useRef as w, useState as W, useEffect as A } from "react";
1
+ import r, { useMemo as y, useCallback as $, useRef as w, useState as W, useEffect as A } from "react";
2
2
  import { CheckboxGroup as M, CheckboxField as j, CheckboxButton as z, TextField as J, Input as K } from "react-aria-components";
3
3
  import { debounce as Q } from "ts-debounce";
4
- import { bn as R, bk as U, bx as X, bp as Y } from "./form-D3iU18lh.js";
4
+ import { bo as R, bl as U, by as X, bq as Y } from "./form-DHAKwnLt.js";
5
5
  import { f as I, a as F } from "./find-child-C60k4CxG.js";
6
- import { D as Z, E as ee } from "./field-error-headless-ClPQ03Jc.js";
7
- import { L as te } from "./field-label-headless-DhN8Lkuq.js";
8
- import { F as ne } from "./fieldset-headless-CD3fds9J.js";
9
- import { S as ae } from "./selection-indicator-XQ8MYHUQ.js";
10
- const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e.length > 0 && le(e, t), se = (e, t) => {
11
- const r = t == null ? void 0 : t("add-other.default-other-option-label");
12
- return e || r || B;
13
- }, q = (e, t) => {
14
- const n = t ? t.length + 2 : 0;
15
- return (e.find((s) => s.startsWith(`${t}: `)) || "").slice(n);
6
+ import { D as Z, E as ee } from "./field-error-headless-E8WjFr_n.js";
7
+ import { L as te } from "./field-label-headless-BakLOu5E.js";
8
+ import { F as ae } from "./fieldset-headless-CD3fds9J.js";
9
+ import { S as ne } from "./selection-indicator-XQ8MYHUQ.js";
10
+ const B = "Other", le = (e, t) => e.some((o) => !t.includes(o)), N = (e, t) => e.length > 0 && le(e, t), se = (e, t) => {
11
+ const o = t == null ? void 0 : t("add-other.default-other-option-label");
12
+ return e || o || B;
13
+ }, T = (e, t) => {
14
+ const a = t ? t.length + 2 : 0;
15
+ return (e.find((s) => s.startsWith(`${t}: `)) || "").slice(a);
16
16
  }, S = (e) => e.map((t) => t.value ?? t.label), v = ({ children: e, className: t }) => {
17
- const r = R(), { id: n, value: a, onChange: s, disabled: d, required: p, onBlur: f, onFocus: m, hasError: c, FieldLayout: i } = r, { inputId: h, labelId: u, ariaDescribedBy: L } = U(), E = I(e, v.Label), g = I(e, v.Options), C = I(e, v.Description), l = I(e, v.Error), O = k(() => a || [], [
18
- a
17
+ const o = R(), { id: a, value: n, onChange: s, disabled: d, required: p, onBlur: f, onFocus: m, hasError: c, FieldLayout: i } = o, { inputId: h, labelId: u, ariaDescribedBy: L } = U(), E = I(e, v.Label), g = I(e, v.Options), C = I(e, v.Description), l = I(e, v.Error), O = y(() => n || [], [
18
+ n
19
19
  ]), V = $((b) => {
20
20
  s == null || s(b);
21
21
  }, [
22
22
  s
23
23
  ]);
24
- return /* @__PURE__ */ o.createElement(i, {
25
- fieldId: n,
24
+ return /* @__PURE__ */ r.createElement(i, {
25
+ fieldId: a,
26
26
  renderLabel: () => E,
27
- renderInput: () => /* @__PURE__ */ o.createElement(ne, {
27
+ renderInput: () => /* @__PURE__ */ r.createElement(ae, {
28
28
  id: h,
29
29
  ariaLabelledBy: u,
30
30
  ariaDescribedBy: L,
31
31
  required: p,
32
32
  onBlur: f,
33
33
  onFocus: m
34
- }, /* @__PURE__ */ o.createElement(M, {
34
+ }, /* @__PURE__ */ r.createElement(M, {
35
35
  className: t,
36
36
  "aria-labelledby": u,
37
37
  value: O,
@@ -40,21 +40,21 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
40
40
  isRequired: p,
41
41
  isInvalid: c
42
42
  }, g)),
43
- renderDescription: () => /* @__PURE__ */ o.createElement(o.Fragment, null, l, C)
43
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, l, C)
44
44
  });
45
45
  }, _ = ({ children: e, className: t }) => {
46
- const r = R(), { id: n, options: a, addOther: s, addOtherLabel: d, numberOfColumns: p } = r, { t: f } = X(), m = I(e, _.Option), c = se(d, f);
47
- return /* @__PURE__ */ o.createElement("div", {
46
+ const o = R(), { id: a, options: n, addOther: s, addOtherLabel: d, numberOfColumns: p } = o, { t: f } = X(), m = I(e, _.Option), c = se(d, f);
47
+ return /* @__PURE__ */ r.createElement("div", {
48
48
  className: t,
49
49
  "data-columns": p
50
- }, a == null ? void 0 : a.map((i, h) => {
50
+ }, n == null ? void 0 : n.map((i, h) => {
51
51
  const u = i.value ?? i.label;
52
52
  return F(m, {
53
53
  key: i.id || i.label,
54
54
  value: u,
55
55
  label: i.label,
56
56
  isFirst: h === 0,
57
- fieldId: n
57
+ fieldId: a
58
58
  });
59
59
  }), s && F(m, {
60
60
  key: B,
@@ -62,65 +62,65 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
62
62
  label: c,
63
63
  isOther: !0
64
64
  }));
65
- }, re = ({ className: e, ...t }) => {
66
- const { label: r } = t;
67
- return /* @__PURE__ */ o.createElement("span", {
65
+ }, oe = ({ className: e, ...t }) => {
66
+ const { label: o } = t;
67
+ return /* @__PURE__ */ r.createElement("span", {
68
68
  className: e
69
- }, r);
70
- }, y = ({ children: e, className: t, ...r }) => {
71
- const { value: n, label: a, isFirst: s = !1, isOther: d = !1, fieldId: p } = r, f = R(), { value: m, onChange: c, disabled: i, readOnly: h, hasError: u, options: L } = f, E = w(null);
69
+ }, o);
70
+ }, k = ({ children: e, className: t, ...o }) => {
71
+ const { value: a, label: n, isFirst: s = !1, isOther: d = !1, fieldId: p } = o, f = R(), { value: m, onChange: c, disabled: i, readOnly: h, hasError: u, options: L } = f, E = w(null);
72
72
  Y(() => {
73
73
  var b;
74
74
  s && ((b = E.current) == null || b.focus({
75
75
  preventScroll: !0
76
76
  }));
77
77
  }, p);
78
- const g = I(e, y.Label), C = I(e, y.Input), l = k(() => m || [], [
78
+ const g = I(e, k.Label), C = I(e, k.Input), l = y(() => m || [], [
79
79
  m
80
- ]), O = k(() => d ? l.find((b) => b === a || b.startsWith(`${a}: `)) || a : n, [
80
+ ]), O = y(() => d ? l.find((b) => b === n || b.startsWith(`${n}: `)) || n : a, [
81
81
  d,
82
82
  l,
83
- a,
84
- n
83
+ n,
84
+ a
85
85
  ]), V = $((b) => {
86
86
  if (!d)
87
87
  return;
88
88
  const D = S(L || []), x = l.filter((P) => D.includes(P)), H = b ? [
89
89
  ...x,
90
- a
90
+ n
91
91
  ] : x;
92
92
  c == null || c(H);
93
93
  }, [
94
94
  d,
95
- a,
95
+ n,
96
96
  c,
97
97
  L,
98
98
  l
99
99
  ]);
100
- return /* @__PURE__ */ o.createElement(j, {
100
+ return /* @__PURE__ */ r.createElement(j, {
101
101
  value: O,
102
102
  onChange: d ? V : void 0,
103
103
  isDisabled: i,
104
104
  isReadOnly: h,
105
105
  isInvalid: u
106
- }, /* @__PURE__ */ o.createElement(z, {
106
+ }, /* @__PURE__ */ r.createElement(z, {
107
107
  ref: E,
108
108
  className: t,
109
- "data-hook": `checkbox-${a}`
110
- }, ({ isSelected: b, isHovered: D, isFocused: x }) => /* @__PURE__ */ o.createElement(o.Fragment, null, F(C, {
109
+ "data-hook": `checkbox-${n}`
110
+ }, ({ isSelected: b, isHovered: D, isFocused: x }) => /* @__PURE__ */ r.createElement(r.Fragment, null, F(C, {
111
111
  isSelected: b,
112
112
  isHovered: D,
113
113
  isFocused: x
114
114
  }), F(g, {
115
- label: a
115
+ label: n
116
116
  }))));
117
117
  };
118
- y.Label = re;
119
- y.Input = ae;
120
- const T = ({ children: e, ...t }) => {
121
- const { value: r, label: n, isFirst: a = !1, isOther: s = !1, fieldId: d } = t, p = R(), { value: f, onChange: m, options: c, addOtherPlaceholder: i, otherInputCharacterLimit: h, disabled: u, readOnly: L, hasError: E } = p, g = I(e, y), C = I(e, G), l = k(() => f || [], [
118
+ k.Label = oe;
119
+ k.Input = ne;
120
+ const q = ({ children: e, ...t }) => {
121
+ const { value: o, label: a, isFirst: n = !1, isOther: s = !1, fieldId: d } = t, p = R(), { value: f, onChange: m, options: c, addOtherPlaceholder: i, otherInputCharacterLimit: h, disabled: u, readOnly: L, hasError: E } = p, g = I(e, k), C = I(e, G), l = y(() => f || [], [
122
122
  f
123
- ]), O = k(() => {
123
+ ]), O = y(() => {
124
124
  if (!s)
125
125
  return !1;
126
126
  const V = S(c || []);
@@ -130,48 +130,48 @@ const T = ({ children: e, ...t }) => {
130
130
  l,
131
131
  c
132
132
  ]);
133
- return /* @__PURE__ */ o.createElement(o.Fragment, null, F(g, {
134
- value: r,
135
- label: n,
136
- isFirst: a,
133
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, F(g, {
134
+ value: o,
135
+ label: a,
136
+ isFirst: n,
137
137
  isOther: s,
138
138
  fieldId: d
139
139
  }), s && O && F(C, {
140
140
  fieldValue: l,
141
141
  onChange: m,
142
- label: n,
142
+ label: a,
143
143
  placeholder: i,
144
144
  maxLength: h,
145
145
  disabled: u,
146
146
  readOnly: L,
147
147
  hasError: E,
148
- ariaLabel: n,
149
- addOtherLabel: n,
148
+ ariaLabel: a,
149
+ addOtherLabel: a,
150
150
  options: c
151
151
  }));
152
- }, G = ({ className: e, inputClassName: t, ...r }) => {
153
- const { fieldValue: n, onChange: a, label: s, placeholder: d, maxLength: p, disabled: f, readOnly: m, hasError: c, ariaLabel: i, addOtherLabel: h, options: u } = r, [L, E] = W(() => {
152
+ }, G = ({ className: e, inputClassName: t, ...o }) => {
153
+ const { fieldValue: a, onChange: n, label: s, placeholder: d, maxLength: p, disabled: f, readOnly: m, hasError: c, ariaLabel: i, addOtherLabel: h, options: u } = o, [L, E] = W(() => {
154
154
  const l = S(u || []);
155
- return N(n, l) ? q(n, h) : "";
155
+ return N(a, l) ? T(a, h) : "";
156
156
  });
157
157
  A(() => {
158
- const l = S(u || []), O = N(n, l);
159
- E(O ? q(n, h) : "");
158
+ const l = S(u || []), O = N(a, l);
159
+ E(O ? T(a, h) : "");
160
160
  }, [
161
- n,
161
+ a,
162
162
  u,
163
163
  h
164
164
  ]);
165
- const g = k(() => Q((l) => {
166
- const O = S(u || []), V = n.filter((x) => O.includes(x)), b = l ? `${h}: ${l}` : s, D = [
165
+ const g = y(() => Q((l) => {
166
+ const O = S(u || []), V = a.filter((x) => O.includes(x)), b = l ? `${h}: ${l}` : s, D = [
167
167
  ...V,
168
168
  b
169
169
  ];
170
- a(D);
170
+ n(D);
171
171
  }, 500), [
172
- a,
173
- u,
174
172
  n,
173
+ u,
174
+ a,
175
175
  h,
176
176
  s
177
177
  ]), C = $((l) => {
@@ -179,7 +179,7 @@ const T = ({ children: e, ...t }) => {
179
179
  }, [
180
180
  g
181
181
  ]);
182
- return /* @__PURE__ */ o.createElement(J, {
182
+ return /* @__PURE__ */ r.createElement(J, {
183
183
  "aria-label": i,
184
184
  value: L,
185
185
  onChange: C,
@@ -187,7 +187,7 @@ const T = ({ children: e, ...t }) => {
187
187
  isReadOnly: m,
188
188
  isInvalid: c,
189
189
  className: e
190
- }, /* @__PURE__ */ o.createElement(K, {
190
+ }, /* @__PURE__ */ r.createElement(K, {
191
191
  className: t,
192
192
  placeholder: d,
193
193
  maxLength: p,
@@ -196,9 +196,9 @@ const T = ({ children: e, ...t }) => {
196
196
  };
197
197
  v.Label = te;
198
198
  v.Options = _;
199
- _.Option = T;
200
- T.Checkbox = y;
201
- T.OtherInput = G;
199
+ _.Option = q;
200
+ q.Checkbox = k;
201
+ q.OtherInput = G;
202
202
  v.Description = Z;
203
203
  v.Error = ee;
204
204
  export {
@@ -1,22 +1,22 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { C as t } from "./checkbox-group-field-headless-CB8yAfMe.js";
4
+ import { C as t } from "./checkbox-group-field-headless-BxBaMg29.js";
5
5
  import { E as n } from "./error-icon-hZxQ6DEy.js";
6
6
  import { C as c } from "./checkbox-indicator-module-classes-6173wvuW.js";
7
7
  import { s } from "./field-rac.module-DfEb7pBp.js";
8
- import { R as i, $ as E, o as p, q as C, G as O, u as _, p as R } from "./form-D3iU18lh.js";
8
+ import { S as i, a0 as E, o as p, q as C, H as O, v as _, p as I } from "./form-DHAKwnLt.js";
9
9
  import { o as l } from "./options-rac.module-_THNq6Qq.js";
10
- import { u as I } from "./use-element-state-class-name-B1r_nXW1.js";
11
- import { u as L } from "./use-text-input-class-name-BXuk3TK7.js";
10
+ import { u as L } from "./use-element-state-class-name-CUZuhFvZ.js";
11
+ import { u as R } from "./use-text-input-class-name-wp9dzpEy.js";
12
12
  const u = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(m, {
13
13
  content: o,
14
14
  locale: r
15
15
  }), k = () => {
16
- const o = I({
17
- globalClasses: R,
16
+ const o = L({
17
+ globalClasses: I,
18
18
  moduleClasses: c
19
- }), r = L();
19
+ }), r = R();
20
20
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
21
21
  className: a(i, s.label)
22
22
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as o } from "./checkbox-group-field-rac-C5gRZRTd.js";
2
+ import { C as o } from "./checkbox-group-field-rac-CRRP03Qk.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  c as CheckboxGroupRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as o } from "./checkbox-field-rac-CmRRc9Dz.js";
2
+ import { C as o } from "./checkbox-field-rac-DEa78Tpf.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  c as CheckboxRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BDqV7s0M.js";
2
+ import { T as e } from "./text-input-field-rac-Da3_wTdh.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsAddressRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { D as e } from "./date-input-field-rac-BnlAOn12.js";
2
+ import { D as e } from "./date-input-field-rac-DeL5vuE7.js";
3
3
  const a = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  a as ContactsBirthdateRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BDqV7s0M.js";
2
+ import { T as e } from "./text-input-field-rac-Da3_wTdh.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsCompanyRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-CbwcB33o.js";
2
+ import { E as e } from "./email-input-field-rac-CunXRyc5.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as ContactsEmailRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BDqV7s0M.js";
2
+ import { T as e } from "./text-input-field-rac-Da3_wTdh.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as ContactsFirstNameRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BDqV7s0M.js";
2
+ import { T as e } from "./text-input-field-rac-Da3_wTdh.js";
3
3
  const a = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  a as ContactsLastNameRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { P as e } from "./phone-input-field-rac-Dqh4CXdC.js";
2
+ import { P as e } from "./phone-input-field-rac-32qUvCsC.js";
3
3
  const r = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  r as ContactsPhoneRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BDqV7s0M.js";
2
+ import { T as e } from "./text-input-field-rac-Da3_wTdh.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsPositionRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-CmRRc9Dz.js";
2
+ import { C as t } from "./checkbox-field-rac-DEa78Tpf.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  c as ContactsSubscribeRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BDqV7s0M.js";
2
+ import { T as e } from "./text-input-field-rac-Da3_wTdh.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsTaxIdRAC
@@ -1,4 +1,4 @@
1
- import { D as r } from "./form-D3iU18lh.js";
1
+ import { D as r } from "./form-DHAKwnLt.js";
2
2
  const o = {
3
3
  0: r.SUNDAY,
4
4
  1: r.MONDAY,