@wix/form-elements 1.132.0 → 1.134.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 (114) hide show
  1. package/dist/component/{appointment-rac-DMYXIOL3.js → appointment-rac-CZHb5jGz.js} +246 -246
  2. package/dist/component/{bookings-address-rac-D6Ot6vm7.js → bookings-address-rac-F39MfGmX.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CkPflUxK.js → bookings-email-rac-D4CurQjr.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BbDv4BQw.js → bookings-first-name-rac-Bz9o1eLl.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DJodBCf4.js → bookings-header-rac-6mfX0WGf.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C4PRt2XO.js → bookings-last-name-rac-CD1-B7Ao.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-MPcFtzUB.js → bookings-login-bar-rac-2eQkfhBb.js} +17 -17
  8. package/dist/component/{bookings-phone-rac-BnaiOxWV.js → bookings-phone-rac-X6sSnHiH.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Cwp6pBC_.js → bookings-rich-text-rac-f2artJnn.js} +1 -1
  10. package/dist/component/{calendar.module-DnhTT4QT.js → calendar.module-CKCBG_Pg.js} +11 -11
  11. package/dist/component/{checkbox-field-rac-BA-67OHo.js → checkbox-field-rac-DoZ9bcw3.js} +26 -25
  12. package/dist/component/{checkbox-group-field-headless-B20gxYEt.js → checkbox-group-field-headless-B-d37T4z.js} +32 -31
  13. package/dist/component/{checkbox-group-field-rac--uloIFS6.js → checkbox-group-field-rac-0qYHz3g1.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-CYt86YIr.js → checkbox-group-rac-BqUJdAju.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-Bqo0QILF.js → checkbox-indicator-module-classes-6173wvuW.js} +1 -1
  16. package/dist/component/{checkbox-rac-4FLDh24V.js → checkbox-rac-BN-qNzpH.js} +1 -1
  17. package/dist/component/{contacts-address-rac-BU2H0MEF.js → contacts-address-rac-B7vWOTFf.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-DXITbTMA.js → contacts-birthdate-rac-Dl0OatzW.js} +1 -1
  19. package/dist/component/{contacts-company-rac-D_BKjGc8.js → contacts-company-rac-DIeGU0Bf.js} +1 -1
  20. package/dist/component/{contacts-email-rac-CfYSUKJ3.js → contacts-email-rac-BCH6ogWv.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-DYZUgWsB.js → contacts-first-name-rac-Cx-USWmx.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-m-zqIpMB.js → contacts-last-name-rac-CUZdJI9J.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-nJDsO_Y8.js → contacts-phone-rac-hNCW_2UC.js} +1 -1
  24. package/dist/component/{contacts-position-rac-CAGdJXSW.js → contacts-position-rac-CJfOgxZc.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-jwP65ngO.js → contacts-subscribe-rac-69721_c9.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-DUOQlZ3c.js → contacts-tax-id-rac-CXXBqWIm.js} +1 -1
  27. package/dist/component/{date-availability-EbJKjV1U.js → date-availability-NQGPIrdZ.js} +1 -1
  28. package/dist/component/{date-input-field-rac-CZRcW-0J.js → date-input-field-rac-C-we-suG.js} +60 -60
  29. package/dist/component/{date-input-rac-CasoMjfj.js → date-input-rac-Cif7Bqxc.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-V9MRWrj-.js → date-picker-field-rac-CHDkTXVH.js} +63 -63
  31. package/dist/component/{date-picker-rac-Cu5wTh1_.js → date-picker-rac-DdhgbY6W.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-YGqLIle1.js → date-time-input-field-rac-BjtDbiqE.js} +7 -7
  33. package/dist/component/{date-time-input-rac-DCEyREJI.js → date-time-input-rac-BDP5SN-i.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-DLB5mAwB.js → dext-checkbox-group-rac-CkF41kIR.js} +2 -2
  35. package/dist/component/{dext-checkbox-rac-DFV7ixAO.js → dext-checkbox-rac-DjYpsxmq.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-CEL2X1ID.js → dext-date-picker-rac-BxXZLogr.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-yLdCLDbQ.js → dext-date-time-input-rac-e4y_JjEx.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-ti_P0L_X.js → dext-dropdown-rac-DsjB3ZX7.js} +1 -1
  39. package/dist/component/{dext-email-rac-CnvdVz-J.js → dext-email-rac-ClPp1g4D.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-CmGt691Y.js → dext-number-input-rac-D2nZNzyN.js} +1 -1
  41. package/dist/component/{dext-phone-rac-JEZkz4gZ.js → dext-phone-rac-PNiQZ-Lr.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-CUk6wUPl.js → dext-radio-group-rac-DUltmMHM.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-Q1J5oqhZ.js → dext-rating-input-rac-C_apsfGT.js} +1 -1
  44. package/dist/component/{dext-tags-rac-DU9FLeGu.js → dext-tags-rac-DkB_CmOD.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-D1FOCK6O.js → dext-text-area-rac-CfoIK0S7.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-Dzb5lQjK.js → dext-text-input-rac-CIOXlk6U.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-cRLFpiNR.js → dext-url-input-rac-UHJAs3ck.js} +1 -1
  48. package/dist/component/{donation-rac-CV-PnK1D.js → donation-rac-BJfvVi_d.js} +49 -52
  49. package/dist/component/{dropdown-field-headless-D1e2XbNj.js → dropdown-field-headless-0DB-T-3t.js} +5 -5
  50. package/dist/component/{dropdown-field-rac-DkeVkP9c.js → dropdown-field-rac-DB-pd2a8.js} +5 -5
  51. package/dist/component/{dropdown-rac-ChlsWwyp.js → dropdown-rac-4T4zRBVy.js} +1 -1
  52. package/dist/component/{ecom-address-rac-DvHJ4Ym-.js → ecom-address-rac-BjWD1sRX.js} +1 -1
  53. package/dist/component/{ecom-subscription-checkbox-rac-D3LX7FVx.js → ecom-subscription-checkbox-rac-CYCufut6.js} +2 -2
  54. package/dist/component/{email-input-field-rac-B8OCp4L9.js → email-input-field-rac-DlLoY9jB.js} +4 -4
  55. package/dist/component/{events-repeater-rac-BO0-VcV3.js → events-repeater-rac-CPHJbWcZ.js} +48 -47
  56. package/dist/component/{events-rsvp-rac-CnULPDrG.js → events-rsvp-rac-NXf8Fv3A.js} +4 -4
  57. package/dist/component/{field-error-headless-DwlihJqC.js → field-error-headless-C-wyL0uw.js} +1 -1
  58. package/dist/component/{field-label-headless-C_cMy8vP.js → field-label-headless-32mvEUId.js} +1 -1
  59. package/dist/component/field-rac.module-DfEb7pBp.js +25 -0
  60. package/dist/component/file-upload-rac-BicD_Bhj.js +566 -0
  61. package/dist/component/{fixed-payment-rac-ameH1syZ.js → fixed-payment-rac-DxHalHUv.js} +4 -4
  62. package/dist/component/{form-GcotNutn.js → form-B2wZnWX9.js} +69 -69
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-D2fpKxIz.js → header-field-rac-C47Te_oW.js} +2 -2
  66. package/dist/component/{header-rac-DdWMo2xZ.js → header-rac-ChDYKTx5.js} +1 -1
  67. package/dist/component/{image-choice-rac-CBaUQX8m.js → image-choice-rac-CqTBWpcY.js} +56 -59
  68. package/dist/component/{index-nOv_Pf2O.js → index-BF_Aifc-.js} +4 -4
  69. package/dist/component/{index-CAktfVsx.js → index-Br8x_xx8.js} +2 -2
  70. package/dist/component/{isObjectLike-t9SwprFt.js → isObjectLike-D4VXbd0T.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-DpMPlfjM.js → multiline-address-field-rac-DYcfzGJb.js} +8 -8
  72. package/dist/component/{multiline-address-rac-D1XtQuAy.js → multiline-address-rac-DcGDGyL-.js} +1 -1
  73. package/dist/component/{number-input-field-rac-CFFU1JrK.js → number-input-field-rac-C_Fh8oeD.js} +5 -5
  74. package/dist/component/{number-input-rac-BDs3ngbf.js → number-input-rac-J2tCaAYx.js} +1 -1
  75. package/dist/component/{password-rac-jRXGfQn_.js → password-rac-wlfBhft8.js} +5 -5
  76. package/dist/component/{payment-input-rac-BAkJqSyU.js → payment-input-rac-DKxy3uE0.js} +5 -5
  77. package/dist/component/{phone-input-field-rac-D_1jDl7O.js → phone-input-field-rac-ClXUOLpB.js} +117 -117
  78. package/dist/component/{phone-rac-DyinFMYS.js → phone-rac-D0-Poz1e.js} +1 -1
  79. package/dist/component/{product-list-rac-BkUvhZMi.js → product-list-rac-TF5fgLyc.js} +69 -68
  80. package/dist/component/{quiz-radio-group-rac-Cha9jkTD.js → quiz-radio-group-rac-BX4V_6wg.js} +1 -1
  81. package/dist/component/{radio-button-module-classes-WQaDTnal.js → radio-button-module-classes-D8UpzVUK.js} +18 -17
  82. package/dist/component/{radio-group-field-rac-Cr35UXlg.js → radio-group-field-rac-C0zCVtjj.js} +5 -5
  83. package/dist/component/{radio-group-rac-BGRYJcwQ.js → radio-group-rac-DrKqgPRT.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-C_X51vxl.js → rating-input-field-rac-DjxfTgv5.js} +35 -33
  85. package/dist/component/{rating-input-rac-B-usRVpy.js → rating-input-rac-DO4Bpdj3.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-Bed3DsK7.js → rich-content-rac.module-DUNKiTkT.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-SHHiInVy.js → rich-text-field-rac-DIOTzVwj.js} +2 -2
  88. package/dist/component/{rich-text-rac-CND63R3E.js → rich-text-rac-C_E_vEGz.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-BdfxJ1Zq.js → service-dropdown-rac-B3gQT9Tj.js} +6 -6
  90. package/dist/component/{services-multi-choice-rac-D6BdQ2xE.js → services-multi-choice-rac-D40hZhBB.js} +7 -7
  91. package/dist/component/{signature-rac-xuYTsTUB.js → signature-rac-CKXpb2WN.js} +307 -301
  92. package/dist/component/{submit-button-rac-7YwnpPtu.js → submit-button-rac-CDS-vtXq.js} +39 -39
  93. package/dist/component/{tags-field-rac-ChzPiPvQ.js → tags-field-rac-CdQWq8k5.js} +72 -75
  94. package/dist/component/{tags-rac-BScWp3da.js → tags-rac-BwChqdGx.js} +1 -1
  95. package/dist/component/{text-area-field-rac-CDEJUPgV.js → text-area-field-rac-VCFJuHx4.js} +5 -5
  96. package/dist/component/{text-area-rac-CwiF24AW.js → text-area-rac-BICVNsdn.js} +1 -1
  97. package/dist/component/{text-input-field-rac-vg2b_7it.js → text-input-field-rac-C9gyRhcK.js} +4 -4
  98. package/dist/component/{text-input-headless-BdD-dAx2.js → text-input-headless-BdkaD-re.js} +3 -3
  99. package/dist/component/{text-input-rac-yX6rdvri.js → text-input-rac-B7buOGbq.js} +1 -1
  100. package/dist/component/{time-input-rac-B_kYmOwq.js → time-input-rac-CSFhEYi0.js} +5 -5
  101. package/dist/component/{url-input-field-rac-NJqyqxLi.js → url-input-field-rac-BIXokgHy.js} +5 -5
  102. package/dist/component/{url-input-rac-BqIKc9nY.js → url-input-rac-tTN0GaTH.js} +1 -1
  103. package/dist/component/{use-dropdown-option-class-name-DFW55r3E.js → use-dropdown-option-class-name-C6zB6TNA.js} +3 -3
  104. package/dist/component/{use-dropdown-trigger-class-name-Df-nqoeG.js → use-dropdown-trigger-class-name-CEq68SuK.js} +2 -2
  105. package/dist/component/use-element-state-class-name-BFZzVwqe.js +23 -0
  106. package/dist/component/use-hoverable-input-class-name-CzZmczhf.js +25 -0
  107. package/dist/component/{use-service-options-base-B64QpFwc.js → use-service-options-base-DOCVW9ax.js} +1 -1
  108. package/dist/component/use-text-input-class-name-BNX3qkmh.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-BIBNQEOK.js +0 -25
  111. package/dist/component/file-upload-rac-CjBKgUCk.js +0 -561
  112. package/dist/component/use-element-state-class-name-D008EeZn.js +0 -20
  113. package/dist/component/use-hoverable-input-class-name-CVtF0FGy.js +0 -23
  114. package/dist/component/use-text-input-class-name-BSDU7QEO.js +0 -6
@@ -1,20 +1,20 @@
1
1
  import t, { useState as $, useMemo as B, useCallback as V, useRef as k } from "react";
2
2
  import x from "classnames";
3
- import { NumberField as q, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as w } from "react-aria-components";
4
- import { bn as z, bo as H, bd as K, bi as P, aF as Z, bh as L, be as X, bj as j, al as ee, I as te, h as se, m as ne, l as oe } from "./form-GcotNutn.js";
5
- import { f as C, a as y } from "./find-child-C60k4CxG.js";
6
- import { L as re } from "./field-label-headless-C_cMy8vP.js";
3
+ import { NumberField as z, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as w } from "react-aria-components";
4
+ import { bn as q, bo as H, bd as K, bi as P, aF as Z, bh as y, be as X, bj as j, al as ee, I as te, h as se, m as ne, l as oe } from "./form-B2wZnWX9.js";
5
+ import { f as b, a as L } from "./find-child-C60k4CxG.js";
6
+ import { L as re } from "./field-label-headless-32mvEUId.js";
7
7
  import { S as ae } from "./selection-indicator-XQ8MYHUQ.js";
8
8
  import { u as le } from "./use-invoke-callback-UH73A_J3.js";
9
9
  import { C as M } from "./chevron-down-icon-CcpVm6B-.js";
10
- import { C as ce } from "./checkbox-indicator-module-classes-Bqo0QILF.js";
11
- import { s as v } from "./field-rac.module-BIBNQEOK.js";
12
- import { u as ue } from "./use-element-state-class-name-D008EeZn.js";
13
- import { u as me } from "./use-text-input-class-name-BSDU7QEO.js";
10
+ import { C as ce } from "./checkbox-indicator-module-classes-6173wvuW.js";
11
+ import { s as v } from "./field-rac.module-DfEb7pBp.js";
12
+ import { u as ue } from "./use-element-state-class-name-BFZzVwqe.js";
13
+ import { u as me } from "./use-text-input-class-name-BNX3qkmh.js";
14
14
  const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = ie, validation: c }) => {
15
15
  const [m, i] = $((o == null ? void 0 : o.length) || 0), u = B(() => o ?? [], [
16
16
  o
17
- ]), d = z(), g = H(), E = K(), { validateFields: p } = P(), F = c.predefined.objectArrayOptions.maxItems, O = B(() => Z({
17
+ ]), d = q(), g = H(), C = K(), { validateFields: p } = P(), F = c.predefined.objectArrayOptions.maxItems, O = B(() => Z({
18
18
  form: {
19
19
  fields: s,
20
20
  steps: [
@@ -29,16 +29,16 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
29
29
  s,
30
30
  a,
31
31
  e
32
- ]), _ = B(() => l.reduce((b, I) => {
32
+ ]), _ = B(() => l.reduce((E, I) => {
33
33
  const [h, N] = I.errorPath.split("/"), A = parseInt(h, 10);
34
- return b[A] || (b[A] = []), b[A].push({
34
+ return E[A] || (E[A] = []), E[A].push({
35
35
  ...I,
36
36
  errorPath: N
37
- }), b;
37
+ }), E;
38
38
  }, []), [
39
39
  l
40
- ]), G = V((b) => {
41
- const I = Number.isNaN(b) ? 0 : Math.min(Math.max(b, 0), F);
40
+ ]), G = V((E) => {
41
+ const I = Number.isNaN(E) ? 0 : Math.min(Math.max(E, 0), F);
42
42
  i(I), n == null || n(Array.from({
43
43
  length: I
44
44
  }, (h, N) => u[N] ?? {}));
@@ -46,12 +46,12 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
46
46
  F,
47
47
  u,
48
48
  n
49
- ]), D = V((b) => (I, h) => {
49
+ ]), D = V((E) => (I, h) => {
50
50
  const N = Array.from({
51
51
  length: m
52
52
  }, (A, U) => u[U] ?? {});
53
- N[b] = {
54
- ...N[b],
53
+ N[E] = {
54
+ ...N[E],
55
55
  [I]: h
56
56
  }, n == null || n(N);
57
57
  }, [
@@ -67,26 +67,26 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
67
67
  formView: O,
68
68
  formSchema: d,
69
69
  formFields: g,
70
- fieldActions: E,
70
+ fieldActions: C,
71
71
  validateFields: p,
72
72
  changeGuestCount: G,
73
73
  changeGuestField: D
74
74
  };
75
75
  }, pe = [], Ee = {}, r = ({ children: e, className: s }) => {
76
- const a = L(), { id: o, FieldLayout: n } = a, { guestLimit: l, guestCount: c, guests: m, errorsByIndex: i, formView: u, changeGuestCount: d, changeGuestField: g } = de(a), E = C(e, r.Label), p = C(e, r.GuestCount), F = C(e, r.GuestToggle), O = C(e, r.Guests), _ = l > 1;
76
+ const a = y(), { id: o, FieldLayout: n } = a, { guestLimit: l, guestCount: c, guests: m, errorsByIndex: i, formView: u, changeGuestCount: d, changeGuestField: g } = de(a), C = b(e, r.Label), p = b(e, r.GuestCount), F = b(e, r.GuestToggle), O = b(e, r.Guests), _ = l > 1;
77
77
  return /* @__PURE__ */ t.createElement(n, {
78
78
  fieldId: o,
79
- renderLabel: () => _ ? E : null,
79
+ renderLabel: () => _ ? C : null,
80
80
  renderInput: () => /* @__PURE__ */ t.createElement("div", {
81
81
  className: s
82
- }, _ ? y(p, {
82
+ }, _ ? L(p, {
83
83
  guestLimit: l,
84
84
  guestCount: c,
85
85
  onGuestCountChange: d
86
- }) : y(F, {
86
+ }) : L(F, {
87
87
  guestCount: c,
88
88
  onGuestCountChange: d
89
- }), y(O, {
89
+ }), L(O, {
90
90
  guestCount: c,
91
91
  guests: m,
92
92
  errorsByIndex: i,
@@ -98,8 +98,8 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
98
98
  }, Ce = ({ className: e }) => /* @__PURE__ */ t.createElement(re, {
99
99
  className: e
100
100
  }, null), f = ({ children: e, ...s }) => {
101
- const { guestLimit: a, guestCount: o, onGuestCountChange: n } = s, { label: l, disabled: c, readOnly: m, onBlur: i, onFocus: u } = L(), d = le(i), g = C(e, f.Control);
102
- return /* @__PURE__ */ t.createElement(q, {
101
+ const { guestLimit: a, guestCount: o, onGuestCountChange: n } = s, { label: l, disabled: c, readOnly: m, onBlur: i, onFocus: u } = y(), d = le(i), g = b(e, f.Control);
102
+ return /* @__PURE__ */ t.createElement(z, {
103
103
  "aria-label": l,
104
104
  value: o,
105
105
  onChange: n,
@@ -112,14 +112,14 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
112
112
  onFocus: u
113
113
  }, g);
114
114
  }, be = ({ children: e, className: s }) => {
115
- const { disabled: a, readOnly: o } = L(), n = C(e, f.Input), l = C(e, f.Decrement), c = C(e, f.Increment);
115
+ const { disabled: a, readOnly: o } = y(), n = b(e, f.Input), l = b(e, f.Decrement), c = b(e, f.Increment);
116
116
  return /* @__PURE__ */ t.createElement(W, {
117
117
  className: s,
118
118
  isDisabled: a,
119
119
  isReadOnly: o
120
120
  }, n, c, l);
121
121
  }, ge = ({ className: e }) => {
122
- const { id: s } = L(), { inputId: a, ariaDescribedBy: o } = X(), n = k(null);
122
+ const { id: s } = y(), { inputId: a, ariaDescribedBy: o } = X(), n = k(null);
123
123
  return j(() => {
124
124
  var l;
125
125
  (l = n.current) == null || l.focus();
@@ -137,12 +137,12 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
137
137
  slot: "increment",
138
138
  className: s
139
139
  }, e), S = ({ children: e, className: s, ...a }) => {
140
- const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = L(), { inputId: g, ariaDescribedBy: E } = X(), p = k(null);
140
+ const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = y(), { inputId: g, ariaDescribedBy: C } = X(), p = k(null);
141
141
  j(() => {
142
142
  var G;
143
143
  (G = p.current) == null || G.focus();
144
144
  }, l);
145
- const F = C(e, S.Input), O = C(e, S.Label), _ = V((G) => {
145
+ const F = b(e, S.Input), O = b(e, S.Label), _ = V((G) => {
146
146
  n(G ? 1 : 0);
147
147
  }, [
148
148
  n
@@ -150,7 +150,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
150
150
  return /* @__PURE__ */ t.createElement(J, {
151
151
  inputRef: p,
152
152
  id: g,
153
- "aria-describedby": E,
153
+ "aria-describedby": C,
154
154
  isSelected: o > 0,
155
155
  onChange: _,
156
156
  isDisabled: m,
@@ -159,10 +159,11 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
159
159
  onFocus: d
160
160
  }, /* @__PURE__ */ t.createElement(Q, {
161
161
  className: s
162
- }, ({ isSelected: G, isHovered: D }) => /* @__PURE__ */ t.createElement(t.Fragment, null, y(F, {
162
+ }, ({ isSelected: G, isHovered: D, isFocused: E }) => /* @__PURE__ */ t.createElement(t.Fragment, null, L(F, {
163
163
  isSelected: G,
164
- isHovered: D
165
- }), y(O, {
164
+ isHovered: D,
165
+ isFocused: E
166
+ }), L(O, {
166
167
  label: c
167
168
  }))));
168
169
  }, Fe = ({ className: e, ...s }) => {
@@ -171,26 +172,26 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
171
172
  className: e
172
173
  }, a);
173
174
  }, T = ({ children: e, className: s, ...a }) => {
174
- const { guestCount: o, guests: n, errorsByIndex: l, formView: c, onGuestFieldChange: m } = a, { disabled: i, readOnly: u } = L(), d = B(() => ({
175
+ const { guestCount: o, guests: n, errorsByIndex: l, formView: c, onGuestFieldChange: m } = a, { disabled: i, readOnly: u } = y(), d = B(() => ({
175
176
  ...c,
176
- fields: c.fields.map((E) => ({
177
- ...E,
177
+ fields: c.fields.map((C) => ({
178
+ ...C,
178
179
  properties: {
179
- ...E.properties,
180
- disabled: !!(i || E.properties.disabled),
181
- readOnly: !!(u || E.properties.readOnly)
180
+ ...C.properties,
181
+ disabled: !!(i || C.properties.disabled),
182
+ readOnly: !!(u || C.properties.readOnly)
182
183
  }
183
184
  }))
184
185
  }), [
185
186
  c,
186
187
  i,
187
188
  u
188
- ]), g = C(e, T.Guest);
189
+ ]), g = b(e, T.Guest);
189
190
  return o ? /* @__PURE__ */ t.createElement("div", {
190
191
  className: s
191
192
  }, Array.from({
192
193
  length: o
193
- }, (E, p) => y(g, {
194
+ }, (C, p) => L(g, {
194
195
  key: p,
195
196
  index: p,
196
197
  formView: d,
@@ -199,7 +200,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
199
200
  onFieldChange: m(p)
200
201
  }))) : null;
201
202
  }, Ie = ({ className: e, ...s }) => {
202
- const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, m = z(), i = H(), u = K(), { validateFields: d } = P();
203
+ const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, m = q(), i = H(), u = K(), { validateFields: d } = P();
203
204
  return /* @__PURE__ */ t.createElement("div", {
204
205
  className: e,
205
206
  "data-hook": `guest-${a}`
@@ -225,11 +226,11 @@ r.Label = Ce;
225
226
  r.GuestCount = f;
226
227
  r.GuestToggle = S;
227
228
  r.Guests = T;
228
- const Ne = "_container_z48oy_1", _e = "_countGroup_z48oy_8", ye = "_increment_z48oy_18", Le = "_decrement_z48oy_19", R = {
229
+ const Ne = "_container_p2psq_1", _e = "_countGroup_p2psq_8", Le = "_increment_p2psq_18", ye = "_decrement_p2psq_19", R = {
229
230
  container: Ne,
230
231
  countGroup: _e,
231
- increment: ye,
232
- decrement: Le
232
+ increment: Le,
233
+ decrement: ye
233
234
  }, Oe = () => {
234
235
  const e = me(R.countGroup), s = ue({
235
236
  globalClasses: oe,
@@ -260,7 +261,7 @@ const Ne = "_container_z48oy_1", _e = "_countGroup_z48oy_8", ye = "_increment_z4
260
261
  })), /* @__PURE__ */ t.createElement(r.Guests, {
261
262
  className: R.container
262
263
  }, /* @__PURE__ */ t.createElement(r.Guests.Guest, null)));
263
- }, ze = () => /* @__PURE__ */ t.createElement(Oe, null);
264
+ }, qe = () => /* @__PURE__ */ t.createElement(Oe, null);
264
265
  export {
265
- ze as EventsRepeaterRAC
266
+ qe as EventsRepeaterRAC
266
267
  };
@@ -1,12 +1,12 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as m } from "@wix/ricos/viewer";
3
3
  import s from "classnames";
4
- import { a, s as n, R as c } from "./radio-button-module-classes-WQaDTnal.js";
4
+ import { a, s as n, R as c } from "./radio-button-module-classes-D8UpzVUK.js";
5
5
  import { E as i } from "./error-icon-hZxQ6DEy.js";
6
- import { s as o } from "./field-rac.module-BIBNQEOK.js";
7
- import { I as E, U as p, P as R, Q as O, v as _, p as L, R as I } from "./form-GcotNutn.js";
6
+ import { s as o } from "./field-rac.module-DfEb7pBp.js";
7
+ import { I as E, U as p, P as R, Q as O, v as _, p as L, R as I } from "./form-B2wZnWX9.js";
8
8
  import { o as D } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as S } from "./use-element-state-class-name-D008EeZn.js";
9
+ import { u as S } from "./use-element-state-class-name-BFZzVwqe.js";
10
10
  const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(a, {
11
11
  className: l
12
12
  }, r);
@@ -1,5 +1,5 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { bh as c, be as i, b9 as f, aS as h, aT as x } from "./form-GcotNutn.js";
2
+ import { bh as c, be as i, b9 as f, aS as h, aT as x } from "./form-B2wZnWX9.js";
3
3
  const H = ({ className: r, children: e }) => {
4
4
  const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
@@ -1,4 +1,4 @@
1
- import { bh as m, ay as d, az as p, be as D, br as B } from "./form-GcotNutn.js";
1
+ import { bh as m, ay as d, az as p, be as D, br as B } from "./form-B2wZnWX9.js";
2
2
  import l from "react";
3
3
  import { f as L } from "./find-child-C60k4CxG.js";
4
4
  import { sdk as g } from "@wix/image-kit";
@@ -0,0 +1,25 @@
1
+ const o = "_label_1l2r2_1", e = "_requiredMark_1l2r2_11", t = "_input_1l2r2_16", r = "_inputGroup_1l2r2_17", n = "_inputHover_1l2r2_70", c = "_innerInput_1l2r2_141", _ = "_dropdownTrigger_1l2r2_191", p = "_dropdownIcon_1l2r2_201", l = "_dropdownPopover_1l2r2_220", s = "_selectPopover_1l2r2_226", i = "_selectOption_1l2r2_253", u = "_selectOptionHover_1l2r2_276", d = "_selectOptionSelected_1l2r2_280", h = "_selectOptionWithoutFocusRing_1l2r2_284", b = "_description_1l2r2_290", k = "_error_1l2r2_306", v = "_checkbox_1l2r2_325", I = "_checkboxInput_1l2r2_348", x = "_checkboxInputSelected_1l2r2_387", O = "_checkboxInputHover_1l2r2_391", g = {
2
+ label: o,
3
+ requiredMark: e,
4
+ input: t,
5
+ inputGroup: r,
6
+ inputHover: n,
7
+ innerInput: c,
8
+ dropdownTrigger: _,
9
+ dropdownIcon: p,
10
+ dropdownPopover: l,
11
+ selectPopover: s,
12
+ selectOption: i,
13
+ selectOptionHover: u,
14
+ selectOptionSelected: d,
15
+ selectOptionWithoutFocusRing: h,
16
+ description: b,
17
+ error: k,
18
+ checkbox: v,
19
+ checkboxInput: I,
20
+ checkboxInputSelected: x,
21
+ checkboxInputHover: O
22
+ };
23
+ export {
24
+ g as s
25
+ };