@wix/form-elements 1.147.0 → 1.148.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 (112) hide show
  1. package/dist/component/{appointment-rac-BG5-bIZU.js → appointment-rac-BNqXl3dq.js} +93 -89
  2. package/dist/component/{bookings-address-rac-8e8PqKsp.js → bookings-address-rac-DzLf588z.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CtlnU8ws.js → bookings-email-rac-BCNWH7ss.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CrivNlXM.js → bookings-first-name-rac-D36aHUOJ.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DWDAjfqq.js → bookings-header-rac-CNr2y2ES.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-qAthWem2.js → bookings-last-name-rac-yHE6ZIxr.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-BNyUDqlM.js → bookings-login-bar-rac-C3weOc1i.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-Tc39XLr7.js → bookings-phone-rac-CIo_ApRf.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CPNaPtFK.js → bookings-rich-text-rac-rgKnvt57.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DEa78Tpf.js → checkbox-field-rac-CMaVxLNe.js} +9 -7
  11. package/dist/component/{checkbox-group-field-headless-BxBaMg29.js → checkbox-group-field-headless-XPtqS8Km.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CRRP03Qk.js → checkbox-group-field-rac-C_58XfQt.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-TOofMGl3.js → checkbox-group-rac-FQrWViSh.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-6173wvuW.js → checkbox-indicator-module-classes-akWZsZNn.js} +1 -1
  15. package/dist/component/{checkbox-rac-CHMHr8Ry.js → checkbox-rac-C5Lj2b1N.js} +1 -1
  16. package/dist/component/{contacts-address-rac-Bc5yDvTL.js → contacts-address-rac-OhpLzD0X.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-Ubtg5ncv.js → contacts-birthdate-rac-Dnqq84ct.js} +1 -1
  18. package/dist/component/{contacts-company-rac-BksH9IoV.js → contacts-company-rac-DMnTF55t.js} +1 -1
  19. package/dist/component/{contacts-email-rac-DDPEtMAm.js → contacts-email-rac-DmZhScW2.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-DUlCvEdx.js → contacts-first-name-rac-B6A4fuzK.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-BikqNgUr.js → contacts-last-name-rac-DVz97lew.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-B4OEgM_8.js → contacts-phone-rac-DV8aO0uS.js} +1 -1
  23. package/dist/component/{contacts-position-rac-BfybzySV.js → contacts-position-rac-BP_yBIE4.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-CMHb33v1.js → contacts-subscribe-rac-wmTprtLf.js} +1 -1
  25. package/dist/component/{contacts-tax-id-rac-C-qEqwO5.js → contacts-tax-id-rac-CUEPBQye.js} +1 -1
  26. package/dist/component/{date-availability-DZ3J3LLm.js → date-availability-BK_0gLRv.js} +1 -1
  27. package/dist/component/{date-input-field-rac-DeL5vuE7.js → date-input-field-rac-BfWPvRnd.js} +75 -69
  28. package/dist/component/{date-input-rac-Di6TQvFf.js → date-input-rac-B7vAMRBX.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BcdpTkjV.js → date-picker-field-rac-CpDY4EkU.js} +10 -8
  30. package/dist/component/{date-picker-rac-Brne65gr.js → date-picker-rac-BCswaZB1.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-BtQfAxRp.js → date-time-input-field-rac-D9w4eEa0.js} +115 -109
  32. package/dist/component/{date-time-input-rac-DM_HXiqV.js → date-time-input-rac-_im8-JRC.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-WTVwhGG0.js → dext-checkbox-group-rac-Di7B1Wzv.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-BR5YwmLQ.js → dext-checkbox-rac-BPendOsP.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-DvDuRGYi.js → dext-date-picker-rac-_-Ig9Qn6.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-C6RgbaVv.js → dext-date-time-input-rac-dKFW87yu.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-CWjSdcZx.js → dext-dropdown-rac-Cpdpps7P.js} +1 -1
  38. package/dist/component/{dext-email-rac-D-C1gVTq.js → dext-email-rac-D4UmYH5m.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-YKzZS2ZG.js → dext-number-input-rac-DUetGnYJ.js} +1 -1
  40. package/dist/component/{dext-phone-rac-CFZlEH2a.js → dext-phone-rac-Bsz_DAT9.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-DiH0wIIl.js → dext-radio-group-rac-B_soj2FD.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-D0s-i0qO.js → dext-rating-input-rac-cm40qt4O.js} +1 -1
  43. package/dist/component/{dext-tags-rac-Br48OQQ5.js → dext-tags-rac-D1ULx6t1.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-6jG8gJ7i.js → dext-text-area-rac-IkL67rHB.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-FAJTCXuf.js → dext-text-input-rac-DsYSTEL2.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BoMP8sQB.js → dext-url-input-rac-BKvEkpYu.js} +1 -1
  47. package/dist/component/{donation-rac-DNi4p-v5.js → donation-rac-CaCXMa-H.js} +60 -58
  48. package/dist/component/{dropdown-field-headless-7SCC-xOC.js → dropdown-field-headless-DcrQK8mL.js} +29 -27
  49. package/dist/component/{dropdown-field-rac-CMzZh6J6.js → dropdown-field-rac-CuGoz_6I.js} +4 -4
  50. package/dist/component/{dropdown-rac-qeugpHXY.js → dropdown-rac-rIe6ZqaZ.js} +1 -1
  51. package/dist/component/{ecom-address-rac-D8b_L5md.js → ecom-address-rac-DT0rzvvp.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-BnAuR9La.js → ecom-subscription-checkbox-rac-ZfbiME6e.js} +2 -2
  53. package/dist/component/{email-input-field-rac-CunXRyc5.js → email-input-field-rac-8Qn3yskh.js} +4 -4
  54. package/dist/component/{events-repeater-rac-DMjyIOkB.js → events-repeater-rac-DyHrMd3y.js} +12 -8
  55. package/dist/component/{events-rsvp-rac-BsuDPq2K.js → events-rsvp-rac-CoL-euuc.js} +4 -4
  56. package/dist/component/{field-error-headless-E8WjFr_n.js → field-error-headless-RylIeqXr.js} +1 -1
  57. package/dist/component/{field-label-headless-BakLOu5E.js → field-label-headless-d3hZxIEc.js} +1 -1
  58. package/dist/component/field-rac.module-DP0lkkEv.js +25 -0
  59. package/dist/component/{file-upload-rac-Clu_c--0.js → file-upload-rac-rXbabrgc.js} +148 -144
  60. package/dist/component/{fixed-payment-rac-CzAXxsb-.js → fixed-payment-rac-CaR7pXXA.js} +4 -4
  61. package/dist/component/{form-DHAKwnLt.js → form-DhIEC3nB.js} +2251 -2256
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-CwmVpz3r.js → header-field-rac-nELbyGjP.js} +2 -2
  65. package/dist/component/{header-rac-ahkGRjSy.js → header-rac-q80EQNmM.js} +1 -1
  66. package/dist/component/{image-choice-rac-BwxkkdUu.js → image-choice-rac-CLMiTQK0.js} +32 -32
  67. package/dist/component/{index-BQf23zZi.js → index-C-jVrv9Y.js} +4 -4
  68. package/dist/component/{index-BFi_n6B7.js → index-DnLJzPM-.js} +2 -2
  69. package/dist/component/{isObjectLike-DHcMRYYH.js → isObjectLike-Bf577MHV.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-C6xaqNOk.js → multiline-address-field-rac-BVAv1w9F.js} +106 -88
  71. package/dist/component/{multiline-address-rac-DF4TFuDx.js → multiline-address-rac-qMuUHA9U.js} +1 -1
  72. package/dist/component/{number-input-field-rac-uVJ3SBv2.js → number-input-field-rac-B_vnBWFG.js} +16 -14
  73. package/dist/component/{number-input-rac-D6ERhrSM.js → number-input-rac-BPCIW8Fz.js} +1 -1
  74. package/dist/component/{password-rac-CAiC0ZKl.js → password-rac-D72HG72u.js} +13 -11
  75. package/dist/component/{payment-input-rac-Bu25xvby.js → payment-input-rac-DthVgsAi.js} +13 -11
  76. package/dist/component/{phone-input-field-rac-32qUvCsC.js → phone-input-field-rac-XIPkH8Fb.js} +7 -7
  77. package/dist/component/{phone-rac-mNrpj30q.js → phone-rac-U94fCfer.js} +1 -1
  78. package/dist/component/{product-list-rac-zHdM9rHw.js → product-list-rac-BRMGPyhr.js} +49 -49
  79. package/dist/component/{quiz-radio-group-rac-BaSlT8w3.js → quiz-radio-group-rac-DafNzzgX.js} +1 -1
  80. package/dist/component/radio-button-module-classes-DtFlHID_.js +134 -0
  81. package/dist/component/{radio-group-field-rac-DI0UgTBr.js → radio-group-field-rac-BXrYWjew.js} +5 -5
  82. package/dist/component/{radio-group-rac-D2ESG8J4.js → radio-group-rac-BNyFfQYV.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-BYT2XqOK.js → rating-input-field-rac-KbkiVCZ7.js} +5 -5
  84. package/dist/component/{rating-input-rac-D-5CmVAX.js → rating-input-rac-zT4vPkwP.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-Dp9Advo9.js → rich-content-rac.module-C0OQetct.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-COEUwoXQ.js → rich-text-field-rac-T4NoShC0.js} +2 -2
  87. package/dist/component/{rich-text-rac-CQZLjBQ0.js → rich-text-rac-m6VRCRZu.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-BTtJVFv8.js → service-dropdown-rac-BFwKhL1l.js} +5 -5
  89. package/dist/component/{services-multi-choice-rac-hbY3g0Kb.js → services-multi-choice-rac-DjzcuRWv.js} +7 -7
  90. package/dist/component/{signature-rac-CTCNclwL.js → signature-rac-B1LPKnIw.js} +271 -269
  91. package/dist/component/{submit-button-rac-kKGeVgsG.js → submit-button-rac-Cz3PVtW4.js} +2 -2
  92. package/dist/component/{tags-field-rac-CVf7oQr_.js → tags-field-rac-DzSoL__s.js} +75 -75
  93. package/dist/component/{tags-rac-DiX1_nTT.js → tags-rac-DMYJDrm-.js} +1 -1
  94. package/dist/component/{text-area-field-rac-IhBNXiDl.js → text-area-field-rac-SuMzBm-Q.js} +15 -13
  95. package/dist/component/{text-area-rac-DHevCtFF.js → text-area-rac-C-zmnJgt.js} +1 -1
  96. package/dist/component/{text-input-field-rac-Da3_wTdh.js → text-input-field-rac-BmQlXTK9.js} +4 -4
  97. package/dist/component/text-input-headless-BsrjGTK4.js +47 -0
  98. package/dist/component/{text-input-rac-564LIZ1_.js → text-input-rac-DhQFKG4h.js} +1 -1
  99. package/dist/component/{time-input-rac-p-Nnsxp_.js → time-input-rac-CRZZdbTI.js} +29 -27
  100. package/dist/component/{url-input-field-rac-DjrcpRtm.js → url-input-field-rac-D617Pvsf.js} +20 -18
  101. package/dist/component/{url-input-rac-B3brpyop.js → url-input-rac-CLvxaWZz.js} +1 -1
  102. package/dist/component/{use-dropdown-trigger-class-name-BWTT7ltv.js → use-dropdown-trigger-class-name-C4uqTKFP.js} +4 -4
  103. package/dist/component/{use-element-state-class-name-CUZuhFvZ.js → use-element-state-class-name-DJx-T0zf.js} +1 -1
  104. package/dist/component/{use-hoverable-input-class-name-ugX8-g4E.js → use-hoverable-input-class-name-pwVZXwrY.js} +3 -3
  105. package/dist/component/{use-is-forced-open-dropdown-DUZMvWpk.js → use-is-forced-open-dropdown-DBpm1D-o.js} +1 -1
  106. package/dist/component/{use-service-options-base-hqO9Ev38.js → use-service-options-base-xHeVTve3.js} +1 -1
  107. package/dist/component/use-text-input-class-name-CrEjJ2Z8.js +6 -0
  108. package/package.json +2 -2
  109. package/dist/component/field-rac.module-DfEb7pBp.js +0 -25
  110. package/dist/component/radio-button-module-classes-BdWjkBlX.js +0 -132
  111. package/dist/component/text-input-headless-DcZRRXCp.js +0 -45
  112. package/dist/component/use-text-input-class-name-wp9dzpEy.js +0 -6
@@ -1,17 +1,17 @@
1
1
  import e, { useState as N, useRef as x } from "react";
2
2
  import { RicosViewer as O } from "@wix/ricos/viewer";
3
3
  import d from "classnames";
4
- import { bo as E, bl as I, bq as A, by as B, S as v, a0 as V, H as P, v as M } from "./form-DHAKwnLt.js";
4
+ import { bo as E, bl as I, bq as v, by as A, S as B, a0 as V, H as P, v as M } from "./form-DhIEC3nB.js";
5
5
  import { TextField as k, Group as q, Input as H, Button as U } from "react-aria-components";
6
6
  import { f as u, a as b } from "./find-child-C60k4CxG.js";
7
- import { D as j, E as W } from "./field-error-headless-E8WjFr_n.js";
8
- import { L as Z } from "./field-label-headless-BakLOu5E.js";
7
+ import { D as j, E as W } from "./field-error-headless-RylIeqXr.js";
8
+ import { L as Z } from "./field-label-headless-d3hZxIEc.js";
9
9
  import { E as G } from "./error-icon-hZxQ6DEy.js";
10
10
  import { H as Q } from "./custom-focus-class-_483Pkwp.js";
11
- import { s as p } from "./field-rac.module-DfEb7pBp.js";
12
- import { u as $ } from "./use-text-input-class-name-wp9dzpEy.js";
11
+ import { s as p } from "./field-rac.module-DP0lkkEv.js";
12
+ import { u as $ } from "./use-text-input-class-name-CrEjJ2Z8.js";
13
13
  const t = ({ children: o, className: r }) => {
14
- const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: y, FieldLayout: _ } = E(), { labelId: R } = I(), [D, F] = N(!1), L = u(o, t.Label), T = u(o, t.Control), w = u(o, t.Description), S = u(o, t.Error);
14
+ const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: y, FieldLayout: _ } = E(), { labelId: R } = I(), [D, F] = N(!1), L = u(o, t.Label), T = u(o, t.Control), S = u(o, t.Description), w = u(o, t.Error);
15
15
  return /* @__PURE__ */ e.createElement(_, {
16
16
  fieldId: l,
17
17
  renderLabel: () => L,
@@ -31,7 +31,7 @@ const t = ({ children: o, className: r }) => {
31
31
  isVisible: D,
32
32
  onToggleVisibility: () => F((h) => !h)
33
33
  })),
34
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, w, S)
34
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, S, w)
35
35
  });
36
36
  }, z = ({ children: o, className: r, ...l }) => {
37
37
  const { isVisible: s, onToggleVisibility: c } = l, { disabled: n, hasError: m } = E(), a = u(o, t.Input), i = u(o, t.Toggle);
@@ -47,9 +47,11 @@ const t = ({ children: o, className: r }) => {
47
47
  }));
48
48
  }, J = ({ className: o, ...r }) => {
49
49
  const { isVisible: l } = r, { id: s, placeholder: c } = E(), { inputId: n, ariaDescribedBy: m } = I(), a = x(null);
50
- return A(() => {
50
+ return v(() => {
51
51
  var i;
52
- (i = a.current) == null || i.focus();
52
+ (i = a.current) == null || i.focus({
53
+ preventScroll: !0
54
+ });
53
55
  }, s), /* @__PURE__ */ e.createElement(H, {
54
56
  ref: a,
55
57
  id: n,
@@ -119,9 +121,9 @@ const X = (o) => /* @__PURE__ */ e.createElement("svg", {
119
121
  content: o,
120
122
  locale: r
121
123
  }), re = () => {
122
- const { t: o } = B(), r = $(g.control);
124
+ const { t: o } = A(), r = $(g.control);
123
125
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
124
- className: d(v, p.label)
126
+ className: d(B, p.label)
125
127
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
126
128
  className: d(V, p.requiredMark)
127
129
  })), /* @__PURE__ */ e.createElement(t.Control, {
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as j } from "react";
2
2
  import { RicosViewer as w } from "@wix/ricos/viewer";
3
3
  import p from "classnames";
4
4
  import { TextField as z, Group as J, Input as K } from "react-aria-components";
5
- import { bo as R, bl as D, bg as T, by as W, bq as X, S as Y, a0 as Z, H as ee, v as re } from "./form-DHAKwnLt.js";
5
+ import { bo as R, bl as S, bg as T, by as W, bq as X, S as Y, a0 as Z, H as ee, v as re } from "./form-DhIEC3nB.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as te, E as ne } from "./field-error-headless-E8WjFr_n.js";
8
- import { L as ae } from "./field-label-headless-BakLOu5E.js";
7
+ import { D as te, E as ne } from "./field-error-headless-RylIeqXr.js";
8
+ import { L as ae } from "./field-label-headless-d3hZxIEc.js";
9
9
  import { f as N, g as se } from "./payment-field-utils-DobiK5Xh.js";
10
10
  import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
11
11
  import { E as le } from "./error-icon-hZxQ6DEy.js";
12
12
  import { H as ce } from "./custom-focus-class-_483Pkwp.js";
13
- import { s as d } from "./field-rac.module-DfEb7pBp.js";
14
- import { u as ie } from "./use-text-input-class-name-wp9dzpEy.js";
13
+ import { s as d } from "./field-rac.module-DP0lkkEv.js";
14
+ import { u as ie } from "./use-text-input-class-name-CrEjJ2Z8.js";
15
15
  function ue(e, t) {
16
16
  return {
17
17
  productId: e.id,
@@ -27,7 +27,7 @@ function h(e) {
27
27
  }
28
28
  const n = ({ children: e }) => {
29
29
  var O, g, A, V;
30
- const { id: t, value: a, onChange: s, disabled: u, readOnly: m, required: I, hasError: y, onBlur: o, onFocus: E, FieldLayout: M, validation: C } = R(), { labelId: q, prefixId: G } = D(), { regionalFormat: c } = T(), S = (A = (g = (O = C == null ? void 0 : C.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : g.products) == null ? void 0 : A[0], _ = (V = a == null ? void 0 : a.at(0)) == null ? void 0 : V.price, [F, b] = oe({
30
+ const { id: t, value: a, onChange: s, disabled: u, readOnly: m, required: I, hasError: y, onBlur: o, onFocus: E, FieldLayout: M, validation: C } = R(), { labelId: q, prefixId: G } = S(), { regionalFormat: c } = T(), D = (A = (g = (O = C == null ? void 0 : C.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : g.products) == null ? void 0 : A[0], _ = (V = a == null ? void 0 : a.at(0)) == null ? void 0 : V.price, [F, b] = oe({
31
31
  sourceValue: _,
32
32
  format: (l) => N(String(l ?? ""), c),
33
33
  regionalFormat: c
@@ -48,12 +48,12 @@ const n = ({ children: e }) => {
48
48
  return;
49
49
  }
50
50
  s([
51
- ue(S, L)
51
+ ue(D, L)
52
52
  ]);
53
53
  }
54
54
  }, [
55
55
  s,
56
- S,
56
+ D,
57
57
  c,
58
58
  _,
59
59
  b
@@ -82,7 +82,7 @@ const n = ({ children: e }) => {
82
82
  isInvalid: s
83
83
  }, u, m);
84
84
  }, me = ({ className: e }) => {
85
- const { currency: t } = T(), { t: a } = W(), { prefixId: s } = D();
85
+ const { currency: t } = T(), { t: a } = W(), { prefixId: s } = S();
86
86
  return t ? /* @__PURE__ */ r.createElement("span", {
87
87
  id: s,
88
88
  "aria-hidden": !1,
@@ -90,10 +90,12 @@ const n = ({ children: e }) => {
90
90
  className: e
91
91
  }, t.sign || t.code) : null;
92
92
  }, pe = ({ className: e }) => {
93
- const { id: t, placeholder: a, label: s } = R(), { inputId: u, labelId: m, prefixId: I, ariaDescribedBy: y } = D(), o = j(null);
93
+ const { id: t, placeholder: a, label: s } = R(), { inputId: u, labelId: m, prefixId: I, ariaDescribedBy: y } = S(), o = j(null);
94
94
  return X(() => {
95
95
  var E;
96
- (E = o.current) == null || E.focus();
96
+ (E = o.current) == null || E.focus({
97
+ preventScroll: !0
98
+ });
97
99
  }, t), /* @__PURE__ */ r.createElement(K, {
98
100
  ref: o,
99
101
  id: u,
@@ -1,24 +1,24 @@
1
1
  import { RicosViewer as Ce } from "@wix/ricos/viewer";
2
2
  import h from "classnames";
3
3
  import t, { useMemo as j, useState as $, useRef as F, useEffect as k, useCallback as W, createContext as ee, useContext as H, useId as de } from "react";
4
- import { b7 as ye, by as D, bg as te, bx as Ee, bo as w, bl as ne, bq as fe, S as ge, a0 as he, R as be, y as Oe, H as _e, v as Ne } from "./form-DHAKwnLt.js";
4
+ import { b7 as ye, by as D, bg as te, bx as Ee, bo as w, bl as ne, bq as fe, S as ge, a0 as he, R as be, y as Oe, H as _e, v as Ne } from "./form-DhIEC3nB.js";
5
5
  import { UNSAFE_PortalProvider as Se } from "react-aria";
6
6
  import { Dialog as oe, OverlayTriggerStateContext as Le, ModalOverlay as Ie, Modal as ve, SearchField as Pe, Group as q, ListBoxItem as Fe, DialogTrigger as De, Select as we, Input as re, Autocomplete as Be } from "react-aria-components";
7
7
  import { f as g, a as I } from "./find-child-C60k4CxG.js";
8
- import { D as Re, E as xe } from "./field-error-headless-E8WjFr_n.js";
9
- import { L as Me } from "./field-label-headless-BakLOu5E.js";
8
+ import { D as Re, E as xe } from "./field-error-headless-RylIeqXr.js";
9
+ import { L as Me } from "./field-label-headless-d3hZxIEc.js";
10
10
  import { N as Te, S as je } from "./non-modal-popover-D-u13tmp.js";
11
11
  import { u as $e } from "./use-invoke-callback-UH73A_J3.js";
12
- import { a as Ae } from "./use-is-forced-open-dropdown-DUZMvWpk.js";
13
- import { V as ke, u as Ue, a as Ve } from "./use-dropdown-trigger-class-name-BWTT7ltv.js";
12
+ import { a as Ae } from "./use-is-forced-open-dropdown-DBpm1D-o.js";
13
+ import { V as ke, u as Ue, a as Ve } from "./use-dropdown-trigger-class-name-C4uqTKFP.js";
14
14
  import ae, { AsYouType as qe, isValidPhoneNumber as He, isSupportedCountry as Ge } from "libphonenumber-js";
15
15
  import "libphonenumber-js/metadata.min.json";
16
16
  import { C as Z } from "./calling-country-codes-PyWuOTmF.js";
17
17
  import { C as Ye } from "./chevron-down-icon-CcpVm6B-.js";
18
18
  import { E as ze } from "./error-icon-hZxQ6DEy.js";
19
19
  import { H as Q } from "./custom-focus-class-_483Pkwp.js";
20
- import { s as O } from "./field-rac.module-DfEb7pBp.js";
21
- import { u as Ke } from "./use-text-input-class-name-wp9dzpEy.js";
20
+ import { s as O } from "./field-rac.module-DP0lkkEv.js";
21
+ import { u as Ke } from "./use-text-input-class-name-CrEjJ2Z8.js";
22
22
  function J(e) {
23
23
  const n = e ? ae(e) : void 0, r = n == null ? void 0 : n.country;
24
24
  if (r)
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-32qUvCsC.js";
2
+ import { P as o } from "./phone-input-field-rac-XIPkH8Fb.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC
@@ -1,37 +1,37 @@
1
- import t, { useMemo as $, useCallback as M, useRef as x } from "react";
2
- import { RicosViewer as z } from "@wix/ricos/viewer";
1
+ import t, { useMemo as K, useCallback as M, useRef as x } from "react";
2
+ import { RicosViewer as $ } from "@wix/ricos/viewer";
3
3
  import b from "classnames";
4
- import { CheckboxField as G, CheckboxButton as W, NumberField as X, Group as j, Button as Q, Input as J } from "react-aria-components";
5
- import { bo as U, bl as Y, bg as w, by as Z, bq as ee, S as te, a0 as ne, T as ae, W as oe, V as re, R as se, H as le, v as ie, U as ce } from "./form-DHAKwnLt.js";
4
+ import { CheckboxField as z, CheckboxButton as G, NumberField as W, Group as X, Button as j, Input as J } from "react-aria-components";
5
+ import { bo as U, bl as Y, bg as V, by as Z, bq as ee, S as te, a0 as ne, T as ae, W as oe, V as re, R as le, H as se, v as ie, U as ce } from "./form-DhIEC3nB.js";
6
6
  import { f as I, a as f } from "./find-child-C60k4CxG.js";
7
- import { L as ue, g as me } from "./field-label-headless-BakLOu5E.js";
7
+ import { L as ue, g as me } from "./field-label-headless-d3hZxIEc.js";
8
8
  import { f as pe } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ee } from "./field-error-headless-E8WjFr_n.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-RylIeqXr.js";
10
10
  import { F as ye } from "./fieldset-headless-CD3fds9J.js";
11
11
  import { g as _e } from "./payment-field-utils-DobiK5Xh.js";
12
12
  import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
13
13
  import { E as fe } from "./error-icon-hZxQ6DEy.js";
14
- import { C as Ie } from "./checkbox-indicator-module-classes-6173wvuW.js";
15
- import { s as q } from "./field-rac.module-DfEb7pBp.js";
16
- import { o as V } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as Oe } from "./use-element-state-class-name-CUZuhFvZ.js";
14
+ import { C as Ie } from "./checkbox-indicator-module-classes-akWZsZNn.js";
15
+ import { s as q } from "./field-rac.module-DP0lkkEv.js";
16
+ import { o as Q } from "./options-rac.module-_THNq6Qq.js";
17
+ import { u as Oe } from "./use-element-state-class-name-DJx-T0zf.js";
18
18
  var Le = /* @__PURE__ */ (function(e) {
19
19
  return e.crop = "CROP", e.fit = "FIT", e;
20
20
  })({}), k = /* @__PURE__ */ (function(e) {
21
21
  return e.oneByOne = "one-by-one", e.onlyOne = "only-one", e.many = "many", e;
22
22
  })({});
23
23
  function Ce({ maxItems: e, products: a } = {}) {
24
- return e === 1 ? k.onlyOne : a != null && a.length && a.every((s) => {
24
+ return e === 1 ? k.onlyOne : a != null && a.length && a.every((l) => {
25
25
  var n;
26
- return typeof ((n = s.quantityLimit) == null ? void 0 : n.maximum) > "u";
26
+ return typeof ((n = l.quantityLimit) == null ? void 0 : n.maximum) > "u";
27
27
  }) ? k.many : k.oneByOne;
28
28
  }
29
29
  const o = ({ children: e }) => {
30
30
  var D;
31
- const { id: a, value: s, onChange: n, disabled: r, readOnly: c, required: y, onBlur: O, onFocus: l, hasError: u, validation: m, FieldLayout: p } = U(), { inputId: v, labelId: N, ariaDescribedBy: h } = Y(), _ = I(e, o.Label), g = I(e, o.Options), A = I(e, o.Description), L = I(e, o.Error), i = $(() => s || [], [
32
- s
31
+ const { id: a, value: l, onChange: n, disabled: r, readOnly: c, required: y, onBlur: O, onFocus: s, hasError: u, validation: m, FieldLayout: p } = U(), { inputId: v, labelId: N, ariaDescribedBy: h } = Y(), _ = I(e, o.Label), g = I(e, o.Options), A = I(e, o.Description), L = I(e, o.Error), i = K(() => l || [], [
32
+ l
33
33
  ]), T = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = M((S, R) => {
34
- const d = i.filter((K) => K.productId !== S.productId), B = R ? [
34
+ const d = i.filter((H) => H.productId !== S.productId), B = R ? [
35
35
  ...d,
36
36
  S
37
37
  ] : d;
@@ -49,7 +49,7 @@ const o = ({ children: e }) => {
49
49
  ariaDescribedBy: h,
50
50
  required: y,
51
51
  onBlur: O,
52
- onFocus: l
52
+ onFocus: s
53
53
  }, g ? f(g, {
54
54
  allowMany: T,
55
55
  productValues: i,
@@ -60,8 +60,8 @@ const o = ({ children: e }) => {
60
60
  }) : null),
61
61
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, A)
62
62
  });
63
- }, H = ({ children: e, className: a, ...s }) => {
64
- const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: l } = s, { options: u, validation: m, imageResize: p } = U(), { currency: v } = w(), { t: N } = Z(), h = I(e, o.Option);
63
+ }, w = ({ children: e, className: a, ...l }) => {
64
+ const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: s } = l, { options: u, validation: m, imageResize: p } = U(), { currency: v } = V(), { t: N } = Z(), h = I(e, o.Option);
65
65
  return /* @__PURE__ */ t.createElement("div", {
66
66
  className: a
67
67
  }, u == null ? void 0 : u.map((_, g) => {
@@ -77,14 +77,14 @@ const o = ({ children: e }) => {
77
77
  onProductChange: c,
78
78
  disabled: y,
79
79
  readOnly: O,
80
- hasError: l,
80
+ hasError: s,
81
81
  currencyAriaLabel: L,
82
82
  imageResize: p,
83
83
  isFirst: g === 0
84
84
  });
85
85
  }));
86
- }, E = ({ children: e, className: a, ...s }) => {
87
- const { option: n, price: r, quantity: c = 0, isSelected: y, allowMany: O, onProductChange: l, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: v, imageResize: N, isFirst: h } = s, { id: _ } = U(), g = x(null), A = x(null), L = I(e, E.Image), i = I(e, E.Label), C = I(e, E.Price), T = I(e, E.Input), F = I(e, E.Quantity);
86
+ }, E = ({ children: e, className: a, ...l }) => {
87
+ const { option: n, price: r, quantity: c = 0, isSelected: y, allowMany: O, onProductChange: s, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: v, imageResize: N, isFirst: h } = l, { id: _ } = U(), g = x(null), A = x(null), L = I(e, E.Image), i = I(e, E.Label), C = I(e, E.Price), T = I(e, E.Input), F = I(e, E.Quantity);
88
88
  ee(() => {
89
89
  var d;
90
90
  h && ((d = g.current ?? A.current) == null || d.focus({
@@ -92,23 +92,23 @@ const o = ({ children: e }) => {
92
92
  }));
93
93
  }, _);
94
94
  const D = M((d) => {
95
- l({
95
+ s({
96
96
  productId: n.value,
97
97
  price: r,
98
98
  quantity: 1
99
99
  }, d);
100
100
  }, [
101
- l,
101
+ s,
102
102
  n.value,
103
103
  r
104
104
  ]), S = M((d) => {
105
- l({
105
+ s({
106
106
  productId: n.value,
107
107
  price: r,
108
108
  quantity: d
109
109
  }, d > 0);
110
110
  }, [
111
- l,
111
+ s,
112
112
  n.value,
113
113
  r
114
114
  ]), R = `${n.label} ${v} ${r}`;
@@ -130,14 +130,14 @@ const o = ({ children: e }) => {
130
130
  hasError: p,
131
131
  ariaLabel: R,
132
132
  inputRef: h ? A : void 0
133
- }) : null) : /* @__PURE__ */ t.createElement(G, {
133
+ }) : null) : /* @__PURE__ */ t.createElement(z, {
134
134
  isSelected: y,
135
135
  onChange: D,
136
136
  isDisabled: u,
137
137
  isReadOnly: m,
138
138
  isInvalid: p,
139
139
  "aria-label": R
140
- }, /* @__PURE__ */ t.createElement(W, {
140
+ }, /* @__PURE__ */ t.createElement(G, {
141
141
  ref: g,
142
142
  className: a,
143
143
  "data-hook": "product"
@@ -154,14 +154,14 @@ const o = ({ children: e }) => {
154
154
  isFocused: B
155
155
  }))));
156
156
  }, Re = ({ className: e, ...a }) => {
157
- var l;
158
- const { option: s, imageResize: n } = a, r = (l = s.media) == null ? void 0 : l.image;
157
+ var s;
158
+ const { option: l, imageResize: n } = a, r = (s = l.media) == null ? void 0 : s.image;
159
159
  if (!r)
160
160
  return null;
161
161
  const c = n === Le.fit, y = me(r, 96, 96, c ? "fit" : "fill");
162
162
  if (!y)
163
163
  return null;
164
- const O = r.altText || s.label || "";
164
+ const O = r.altText || l.label || "";
165
165
  return /* @__PURE__ */ t.createElement("img", {
166
166
  className: e,
167
167
  src: y,
@@ -170,14 +170,14 @@ const o = ({ children: e }) => {
170
170
  "data-hook": "product-image"
171
171
  });
172
172
  }, ge = ({ className: e, ...a }) => {
173
- const { label: s } = a;
173
+ const { label: l } = a;
174
174
  return /* @__PURE__ */ t.createElement("span", {
175
175
  className: e,
176
176
  "data-hook": "product-label"
177
- }, s || "");
177
+ }, l || "");
178
178
  }, Fe = ({ className: e, ...a }) => {
179
- const { price: s } = a, { currency: n, regionalFormat: r } = w(), c = pe({
180
- amount: s,
179
+ const { price: l } = a, { currency: n, regionalFormat: r } = V(), c = pe({
180
+ amount: l,
181
181
  currency: n == null ? void 0 : n.code,
182
182
  locale: r
183
183
  });
@@ -186,7 +186,7 @@ const o = ({ children: e }) => {
186
186
  "data-hook": "product-price"
187
187
  }, c);
188
188
  }, De = ({ className: e, ...a }) => {
189
- const { quantity: s, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: l } = a, u = M((p) => {
189
+ const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = M((p) => {
190
190
  n(p < 0 ? 0 : p);
191
191
  }, [
192
192
  n
@@ -195,8 +195,8 @@ const o = ({ children: e }) => {
195
195
  }, [
196
196
  u
197
197
  ]);
198
- return /* @__PURE__ */ t.createElement(X, {
199
- value: s,
198
+ return /* @__PURE__ */ t.createElement(W, {
199
+ value: l,
200
200
  onChange: u,
201
201
  minValue: 0,
202
202
  step: 1,
@@ -206,13 +206,13 @@ const o = ({ children: e }) => {
206
206
  "aria-label": O,
207
207
  className: e,
208
208
  "data-hook": "product-quantity"
209
- }, /* @__PURE__ */ t.createElement(j, {
209
+ }, /* @__PURE__ */ t.createElement(X, {
210
210
  onKeyDown: m
211
- }, /* @__PURE__ */ t.createElement(Q, {
211
+ }, /* @__PURE__ */ t.createElement(j, {
212
212
  slot: "decrement"
213
213
  }, "-"), /* @__PURE__ */ t.createElement(J, {
214
- ref: l
215
- }), /* @__PURE__ */ t.createElement(Q, {
214
+ ref: s
215
+ }), /* @__PURE__ */ t.createElement(j, {
216
216
  slot: "increment"
217
217
  }, "+")));
218
218
  };
@@ -221,13 +221,13 @@ E.Label = ge;
221
221
  E.Price = Fe;
222
222
  E.Input = be;
223
223
  E.Quantity = De;
224
- H.Option = E;
224
+ w.Option = E;
225
225
  o.Label = ue;
226
- o.Options = H;
226
+ o.Options = w;
227
227
  o.Option = E;
228
228
  o.Description = de;
229
229
  o.Error = Ee;
230
- const Se = "_options_519is_1", Pe = "_option_519is_1", Ne = "_optionInput_519is_21", he = "_optionImage_519is_32", Ae = "_optionLabel_519is_66", Te = "_optionPrice_519is_73", qe = "_quantity_519is_87", P = {
230
+ const Se = "_options_1jnru_1", Pe = "_option_1jnru_1", Ne = "_optionInput_1jnru_21", he = "_optionImage_1jnru_32", Ae = "_optionLabel_1jnru_66", Te = "_optionPrice_1jnru_73", qe = "_quantity_1jnru_87", P = {
231
231
  options: Se,
232
232
  option: Pe,
233
233
  optionInput: Ne,
@@ -235,7 +235,7 @@ const Se = "_options_519is_1", Pe = "_option_519is_1", Ne = "_optionInput_519is_
235
235
  optionLabel: Ae,
236
236
  optionPrice: Te,
237
237
  quantity: qe
238
- }, ve = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(z, {
238
+ }, ve = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement($, {
239
239
  content: e,
240
240
  locale: a
241
241
  }), Me = () => {
@@ -248,21 +248,21 @@ const Se = "_options_519is_1", Pe = "_option_519is_1", Ne = "_optionInput_519is_
248
248
  }, /* @__PURE__ */ t.createElement(o.Label.Required, {
249
249
  className: b(ne, q.requiredMark)
250
250
  })), /* @__PURE__ */ t.createElement(o.Options, {
251
- className: b(ae, V.options, P.options)
251
+ className: b(ae, Q.options, P.options)
252
252
  }, /* @__PURE__ */ t.createElement(o.Option, {
253
253
  className: b(q.checkbox, P.option)
254
254
  }, /* @__PURE__ */ t.createElement(o.Option.Image, {
255
255
  className: P.optionImage
256
256
  }), /* @__PURE__ */ t.createElement(o.Option.Label, {
257
- className: b(oe, V.optionLabel, P.optionLabel)
257
+ className: b(oe, Q.optionLabel, P.optionLabel)
258
258
  }), /* @__PURE__ */ t.createElement(o.Option.Price, {
259
259
  className: b(re, P.optionPrice)
260
260
  }), /* @__PURE__ */ t.createElement(o.Option.Input, {
261
261
  className: (a) => b(e(a), P.optionInput)
262
262
  }), /* @__PURE__ */ t.createElement(o.Option.Quantity, {
263
- className: b(se, q.inputGroup, P.quantity)
263
+ className: b(le, q.inputGroup, P.quantity)
264
264
  }))), /* @__PURE__ */ t.createElement(o.Error, {
265
- className: b(le, q.error)
265
+ className: b(se, q.error)
266
266
  }, /* @__PURE__ */ t.createElement(fe, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
267
267
  className: b(ie, q.description)
268
268
  }, ve));
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-DI0UgTBr.js";
2
+ import { R as r } from "./radio-group-field-rac-BXrYWjew.js";
3
3
  const i = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  i as QuizRadioGroupRAC
@@ -0,0 +1,134 @@
1
+ import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
2
+ import { RadioGroup as k, RadioField as q, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
3
+ import { bo as g, bl as $, by as D, bq as x } from "./form-DhIEC3nB.js";
4
+ import { f as u, a as L } from "./find-child-C60k4CxG.js";
5
+ import { D as U, E as M } from "./field-error-headless-RylIeqXr.js";
6
+ import { L as j } from "./field-label-headless-d3hZxIEc.js";
7
+ import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
8
+ const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), S = (e, t) => !!t && !z(e, t), J = (e, t) => {
9
+ const l = t ? t.length + 2 : 0;
10
+ return e.slice(l);
11
+ }, i = ({ children: e, className: t }) => {
12
+ const { id: n, value: l, onChange: h, disabled: p, readOnly: O, required: m, onBlur: E, onFocus: b, hasError: r, FieldLayout: c, options: o } = g(), { inputId: f, labelId: C, ariaDescribedBy: I } = $(), s = u(e, i.Label), _ = u(e, i.Options), R = u(e, i.Description), N = u(e, i.Error), V = S(o, l) ? v : l || null;
13
+ return /* @__PURE__ */ a.createElement(c, {
14
+ fieldId: n,
15
+ renderLabel: () => L(s, {
16
+ as: "div"
17
+ }),
18
+ renderInput: () => /* @__PURE__ */ a.createElement(k, {
19
+ id: f,
20
+ className: t,
21
+ "aria-labelledby": C,
22
+ "aria-describedby": I,
23
+ value: V,
24
+ onChange: h,
25
+ isDisabled: p,
26
+ isReadOnly: O,
27
+ isRequired: m,
28
+ isInvalid: r,
29
+ onBlur: E,
30
+ onFocus: b
31
+ }, _),
32
+ renderDescription: () => /* @__PURE__ */ a.createElement(a.Fragment, null, N, R)
33
+ });
34
+ }, K = ({ children: e, className: t }) => {
35
+ const { options: n, addOther: l, addOtherLabel: h, id: p, numberOfColumns: O, hasError: m } = g(), { t: E } = D(), b = u(e, i.Option), r = F(null), c = h || E("add-other.default-other-option-label") || v;
36
+ return x(() => {
37
+ var o;
38
+ (o = r.current) == null || o.focus({
39
+ preventScroll: !0
40
+ });
41
+ }, p), /* @__PURE__ */ a.createElement("div", {
42
+ className: t,
43
+ "data-columns": O,
44
+ "data-invalid": m
45
+ }, n.map((o, f) => L(b, {
46
+ key: o.value ?? o.label,
47
+ value: o.value ?? o.label,
48
+ label: o.label,
49
+ index: f,
50
+ radioRef: f === 0 ? r : void 0
51
+ })), l && L(b, {
52
+ key: v,
53
+ value: v,
54
+ label: c,
55
+ isOther: !0
56
+ }));
57
+ }, d = ({ children: e, className: t, ...n }) => {
58
+ var I;
59
+ const { value: l, label: h, isOther: p = !1, radioRef: O } = n, { value: m, options: E } = g(), b = u(e, d.Label), r = u(e, d.Input), c = u(e, d.Control), o = u(e, d.OtherInput), f = p ? S(E, m) : m === l, C = (I = r == null ? void 0 : r.props) == null ? void 0 : I.className;
60
+ return /* @__PURE__ */ a.createElement("div", {
61
+ className: t
62
+ }, /* @__PURE__ */ a.createElement(q, {
63
+ value: l
64
+ }, /* @__PURE__ */ a.createElement(A, {
65
+ ref: O,
66
+ className: C
67
+ }, ({ isSelected: s, isHovered: _, isFocused: R }) => /* @__PURE__ */ a.createElement(a.Fragment, null, L(c, {
68
+ isSelected: s,
69
+ isHovered: _,
70
+ isFocused: R
71
+ }), L(b, {
72
+ label: h
73
+ })))), p && f && o);
74
+ }, Q = ({ className: e, ...t }) => {
75
+ const { label: n } = t;
76
+ return /* @__PURE__ */ a.createElement("span", {
77
+ className: e
78
+ }, n);
79
+ }, W = (e) => null, X = ({ className: e }) => {
80
+ const { value: t, onChange: n, addOtherLabel: l, addOtherPlaceholder: h, otherInputCharacterLimit: p, disabled: O, readOnly: m, options: E } = g(), { t: b } = D(), r = F(null), c = S(E, t), o = l || b("add-other.default-other-option-label") || v, [f, C] = T(c && t ? J(t, l) : "");
81
+ B(() => {
82
+ var s;
83
+ c && r.current && ((s = r.current) == null || s.focus());
84
+ }, [
85
+ c
86
+ ]);
87
+ const I = H((s) => {
88
+ let _;
89
+ s ? _ = `${l}: ${s}` : _ = o, n(_), C(s);
90
+ }, [
91
+ n,
92
+ l,
93
+ o
94
+ ]);
95
+ return /* @__PURE__ */ a.createElement(G, {
96
+ "aria-label": o,
97
+ value: f,
98
+ onChange: I,
99
+ isDisabled: O,
100
+ isReadOnly: m
101
+ }, /* @__PURE__ */ a.createElement(P, {
102
+ ref: r,
103
+ className: e,
104
+ placeholder: h,
105
+ maxLength: p
106
+ }));
107
+ };
108
+ d.Label = Q;
109
+ d.Input = W;
110
+ d.Control = w;
111
+ d.OtherInput = X;
112
+ i.Label = j;
113
+ i.Options = K;
114
+ i.Option = d;
115
+ i.Description = U;
116
+ i.Error = M;
117
+ const Y = "_labelImage_1u9f2_1", Z = "_option_1u9f2_26", ee = "_optionInput_1u9f2_32", te = "_optionControl_1u9f2_50", oe = "_optionControlHover_1u9f2_72", ne = "_optionControlSelected_1u9f2_90", le = "_optionLabel_1u9f2_137", y = {
118
+ labelImage: Y,
119
+ option: Z,
120
+ optionInput: ee,
121
+ optionControl: te,
122
+ optionControlHover: oe,
123
+ optionControlSelected: ne,
124
+ optionLabel: le
125
+ }, pe = {
126
+ base: y.optionControl,
127
+ selected: y.optionControlSelected,
128
+ hover: y.optionControlHover
129
+ };
130
+ export {
131
+ pe as R,
132
+ i as a,
133
+ y as s
134
+ };
@@ -1,13 +1,13 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { a, s, R as n } from "./radio-button-module-classes-BdWjkBlX.js";
4
+ import { a, s, R as n } from "./radio-button-module-classes-DtFlHID_.js";
5
5
  import { E as c } from "./error-icon-hZxQ6DEy.js";
6
- import { s as r } from "./field-rac.module-DfEb7pBp.js";
7
- import { S as i, a0 as E, X as p, Y as O, H as R, v as _, Z as I } from "./form-DHAKwnLt.js";
6
+ import { s as r } from "./field-rac.module-DP0lkkEv.js";
7
+ import { S as i, a0 as E, X as p, Y as O, H as R, v as _, Z as I } from "./form-DhIEC3nB.js";
8
8
  import { o as L } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as N } from "./use-element-state-class-name-CUZuhFvZ.js";
10
- import { u } from "./use-text-input-class-name-wp9dzpEy.js";
9
+ import { u as N } from "./use-element-state-class-name-DJx-T0zf.js";
10
+ import { u } from "./use-text-input-class-name-CrEjJ2Z8.js";
11
11
  const S = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: o,
13
13
  locale: l
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-DI0UgTBr.js";
2
+ import { R as r } from "./radio-group-field-rac-BXrYWjew.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,14 +1,14 @@
1
1
  import { RicosViewer as D } from "@wix/ricos/viewer";
2
2
  import u from "classnames";
3
3
  import e, { useCallback as N, useState as O, useRef as A } from "react";
4
- import { bo as v, bl as I, by as H, S as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-DHAKwnLt.js";
4
+ import { bo as v, bl as I, by as H, S as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-DhIEC3nB.js";
5
5
  import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
6
6
  import { f as E, a as U } from "./find-child-C60k4CxG.js";
7
- import { D as z, E as Q } from "./field-error-headless-E8WjFr_n.js";
8
- import { L as Z } from "./field-label-headless-BakLOu5E.js";
7
+ import { D as z, E as Q } from "./field-error-headless-RylIeqXr.js";
8
+ import { L as Z } from "./field-label-headless-d3hZxIEc.js";
9
9
  import { E as $ } from "./error-icon-hZxQ6DEy.js";
10
- import { s as g } from "./field-rac.module-DfEb7pBp.js";
11
- import { u as j } from "./use-element-state-class-name-CUZuhFvZ.js";
10
+ import { s as g } from "./field-rac.module-DP0lkkEv.js";
11
+ import { u as j } from "./use-element-state-class-name-DJx-T0zf.js";
12
12
  const t = ({ children: a }) => {
13
13
  const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = v(), { labelId: _ } = I(), L = N((y) => i(Number(y)), [
14
14
  i
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-BYT2XqOK.js";
2
+ import { R as e } from "./rating-input-field-rac-KbkiVCZ7.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as RatingInputRAC
@@ -1,5 +1,5 @@
1
1
  import c, { useState as u } from "react";
2
- import { bo as a, bg as i, by as T } from "./form-DHAKwnLt.js";
2
+ import { bo as a, bg as i, by as T } from "./form-DhIEC3nB.js";
3
3
  import { Button as d } from "react-aria-components";
4
4
  import { D as r } from "./data-hooks-Dkw1pbRj.js";
5
5
  import { truncateRichContent as _ } from "@wix/ricos/content";
@@ -1,7 +1,7 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { bo as m, aB as i, aj as u, a$ as R, b2 as T } from "./form-DHAKwnLt.js";
4
- import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-Dp9Advo9.js";
3
+ import { bo as m, aB as i, aj as u, a$ as R, b2 as T } from "./form-DhIEC3nB.js";
4
+ import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-C0OQetct.js";
5
5
  const h = {
6
6
  colorPalette: T(),
7
7
  customStyles: R()