@wix/form-elements 1.133.0 → 1.135.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-D0mwr3TL.js → appointment-rac-CYCddSl9.js} +246 -246
  2. package/dist/component/{bookings-address-rac-BEnmwXax.js → bookings-address-rac-BK-sU26E.js} +1 -1
  3. package/dist/component/{bookings-email-rac-D56j9PXc.js → bookings-email-rac-DZ3HVkyn.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-xu3S-ih_.js → bookings-first-name-rac-Ci4PHqOr.js} +1 -1
  5. package/dist/component/{bookings-header-rac-hfBabv7v.js → bookings-header-rac-C_MYNrDA.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-6bMvN0Cm.js → bookings-last-name-rac-CdNlwyjm.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DE70Omwf.js → bookings-login-bar-rac-CP2JcaVr.js} +17 -17
  8. package/dist/component/{bookings-phone-rac-D_EHRAiU.js → bookings-phone-rac-BV8sqxil.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-BxgI9Zt6.js → bookings-rich-text-rac-DQtcYRsh.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-BLDUOAXM.js → checkbox-field-rac-DPNqHTNc.js} +26 -25
  12. package/dist/component/{checkbox-group-field-headless-CugSJIBp.js → checkbox-group-field-headless-DhhynlgN.js} +32 -31
  13. package/dist/component/{checkbox-group-field-rac-D4m9SmRX.js → checkbox-group-field-rac-B3zOW7qr.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-BYqEsCwa.js → checkbox-group-rac-Qy03hO31.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-zXKP5rD4.js → checkbox-indicator-module-classes-6173wvuW.js} +1 -1
  16. package/dist/component/{checkbox-rac-DkIBUAN7.js → checkbox-rac-DYr3RaHj.js} +1 -1
  17. package/dist/component/{contacts-address-rac-D1tzbiTM.js → contacts-address-rac-Bi-etpfX.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-DO-1xG0u.js → contacts-birthdate-rac-D2LLjX9P.js} +1 -1
  19. package/dist/component/{contacts-company-rac-CzJK3YIo.js → contacts-company-rac-C9ImoG_i.js} +1 -1
  20. package/dist/component/{contacts-email-rac-DLvMErBI.js → contacts-email-rac-DeGblC9V.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-3RcSXL0h.js → contacts-first-name-rac-Xk3m57jK.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-BYoSi_QX.js → contacts-last-name-rac-BKE-1IYB.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-DMYn0orB.js → contacts-phone-rac-CHmtTutD.js} +1 -1
  24. package/dist/component/{contacts-position-rac-K1R6ihXo.js → contacts-position-rac-BS3TySLG.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-DsWNSH6t.js → contacts-subscribe-rac--fpczJiB.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-D7NjPiRf.js → contacts-tax-id-rac-CHkn8vkL.js} +1 -1
  27. package/dist/component/{date-availability-D3n6-g3h.js → date-availability-70Vb-dlb.js} +1 -1
  28. package/dist/component/{date-input-field-rac-SyAmInlu.js → date-input-field-rac-BlkYEYM_.js} +60 -60
  29. package/dist/component/{date-input-rac-BQNOsWz1.js → date-input-rac-JdNFk07Q.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-DO1epod7.js → date-picker-field-rac-DHu11mY1.js} +63 -63
  31. package/dist/component/{date-picker-rac-DQElftUu.js → date-picker-rac-CZtWhFzM.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-CV5wZSXO.js → date-time-input-field-rac-cHAALqS5.js} +7 -7
  33. package/dist/component/{date-time-input-rac-DvHwpjnk.js → date-time-input-rac-Dz7GfoJO.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-BfcKoslb.js → dext-checkbox-group-rac-ZNKzyWda.js} +2 -2
  35. package/dist/component/{dext-checkbox-rac-DhadtXb5.js → dext-checkbox-rac-DfPFXrKu.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-0Dmo3mrG.js → dext-date-picker-rac-BPbl65qK.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-Cnh7Aqiq.js → dext-date-time-input-rac-D5ywbLtW.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-CajXcYsB.js → dext-dropdown-rac-BuVsPZOU.js} +1 -1
  39. package/dist/component/{dext-email-rac-DynJaiZt.js → dext-email-rac-DRjt3lqT.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-LmTKwb80.js → dext-number-input-rac-Bzrl87fo.js} +1 -1
  41. package/dist/component/{dext-phone-rac-Cw2roq1_.js → dext-phone-rac-LibvQb8h.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-CaNZJrkc.js → dext-radio-group-rac-BTWnIvwW.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-CAL1jb0q.js → dext-rating-input-rac-DTlnOcC8.js} +1 -1
  44. package/dist/component/{dext-tags-rac-BOp_amVK.js → dext-tags-rac-YdeijviH.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-6DYTHIeh.js → dext-text-area-rac-CdCzQYey.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-CDWthvV3.js → dext-text-input-rac-B28RTezm.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-CsS4NPYO.js → dext-url-input-rac-B0ZBPbAb.js} +1 -1
  48. package/dist/component/{donation-rac-B7lFkotu.js → donation-rac-_0cwsIAq.js} +7 -10
  49. package/dist/component/{dropdown-field-headless-ajQghLaj.js → dropdown-field-headless-DVZnbZAM.js} +5 -5
  50. package/dist/component/{dropdown-field-rac-Bf5LQqSL.js → dropdown-field-rac-DWCj_Grt.js} +5 -5
  51. package/dist/component/{dropdown-rac-CJmA_ePl.js → dropdown-rac-Bpo-F5sc.js} +1 -1
  52. package/dist/component/{ecom-address-rac-B49ZP2qc.js → ecom-address-rac-vJ0ku_Ld.js} +1 -1
  53. package/dist/component/{ecom-subscription-checkbox-rac-C8qImtxo.js → ecom-subscription-checkbox-rac-DgVReM6c.js} +2 -2
  54. package/dist/component/{email-input-field-rac-B_bEWp5N.js → email-input-field-rac-BXJGOBg-.js} +4 -4
  55. package/dist/component/{events-repeater-rac-DXxqmIBX.js → events-repeater-rac-CrXE_ppd.js} +48 -47
  56. package/dist/component/{events-rsvp-rac-BaJQLSv3.js → events-rsvp-rac-BGg3P1CQ.js} +4 -4
  57. package/dist/component/{field-error-headless-BxEFPwKI.js → field-error-headless-C3eOy1_l.js} +1 -1
  58. package/dist/component/{field-label-headless-5mewgrhq.js → field-label-headless-BMmR_IeF.js} +1 -1
  59. package/dist/component/field-rac.module-DfEb7pBp.js +25 -0
  60. package/dist/component/file-upload-rac-Umix6wXx.js +566 -0
  61. package/dist/component/{fixed-payment-rac-S68bqvbB.js → fixed-payment-rac-CfIJCBjb.js} +4 -4
  62. package/dist/component/{form-CPY-PtxT.js → form-CYPNOMwk.js} +1685 -1641
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-r6dYbnvA.js → header-field-rac-oxHUTKYV.js} +2 -2
  66. package/dist/component/{header-rac-C9gaKsaE.js → header-rac-DTGV923r.js} +1 -1
  67. package/dist/component/{image-choice-rac-BbES5dAK.js → image-choice-rac-B9JGl_h7.js} +42 -45
  68. package/dist/component/{index-o-TpCHqo.js → index-BOKSOnDK.js} +4 -4
  69. package/dist/component/{index-C6zuIVeJ.js → index-C_ktc-yO.js} +2 -2
  70. package/dist/component/{isObjectLike-BSRiBVs9.js → isObjectLike-Di8V7txC.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-BfVIiFyM.js → multiline-address-field-rac-zgmTbXlg.js} +8 -8
  72. package/dist/component/{multiline-address-rac-BOKBExhi.js → multiline-address-rac-Cyb3dvBf.js} +1 -1
  73. package/dist/component/{number-input-field-rac-BRKFm8aA.js → number-input-field-rac-DquqqRy_.js} +5 -5
  74. package/dist/component/{number-input-rac-BNbCCb-g.js → number-input-rac-G2DdTbk2.js} +1 -1
  75. package/dist/component/{password-rac-BygVJf7f.js → password-rac-DJCU0F38.js} +5 -5
  76. package/dist/component/{payment-input-rac-CoMbHcHG.js → payment-input-rac-DlIYza6N.js} +5 -5
  77. package/dist/component/{phone-input-field-rac-dFjxptEr.js → phone-input-field-rac-B10TInMa.js} +28 -29
  78. package/dist/component/{phone-rac-Dup3AP9J.js → phone-rac-BuyttJpM.js} +1 -1
  79. package/dist/component/{product-list-rac-B62mNB_W.js → product-list-rac-WrSJwQ_g.js} +69 -68
  80. package/dist/component/{quiz-radio-group-rac-DPMhDtr7.js → quiz-radio-group-rac-CHxZ_pK_.js} +1 -1
  81. package/dist/component/{radio-button-module-classes-BMvPai_6.js → radio-button-module-classes-DjJU-8ZB.js} +18 -17
  82. package/dist/component/{radio-group-field-rac-DPt2Zl4G.js → radio-group-field-rac-BImiqcKa.js} +5 -5
  83. package/dist/component/{radio-group-rac-BZyGqFzr.js → radio-group-rac-CDkJeGpN.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-C3E0KzV-.js → rating-input-field-rac-Dsr_S5qN.js} +35 -33
  85. package/dist/component/{rating-input-rac-BKLz4l_D.js → rating-input-rac-BJUW8U93.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-CQ1qa_zz.js → rich-content-rac.module-BfQJqA-x.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-BfdA5KNz.js → rich-text-field-rac-DIuZbu_u.js} +2 -2
  88. package/dist/component/{rich-text-rac-BFbhfFuF.js → rich-text-rac-C39fpEiP.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-VulpHBki.js → service-dropdown-rac-Bc9hEpx3.js} +6 -6
  90. package/dist/component/{services-multi-choice-rac-CIx5UpfD.js → services-multi-choice-rac-GVb4qA7g.js} +7 -7
  91. package/dist/component/{signature-rac-BdxMBfl9.js → signature-rac-nC5pr6nB.js} +269 -264
  92. package/dist/component/{submit-button-rac-CkuWGEyL.js → submit-button-rac-eUjgrx9Q.js} +2 -2
  93. package/dist/component/{tags-field-rac-DKo_Yb5i.js → tags-field-rac-zv30chSd.js} +54 -57
  94. package/dist/component/{tags-rac-BimVd3ym.js → tags-rac-PnS2SxVP.js} +1 -1
  95. package/dist/component/{text-area-field-rac-DEiLtCnb.js → text-area-field-rac-DLeOMD4g.js} +5 -5
  96. package/dist/component/{text-area-rac-CHZtsq0f.js → text-area-rac-jZ_mh45C.js} +1 -1
  97. package/dist/component/{text-input-field-rac-CSHvUtRG.js → text-input-field-rac-DifV7Erd.js} +4 -4
  98. package/dist/component/{text-input-headless-BYcExFPS.js → text-input-headless-DhVEjorY.js} +3 -3
  99. package/dist/component/{text-input-rac-D-R9btYo.js → text-input-rac-Ce4qKN9M.js} +1 -1
  100. package/dist/component/{time-input-rac-wkHemVzj.js → time-input-rac-1kW3aDIo.js} +5 -5
  101. package/dist/component/{url-input-field-rac-KJEcLyFk.js → url-input-field-rac-D9xXAQCq.js} +5 -5
  102. package/dist/component/{url-input-rac-JFfEH389.js → url-input-rac-SaAybDdN.js} +1 -1
  103. package/dist/component/{use-dropdown-option-class-name-BetaTWbW.js → use-dropdown-option-class-name-C_MO_0JS.js} +3 -3
  104. package/dist/component/{use-dropdown-trigger-class-name-C0ffAjFn.js → use-dropdown-trigger-class-name-D7EMiD-M.js} +2 -2
  105. package/dist/component/use-element-state-class-name-DZFi3Z42.js +23 -0
  106. package/dist/component/use-hoverable-input-class-name-JAZ1mif0.js +25 -0
  107. package/dist/component/{use-service-options-base-q0JTA7UI.js → use-service-options-base-ZX4iaxzr.js} +1 -1
  108. package/dist/component/use-text-input-class-name-XFjQX8q1.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-BGN-O8tV.js +0 -25
  111. package/dist/component/file-upload-rac-D9Z1Cumr.js +0 -562
  112. package/dist/component/use-element-state-class-name-BOks3she.js +0 -20
  113. package/dist/component/use-hoverable-input-class-name-jxtCw16L.js +0 -23
  114. package/dist/component/use-text-input-class-name-CTa0bC4T.js +0 -6
@@ -1,41 +1,41 @@
1
- import t, { useMemo as $, useCallback as M, useRef as B } from "react";
1
+ import t, { useMemo as $, useCallback as M, useRef as x } from "react";
2
2
  import { RicosViewer as z } from "@wix/ricos/viewer";
3
3
  import b from "classnames";
4
- import { CheckboxField as G, CheckboxButton as j, NumberField as X, Group as J, Button as U, Input as W } from "react-aria-components";
5
- import { bh as k, be as Y, b9 as w, br as Z, bj as ee, I as te, U as ne, L as ae, O as oe, N as re, H as le, v as se, p as ie, M as ce } from "./form-CPY-PtxT.js";
4
+ import { CheckboxField as G, CheckboxButton as j, NumberField as X, Group as J, Button as Q, Input as W } from "react-aria-components";
5
+ import { bh as U, be as Y, b9 as V, br as Z, bj as ee, I as te, U as ne, L as ae, O as oe, N as re, H as se, v as le, p as ie, M as ce } from "./form-CYPNOMwk.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-5mewgrhq.js";
7
+ import { L as ue, g as me } from "./field-label-headless-BMmR_IeF.js";
8
8
  import { f as pe } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ee } from "./field-error-headless-BxEFPwKI.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-C3eOy1_l.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-zXKP5rD4.js";
15
- import { s as T } from "./field-rac.module-BGN-O8tV.js";
16
- import { o as Q } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as Oe } from "./use-element-state-class-name-BOks3she.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 w } from "./options-rac.module-_THNq6Qq.js";
17
+ import { u as Oe } from "./use-element-state-class-name-DZFi3Z42.js";
18
18
  var Le = /* @__PURE__ */ (function(e) {
19
19
  return e.crop = "CROP", e.fit = "FIT", e;
20
- })({}), x = /* @__PURE__ */ (function(e) {
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 ? x.onlyOne : a != null && a.length && a.every((l) => {
24
+ return e === 1 ? k.onlyOne : a != null && a.length && a.every((s) => {
25
25
  var n;
26
- return typeof ((n = l.quantityLimit) == null ? void 0 : n.maximum) > "u";
27
- }) ? x.many : x.oneByOne;
26
+ return typeof ((n = s.quantityLimit) == null ? void 0 : n.maximum) > "u";
27
+ }) ? k.many : k.oneByOne;
28
28
  }
29
29
  const o = ({ children: e }) => {
30
30
  var D;
31
- const { id: a, value: l, onChange: n, disabled: r, readOnly: c, required: y, onBlur: O, onFocus: s, hasError: u, validation: m, FieldLayout: p } = k(), { inputId: q, labelId: N, ariaDescribedBy: h } = Y(), _ = I(e, o.Label), g = I(e, o.Options), v = I(e, o.Description), L = I(e, o.Error), i = $(() => l || [], [
32
- l
33
- ]), A = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === x.many, F = M((S, R) => {
34
- const d = i.filter((K) => K.productId !== S.productId), H = R ? [
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
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 ? [
35
35
  ...d,
36
36
  S
37
37
  ] : d;
38
- n == null || n(H);
38
+ n == null || n(B);
39
39
  }, [
40
40
  i,
41
41
  n
@@ -44,74 +44,74 @@ const o = ({ children: e }) => {
44
44
  fieldId: a,
45
45
  renderLabel: () => _,
46
46
  renderInput: () => /* @__PURE__ */ t.createElement(ye, {
47
- id: q,
47
+ id: v,
48
48
  ariaLabelledBy: N,
49
49
  ariaDescribedBy: h,
50
50
  required: y,
51
51
  onBlur: O,
52
- onFocus: s
52
+ onFocus: l
53
53
  }, g ? f(g, {
54
- allowMany: A,
54
+ allowMany: T,
55
55
  productValues: i,
56
56
  onProductChange: F,
57
57
  disabled: r,
58
58
  readOnly: c,
59
59
  hasError: u
60
60
  }) : null),
61
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, v)
61
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, A)
62
62
  });
63
- }, V = ({ 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 } = k(), { currency: q } = w(), { t: N } = Z(), h = I(e, o.Option);
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 } = 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) => {
68
- var C, A, F, D, S;
69
- const v = ((S = (D = (F = (A = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : F.find((R) => R.id === _.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", L = _e(N, q), i = r.find((R) => R.productId === _.value);
68
+ var C, T, F, D, S;
69
+ const A = ((S = (D = (F = (T = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : T.products) == null ? void 0 : F.find((R) => R.id === _.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", L = _e(N, v), i = r.find((R) => R.productId === _.value);
70
70
  return f(h, {
71
71
  key: _.id || _.value || _.label,
72
72
  option: _,
73
- price: v,
73
+ price: A,
74
74
  quantity: i == null ? void 0 : i.quantity,
75
75
  isSelected: !!i,
76
76
  allowMany: n,
77
77
  onProductChange: c,
78
78
  disabled: y,
79
79
  readOnly: O,
80
- hasError: s,
80
+ hasError: l,
81
81
  currencyAriaLabel: L,
82
82
  imageResize: p,
83
83
  isFirst: g === 0
84
84
  });
85
85
  }));
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: q, imageResize: N, isFirst: h } = l, { id: _ } = k(), g = B(null), v = B(null), L = I(e, E.Image), i = I(e, E.Label), C = I(e, E.Price), A = I(e, E.Input), F = I(e, E.Quantity);
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);
88
88
  ee(() => {
89
89
  var d;
90
- h && ((d = g.current ?? v.current) == null || d.focus({
90
+ h && ((d = g.current ?? A.current) == null || d.focus({
91
91
  preventScroll: !0
92
92
  }));
93
93
  }, _);
94
94
  const D = M((d) => {
95
- s({
95
+ l({
96
96
  productId: n.value,
97
97
  price: r,
98
98
  quantity: 1
99
99
  }, d);
100
100
  }, [
101
- s,
101
+ l,
102
102
  n.value,
103
103
  r
104
104
  ]), S = M((d) => {
105
- s({
105
+ l({
106
106
  productId: n.value,
107
107
  price: r,
108
108
  quantity: d
109
109
  }, d > 0);
110
110
  }, [
111
- s,
111
+ l,
112
112
  n.value,
113
113
  r
114
- ]), R = `${n.label} ${q} ${r}`;
114
+ ]), R = `${n.label} ${v} ${r}`;
115
115
  return O ? /* @__PURE__ */ t.createElement("div", {
116
116
  className: a,
117
117
  "data-hook": "product"
@@ -129,7 +129,7 @@ const o = ({ children: e }) => {
129
129
  readOnly: m,
130
130
  hasError: p,
131
131
  ariaLabel: R,
132
- inputRef: h ? v : void 0
132
+ inputRef: h ? A : void 0
133
133
  }) : null) : /* @__PURE__ */ t.createElement(G, {
134
134
  isSelected: y,
135
135
  onChange: D,
@@ -141,26 +141,27 @@ const o = ({ children: e }) => {
141
141
  ref: g,
142
142
  className: a,
143
143
  "data-hook": "product"
144
- }, ({ isHovered: d }) => /* @__PURE__ */ t.createElement(t.Fragment, null, L ? f(L, {
144
+ }, ({ isHovered: d, isFocused: B }) => /* @__PURE__ */ t.createElement(t.Fragment, null, L ? f(L, {
145
145
  option: n,
146
146
  imageResize: N
147
147
  }) : null, i ? f(i, {
148
148
  label: n.label
149
149
  }) : null, C ? f(C, {
150
150
  price: r
151
- }) : null, f(A, {
151
+ }) : null, f(T, {
152
152
  isSelected: y,
153
- isHovered: d
153
+ isHovered: d,
154
+ isFocused: B
154
155
  }))));
155
156
  }, Re = ({ className: e, ...a }) => {
156
- var s;
157
- const { option: l, imageResize: n } = a, r = (s = l.media) == null ? void 0 : s.image;
157
+ var l;
158
+ const { option: s, imageResize: n } = a, r = (l = s.media) == null ? void 0 : l.image;
158
159
  if (!r)
159
160
  return null;
160
161
  const c = n === Le.fit, y = me(r, 96, 96, c ? "fit" : "fill");
161
162
  if (!y)
162
163
  return null;
163
- const O = r.altText || l.label || "";
164
+ const O = r.altText || s.label || "";
164
165
  return /* @__PURE__ */ t.createElement("img", {
165
166
  className: e,
166
167
  src: y,
@@ -169,14 +170,14 @@ const o = ({ children: e }) => {
169
170
  "data-hook": "product-image"
170
171
  });
171
172
  }, ge = ({ className: e, ...a }) => {
172
- const { label: l } = a;
173
+ const { label: s } = a;
173
174
  return /* @__PURE__ */ t.createElement("span", {
174
175
  className: e,
175
176
  "data-hook": "product-label"
176
- }, l || "");
177
+ }, s || "");
177
178
  }, Fe = ({ className: e, ...a }) => {
178
- const { price: l } = a, { currency: n, regionalFormat: r } = w(), c = pe({
179
- amount: l,
179
+ const { price: s } = a, { currency: n, regionalFormat: r } = V(), c = pe({
180
+ amount: s,
180
181
  currency: n == null ? void 0 : n.code,
181
182
  locale: r
182
183
  });
@@ -185,7 +186,7 @@ const o = ({ children: e }) => {
185
186
  "data-hook": "product-price"
186
187
  }, c);
187
188
  }, De = ({ className: e, ...a }) => {
188
- const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = M((p) => {
189
+ const { quantity: s, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: l } = a, u = M((p) => {
189
190
  n(p < 0 ? 0 : p);
190
191
  }, [
191
192
  n
@@ -195,7 +196,7 @@ const o = ({ children: e }) => {
195
196
  u
196
197
  ]);
197
198
  return /* @__PURE__ */ t.createElement(X, {
198
- value: l,
199
+ value: s,
199
200
  onChange: u,
200
201
  minValue: 0,
201
202
  step: 1,
@@ -207,11 +208,11 @@ const o = ({ children: e }) => {
207
208
  "data-hook": "product-quantity"
208
209
  }, /* @__PURE__ */ t.createElement(J, {
209
210
  onKeyDown: m
210
- }, /* @__PURE__ */ t.createElement(U, {
211
+ }, /* @__PURE__ */ t.createElement(Q, {
211
212
  slot: "decrement"
212
213
  }, "-"), /* @__PURE__ */ t.createElement(W, {
213
- ref: s
214
- }), /* @__PURE__ */ t.createElement(U, {
214
+ ref: l
215
+ }), /* @__PURE__ */ t.createElement(Q, {
215
216
  slot: "increment"
216
217
  }, "+")));
217
218
  };
@@ -220,21 +221,21 @@ E.Label = ge;
220
221
  E.Price = Fe;
221
222
  E.Input = be;
222
223
  E.Quantity = De;
223
- V.Option = E;
224
+ H.Option = E;
224
225
  o.Label = ue;
225
- o.Options = V;
226
+ o.Options = H;
226
227
  o.Option = E;
227
228
  o.Description = de;
228
229
  o.Error = Ee;
229
- const Se = "_options_11x4v_1", Pe = "_option_11x4v_1", Ne = "_optionInput_11x4v_21", he = "_optionImage_11x4v_32", ve = "_optionLabel_11x4v_66", Ae = "_optionPrice_11x4v_73", Te = "_quantity_11x4v_87", P = {
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
231
  options: Se,
231
232
  option: Pe,
232
233
  optionInput: Ne,
233
234
  optionImage: he,
234
- optionLabel: ve,
235
- optionPrice: Ae,
236
- quantity: Te
237
- }, qe = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(z, {
235
+ optionLabel: Ae,
236
+ optionPrice: Te,
237
+ quantity: qe
238
+ }, ve = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(z, {
238
239
  content: e,
239
240
  locale: a
240
241
  }), Me = () => {
@@ -243,28 +244,28 @@ const Se = "_options_11x4v_1", Pe = "_option_11x4v_1", Ne = "_optionInput_11x4v_
243
244
  moduleClasses: Ie
244
245
  });
245
246
  return /* @__PURE__ */ t.createElement(o, null, /* @__PURE__ */ t.createElement(o.Label, {
246
- className: b(te, T.label)
247
+ className: b(te, q.label)
247
248
  }, /* @__PURE__ */ t.createElement(o.Label.Required, {
248
- className: b(ne, T.requiredMark)
249
+ className: b(ne, q.requiredMark)
249
250
  })), /* @__PURE__ */ t.createElement(o.Options, {
250
- className: b(ae, Q.options, P.options)
251
+ className: b(ae, w.options, P.options)
251
252
  }, /* @__PURE__ */ t.createElement(o.Option, {
252
- className: b(T.checkbox, P.option)
253
+ className: b(q.checkbox, P.option)
253
254
  }, /* @__PURE__ */ t.createElement(o.Option.Image, {
254
255
  className: P.optionImage
255
256
  }), /* @__PURE__ */ t.createElement(o.Option.Label, {
256
- className: b(oe, Q.optionLabel, P.optionLabel)
257
+ className: b(oe, w.optionLabel, P.optionLabel)
257
258
  }), /* @__PURE__ */ t.createElement(o.Option.Price, {
258
259
  className: b(re, P.optionPrice)
259
260
  }), /* @__PURE__ */ t.createElement(o.Option.Input, {
260
261
  className: (a) => b(e(a), P.optionInput)
261
262
  }), /* @__PURE__ */ t.createElement(o.Option.Quantity, {
262
- className: b(le, T.inputGroup, P.quantity)
263
+ className: b(se, q.inputGroup, P.quantity)
263
264
  }))), /* @__PURE__ */ t.createElement(o.Error, {
264
- className: b(se, T.error)
265
+ className: b(le, q.error)
265
266
  }, /* @__PURE__ */ t.createElement(fe, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
266
- className: b(ie, T.description)
267
- }, qe));
267
+ className: b(ie, q.description)
268
+ }, ve));
268
269
  }, Ze = () => /* @__PURE__ */ t.createElement(Me, null);
269
270
  export {
270
271
  Ze as ProductListRAC
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-DPt2Zl4G.js";
2
+ import { R as r } from "./radio-group-field-rac-BImiqcKa.js";
3
3
  const i = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  i as QuizRadioGroupRAC
@@ -1,15 +1,15 @@
1
- import a, { useRef as S, useState as V, useEffect as T, useCallback as B } from "react";
1
+ import a, { useRef as F, useState as V, useEffect as T, useCallback as B } from "react";
2
2
  import { RadioGroup as H, RadioField as k, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
3
- import { bh as g, be as $, br as F, bj as x } from "./form-CPY-PtxT.js";
3
+ import { bh as g, be as $, br as D, bj as x } from "./form-CYPNOMwk.js";
4
4
  import { f as d, a as v } from "./find-child-C60k4CxG.js";
5
- import { D as U, E as j } from "./field-error-headless-BxEFPwKI.js";
6
- import { L as M } from "./field-label-headless-5mewgrhq.js";
5
+ import { D as U, E as j } from "./field-error-headless-C3eOy1_l.js";
6
+ import { L as M } from "./field-label-headless-BMmR_IeF.js";
7
7
  import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
8
- const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), y = (e, t) => !!t && !z(e, t), J = (e, t) => {
8
+ const L = "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
9
  const l = t ? t.length + 2 : 0;
10
10
  return e.slice(l);
11
11
  }, i = ({ children: e, className: t }) => {
12
- const { id: n, value: l, onChange: O, disabled: p, readOnly: f, required: b, onBlur: E, onFocus: m, hasError: r, FieldLayout: c, options: o } = g(), { inputId: h, labelId: C, ariaDescribedBy: I } = $(), s = d(e, i.Label), _ = d(e, i.Options), D = d(e, i.Description), q = d(e, i.Error), N = y(o, l) ? L : l || null;
12
+ const { id: n, value: l, onChange: O, disabled: p, readOnly: f, required: b, onBlur: E, onFocus: m, hasError: r, FieldLayout: c, options: o } = g(), { inputId: h, labelId: C, ariaDescribedBy: I } = $(), s = d(e, i.Label), _ = d(e, i.Options), R = d(e, i.Description), q = d(e, i.Error), N = S(o, l) ? L : l || null;
13
13
  return /* @__PURE__ */ a.createElement(c, {
14
14
  fieldId: n,
15
15
  renderLabel: () => v(s, {
@@ -29,10 +29,10 @@ const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
29
29
  onBlur: E,
30
30
  onFocus: m
31
31
  }, _),
32
- renderDescription: () => /* @__PURE__ */ a.createElement(a.Fragment, null, q, D)
32
+ renderDescription: () => /* @__PURE__ */ a.createElement(a.Fragment, null, q, R)
33
33
  });
34
34
  }, K = ({ children: e, className: t }) => {
35
- const { options: n, addOther: l, addOtherLabel: O, id: p, numberOfColumns: f, hasError: b } = g(), { t: E } = F(), m = d(e, i.Option), r = S(null), c = O || E("add-other.default-other-option-label") || L;
35
+ const { options: n, addOther: l, addOtherLabel: O, id: p, numberOfColumns: f, hasError: b } = g(), { t: E } = D(), m = d(e, i.Option), r = F(null), c = O || E("add-other.default-other-option-label") || L;
36
36
  return x(() => {
37
37
  var o;
38
38
  (o = r.current) == null || o.focus();
@@ -54,7 +54,7 @@ const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
54
54
  }));
55
55
  }, u = ({ children: e, className: t, ...n }) => {
56
56
  var I;
57
- const { value: l, label: O, isOther: p = !1, radioRef: f } = n, { value: b, options: E } = g(), m = d(e, u.Label), r = d(e, u.Input), c = d(e, u.Control), o = d(e, u.OtherInput), h = p ? y(E, b) : b === l, C = (I = r == null ? void 0 : r.props) == null ? void 0 : I.className;
57
+ const { value: l, label: O, isOther: p = !1, radioRef: f } = n, { value: b, options: E } = g(), m = d(e, u.Label), r = d(e, u.Input), c = d(e, u.Control), o = d(e, u.OtherInput), h = p ? S(E, b) : b === l, C = (I = r == null ? void 0 : r.props) == null ? void 0 : I.className;
58
58
  return /* @__PURE__ */ a.createElement("div", {
59
59
  className: t
60
60
  }, /* @__PURE__ */ a.createElement(k, {
@@ -62,9 +62,10 @@ const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
62
62
  }, /* @__PURE__ */ a.createElement(A, {
63
63
  ref: f,
64
64
  className: C
65
- }, ({ isSelected: s, isHovered: _ }) => /* @__PURE__ */ a.createElement(a.Fragment, null, v(c, {
65
+ }, ({ isSelected: s, isHovered: _, isFocused: R }) => /* @__PURE__ */ a.createElement(a.Fragment, null, v(c, {
66
66
  isSelected: s,
67
- isHovered: _
67
+ isHovered: _,
68
+ isFocused: R
68
69
  }), v(m, {
69
70
  label: O
70
71
  })))), p && h && o);
@@ -74,7 +75,7 @@ const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
74
75
  className: e
75
76
  }, n);
76
77
  }, W = (e) => null, X = ({ className: e }) => {
77
- const { value: t, onChange: n, addOtherLabel: l, addOtherPlaceholder: O, otherInputCharacterLimit: p, disabled: f, readOnly: b, options: E } = g(), { t: m } = F(), r = S(null), c = y(E, t), o = l || m("add-other.default-other-option-label") || L, [h, C] = V(c && t ? J(t, l) : "");
78
+ const { value: t, onChange: n, addOtherLabel: l, addOtherPlaceholder: O, otherInputCharacterLimit: p, disabled: f, readOnly: b, options: E } = g(), { t: m } = D(), r = F(null), c = S(E, t), o = l || m("add-other.default-other-option-label") || L, [h, C] = V(c && t ? J(t, l) : "");
78
79
  T(() => {
79
80
  var s;
80
81
  c && r.current && ((s = r.current) == null || s.focus());
@@ -111,7 +112,7 @@ i.Options = K;
111
112
  i.Option = u;
112
113
  i.Description = U;
113
114
  i.Error = j;
114
- const Y = "_labelImage_1bq4s_1", Z = "_option_1bq4s_26", ee = "_optionInput_1bq4s_32", te = "_optionControl_1bq4s_50", oe = "_optionControlHover_1bq4s_72", ne = "_optionControlSelected_1bq4s_90", le = "_optionLabel_1bq4s_125", R = {
115
+ const Y = "_labelImage_1bq4s_1", Z = "_option_1bq4s_26", ee = "_optionInput_1bq4s_32", te = "_optionControl_1bq4s_50", oe = "_optionControlHover_1bq4s_72", ne = "_optionControlSelected_1bq4s_90", le = "_optionLabel_1bq4s_125", y = {
115
116
  labelImage: Y,
116
117
  option: Z,
117
118
  optionInput: ee,
@@ -120,12 +121,12 @@ const Y = "_labelImage_1bq4s_1", Z = "_option_1bq4s_26", ee = "_optionInput_1bq4
120
121
  optionControlSelected: ne,
121
122
  optionLabel: le
122
123
  }, pe = {
123
- base: R.optionControl,
124
- selected: R.optionControlSelected,
125
- hover: R.optionControlHover
124
+ base: y.optionControl,
125
+ selected: y.optionControlSelected,
126
+ hover: y.optionControlHover
126
127
  };
127
128
  export {
128
129
  pe as R,
129
130
  i as a,
130
- R as s
131
+ y as s
131
132
  };
@@ -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-BMvPai_6.js";
4
+ import { a, s, R as n } from "./radio-button-module-classes-DjJU-8ZB.js";
5
5
  import { E as c } from "./error-icon-hZxQ6DEy.js";
6
- import { s as r } from "./field-rac.module-BGN-O8tV.js";
7
- import { I as i, U as E, P as p, Q as R, v as O, p as _, R as I } from "./form-CPY-PtxT.js";
6
+ import { s as r } from "./field-rac.module-DfEb7pBp.js";
7
+ import { I as i, U as E, P as p, Q as R, v as O, p as _, R as I } from "./form-CYPNOMwk.js";
8
8
  import { o as L } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as N } from "./use-element-state-class-name-BOks3she.js";
10
- import { u } from "./use-text-input-class-name-CTa0bC4T.js";
9
+ import { u as N } from "./use-element-state-class-name-DZFi3Z42.js";
10
+ import { u } from "./use-text-input-class-name-XFjQX8q1.js";
11
11
  const D = ({ 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-DPt2Zl4G.js";
2
+ import { R as r } from "./radio-group-field-rac-BImiqcKa.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,18 +1,18 @@
1
1
  import { RicosViewer as y } from "@wix/ricos/viewer";
2
- import m from "classnames";
2
+ import u from "classnames";
3
3
  import e, { useCallback as N, useState as O, useRef as A } from "react";
4
- import { bh as I, be as v, br as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-CPY-PtxT.js";
4
+ import { bh as I, be as v, br as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-CYPNOMwk.js";
5
5
  import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
6
- import { f as u, a as U } from "./find-child-C60k4CxG.js";
7
- import { D as z, E as Q } from "./field-error-headless-BxEFPwKI.js";
8
- import { L as Z } from "./field-label-headless-5mewgrhq.js";
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-C3eOy1_l.js";
8
+ import { L as Z } from "./field-label-headless-BMmR_IeF.js";
9
9
  import { E as j } from "./error-icon-hZxQ6DEy.js";
10
- import { s as g } from "./field-rac.module-BGN-O8tV.js";
11
- import { u as J } from "./use-element-state-class-name-BOks3she.js";
10
+ import { s as g } from "./field-rac.module-DfEb7pBp.js";
11
+ import { u as J } from "./use-element-state-class-name-DZFi3Z42.js";
12
12
  const t = ({ children: a }) => {
13
- const { id: n, value: r, onChange: o, disabled: l, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => o(Number(D)), [
14
- o
15
- ]), S = u(a, t.Label), s = u(a, t.Ratings), f = u(a, t.Description), h = u(a, t.Error);
13
+ const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => i(Number(D)), [
14
+ i
15
+ ]), S = E(a, t.Label), s = E(a, t.Ratings), f = E(a, t.Description), h = E(a, t.Error);
16
16
  return /* @__PURE__ */ e.createElement(R, {
17
17
  fieldId: n,
18
18
  renderLabel: () => S,
@@ -21,29 +21,29 @@ const t = ({ children: a }) => {
21
21
  value: r ? String(r) : void 0,
22
22
  onChange: L,
23
23
  isDisabled: l,
24
- isReadOnly: d,
25
- isRequired: c,
26
- isInvalid: i,
27
- onBlur: E,
24
+ isReadOnly: m,
25
+ isRequired: d,
26
+ isInvalid: c,
27
+ onBlur: o,
28
28
  onFocus: C,
29
29
  orientation: "horizontal"
30
30
  }, s),
31
31
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h, f)
32
32
  });
33
33
  }, b = ({ children: a, className: n, getReactionLabel: r }) => {
34
- const { value: o, readOnly: l, hasError: d } = I(), { inputId: c, ariaDescribedBy: i } = v(), [E, C] = O(), R = A(null), _ = u(a, b.Rating), L = [
34
+ const { value: i, readOnly: l, hasError: m } = I(), { inputId: d, ariaDescribedBy: c } = v(), [o, C] = O(), R = A(null), _ = E(a, b.Rating), L = [
35
35
  "1",
36
36
  "2",
37
37
  "3",
38
38
  "4",
39
39
  "5"
40
- ], S = (s) => E && !l ? E >= s : !!o && o >= Number(s);
40
+ ], S = (s) => o && !l ? o >= s : !!i && i >= Number(s);
41
41
  return /* @__PURE__ */ e.createElement("div", {
42
42
  ref: R,
43
- id: c,
44
- "aria-describedby": i,
43
+ id: d,
44
+ "aria-describedby": c,
45
45
  className: n,
46
- "data-invalid": d,
46
+ "data-invalid": m,
47
47
  "data-readonly": l
48
48
  }, L.map((s) => U(_, {
49
49
  key: s,
@@ -63,22 +63,24 @@ const t = ({ children: a }) => {
63
63
  width: 1,
64
64
  whiteSpace: "nowrap"
65
65
  }, F = ({ className: a, children: n, ...r }) => {
66
- const { value: o, isSelected: l, onHoverChange: d, label: c } = r;
66
+ const { value: i, isSelected: l, onHoverChange: m, label: d } = r;
67
67
  return /* @__PURE__ */ e.createElement(k, {
68
- value: o
68
+ value: i
69
69
  }, /* @__PURE__ */ e.createElement(x, {
70
- className: ({ isHovered: i }) => typeof a == "function" ? a({
70
+ className: ({ isHovered: c, isFocused: o }) => typeof a == "function" ? a({
71
71
  isSelected: l,
72
- isHovered: i
72
+ isHovered: c,
73
+ isFocused: o
73
74
  }) : a ?? "",
74
75
  "data-active": l || void 0,
75
- onHoverChange: d
76
- }, ({ isHovered: i }) => /* @__PURE__ */ e.createElement(e.Fragment, null, typeof n == "function" ? n({
76
+ onHoverChange: m
77
+ }, ({ isHovered: c, isFocused: o }) => /* @__PURE__ */ e.createElement(e.Fragment, null, typeof n == "function" ? n({
77
78
  isSelected: l,
78
- isHovered: i
79
- }) : n, c ? /* @__PURE__ */ e.createElement("span", {
79
+ isHovered: c,
80
+ isFocused: o
81
+ }) : n, d ? /* @__PURE__ */ e.createElement("span", {
80
82
  style: K
81
- }, c) : null)));
83
+ }, d) : null)));
82
84
  };
83
85
  b.Rating = F;
84
86
  t.Label = Z;
@@ -114,20 +116,20 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
114
116
  moduleClasses: te
115
117
  });
116
118
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
117
- className: m(H, g.label)
119
+ className: u(H, g.label)
118
120
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
119
- className: m(M, g.requiredMark)
121
+ className: u(M, g.requiredMark)
120
122
  })), /* @__PURE__ */ e.createElement(t.Ratings, {
121
- className: m(w, p.ratings),
123
+ className: u(w, p.ratings),
122
124
  getReactionLabel: (r) => a("rating-input.a11y.reaction-label", {
123
125
  count: r
124
126
  })
125
127
  }, /* @__PURE__ */ e.createElement(t.Rating, {
126
128
  className: n
127
129
  }, /* @__PURE__ */ e.createElement(W, null))), /* @__PURE__ */ e.createElement(t.Error, {
128
- className: m(B, g.error)
130
+ className: u(B, g.error)
129
131
  }, /* @__PURE__ */ e.createElement(j, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
130
- className: m(P, g.description)
132
+ className: u(P, g.description)
131
133
  }, ee));
132
134
  };
133
135
  export {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-C3E0KzV-.js";
2
+ import { R as e } from "./rating-input-field-rac-Dsr_S5qN.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 { bh as a, b9 as i, br as T } from "./form-CPY-PtxT.js";
2
+ import { bh as a, b9 as i, br as T } from "./form-CYPNOMwk.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 { bh as m, au as u, ac as i, aU as R, aX as T } from "./form-CPY-PtxT.js";
4
- import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-CQ1qa_zz.js";
3
+ import { bh as m, au as u, ac as i, aU as R, aX as T } from "./form-CYPNOMwk.js";
4
+ import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-BfQJqA-x.js";
5
5
  const p = {
6
6
  colorPalette: T(),
7
7
  customStyles: R()
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-BfdA5KNz.js";
2
+ import { R as t } from "./rich-text-field-rac-DIuZbu_u.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC
@@ -1,15 +1,15 @@
1
1
  import t, { useRef as T, useMemo as _, useCallback as h, useEffect as b } from "react";
2
2
  import { RicosViewer as w } from "@wix/ricos/viewer";
3
3
  import E from "classnames";
4
- import { bd as P, br as A, F as M, bh as y, b9 as U, aj as V, I as x, U as H, K as k, v as q, p as B } from "./form-CPY-PtxT.js";
5
- import { u as W } from "./use-service-options-base-q0JTA7UI.js";
6
- import { D as u } from "./dropdown-field-headless-ajQghLaj.js";
4
+ import { bd as P, br as A, F as M, bh as y, b9 as U, aj as V, I as x, U as H, K as k, v as q, p as B } from "./form-CYPNOMwk.js";
5
+ import { u as W } from "./use-service-options-base-ZX4iaxzr.js";
6
+ import { D as u } from "./dropdown-field-headless-DVZnbZAM.js";
7
7
  import { C as j } from "./chevron-down-icon-CcpVm6B-.js";
8
8
  import { E as K } from "./error-icon-hZxQ6DEy.js";
9
9
  import { H as Q } from "./custom-focus-class-_483Pkwp.js";
10
- import { s as a } from "./field-rac.module-BGN-O8tV.js";
11
- import { u as Y } from "./use-dropdown-option-class-name-BetaTWbW.js";
12
- import { u as z } from "./use-dropdown-trigger-class-name-C0ffAjFn.js";
10
+ import { s as a } from "./field-rac.module-DfEb7pBp.js";
11
+ import { u as Y } from "./use-dropdown-option-class-name-C_MO_0JS.js";
12
+ import { u as z } from "./use-dropdown-trigger-class-name-D7EMiD-M.js";
13
13
  const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
14
14
  const { actions: o } = P(), { t: C } = A(), { addOther: n, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), i = T(!0), d = _(() => {
15
15
  var s;