@wix/form-elements 1.172.0 → 1.174.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 (107) hide show
  1. package/dist/component/{appointment-rac-DZ0SFXmL.js → appointment-rac-DIV9zgmZ.js} +80 -80
  2. package/dist/component/{bookings-address-rac-BW9grc77.js → bookings-address-rac-C5cT4gkX.js} +1 -1
  3. package/dist/component/{bookings-email-rac-D8gMaAfB.js → bookings-email-rac-CQEhRS7N.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CAjcs7b6.js → bookings-first-name-rac-BwdasJXd.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BhKZ1kku.js → bookings-header-rac-CWzKq3yr.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DpsMDuU0.js → bookings-last-name-rac-CoVWqEy5.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-BVdWmKS8.js → bookings-login-bar-rac-DwoI-iRQ.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-DsqNi2mI.js → bookings-phone-rac-WAZU-1kD.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-elM4Ne3f.js → bookings-rich-text-rac-I5Uo-q87.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BU4E73fD.js → checkbox-field-rac-CKbKBNcQ.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-6yJdIbP2.js → checkbox-group-field-headless-7PMj-zW6.js} +47 -47
  12. package/dist/component/{checkbox-group-field-rac-CojbCWSF.js → checkbox-group-field-rac-BZ-YgEYR.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-3qUVUc-C.js → checkbox-group-rac-CED8h4qI.js} +1 -1
  14. package/dist/component/{checkbox-rac-DwbTapd_.js → checkbox-rac-CbpEXMBz.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BL7XDZuP.js → contacts-address-rac-F3Ui7iJu.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DeJYIHAg.js → contacts-birthdate-rac-CcxRV3RQ.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BeImf5uc.js → contacts-company-rac-mDY20HzW.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CtacwrZ0.js → contacts-email-rac-CoBPNuCj.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CAdOqOOA.js → contacts-first-name-rac-DzbpBmNm.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Db9mHzCW.js → contacts-last-name-rac-DEmV-MNE.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-W0OLEbzL.js → contacts-phone-rac-BlEpatWP.js} +1 -1
  22. package/dist/component/{contacts-position-rac-CV4Ibt4Z.js → contacts-position-rac-DlZahRQc.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CQ3Q1pjZ.js → contacts-subscribe-rac-LXCEPvXl.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-Dux-pk6r.js → contacts-tax-id-rac-DS0SDAtC.js} +1 -1
  25. package/dist/component/{date-availability-RkX-Qw7G.js → date-availability-DTFyrU8J.js} +1 -1
  26. package/dist/component/{date-input-field-rac-CYCT6qoa.js → date-input-field-rac-D7Pv-hqW.js} +62 -62
  27. package/dist/component/{date-input-rac-BkYZ7q_o.js → date-input-rac-BEsh54Gz.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-eMidYtsl.js → date-picker-field-rac-DJirD93a.js} +15 -15
  29. package/dist/component/{date-picker-rac-D23rxZcF.js → date-picker-rac-B1fUqj_w.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-BjIj4dXQ.js → date-time-input-field-rac-CPFaQUXF.js} +38 -38
  31. package/dist/component/{date-time-input-rac-BSGAdk9L.js → date-time-input-rac-CAozBO0e.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-Xmb5IKrb.js → dext-checkbox-group-rac-B0yqJoj8.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-2eA7y0ld.js → dext-checkbox-rac-yZaUdHz1.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CmLxVGGT.js → dext-date-picker-rac-AJ7XIW-h.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Cd9nwSjb.js → dext-date-time-input-rac-CPs79sUY.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BKdQ0nGS.js → dext-dropdown-rac-W2QzqPG4.js} +1 -1
  37. package/dist/component/{dext-email-rac-07zDPxyf.js → dext-email-rac-CCW1Dk1m.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DRvGuppY.js → dext-number-input-rac-BAInaxoF.js} +1 -1
  39. package/dist/component/{dext-phone-rac-CKtTVjFg.js → dext-phone-rac-CYYgZiFW.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BsBmMufq.js → dext-radio-group-rac-Dqvmxoai.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CcFSTAIh.js → dext-rating-input-rac-CWl7X0zW.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CCTDlCvX.js → dext-tags-rac-BpAfPh55.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-Cif8po9h.js → dext-text-area-rac-CLTg8XXH.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-2118X4iF.js → dext-text-input-rac-BV-F-ZsP.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DDImGkQe.js → dext-url-input-rac-B9wHRaZr.js} +1 -1
  46. package/dist/component/{donation-rac-Dnylss1d.js → donation-rac-Be4swKWD.js} +50 -50
  47. package/dist/component/{dropdown-field-rac-DDI4ZgZH.js → dropdown-field-rac-BFEB_WuX.js} +3 -3
  48. package/dist/component/{dropdown-rac-DX0Z3R_8.js → dropdown-rac-Dz7QtFVB.js} +1 -1
  49. package/dist/component/{ecom-address-rac-D9MeEQsk.js → ecom-address-rac-Bu6msDgo.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-DKJ9j5dj.js → ecom-subscription-checkbox-rac-BRovQqrM.js} +2 -2
  51. package/dist/component/{email-input-field-rac-DaKrmlwe.js → email-input-field-rac-EERVxm6G.js} +42 -42
  52. package/dist/component/{events-repeater-rac-DWrOLT0Y.js → events-repeater-rac-xs0pooBs.js} +49 -49
  53. package/dist/component/{events-rsvp-rac-YBTR1tR0.js → events-rsvp-rac-CMi-8EqK.js} +3 -3
  54. package/dist/component/{field-error-headless-jksFrezt.js → field-error-headless-DbFXeaud.js} +8 -8
  55. package/dist/component/{field-label-headless-BBvJAVxI.js → field-label-headless-CWOYHPsb.js} +11 -11
  56. package/dist/component/{file-upload-rac-CgdmfUZG.js → file-upload-rac-vbMTIdDc.js} +61 -61
  57. package/dist/component/{fixed-payment-rac-v6rKwzFs.js → fixed-payment-rac-BRk7ams_.js} +7 -7
  58. package/dist/component/{form-BsiK682r.js → form-BjeODFzx.js} +238 -237
  59. package/dist/component/form.css +1 -1
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-BuXybl7K.js → header-field-rac-CQexwZn7.js} +2 -2
  62. package/dist/component/{header-rac-CDyaLosW.js → header-rac-CYbPDl4_.js} +1 -1
  63. package/dist/component/{image-choice-rac-BRlMroBw.js → image-choice-rac-DDvlaK6K.js} +15 -15
  64. package/dist/component/{index-BanOeCAF.js → index-B6wFpWpe.js} +4 -4
  65. package/dist/component/{index-y9URYGEE.js → index-Bs9ypEe2.js} +6 -6
  66. package/dist/component/{isObjectLike-BG9nJ-rx.js → isObjectLike-Xcw2hQQ6.js} +1 -1
  67. package/dist/component/{multiline-address-field-rac-DRAkxI1l.js → multiline-address-field-rac-CYJR-MUz.js} +209 -209
  68. package/dist/component/{multiline-address-rac-JjTzWsEb.js → multiline-address-rac-DO1j_w6S.js} +1 -1
  69. package/dist/component/{number-input-field-rac-QrouG7Hv.js → number-input-field-rac-C-qvd8v9.js} +18 -18
  70. package/dist/component/{number-input-rac-DGmE7cLv.js → number-input-rac-CQSaifZE.js} +1 -1
  71. package/dist/component/{password-rac-DeyY228m.js → password-rac-CqnbZtR_.js} +28 -28
  72. package/dist/component/{payment-input-rac-DmIennLi.js → payment-input-rac-CbOcztkp.js} +28 -28
  73. package/dist/component/{phone-input-field-rac-F7e74TGA.js → phone-input-field-rac-BQ187I2C.js} +55 -55
  74. package/dist/component/{phone-rac-CQfB2CQD.js → phone-rac-CbA2xqF3.js} +1 -1
  75. package/dist/component/{product-list-rac--GGG8vvO.js → product-list-rac-MxB9tRiE.js} +103 -103
  76. package/dist/component/{quiz-radio-group-rac-DF2C2vNq.js → quiz-radio-group-rac-IViaDVRW.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-DmpNo6F2.js → radio-button-module-classes-jtnooKMO.js} +33 -33
  78. package/dist/component/{radio-group-field-rac-BGcPYfKO.js → radio-group-field-rac-g3SQGJPp.js} +4 -4
  79. package/dist/component/{radio-group-rac-CqysUMCE.js → radio-group-rac-D8wmzlbu.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-D-ei917Y.js → rating-input-field-rac-BqPXKKdi.js} +15 -15
  81. package/dist/component/{rating-input-rac-a9zJ74fw.js → rating-input-rac-CeZIpOmm.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-CvyLVlXL.js → rich-content-rac.module-BLgdpRh_.js} +5 -5
  83. package/dist/component/{rich-text-field-rac-vf19nvyw.js → rich-text-field-rac-BpSVobCQ.js} +6 -6
  84. package/dist/component/{rich-text-rac-Cx_wpoxC.js → rich-text-rac-DqpaqbFH.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-DITzKQxd.js → service-dropdown-rac-DKgtga1t.js} +30 -30
  86. package/dist/component/{services-multi-choice-rac-BtisN0Aq.js → services-multi-choice-rac-CAyB0b4q.js} +9 -9
  87. package/dist/component/{signature-rac-DUeIoS5O.js → signature-rac-DC20YN4f.js} +97 -97
  88. package/dist/component/{submit-button-rac-C8h6zeTw.js → submit-button-rac-ClWtqIkR.js} +30 -30
  89. package/dist/component/{tags-field-rac-CjFuiB0n.js → tags-field-rac-DHM9k8uf.js} +18 -18
  90. package/dist/component/{tags-rac-BO7rwyLl.js → tags-rac-Clg50jwY.js} +1 -1
  91. package/dist/component/{text-area-field-rac-CgUx3nQ0.js → text-area-field-rac-B2qJZ6wR.js} +16 -16
  92. package/dist/component/{text-area-rac-WgXYXIaf.js → text-area-rac-BwsVk7u7.js} +1 -1
  93. package/dist/component/{text-input-field-rac-DaxWFha-.js → text-input-field-rac-BQbo-3Ly.js} +6 -6
  94. package/dist/component/{text-input-headless-hjuRJTZN.js → text-input-headless-WICGIHcN.js} +3 -3
  95. package/dist/component/{text-input-rac-BzumrJBj.js → text-input-rac-D7BRYDZr.js} +1 -1
  96. package/dist/component/{time-input-rac-2FEkpQ7M.js → time-input-rac-Dnp-0_Js.js} +22 -22
  97. package/dist/component/{url-input-field-rac-BZ9f8D8I.js → url-input-field-rac-MC13zKST.js} +19 -19
  98. package/dist/component/{url-input-rac-D-AVlxkD.js → url-input-rac-DfAtTmKv.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-DwAAtzgX.js → use-dropdown-option-class-name-CVUEosg4.js} +2 -2
  100. package/dist/component/{use-dropdown-trigger-class-name-D-6n9YVG.js → use-dropdown-trigger-class-name-BHLG7EB-.js} +25 -25
  101. package/dist/component/{use-element-state-class-name-C5auxwhj.js → use-element-state-class-name-BVJylHPn.js} +3 -3
  102. package/dist/component/{use-hoverable-input-class-name-Nd2jqfz4.js → use-hoverable-input-class-name-DO9ctJ81.js} +2 -2
  103. package/dist/component/{use-is-forced-open-dropdown-CKaHhCqp.js → use-is-forced-open-dropdown-Czuo32Nq.js} +8 -8
  104. package/dist/component/{use-service-options-base-CvluFheT.js → use-service-options-base-DUuGIm38.js} +1 -1
  105. package/dist/component/use-text-input-class-name-LEnNGX0a.js +6 -0
  106. package/package.json +2 -2
  107. package/dist/component/use-text-input-class-name-DGTlYJxC.js +0 -6
@@ -1,36 +1,36 @@
1
1
  import t, { useMemo as K, useCallback as v, useRef as x } from "react";
2
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
- import { f as pe } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ee } from "./field-error-headless-jksFrezt.js";
10
- import { F as ye } from "./fieldset-headless-CD3fds9J.js";
11
- import { g as _e } from "./payment-field-utils-DobiK5Xh.js";
3
+ import I from "classnames";
4
+ import { CheckboxField as z, CheckboxButton as X, NumberField as Y, Group as j, Button as Q, Input as J } from "react-aria-components";
5
+ import { bL as U, bI as W, bD as w, bV as Z, bN as ee, X as te, am as ne, a6 as ae, a7 as oe, aa as re, a9 as le, ab as se, M as ie, I as ce, a8 as ue } from "./form-BjeODFzx.js";
6
+ import { f, a as b } from "./find-child-C60k4CxG.js";
7
+ import { L as me, g as pe } from "./field-label-headless-CWOYHPsb.js";
8
+ import { f as de } from "./format-currency-BwShJ9vM.js";
9
+ import { D as Ee, E as _e } from "./field-error-headless-DbFXeaud.js";
10
+ import { F as Ie } from "./fieldset-headless-CD3fds9J.js";
11
+ import { g as ye } 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-DUTR4mcg.js";
15
- import { s as M } from "./field-rac.module-ts2t4WUO.js";
16
- import { o as j } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as Oe } from "./use-element-state-class-name-C5auxwhj.js";
18
- var Le = /* @__PURE__ */ (function(e) {
14
+ import { C as Le } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
15
+ import { s as A } from "./field-rac.module-ts2t4WUO.js";
16
+ import { o as V } from "./options-rac.module-_THNq6Qq.js";
17
+ import { u as Oe } from "./use-element-state-class-name-BVJylHPn.js";
18
+ var Ce = /* @__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
- function Ce({ maxItems: e, products: a } = {}) {
23
+ function Re({ maxItems: e, products: a } = {}) {
24
24
  return e === 1 ? k.onlyOne : a != null && a.length && a.every((l) => {
25
25
  var n;
26
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
- 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: 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 || [], [
30
+ var F;
31
+ const { id: a, value: l, onChange: n, disabled: r, readOnly: c, required: _, onBlur: L, onFocus: s, hasError: u, validation: m, FieldLayout: p } = U(), { inputId: M, labelId: N, ariaDescribedBy: h } = W(), y = f(e, o.Label), g = f(e, o.Options), q = f(e, o.Description), O = f(e, o.Error), i = K(() => l || [], [
32
32
  l
33
- ]), A = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = v((S, R) => {
33
+ ]), T = Re((F = m == null ? void 0 : m.predefined) == null ? void 0 : F.paymentOptions) === k.many, D = v((S, R) => {
34
34
  const d = i.filter((H) => H.productId !== S.productId), B = R ? [
35
35
  ...d,
36
36
  S
@@ -42,56 +42,56 @@ const o = ({ children: e }) => {
42
42
  ]);
43
43
  return /* @__PURE__ */ t.createElement(p, {
44
44
  fieldId: a,
45
- renderLabel: () => _,
46
- renderInput: () => /* @__PURE__ */ t.createElement(ye, {
47
- id: q,
45
+ renderLabel: () => y,
46
+ renderInput: () => /* @__PURE__ */ t.createElement(Ie, {
47
+ id: M,
48
48
  ariaLabelledBy: N,
49
49
  ariaDescribedBy: h,
50
- required: y,
51
- onBlur: O,
50
+ required: _,
51
+ onBlur: L,
52
52
  onFocus: s
53
- }, g ? f(g, {
54
- allowMany: A,
53
+ }, g ? b(g, {
54
+ allowMany: T,
55
55
  productValues: i,
56
- onProductChange: F,
56
+ onProductChange: D,
57
57
  disabled: r,
58
58
  readOnly: c,
59
59
  hasError: u
60
60
  }) : null),
61
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, T)
61
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, O, q)
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 } = U(), { currency: q } = w(), { t: N } = Z(), h = I(e, o.Option);
63
+ }, G = ({ children: e, className: a, ...l }) => {
64
+ const { allowMany: n, productValues: r, onProductChange: c, disabled: _, readOnly: L, hasError: s } = l, { options: u, validation: m, imageResize: p } = U(), { currency: M } = w(), { t: N } = Z(), h = f(e, o.Option);
65
65
  return /* @__PURE__ */ t.createElement("div", {
66
66
  className: a
67
- }, u == null ? void 0 : u.map((_, g) => {
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
- key: _.id || _.value || _.label,
72
- option: _,
73
- price: T,
67
+ }, u == null ? void 0 : u.map((y, g) => {
68
+ var C, T, D, F, S;
69
+ const q = ((S = (F = (D = (T = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : T.products) == null ? void 0 : D.find((R) => R.id === y.value)) == null ? void 0 : F.fixedPriceOptions) == null ? void 0 : S.price) || "0", O = ye(N, M), i = r.find((R) => R.productId === y.value);
70
+ return b(h, {
71
+ key: y.id || y.value || y.label,
72
+ option: y,
73
+ price: q,
74
74
  quantity: i == null ? void 0 : i.quantity,
75
75
  isSelected: !!i,
76
76
  allowMany: n,
77
77
  onProductChange: c,
78
- disabled: y,
79
- readOnly: O,
78
+ disabled: _,
79
+ readOnly: L,
80
80
  hasError: s,
81
- currencyAriaLabel: L,
81
+ currencyAriaLabel: O,
82
82
  imageResize: p,
83
83
  isFirst: g === 0
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: 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);
87
+ const { option: n, price: r, quantity: c = 0, isSelected: _, allowMany: L, onProductChange: s, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: M, imageResize: N, isFirst: h } = l, { id: y } = U(), g = x(null), q = x(null), O = f(e, E.Image), i = f(e, E.Label), C = f(e, E.Price), T = f(e, E.Input), D = f(e, E.Quantity);
88
88
  ee(() => {
89
89
  var d;
90
- h && ((d = g.current ?? T.current) == null || d.focus({
90
+ h && ((d = g.current ?? q.current) == null || d.focus({
91
91
  preventScroll: !0
92
92
  }));
93
- }, _);
94
- const D = v((d) => {
93
+ }, y);
94
+ const F = v((d) => {
95
95
  s({
96
96
  productId: n.value,
97
97
  price: r,
@@ -111,72 +111,72 @@ const o = ({ children: e }) => {
111
111
  s,
112
112
  n.value,
113
113
  r
114
- ]), R = `${n.label} ${q} ${r}`;
115
- return O ? /* @__PURE__ */ t.createElement("div", {
114
+ ]), R = `${n.label} ${M} ${r}`;
115
+ return L ? /* @__PURE__ */ t.createElement("div", {
116
116
  className: a,
117
117
  "data-hook": "product"
118
- }, L ? f(L, {
118
+ }, O ? b(O, {
119
119
  option: n,
120
120
  imageResize: N
121
- }) : null, i ? f(i, {
121
+ }) : null, i ? b(i, {
122
122
  label: n.label
123
- }) : null, C ? f(C, {
123
+ }) : null, C ? b(C, {
124
124
  price: r
125
- }) : null, F ? f(F, {
125
+ }) : null, D ? b(D, {
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 ? T : void 0
132
+ inputRef: h ? q : void 0
133
133
  }) : null) : /* @__PURE__ */ t.createElement(z, {
134
- isSelected: y,
135
- onChange: D,
134
+ isSelected: _,
135
+ onChange: F,
136
136
  isDisabled: u,
137
137
  isReadOnly: m,
138
138
  isInvalid: p,
139
139
  "aria-label": R
140
- }, /* @__PURE__ */ t.createElement(G, {
140
+ }, /* @__PURE__ */ t.createElement(X, {
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 ? f(L, {
144
+ }, ({ isHovered: d, isFocused: B }) => /* @__PURE__ */ t.createElement(t.Fragment, null, O ? b(O, {
145
145
  option: n,
146
146
  imageResize: N
147
- }) : null, i ? f(i, {
147
+ }) : null, i ? b(i, {
148
148
  label: n.label
149
- }) : null, C ? f(C, {
149
+ }) : null, C ? b(C, {
150
150
  price: r
151
- }) : null, f(A, {
152
- isSelected: y,
151
+ }) : null, b(T, {
152
+ isSelected: _,
153
153
  isHovered: d,
154
154
  isFocused: B
155
155
  }))));
156
- }, Re = ({ className: e, ...a }) => {
156
+ }, ge = ({ className: e, ...a }) => {
157
157
  var s;
158
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
- const c = n === Le.fit, y = me(r, 96, 96, c ? "fit" : "fill");
162
- if (!y)
161
+ const c = n === Ce.fit, _ = pe(r, 96, 96, c ? "fit" : "fill");
162
+ if (!_)
163
163
  return null;
164
- const O = r.altText || l.label || "";
164
+ const L = r.altText || l.label || "";
165
165
  return /* @__PURE__ */ t.createElement("img", {
166
166
  className: e,
167
- src: y,
168
- alt: O,
167
+ src: _,
168
+ alt: L,
169
169
  "data-fit": c ? "contain" : "cover",
170
170
  "data-hook": "product-image"
171
171
  });
172
- }, ge = ({ className: e, ...a }) => {
172
+ }, De = ({ className: e, ...a }) => {
173
173
  const { label: l } = a;
174
174
  return /* @__PURE__ */ t.createElement("span", {
175
175
  className: e,
176
176
  "data-hook": "product-label"
177
177
  }, l || "");
178
178
  }, Fe = ({ className: e, ...a }) => {
179
- const { price: l } = a, { currency: n, regionalFormat: r } = w(), c = pe({
179
+ const { price: l } = a, { currency: n, regionalFormat: r } = w(), c = de({
180
180
  amount: l,
181
181
  currency: n == null ? void 0 : n.code,
182
182
  locale: r
@@ -185,8 +185,8 @@ const o = ({ children: e }) => {
185
185
  className: e,
186
186
  "data-hook": "product-price"
187
187
  }, c);
188
- }, De = ({ className: e, ...a }) => {
189
- const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = v((p) => {
188
+ }, Se = ({ className: e, ...a }) => {
189
+ const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: _, ariaLabel: L, inputRef: s } = a, u = v((p) => {
190
190
  n(p < 0 ? 0 : p);
191
191
  }, [
192
192
  n
@@ -195,18 +195,18 @@ const o = ({ children: e }) => {
195
195
  }, [
196
196
  u
197
197
  ]);
198
- return /* @__PURE__ */ t.createElement(X, {
198
+ return /* @__PURE__ */ t.createElement(Y, {
199
199
  value: l,
200
200
  onChange: u,
201
201
  minValue: 0,
202
202
  step: 1,
203
203
  isDisabled: r,
204
204
  isReadOnly: c,
205
- isInvalid: y,
206
- "aria-label": O,
205
+ isInvalid: _,
206
+ "aria-label": L,
207
207
  className: e,
208
208
  "data-hook": "product-quantity"
209
- }, /* @__PURE__ */ t.createElement(Y, {
209
+ }, /* @__PURE__ */ t.createElement(j, {
210
210
  onKeyDown: m
211
211
  }, /* @__PURE__ */ t.createElement(Q, {
212
212
  slot: "decrement"
@@ -216,57 +216,57 @@ const o = ({ children: e }) => {
216
216
  slot: "increment"
217
217
  }, "+")));
218
218
  };
219
- E.Image = Re;
220
- E.Label = ge;
219
+ E.Image = ge;
220
+ E.Label = De;
221
221
  E.Price = Fe;
222
222
  E.Input = be;
223
- E.Quantity = De;
224
- V.Option = E;
225
- o.Label = ue;
226
- o.Options = V;
223
+ E.Quantity = Se;
224
+ G.Option = E;
225
+ o.Label = me;
226
+ o.Options = G;
227
227
  o.Option = E;
228
- o.Description = de;
229
- o.Error = Ee;
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
- options: Se,
232
- option: Pe,
233
- optionInput: Ne,
234
- optionImage: he,
228
+ o.Description = Ee;
229
+ o.Error = _e;
230
+ const Pe = "_options_110dq_1", Ne = "_option_110dq_1", he = "_optionInput_110dq_21", qe = "_optionImage_110dq_32", Te = "_optionLabel_110dq_66", Ae = "_optionPrice_110dq_73", Me = "_quantity_110dq_87", P = {
231
+ options: Pe,
232
+ option: Ne,
233
+ optionInput: he,
234
+ optionImage: qe,
235
235
  optionLabel: Te,
236
236
  optionPrice: Ae,
237
237
  quantity: Me
238
- }, qe = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement($, {
238
+ }, ve = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement($, {
239
239
  content: e,
240
240
  locale: a
241
- }), ve = () => {
241
+ }), ke = () => {
242
242
  const e = Oe({
243
- globalClasses: ce,
244
- moduleClasses: Ie
243
+ globalClasses: ue,
244
+ moduleClasses: Le
245
245
  });
246
246
  return /* @__PURE__ */ t.createElement(o, null, /* @__PURE__ */ t.createElement(o.Label, {
247
- className: b(te, M.label)
247
+ className: I(te, A.label)
248
248
  }, /* @__PURE__ */ t.createElement(o.Label.Required, {
249
- className: b(ne, M.requiredMark)
249
+ className: I(ne, A.requiredMark)
250
250
  })), /* @__PURE__ */ t.createElement(o.Options, {
251
- className: b(ae, j.options, P.options)
251
+ className: I(ae, V.options, P.options)
252
252
  }, /* @__PURE__ */ t.createElement(o.Option, {
253
- className: b(M.checkbox, P.option)
253
+ className: I(A.checkbox, P.option)
254
254
  }, /* @__PURE__ */ t.createElement(o.Option.Image, {
255
- className: P.optionImage
255
+ className: I(oe, P.optionImage)
256
256
  }), /* @__PURE__ */ t.createElement(o.Option.Label, {
257
- className: b(oe, j.optionLabel, P.optionLabel)
257
+ className: I(re, V.optionLabel, P.optionLabel)
258
258
  }), /* @__PURE__ */ t.createElement(o.Option.Price, {
259
- className: b(re, P.optionPrice)
259
+ className: I(le, P.optionPrice)
260
260
  }), /* @__PURE__ */ t.createElement(o.Option.Input, {
261
- className: (a) => b(e(a), P.optionInput)
261
+ className: (a) => I(e(a), P.optionInput)
262
262
  }), /* @__PURE__ */ t.createElement(o.Option.Quantity, {
263
- className: b(le, M.inputGroup, P.quantity)
263
+ className: I(se, A.inputGroup, P.quantity)
264
264
  }))), /* @__PURE__ */ t.createElement(o.Error, {
265
- className: b(se, M.error)
265
+ className: I(ie, A.error)
266
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);
267
+ className: I(ce, A.description)
268
+ }, ve));
269
+ }, et = () => /* @__PURE__ */ t.createElement(ke, null);
270
270
  export {
271
- Ze as ProductListRAC
271
+ et as ProductListRAC
272
272
  };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-BGcPYfKO.js";
2
+ import { R as r } from "./radio-group-field-rac-g3SQGJPp.js";
3
3
  const i = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  i as QuizRadioGroupRAC
@@ -1,25 +1,25 @@
1
1
  import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
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
- import { f as u, a as L } from "./find-child-C60k4CxG.js";
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) => {
2
+ import { RadioGroup as k, RadioField as A, RadioButton as G, TextField as P, Input as $ } from "react-aria-components";
3
+ import { bL as g, bI as q, bV as D, bN as x } from "./form-BjeODFzx.js";
4
+ import { f as u, a as v } from "./find-child-C60k4CxG.js";
5
+ import { D as U, E as M } from "./field-error-headless-DbFXeaud.js";
6
+ import { L as j } from "./field-label-headless-CWOYHPsb.js";
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) => {
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 } = $(), 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: _ } = q(), s = u(e, i.Label), I = u(e, i.Options), R = u(e, i.Description), N = u(e, i.Error), V = y(o, l) ? L : l || null;
13
13
  return /* @__PURE__ */ a.createElement(c, {
14
14
  fieldId: n,
15
- renderLabel: () => L(s, {
15
+ renderLabel: () => v(s, {
16
16
  as: "div"
17
17
  }),
18
18
  renderInput: () => /* @__PURE__ */ a.createElement(k, {
19
19
  id: f,
20
20
  className: t,
21
21
  "aria-labelledby": C,
22
- "aria-describedby": I,
22
+ "aria-describedby": _,
23
23
  value: V,
24
24
  onChange: h,
25
25
  isDisabled: p,
@@ -28,12 +28,12 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
28
28
  isInvalid: r,
29
29
  onBlur: E,
30
30
  onFocus: b
31
- }, _),
31
+ }, I),
32
32
  renderDescription: () => /* @__PURE__ */ a.createElement(a.Fragment, null, N, R)
33
33
  });
34
- }, J = ({ 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 q(() => {
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") || L;
36
+ return x(() => {
37
37
  var o;
38
38
  (o = r.current) == null || o.focus({
39
39
  preventScroll: !0
@@ -42,21 +42,21 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
42
42
  className: t,
43
43
  "data-columns": O,
44
44
  "data-invalid": m
45
- }, n.map((o, f) => L(b, {
45
+ }, n.map((o, f) => v(b, {
46
46
  key: o.value ?? o.label,
47
47
  value: o.value ?? o.label,
48
48
  label: o.label,
49
49
  index: f,
50
50
  radioRef: f === 0 ? r : void 0
51
- })), l && L(b, {
52
- key: v,
53
- value: v,
51
+ })), l && v(b, {
52
+ key: L,
53
+ value: L,
54
54
  label: c,
55
55
  isOther: !0
56
56
  }));
57
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 ? y(E, m) : m === l, C = (I = r == null ? void 0 : r.props) == null ? void 0 : I.className;
58
+ var _;
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 = (_ = r == null ? void 0 : r.props) == null ? void 0 : _.className;
60
60
  return /* @__PURE__ */ a.createElement("div", {
61
61
  className: t
62
62
  }, /* @__PURE__ */ a.createElement(A, {
@@ -64,11 +64,11 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
64
64
  }, /* @__PURE__ */ a.createElement(G, {
65
65
  ref: O,
66
66
  className: C
67
- }, ({ isSelected: s, isHovered: _, isFocused: R }) => /* @__PURE__ */ a.createElement(a.Fragment, null, L(c, {
67
+ }, ({ isSelected: s, isHovered: I, isFocused: R }) => /* @__PURE__ */ a.createElement(a.Fragment, null, v(c, {
68
68
  isSelected: s,
69
- isHovered: _,
69
+ isHovered: I,
70
70
  isFocused: R
71
- }), L(b, {
71
+ }), v(b, {
72
72
  label: h
73
73
  })))), p && f && o);
74
74
  }, Q = ({ className: e, ...t }) => {
@@ -77,16 +77,16 @@ const v = "Other", w = (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 ? z(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") || L, [f, C] = T(c && t ? J(t, l) : "");
81
81
  B(() => {
82
82
  var s;
83
83
  c && r.current && ((s = r.current) == null || s.focus());
84
84
  }, [
85
85
  c
86
86
  ]);
87
- const I = H((s) => {
88
- let _;
89
- s ? _ = `${l}: ${s}` : _ = o, n(_), C(s);
87
+ const _ = H((s) => {
88
+ let I;
89
+ s ? I = `${l}: ${s}` : I = o, n(I), C(s);
90
90
  }, [
91
91
  n,
92
92
  l,
@@ -95,10 +95,10 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
95
95
  return /* @__PURE__ */ a.createElement(P, {
96
96
  "aria-label": o,
97
97
  value: f,
98
- onChange: I,
98
+ onChange: _,
99
99
  isDisabled: O,
100
100
  isReadOnly: m
101
- }, /* @__PURE__ */ a.createElement(U, {
101
+ }, /* @__PURE__ */ a.createElement($, {
102
102
  ref: r,
103
103
  className: e,
104
104
  placeholder: h,
@@ -107,12 +107,12 @@ const v = "Other", w = (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 = j;
110
+ d.Control = w;
111
111
  d.OtherInput = X;
112
- i.Label = K;
113
- i.Options = J;
112
+ i.Label = j;
113
+ i.Options = K;
114
114
  i.Option = d;
115
- i.Description = x;
115
+ i.Description = U;
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,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-DmpNo6F2.js";
4
+ import { a, s, R as n } from "./radio-button-module-classes-jtnooKMO.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 { X as i, al as E, ab as p, ac as O, M as R, I as _, ad as I } from "./form-BsiK682r.js";
7
+ import { X as i, am as E, ac as p, ad as O, M as R, I as _, ae as I } from "./form-BjeODFzx.js";
8
8
  import { o as L } from "./options-rac.module-_THNq6Qq.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";
9
+ import { u as N } from "./use-element-state-class-name-BVJylHPn.js";
10
+ import { u } from "./use-text-input-class-name-LEnNGX0a.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-BGcPYfKO.js";
2
+ import { R as r } from "./radio-group-field-rac-g3SQGJPp.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 y } 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 { 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";
4
+ import { bL as I, bI as v, bV as M, X as T, am as H, af as w, M as B, I as P, ag as q } from "./form-BjeODFzx.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 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";
7
+ import { D as z, E as Q } from "./field-error-headless-DbFXeaud.js";
8
+ import { L as X } from "./field-label-headless-CWOYHPsb.js";
9
+ import { E as Z } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as g } from "./field-rac.module-ts2t4WUO.js";
11
- import { u as Z } from "./use-element-state-class-name-C5auxwhj.js";
11
+ import { u as j } from "./use-element-state-class-name-BVJylHPn.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 } = I(), { labelId: _ } = v(), L = N((D) => i(Number(D)), [
14
14
  i
@@ -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,16 +79,16 @@ 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;
86
- t.Label = Q;
86
+ t.Label = X;
87
87
  t.Ratings = b;
88
88
  t.Rating = F;
89
89
  t.Description = z;
90
- t.Error = K;
91
- const J = (a) => /* @__PURE__ */ e.createElement("svg", {
90
+ t.Error = Q;
91
+ const K = (a) => /* @__PURE__ */ e.createElement("svg", {
92
92
  viewBox: "0 0 32 32",
93
93
  width: 32,
94
94
  height: 32,
@@ -111,14 +111,14 @@ const J = (a) => /* @__PURE__ */ e.createElement("svg", {
111
111
  selected: p.ratingSelected,
112
112
  hover: p.ratingHover
113
113
  }, Ee = () => {
114
- const { t: a } = H(), n = Z({
114
+ const { t: a } = M(), n = j({
115
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(M, g.label)
119
+ className: u(T, g.label)
120
120
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
121
- className: u(T, g.requiredMark)
121
+ className: u(H, 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 J = (a) => /* @__PURE__ */ e.createElement("svg", {
126
126
  })
127
127
  }, /* @__PURE__ */ e.createElement(t.Rating, {
128
128
  className: n
129
- }, /* @__PURE__ */ e.createElement(J, null))), /* @__PURE__ */ e.createElement(t.Error, {
129
+ }, /* @__PURE__ */ e.createElement(K, null))), /* @__PURE__ */ e.createElement(t.Error, {
130
130
  className: u(B, g.error)
131
- }, /* @__PURE__ */ e.createElement(X, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
131
+ }, /* @__PURE__ */ e.createElement(Z, 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-D-ei917Y.js";
2
+ import { R as e } from "./rating-input-field-rac-BqPXKKdi.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as RatingInputRAC