@wix/form-elements 1.169.0 → 1.171.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 (109) hide show
  1. package/dist/component/{appointment-rac-BbXyKTd7.js → appointment-rac-DZ0SFXmL.js} +83 -83
  2. package/dist/component/{bookings-address-rac-VJkR_U9L.js → bookings-address-rac-BW9grc77.js} +1 -1
  3. package/dist/component/{bookings-email-rac-_EupwXpQ.js → bookings-email-rac-D8gMaAfB.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DTZixHYj.js → bookings-first-name-rac-CAjcs7b6.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BKbKTv5g.js → bookings-header-rac-BhKZ1kku.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BDy860-C.js → bookings-last-name-rac-DpsMDuU0.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DgNP-YNZ.js → bookings-login-bar-rac-BVdWmKS8.js} +3 -3
  8. package/dist/component/{bookings-phone-rac-B_I6n96b.js → bookings-phone-rac-DsqNi2mI.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-prYPbIiz.js → bookings-rich-text-rac-elM4Ne3f.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-C-4PXuxG.js → checkbox-field-rac-BU4E73fD.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-D16bAcaq.js → checkbox-group-field-headless-6yJdIbP2.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-GUQ5dO_s.js → checkbox-group-field-rac-CojbCWSF.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Bl6xL5-H.js → checkbox-group-rac-3qUVUc-C.js} +1 -1
  14. package/dist/component/{checkbox-rac-Blg0KVyP.js → checkbox-rac-DwbTapd_.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BfOhCAj8.js → contacts-address-rac-BL7XDZuP.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DYBvDh62.js → contacts-birthdate-rac-DeJYIHAg.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DIJr7zjA.js → contacts-company-rac-BeImf5uc.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DjmqELhC.js → contacts-email-rac-CtacwrZ0.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DGNll7gw.js → contacts-first-name-rac-CAdOqOOA.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BJ8AZYQN.js → contacts-last-name-rac-Db9mHzCW.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BC-QtpEN.js → contacts-phone-rac-W0OLEbzL.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BQia__74.js → contacts-position-rac-CV4Ibt4Z.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CTFptz01.js → contacts-subscribe-rac-CQ3Q1pjZ.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-Cy72Jouc.js → contacts-tax-id-rac-Dux-pk6r.js} +1 -1
  25. package/dist/component/{date-availability-BC6updcS.js → date-availability-RkX-Qw7G.js} +1 -1
  26. package/dist/component/date-input-field-rac-CYCT6qoa.js +309 -0
  27. package/dist/component/{date-input-rac-KkRyWRP_.js → date-input-rac-BkYZ7q_o.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BLWVJbTJ.js → date-picker-field-rac-eMidYtsl.js} +31 -31
  29. package/dist/component/{date-picker-rac-DKCQza7v.js → date-picker-rac-D23rxZcF.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-CZxZW6fz.js → date-time-input-field-rac-BjIj4dXQ.js} +111 -111
  31. package/dist/component/{date-time-input-rac-DQ-iBwmr.js → date-time-input-rac-BSGAdk9L.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-kp1Jbwt-.js → dext-checkbox-group-rac-Xmb5IKrb.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-CBm9cRUz.js → dext-checkbox-rac-2eA7y0ld.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-DsVKWsRy.js → dext-date-picker-rac-CmLxVGGT.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CO26-8Qo.js → dext-date-time-input-rac-Cd9nwSjb.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-eRzu2C-y.js → dext-dropdown-rac-BKdQ0nGS.js} +1 -1
  37. package/dist/component/{dext-email-rac-DDrZzE_G.js → dext-email-rac-07zDPxyf.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-Dj7sInLk.js → dext-number-input-rac-DRvGuppY.js} +1 -1
  39. package/dist/component/{dext-phone-rac-g8M77F7m.js → dext-phone-rac-CKtTVjFg.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BjhygC0R.js → dext-radio-group-rac-BsBmMufq.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BraNjvyA.js → dext-rating-input-rac-CcFSTAIh.js} +1 -1
  42. package/dist/component/{dext-tags-rac-B5mAIuDi.js → dext-tags-rac-CCTDlCvX.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-D_YBnaWi.js → dext-text-area-rac-Cif8po9h.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-BzeWH1jv.js → dext-text-input-rac-2118X4iF.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Cn0h_vx3.js → dext-url-input-rac-DDImGkQe.js} +1 -1
  46. package/dist/component/{donation-rac-CQRdHxWh.js → donation-rac-Dnylss1d.js} +103 -103
  47. package/dist/component/{dropdown-field-rac-C7LL0W5Z.js → dropdown-field-rac-DDI4ZgZH.js} +3 -3
  48. package/dist/component/{dropdown-rac-Nb2VyJ0x.js → dropdown-rac-DX0Z3R_8.js} +1 -1
  49. package/dist/component/{ecom-address-rac-_c2YIIwg.js → ecom-address-rac-D9MeEQsk.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-Bma7TAVj.js → ecom-subscription-checkbox-rac-DKJ9j5dj.js} +2 -2
  51. package/dist/component/{email-input-field-rac-2E2tEaS5.js → email-input-field-rac-DaKrmlwe.js} +55 -55
  52. package/dist/component/{events-repeater-rac-COWHYBFD.js → events-repeater-rac-DWrOLT0Y.js} +45 -45
  53. package/dist/component/{events-rsvp-rac-CXp8j19Y.js → events-rsvp-rac-YBTR1tR0.js} +6 -6
  54. package/dist/component/{field-error-headless-S-ugOQQX.js → field-error-headless-jksFrezt.js} +10 -10
  55. package/dist/component/{field-label-headless-_n4I0_tX.js → field-label-headless-BBvJAVxI.js} +10 -10
  56. package/dist/component/{file-upload-rac-DCH_iwDg.js → file-upload-rac-CgdmfUZG.js} +168 -168
  57. package/dist/component/{fixed-payment-rac-CYkKJUfM.js → fixed-payment-rac-v6rKwzFs.js} +13 -13
  58. package/dist/component/{form-jK8ezTss.js → form-BsiK682r.js} +530 -502
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-DnbjI6W5.js → header-field-rac-BuXybl7K.js} +6 -6
  61. package/dist/component/{header-rac-DKUICrni.js → header-rac-CDyaLosW.js} +1 -1
  62. package/dist/component/{image-choice-rac-B_9ponST.js → image-choice-rac-BRlMroBw.js} +41 -41
  63. package/dist/component/{index-BxdMzOvN.js → index-BanOeCAF.js} +242 -236
  64. package/dist/component/{index-ZYnsxY-a.js → index-y9URYGEE.js} +6 -6
  65. package/dist/component/{isObjectLike-BW-9QEQl.js → isObjectLike-BG9nJ-rx.js} +7 -7
  66. package/dist/component/{multiline-address-field-rac-k-P0ijWG.js → multiline-address-field-rac-DRAkxI1l.js} +342 -342
  67. package/dist/component/{multiline-address-rac-Bbn9mNDa.js → multiline-address-rac-JjTzWsEb.js} +1 -1
  68. package/dist/component/{number-input-field-rac--lom-B_X.js → number-input-field-rac-QrouG7Hv.js} +22 -22
  69. package/dist/component/{number-input-rac-Bhbd6T9S.js → number-input-rac-DGmE7cLv.js} +1 -1
  70. package/dist/component/{password-rac-BV_uTHb3.js → password-rac-DeyY228m.js} +28 -28
  71. package/dist/component/{payment-input-rac-cawyGN_t.js → payment-input-rac-DmIennLi.js} +45 -45
  72. package/dist/component/{phone-input-field-rac-CsElHRto.js → phone-input-field-rac-F7e74TGA.js} +76 -76
  73. package/dist/component/{phone-rac-XrHN5Nko.js → phone-rac-CQfB2CQD.js} +1 -1
  74. package/dist/component/{product-list-rac-cxv_xz7K.js → product-list-rac--GGG8vvO.js} +62 -62
  75. package/dist/component/{quiz-radio-group-rac-DGaxOPE1.js → quiz-radio-group-rac-DF2C2vNq.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-Xv2Jn01x.js → radio-button-module-classes-DmpNo6F2.js} +17 -17
  77. package/dist/component/{radio-group-field-rac-DgGqgTql.js → radio-group-field-rac-BGcPYfKO.js} +6 -6
  78. package/dist/component/{radio-group-rac-Bh0E-oe1.js → radio-group-rac-CqysUMCE.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-C3YLV971.js → rating-input-field-rac-D-ei917Y.js} +24 -24
  80. package/dist/component/{rating-input-rac-CfcC5EUh.js → rating-input-rac-a9zJ74fw.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-DUjzLGtX.js → rich-content-rac.module-CvyLVlXL.js} +5 -5
  82. package/dist/component/{rich-text-field-rac-BmguoJhk.js → rich-text-field-rac-vf19nvyw.js} +7 -7
  83. package/dist/component/{rich-text-rac-BWhHcq25.js → rich-text-rac-Cx_wpoxC.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-C5oX-ql7.js → service-dropdown-rac-DITzKQxd.js} +26 -26
  85. package/dist/component/{services-multi-choice-rac-C1fem9NB.js → services-multi-choice-rac-BtisN0Aq.js} +11 -11
  86. package/dist/component/{signature-rac-BtHqiWj1.js → signature-rac-DUeIoS5O.js} +226 -226
  87. package/dist/component/{submit-button-rac-OYeKJFF8.js → submit-button-rac-C8h6zeTw.js} +36 -36
  88. package/dist/component/{tags-field-rac-kA2RSijL.js → tags-field-rac-CjFuiB0n.js} +51 -51
  89. package/dist/component/{tags-rac-B_2qCZGu.js → tags-rac-BO7rwyLl.js} +1 -1
  90. package/dist/component/{text-area-field-rac-DeO609Mv.js → text-area-field-rac-CgUx3nQ0.js} +23 -23
  91. package/dist/component/{text-area-rac-BAQFBOZd.js → text-area-rac-WgXYXIaf.js} +1 -1
  92. package/dist/component/{text-input-field-rac-CCcKwuLZ.js → text-input-field-rac-DaxWFha-.js} +6 -6
  93. package/dist/component/{text-input-headless-D8-jkaYm.js → text-input-headless-hjuRJTZN.js} +6 -6
  94. package/dist/component/{text-input-rac-BVcgjj8g.js → text-input-rac-BzumrJBj.js} +1 -1
  95. package/dist/component/{time-input-rac-BYctyHgU.js → time-input-rac-2FEkpQ7M.js} +18 -18
  96. package/dist/component/{url-input-field-rac-COC9qgcs.js → url-input-field-rac-BZ9f8D8I.js} +26 -26
  97. package/dist/component/{url-input-rac-BZXLh0Ej.js → url-input-rac-D-AVlxkD.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-BTltqRl1.js → use-dropdown-option-class-name-DwAAtzgX.js} +11 -11
  99. package/dist/component/{use-dropdown-trigger-class-name-BjJZfl3i.js → use-dropdown-trigger-class-name-D-6n9YVG.js} +18 -18
  100. package/dist/component/{use-element-state-class-name-CkT6Ga8t.js → use-element-state-class-name-C5auxwhj.js} +3 -3
  101. package/dist/component/{use-hoverable-input-class-name-BkoSr6tr.js → use-hoverable-input-class-name-Nd2jqfz4.js} +2 -2
  102. package/dist/component/use-is-forced-open-dropdown-CKaHhCqp.js +64 -0
  103. package/dist/component/{use-service-options-base-Wp8RZ4Z8.js → use-service-options-base-CvluFheT.js} +3 -3
  104. package/dist/component/use-text-input-class-name-DGTlYJxC.js +6 -0
  105. package/dist/form.d.ts +19 -0
  106. package/package.json +2 -2
  107. package/dist/component/date-input-field-rac-b_T1yf8D.js +0 -309
  108. package/dist/component/use-is-forced-open-dropdown-fo_NCnSk.js +0 -53
  109. package/dist/component/use-text-input-class-name-DS7i03Gk.js +0 -6
@@ -1,20 +1,20 @@
1
- import t, { useMemo as G, useCallback as M, useRef as x } from "react";
2
- import { RicosViewer as H } from "@wix/ricos/viewer";
3
- import f from "classnames";
4
- import { CheckboxField as $, CheckboxButton as z, NumberField as X, Group as Y, Button as Q, Input as J } from "react-aria-components";
5
- import { bD as U, bA as W, bv as w, bN as Z, bF as ee, U as te, af as ne, a0 as ae, a3 as oe, a2 as re, a4 as le, K as se, G as ie, a1 as ce } from "./form-jK8ezTss.js";
6
- import { f as I, a as b } from "./find-child-C60k4CxG.js";
7
- import { L as ue, g as me } from "./field-label-headless-_n4I0_tX.js";
1
+ import t, { useMemo as K, useCallback as v, useRef as x } from "react";
2
+ import { RicosViewer as $ } from "@wix/ricos/viewer";
3
+ import b from "classnames";
4
+ import { CheckboxField as z, CheckboxButton as G, NumberField as X, Group as Y, Button as Q, Input as J } from "react-aria-components";
5
+ import { bK as U, bH as W, bC as w, bU as Z, bM as ee, X as te, al as ne, a6 as ae, a9 as oe, a8 as re, aa as le, M as se, I as ie, a7 as ce } from "./form-BsiK682r.js";
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-BBvJAVxI.js";
8
8
  import { f as pe } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ee } from "./field-error-headless-S-ugOQQX.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-jksFrezt.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
- import { S as fe } from "./selection-indicator-XQ8MYHUQ.js";
13
- import { E as be } from "./error-icon-hZxQ6DEy.js";
12
+ import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
13
+ import { E as fe } from "./error-icon-hZxQ6DEy.js";
14
14
  import { C as Ie } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
15
- import { s as q } from "./field-rac.module-ts2t4WUO.js";
15
+ import { s as M } from "./field-rac.module-ts2t4WUO.js";
16
16
  import { o as j } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as Oe } from "./use-element-state-class-name-CkT6Ga8t.js";
17
+ import { u as Oe } from "./use-element-state-class-name-C5auxwhj.js";
18
18
  var Le = /* @__PURE__ */ (function(e) {
19
19
  return e.crop = "CROP", e.fit = "FIT", e;
20
20
  })({}), k = /* @__PURE__ */ (function(e) {
@@ -28,10 +28,10 @@ function Ce({ maxItems: e, products: a } = {}) {
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 } = U(), { inputId: v, labelId: N, ariaDescribedBy: h } = W(), _ = I(e, o.Label), g = I(e, o.Options), A = I(e, o.Description), L = I(e, o.Error), i = G(() => l || [], [
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: q, labelId: N, ariaDescribedBy: h } = W(), _ = I(e, o.Label), g = I(e, o.Options), T = I(e, o.Description), L = I(e, o.Error), i = K(() => l || [], [
32
32
  l
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 ? [
33
+ ]), A = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = v((S, R) => {
34
+ const d = i.filter((H) => H.productId !== S.productId), B = R ? [
35
35
  ...d,
36
36
  S
37
37
  ] : d;
@@ -44,33 +44,33 @@ const o = ({ children: e }) => {
44
44
  fieldId: a,
45
45
  renderLabel: () => _,
46
46
  renderInput: () => /* @__PURE__ */ t.createElement(ye, {
47
- id: v,
47
+ id: q,
48
48
  ariaLabelledBy: N,
49
49
  ariaDescribedBy: h,
50
50
  required: y,
51
51
  onBlur: O,
52
52
  onFocus: s
53
- }, g ? b(g, {
54
- allowMany: T,
53
+ }, g ? f(g, {
54
+ allowMany: A,
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, A)
61
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, T)
62
62
  });
63
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 } = U(), { currency: v } = w(), { t: N } = Z(), h = I(e, o.Option);
64
+ const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: s } = l, { options: u, validation: m, imageResize: p } = U(), { currency: q } = w(), { 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, 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
- return b(h, {
68
+ var C, A, F, D, S;
69
+ const T = ((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);
70
+ return f(h, {
71
71
  key: _.id || _.value || _.label,
72
72
  option: _,
73
- price: A,
73
+ price: T,
74
74
  quantity: i == null ? void 0 : i.quantity,
75
75
  isSelected: !!i,
76
76
  allowMany: n,
@@ -84,14 +84,14 @@ const o = ({ children: e }) => {
84
84
  });
85
85
  }));
86
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);
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: _ } = U(), g = x(null), T = x(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);
88
88
  ee(() => {
89
89
  var d;
90
- h && ((d = g.current ?? A.current) == null || d.focus({
90
+ h && ((d = g.current ?? T.current) == null || d.focus({
91
91
  preventScroll: !0
92
92
  }));
93
93
  }, _);
94
- const D = M((d) => {
94
+ const D = v((d) => {
95
95
  s({
96
96
  productId: n.value,
97
97
  price: r,
@@ -101,7 +101,7 @@ const o = ({ children: e }) => {
101
101
  s,
102
102
  n.value,
103
103
  r
104
- ]), S = M((d) => {
104
+ ]), S = v((d) => {
105
105
  s({
106
106
  productId: n.value,
107
107
  price: r,
@@ -111,44 +111,44 @@ const o = ({ children: e }) => {
111
111
  s,
112
112
  n.value,
113
113
  r
114
- ]), R = `${n.label} ${v} ${r}`;
114
+ ]), R = `${n.label} ${q} ${r}`;
115
115
  return O ? /* @__PURE__ */ t.createElement("div", {
116
116
  className: a,
117
117
  "data-hook": "product"
118
- }, L ? b(L, {
118
+ }, L ? f(L, {
119
119
  option: n,
120
120
  imageResize: N
121
- }) : null, i ? b(i, {
121
+ }) : null, i ? f(i, {
122
122
  label: n.label
123
- }) : null, C ? b(C, {
123
+ }) : null, C ? f(C, {
124
124
  price: r
125
- }) : null, F ? b(F, {
125
+ }) : null, F ? f(F, {
126
126
  quantity: c,
127
127
  onQuantityChange: S,
128
128
  disabled: u,
129
129
  readOnly: m,
130
130
  hasError: p,
131
131
  ariaLabel: R,
132
- inputRef: h ? A : void 0
133
- }) : null) : /* @__PURE__ */ t.createElement($, {
132
+ inputRef: h ? T : void 0
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(z, {
140
+ }, /* @__PURE__ */ t.createElement(G, {
141
141
  ref: g,
142
142
  className: a,
143
143
  "data-hook": "product"
144
- }, ({ isHovered: d, isFocused: B }) => /* @__PURE__ */ t.createElement(t.Fragment, null, L ? b(L, {
144
+ }, ({ isHovered: d, isFocused: B }) => /* @__PURE__ */ t.createElement(t.Fragment, null, L ? f(L, {
145
145
  option: n,
146
146
  imageResize: N
147
- }) : null, i ? b(i, {
147
+ }) : null, i ? f(i, {
148
148
  label: n.label
149
- }) : null, C ? b(C, {
149
+ }) : null, C ? f(C, {
150
150
  price: r
151
- }) : null, b(T, {
151
+ }) : null, f(A, {
152
152
  isSelected: y,
153
153
  isHovered: d,
154
154
  isFocused: B
@@ -186,11 +186,11 @@ const o = ({ children: e }) => {
186
186
  "data-hook": "product-price"
187
187
  }, c);
188
188
  }, De = ({ className: e, ...a }) => {
189
- const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = M((p) => {
189
+ const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = v((p) => {
190
190
  n(p < 0 ? 0 : p);
191
191
  }, [
192
192
  n
193
- ]), m = M((p) => {
193
+ ]), m = v((p) => {
194
194
  p.key === "Home" && (p.preventDefault(), u(0));
195
195
  }, [
196
196
  u
@@ -219,7 +219,7 @@ const o = ({ children: e }) => {
219
219
  E.Image = Re;
220
220
  E.Label = ge;
221
221
  E.Price = Fe;
222
- E.Input = fe;
222
+ E.Input = be;
223
223
  E.Quantity = De;
224
224
  V.Option = E;
225
225
  o.Label = ue;
@@ -227,46 +227,46 @@ o.Options = V;
227
227
  o.Option = E;
228
228
  o.Description = de;
229
229
  o.Error = Ee;
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 = {
230
+ const Se = "_options_1jnru_1", Pe = "_option_1jnru_1", Ne = "_optionInput_1jnru_21", he = "_optionImage_1jnru_32", Te = "_optionLabel_1jnru_66", Ae = "_optionPrice_1jnru_73", Me = "_quantity_1jnru_87", P = {
231
231
  options: Se,
232
232
  option: Pe,
233
233
  optionInput: Ne,
234
234
  optionImage: he,
235
- optionLabel: Ae,
236
- optionPrice: Te,
237
- quantity: qe
238
- }, ve = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(H, {
235
+ optionLabel: Te,
236
+ optionPrice: Ae,
237
+ quantity: Me
238
+ }, qe = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement($, {
239
239
  content: e,
240
240
  locale: a
241
- }), Me = () => {
241
+ }), ve = () => {
242
242
  const e = Oe({
243
243
  globalClasses: ce,
244
244
  moduleClasses: Ie
245
245
  });
246
246
  return /* @__PURE__ */ t.createElement(o, null, /* @__PURE__ */ t.createElement(o.Label, {
247
- className: f(te, q.label)
247
+ className: b(te, M.label)
248
248
  }, /* @__PURE__ */ t.createElement(o.Label.Required, {
249
- className: f(ne, q.requiredMark)
249
+ className: b(ne, M.requiredMark)
250
250
  })), /* @__PURE__ */ t.createElement(o.Options, {
251
- className: f(ae, j.options, P.options)
251
+ className: b(ae, j.options, P.options)
252
252
  }, /* @__PURE__ */ t.createElement(o.Option, {
253
- className: f(q.checkbox, P.option)
253
+ className: b(M.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: f(oe, j.optionLabel, P.optionLabel)
257
+ className: b(oe, j.optionLabel, P.optionLabel)
258
258
  }), /* @__PURE__ */ t.createElement(o.Option.Price, {
259
- className: f(re, P.optionPrice)
259
+ className: b(re, P.optionPrice)
260
260
  }), /* @__PURE__ */ t.createElement(o.Option.Input, {
261
- className: (a) => f(e(a), P.optionInput)
261
+ className: (a) => b(e(a), P.optionInput)
262
262
  }), /* @__PURE__ */ t.createElement(o.Option.Quantity, {
263
- className: f(le, q.inputGroup, P.quantity)
263
+ className: b(le, M.inputGroup, P.quantity)
264
264
  }))), /* @__PURE__ */ t.createElement(o.Error, {
265
- className: f(se, q.error)
266
- }, /* @__PURE__ */ t.createElement(be, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
267
- className: f(ie, q.description)
268
- }, ve));
269
- }, Ze = () => /* @__PURE__ */ t.createElement(Me, null);
265
+ className: b(se, M.error)
266
+ }, /* @__PURE__ */ t.createElement(fe, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
267
+ className: b(ie, M.description)
268
+ }, qe));
269
+ }, Ze = () => /* @__PURE__ */ t.createElement(ve, null);
270
270
  export {
271
271
  Ze as ProductListRAC
272
272
  };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-DgGqgTql.js";
2
+ import { R as r } from "./radio-group-field-rac-BGcPYfKO.js";
3
3
  const i = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  i as QuizRadioGroupRAC
@@ -1,21 +1,21 @@
1
1
  import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
2
- import { RadioGroup as A, RadioField as k, RadioButton as G, TextField as P, Input as $ } from "react-aria-components";
3
- import { bD as g, bA as q, bN as D, bF as x } from "./form-jK8ezTss.js";
2
+ import { RadioGroup as k, RadioField as A, RadioButton as G, TextField as P, Input as U } from "react-aria-components";
3
+ import { bK as g, bH as $, bU as D, bM as q } from "./form-BsiK682r.js";
4
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-S-ugOQQX.js";
6
- import { L as j } from "./field-label-headless-_n4I0_tX.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), y = (e, t) => !!t && !z(e, t), J = (e, t) => {
5
+ import { D as x, E as M } from "./field-error-headless-jksFrezt.js";
6
+ import { L as K } from "./field-label-headless-BBvJAVxI.js";
7
+ import { S as j } from "./selection-indicator-XQ8MYHUQ.js";
8
+ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), y = (e, t) => !!t && !w(e, t), z = (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: h, disabled: p, readOnly: O, required: m, onBlur: E, onFocus: b, hasError: r, FieldLayout: c, options: o } = g(), { inputId: f, labelId: C, ariaDescribedBy: I } = q(), s = u(e, i.Label), _ = u(e, i.Options), R = u(e, i.Description), N = u(e, i.Error), V = y(o, l) ? v : l || null;
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 = y(o, l) ? v : l || null;
13
13
  return /* @__PURE__ */ a.createElement(c, {
14
14
  fieldId: n,
15
15
  renderLabel: () => L(s, {
16
16
  as: "div"
17
17
  }),
18
- renderInput: () => /* @__PURE__ */ a.createElement(A, {
18
+ renderInput: () => /* @__PURE__ */ a.createElement(k, {
19
19
  id: f,
20
20
  className: t,
21
21
  "aria-labelledby": C,
@@ -31,9 +31,9 @@ const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
31
31
  }, _),
32
32
  renderDescription: () => /* @__PURE__ */ a.createElement(a.Fragment, null, N, R)
33
33
  });
34
- }, K = ({ children: e, className: t }) => {
34
+ }, J = ({ children: e, className: t }) => {
35
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(() => {
36
+ return q(() => {
37
37
  var o;
38
38
  (o = r.current) == null || o.focus({
39
39
  preventScroll: !0
@@ -59,7 +59,7 @@ const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
59
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 ? y(E, m) : m === l, C = (I = r == null ? void 0 : r.props) == null ? void 0 : I.className;
60
60
  return /* @__PURE__ */ a.createElement("div", {
61
61
  className: t
62
- }, /* @__PURE__ */ a.createElement(k, {
62
+ }, /* @__PURE__ */ a.createElement(A, {
63
63
  value: l
64
64
  }, /* @__PURE__ */ a.createElement(G, {
65
65
  ref: O,
@@ -77,7 +77,7 @@ const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
77
77
  className: e
78
78
  }, n);
79
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 = y(E, t), o = l || b("add-other.default-other-option-label") || v, [f, C] = T(c && t ? J(t, l) : "");
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 = y(E, t), o = l || b("add-other.default-other-option-label") || v, [f, C] = T(c && t ? z(t, l) : "");
81
81
  B(() => {
82
82
  var s;
83
83
  c && r.current && ((s = r.current) == null || s.focus());
@@ -98,7 +98,7 @@ const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
98
98
  onChange: I,
99
99
  isDisabled: O,
100
100
  isReadOnly: m
101
- }, /* @__PURE__ */ a.createElement($, {
101
+ }, /* @__PURE__ */ a.createElement(U, {
102
102
  ref: r,
103
103
  className: e,
104
104
  placeholder: h,
@@ -107,12 +107,12 @@ const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
107
107
  };
108
108
  d.Label = Q;
109
109
  d.Input = W;
110
- d.Control = w;
110
+ d.Control = j;
111
111
  d.OtherInput = X;
112
- i.Label = j;
113
- i.Options = K;
112
+ i.Label = K;
113
+ i.Options = J;
114
114
  i.Option = d;
115
- i.Description = U;
115
+ i.Description = x;
116
116
  i.Error = M;
117
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", S = {
118
118
  labelImage: Y,
@@ -1,17 +1,17 @@
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-Xv2Jn01x.js";
4
+ import { a, s, R as n } from "./radio-button-module-classes-DmpNo6F2.js";
5
5
  import { E as c } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as r } from "./field-rac.module-ts2t4WUO.js";
7
- import { U as i, af as E, a5 as p, a6 as O, K as R, G as _, a7 as I } from "./form-jK8ezTss.js";
7
+ import { X as i, al as E, ab as p, ac as O, M as R, I as _, ad as I } from "./form-BsiK682r.js";
8
8
  import { o as L } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as N } from "./use-element-state-class-name-CkT6Ga8t.js";
10
- import { u } from "./use-text-input-class-name-DS7i03Gk.js";
9
+ import { u as N } from "./use-element-state-class-name-C5auxwhj.js";
10
+ import { u } from "./use-text-input-class-name-DGTlYJxC.js";
11
11
  const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: o,
13
13
  locale: l
14
- }), G = () => {
14
+ }), g = () => {
15
15
  const o = N({
16
16
  globalClasses: I,
17
17
  moduleClasses: n
@@ -41,5 +41,5 @@ const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
41
41
  }, D));
42
42
  };
43
43
  export {
44
- G as R
44
+ g as R
45
45
  };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-DgGqgTql.js";
2
+ import { R as r } from "./radio-group-field-rac-BGcPYfKO.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,22 +1,22 @@
1
- import { RicosViewer as N } from "@wix/ricos/viewer";
1
+ import { RicosViewer as y } from "@wix/ricos/viewer";
2
2
  import u from "classnames";
3
- import e, { useCallback as y, useState as O, useRef as A } from "react";
4
- import { bD as I, bA as v, bN as T, U as H, af as M, a8 as w, K as B, G as P, a9 as G } from "./form-jK8ezTss.js";
5
- import { RadioGroup as q, RadioField as k, RadioButton as x } from "react-aria-components";
3
+ import e, { useCallback as N, useState as O, useRef as A } from "react";
4
+ import { bK as I, bH as v, bU as H, X as M, al as T, ae as w, M as B, I as P, af as q } from "./form-BsiK682r.js";
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 K } from "./field-error-headless-S-ugOQQX.js";
8
- import { L as Q } from "./field-label-headless-_n4I0_tX.js";
9
- import { E as Z } from "./error-icon-hZxQ6DEy.js";
7
+ import { D as z, E as K } from "./field-error-headless-jksFrezt.js";
8
+ import { L as Q } from "./field-label-headless-BBvJAVxI.js";
9
+ import { E as X } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as g } from "./field-rac.module-ts2t4WUO.js";
11
- import { u as j } from "./use-element-state-class-name-CkT6Ga8t.js";
11
+ import { u as Z } from "./use-element-state-class-name-C5auxwhj.js";
12
12
  const t = ({ children: a }) => {
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 = y((h) => i(Number(h)), [
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
14
  i
15
- ]), f = E(a, t.Label), s = E(a, t.Ratings), S = E(a, t.Description), D = E(a, t.Error);
15
+ ]), f = E(a, t.Label), s = E(a, t.Ratings), S = E(a, t.Description), h = E(a, t.Error);
16
16
  return /* @__PURE__ */ e.createElement(R, {
17
17
  fieldId: n,
18
18
  renderLabel: () => f,
19
- renderInput: () => /* @__PURE__ */ e.createElement(q, {
19
+ renderInput: () => /* @__PURE__ */ e.createElement(G, {
20
20
  "aria-labelledby": _,
21
21
  value: r ? String(r) : void 0,
22
22
  onChange: L,
@@ -28,7 +28,7 @@ const t = ({ children: a }) => {
28
28
  onFocus: C,
29
29
  orientation: "horizontal"
30
30
  }, s),
31
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, D, S)
31
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h, S)
32
32
  });
33
33
  }, b = ({ children: a, className: n, getReactionLabel: r }) => {
34
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 = [
@@ -52,7 +52,7 @@ const t = ({ children: a }) => {
52
52
  onHoverChange: (S) => C(S ? s : void 0),
53
53
  label: r == null ? void 0 : r(Number(s))
54
54
  })));
55
- }, J = {
55
+ }, j = {
56
56
  border: 0,
57
57
  clipPath: "inset(50%)",
58
58
  height: 1,
@@ -79,7 +79,7 @@ const t = ({ children: a }) => {
79
79
  isHovered: c,
80
80
  isFocused: o
81
81
  }) : n, d ? /* @__PURE__ */ e.createElement("span", {
82
- style: J
82
+ style: j
83
83
  }, d) : null)));
84
84
  };
85
85
  b.Rating = F;
@@ -88,7 +88,7 @@ t.Ratings = b;
88
88
  t.Rating = F;
89
89
  t.Description = z;
90
90
  t.Error = K;
91
- const W = (a) => /* @__PURE__ */ e.createElement("svg", {
91
+ const J = (a) => /* @__PURE__ */ e.createElement("svg", {
92
92
  viewBox: "0 0 32 32",
93
93
  width: 32,
94
94
  height: 32,
@@ -98,12 +98,12 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
98
98
  }, /* @__PURE__ */ e.createElement("path", {
99
99
  fillRule: "evenodd",
100
100
  d: "M28.6265,13.6325 C28.9655,13.3015 29.0845,12.8175 28.9385,12.3665 C28.7925,11.9165 28.4105,11.5945 27.9415,11.5265 L20.5785,10.4565 C20.5015,10.4445 20.4345,10.3965 20.4005,10.3275 L17.1075,3.6545 L17.1075,3.6535 C16.8975,3.2295 16.4735,2.9655 16.0005,2.9655 L15.9995,2.9655 C15.5255,2.9655 15.1025,3.2295 14.8925,3.6545 L11.5985,10.3275 C11.5645,10.3965 11.4985,10.4445 11.4225,10.4565 L4.0575,11.5265 C3.5895,11.5945 3.2075,11.9165 3.0615,12.3665 C2.9155,12.8175 3.0345,13.3015 3.3735,13.6325 L8.7025,18.8265 C8.7575,18.8805 8.7835,18.9585 8.7705,19.0345 L7.5125,26.3695 C7.4325,26.8355 7.6205,27.2985 8.0035,27.5765 C8.2195,27.7345 8.4735,27.8145 8.7285,27.8145 C8.9245,27.8145 9.1215,27.7665 9.3045,27.6705 L15.8895,24.2085 C15.9595,24.1725 16.0415,24.1725 16.1085,24.2075 L22.6955,27.6705 C23.1155,27.8915 23.6135,27.8555 23.9965,27.5765 C24.3795,27.2985 24.5675,26.8355 24.4875,26.3695 L23.2305,19.0355 C23.2165,18.9585 23.2425,18.8805 23.2975,18.8265 L28.6265,13.6325 Z"
101
- })), X = "_ratings_a5lgi_1", Y = "_rating_a5lgi_1", $ = "_ratingSelected_a5lgi_37", V = "_ratingHover_a5lgi_44", p = {
102
- ratings: X,
101
+ })), W = "_ratings_a5lgi_1", Y = "_rating_a5lgi_1", $ = "_ratingSelected_a5lgi_37", V = "_ratingHover_a5lgi_44", p = {
102
+ ratings: W,
103
103
  rating: Y,
104
104
  ratingSelected: $,
105
105
  ratingHover: V
106
- }, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(N, {
106
+ }, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(y, {
107
107
  content: a,
108
108
  locale: n
109
109
  }), te = {
@@ -111,14 +111,14 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
111
111
  selected: p.ratingSelected,
112
112
  hover: p.ratingHover
113
113
  }, Ee = () => {
114
- const { t: a } = T(), n = j({
115
- globalClasses: G,
114
+ const { t: a } = H(), n = Z({
115
+ globalClasses: q,
116
116
  moduleClasses: te
117
117
  });
118
118
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
119
- className: u(H, g.label)
119
+ className: u(M, g.label)
120
120
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
121
- className: u(M, g.requiredMark)
121
+ className: u(T, g.requiredMark)
122
122
  })), /* @__PURE__ */ e.createElement(t.Ratings, {
123
123
  className: u(w, p.ratings),
124
124
  getReactionLabel: (r) => a("rating-input.a11y.reaction-label", {
@@ -126,9 +126,9 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
126
126
  })
127
127
  }, /* @__PURE__ */ e.createElement(t.Rating, {
128
128
  className: n
129
- }, /* @__PURE__ */ e.createElement(W, null))), /* @__PURE__ */ e.createElement(t.Error, {
129
+ }, /* @__PURE__ */ e.createElement(J, null))), /* @__PURE__ */ e.createElement(t.Error, {
130
130
  className: u(B, g.error)
131
- }, /* @__PURE__ */ e.createElement(Z, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
131
+ }, /* @__PURE__ */ e.createElement(X, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
132
132
  className: u(P, g.description)
133
133
  }, ee));
134
134
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-C3YLV971.js";
2
+ import { R as e } from "./rating-input-field-rac-D-ei917Y.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 { bD as a, bv as i, bN as T } from "./form-jK8ezTss.js";
2
+ import { bK as a, bC as i, bU as T } from "./form-BsiK682r.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";
@@ -24,7 +24,7 @@ const O = ({ children: e }) => {
24
24
  "data-hook": s
25
25
  }, o);
26
26
  };
27
- function D(e, t) {
27
+ function B(e, t) {
28
28
  const [n, o] = u(!0);
29
29
  function s() {
30
30
  o((l) => !l);
@@ -38,12 +38,12 @@ function D(e, t) {
38
38
  toggleTruncate: s
39
39
  };
40
40
  }
41
- const C = "_richContent_1galb_1", N = {
41
+ const C = "_richContent_1galb_1", D = {
42
42
  richContent: C
43
43
  };
44
44
  export {
45
45
  O as R,
46
46
  p as T,
47
- N as s,
48
- D as u
47
+ D as s,
48
+ B as u
49
49
  };
@@ -1,21 +1,21 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { bD as m, aQ as i, ay as u, be as R, bh as T } from "./form-jK8ezTss.js";
4
- import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-DUjzLGtX.js";
5
- const p = {
3
+ import { bK as m, aX as i, aF as u, bl as R, bo as T } from "./form-BsiK682r.js";
4
+ import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-CvyLVlXL.js";
5
+ const h = {
6
6
  colorPalette: T(),
7
7
  customStyles: R()
8
- }, y = ({ truncate: t = !0 } = {}) => {
8
+ }, F = ({ truncate: t = !0 } = {}) => {
9
9
  const { content: a, maxShownParagraphs: s } = m(), { displayedContent: n, isTruncated: o, isTruncateButtonShown: r, toggleTruncate: c } = C(a, t ? s : void 0);
10
10
  return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(i, {
11
11
  className: l(u, g.richContent),
12
12
  content: n,
13
- customTheme: p
14
- }), r && /* @__PURE__ */ e.createElement(h, {
13
+ customTheme: h
14
+ }), r && /* @__PURE__ */ e.createElement(p, {
15
15
  isTruncated: o,
16
16
  onClick: c
17
17
  })));
18
18
  };
19
19
  export {
20
- y as R
20
+ F as R
21
21
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-BmguoJhk.js";
2
+ import { R as t } from "./rich-text-field-rac-vf19nvyw.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC