@wix/form-elements 1.132.0 → 1.134.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/component/{appointment-rac-DMYXIOL3.js → appointment-rac-CZHb5jGz.js} +246 -246
  2. package/dist/component/{bookings-address-rac-D6Ot6vm7.js → bookings-address-rac-F39MfGmX.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CkPflUxK.js → bookings-email-rac-D4CurQjr.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BbDv4BQw.js → bookings-first-name-rac-Bz9o1eLl.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DJodBCf4.js → bookings-header-rac-6mfX0WGf.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C4PRt2XO.js → bookings-last-name-rac-CD1-B7Ao.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-MPcFtzUB.js → bookings-login-bar-rac-2eQkfhBb.js} +17 -17
  8. package/dist/component/{bookings-phone-rac-BnaiOxWV.js → bookings-phone-rac-X6sSnHiH.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Cwp6pBC_.js → bookings-rich-text-rac-f2artJnn.js} +1 -1
  10. package/dist/component/{calendar.module-DnhTT4QT.js → calendar.module-CKCBG_Pg.js} +11 -11
  11. package/dist/component/{checkbox-field-rac-BA-67OHo.js → checkbox-field-rac-DoZ9bcw3.js} +26 -25
  12. package/dist/component/{checkbox-group-field-headless-B20gxYEt.js → checkbox-group-field-headless-B-d37T4z.js} +32 -31
  13. package/dist/component/{checkbox-group-field-rac--uloIFS6.js → checkbox-group-field-rac-0qYHz3g1.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-CYt86YIr.js → checkbox-group-rac-BqUJdAju.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-Bqo0QILF.js → checkbox-indicator-module-classes-6173wvuW.js} +1 -1
  16. package/dist/component/{checkbox-rac-4FLDh24V.js → checkbox-rac-BN-qNzpH.js} +1 -1
  17. package/dist/component/{contacts-address-rac-BU2H0MEF.js → contacts-address-rac-B7vWOTFf.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-DXITbTMA.js → contacts-birthdate-rac-Dl0OatzW.js} +1 -1
  19. package/dist/component/{contacts-company-rac-D_BKjGc8.js → contacts-company-rac-DIeGU0Bf.js} +1 -1
  20. package/dist/component/{contacts-email-rac-CfYSUKJ3.js → contacts-email-rac-BCH6ogWv.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-DYZUgWsB.js → contacts-first-name-rac-Cx-USWmx.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-m-zqIpMB.js → contacts-last-name-rac-CUZdJI9J.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-nJDsO_Y8.js → contacts-phone-rac-hNCW_2UC.js} +1 -1
  24. package/dist/component/{contacts-position-rac-CAGdJXSW.js → contacts-position-rac-CJfOgxZc.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-jwP65ngO.js → contacts-subscribe-rac-69721_c9.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-DUOQlZ3c.js → contacts-tax-id-rac-CXXBqWIm.js} +1 -1
  27. package/dist/component/{date-availability-EbJKjV1U.js → date-availability-NQGPIrdZ.js} +1 -1
  28. package/dist/component/{date-input-field-rac-CZRcW-0J.js → date-input-field-rac-C-we-suG.js} +60 -60
  29. package/dist/component/{date-input-rac-CasoMjfj.js → date-input-rac-Cif7Bqxc.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-V9MRWrj-.js → date-picker-field-rac-CHDkTXVH.js} +63 -63
  31. package/dist/component/{date-picker-rac-Cu5wTh1_.js → date-picker-rac-DdhgbY6W.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-YGqLIle1.js → date-time-input-field-rac-BjtDbiqE.js} +7 -7
  33. package/dist/component/{date-time-input-rac-DCEyREJI.js → date-time-input-rac-BDP5SN-i.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-DLB5mAwB.js → dext-checkbox-group-rac-CkF41kIR.js} +2 -2
  35. package/dist/component/{dext-checkbox-rac-DFV7ixAO.js → dext-checkbox-rac-DjYpsxmq.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-CEL2X1ID.js → dext-date-picker-rac-BxXZLogr.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-yLdCLDbQ.js → dext-date-time-input-rac-e4y_JjEx.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-ti_P0L_X.js → dext-dropdown-rac-DsjB3ZX7.js} +1 -1
  39. package/dist/component/{dext-email-rac-CnvdVz-J.js → dext-email-rac-ClPp1g4D.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-CmGt691Y.js → dext-number-input-rac-D2nZNzyN.js} +1 -1
  41. package/dist/component/{dext-phone-rac-JEZkz4gZ.js → dext-phone-rac-PNiQZ-Lr.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-CUk6wUPl.js → dext-radio-group-rac-DUltmMHM.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-Q1J5oqhZ.js → dext-rating-input-rac-C_apsfGT.js} +1 -1
  44. package/dist/component/{dext-tags-rac-DU9FLeGu.js → dext-tags-rac-DkB_CmOD.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-D1FOCK6O.js → dext-text-area-rac-CfoIK0S7.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-Dzb5lQjK.js → dext-text-input-rac-CIOXlk6U.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-cRLFpiNR.js → dext-url-input-rac-UHJAs3ck.js} +1 -1
  48. package/dist/component/{donation-rac-CV-PnK1D.js → donation-rac-BJfvVi_d.js} +49 -52
  49. package/dist/component/{dropdown-field-headless-D1e2XbNj.js → dropdown-field-headless-0DB-T-3t.js} +5 -5
  50. package/dist/component/{dropdown-field-rac-DkeVkP9c.js → dropdown-field-rac-DB-pd2a8.js} +5 -5
  51. package/dist/component/{dropdown-rac-ChlsWwyp.js → dropdown-rac-4T4zRBVy.js} +1 -1
  52. package/dist/component/{ecom-address-rac-DvHJ4Ym-.js → ecom-address-rac-BjWD1sRX.js} +1 -1
  53. package/dist/component/{ecom-subscription-checkbox-rac-D3LX7FVx.js → ecom-subscription-checkbox-rac-CYCufut6.js} +2 -2
  54. package/dist/component/{email-input-field-rac-B8OCp4L9.js → email-input-field-rac-DlLoY9jB.js} +4 -4
  55. package/dist/component/{events-repeater-rac-BO0-VcV3.js → events-repeater-rac-CPHJbWcZ.js} +48 -47
  56. package/dist/component/{events-rsvp-rac-CnULPDrG.js → events-rsvp-rac-NXf8Fv3A.js} +4 -4
  57. package/dist/component/{field-error-headless-DwlihJqC.js → field-error-headless-C-wyL0uw.js} +1 -1
  58. package/dist/component/{field-label-headless-C_cMy8vP.js → field-label-headless-32mvEUId.js} +1 -1
  59. package/dist/component/field-rac.module-DfEb7pBp.js +25 -0
  60. package/dist/component/file-upload-rac-BicD_Bhj.js +566 -0
  61. package/dist/component/{fixed-payment-rac-ameH1syZ.js → fixed-payment-rac-DxHalHUv.js} +4 -4
  62. package/dist/component/{form-GcotNutn.js → form-B2wZnWX9.js} +69 -69
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-D2fpKxIz.js → header-field-rac-C47Te_oW.js} +2 -2
  66. package/dist/component/{header-rac-DdWMo2xZ.js → header-rac-ChDYKTx5.js} +1 -1
  67. package/dist/component/{image-choice-rac-CBaUQX8m.js → image-choice-rac-CqTBWpcY.js} +56 -59
  68. package/dist/component/{index-nOv_Pf2O.js → index-BF_Aifc-.js} +4 -4
  69. package/dist/component/{index-CAktfVsx.js → index-Br8x_xx8.js} +2 -2
  70. package/dist/component/{isObjectLike-t9SwprFt.js → isObjectLike-D4VXbd0T.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-DpMPlfjM.js → multiline-address-field-rac-DYcfzGJb.js} +8 -8
  72. package/dist/component/{multiline-address-rac-D1XtQuAy.js → multiline-address-rac-DcGDGyL-.js} +1 -1
  73. package/dist/component/{number-input-field-rac-CFFU1JrK.js → number-input-field-rac-C_Fh8oeD.js} +5 -5
  74. package/dist/component/{number-input-rac-BDs3ngbf.js → number-input-rac-J2tCaAYx.js} +1 -1
  75. package/dist/component/{password-rac-jRXGfQn_.js → password-rac-wlfBhft8.js} +5 -5
  76. package/dist/component/{payment-input-rac-BAkJqSyU.js → payment-input-rac-DKxy3uE0.js} +5 -5
  77. package/dist/component/{phone-input-field-rac-D_1jDl7O.js → phone-input-field-rac-ClXUOLpB.js} +117 -117
  78. package/dist/component/{phone-rac-DyinFMYS.js → phone-rac-D0-Poz1e.js} +1 -1
  79. package/dist/component/{product-list-rac-BkUvhZMi.js → product-list-rac-TF5fgLyc.js} +69 -68
  80. package/dist/component/{quiz-radio-group-rac-Cha9jkTD.js → quiz-radio-group-rac-BX4V_6wg.js} +1 -1
  81. package/dist/component/{radio-button-module-classes-WQaDTnal.js → radio-button-module-classes-D8UpzVUK.js} +18 -17
  82. package/dist/component/{radio-group-field-rac-Cr35UXlg.js → radio-group-field-rac-C0zCVtjj.js} +5 -5
  83. package/dist/component/{radio-group-rac-BGRYJcwQ.js → radio-group-rac-DrKqgPRT.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-C_X51vxl.js → rating-input-field-rac-DjxfTgv5.js} +35 -33
  85. package/dist/component/{rating-input-rac-B-usRVpy.js → rating-input-rac-DO4Bpdj3.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-Bed3DsK7.js → rich-content-rac.module-DUNKiTkT.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-SHHiInVy.js → rich-text-field-rac-DIOTzVwj.js} +2 -2
  88. package/dist/component/{rich-text-rac-CND63R3E.js → rich-text-rac-C_E_vEGz.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-BdfxJ1Zq.js → service-dropdown-rac-B3gQT9Tj.js} +6 -6
  90. package/dist/component/{services-multi-choice-rac-D6BdQ2xE.js → services-multi-choice-rac-D40hZhBB.js} +7 -7
  91. package/dist/component/{signature-rac-xuYTsTUB.js → signature-rac-CKXpb2WN.js} +307 -301
  92. package/dist/component/{submit-button-rac-7YwnpPtu.js → submit-button-rac-CDS-vtXq.js} +39 -39
  93. package/dist/component/{tags-field-rac-ChzPiPvQ.js → tags-field-rac-CdQWq8k5.js} +72 -75
  94. package/dist/component/{tags-rac-BScWp3da.js → tags-rac-BwChqdGx.js} +1 -1
  95. package/dist/component/{text-area-field-rac-CDEJUPgV.js → text-area-field-rac-VCFJuHx4.js} +5 -5
  96. package/dist/component/{text-area-rac-CwiF24AW.js → text-area-rac-BICVNsdn.js} +1 -1
  97. package/dist/component/{text-input-field-rac-vg2b_7it.js → text-input-field-rac-C9gyRhcK.js} +4 -4
  98. package/dist/component/{text-input-headless-BdD-dAx2.js → text-input-headless-BdkaD-re.js} +3 -3
  99. package/dist/component/{text-input-rac-yX6rdvri.js → text-input-rac-B7buOGbq.js} +1 -1
  100. package/dist/component/{time-input-rac-B_kYmOwq.js → time-input-rac-CSFhEYi0.js} +5 -5
  101. package/dist/component/{url-input-field-rac-NJqyqxLi.js → url-input-field-rac-BIXokgHy.js} +5 -5
  102. package/dist/component/{url-input-rac-BqIKc9nY.js → url-input-rac-tTN0GaTH.js} +1 -1
  103. package/dist/component/{use-dropdown-option-class-name-DFW55r3E.js → use-dropdown-option-class-name-C6zB6TNA.js} +3 -3
  104. package/dist/component/{use-dropdown-trigger-class-name-Df-nqoeG.js → use-dropdown-trigger-class-name-CEq68SuK.js} +2 -2
  105. package/dist/component/use-element-state-class-name-BFZzVwqe.js +23 -0
  106. package/dist/component/use-hoverable-input-class-name-CzZmczhf.js +25 -0
  107. package/dist/component/{use-service-options-base-B64QpFwc.js → use-service-options-base-DOCVW9ax.js} +1 -1
  108. package/dist/component/use-text-input-class-name-BNX3qkmh.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-BIBNQEOK.js +0 -25
  111. package/dist/component/file-upload-rac-CjBKgUCk.js +0 -561
  112. package/dist/component/use-element-state-class-name-D008EeZn.js +0 -20
  113. package/dist/component/use-hoverable-input-class-name-CVtF0FGy.js +0 -23
  114. package/dist/component/use-text-input-class-name-BSDU7QEO.js +0 -6
@@ -1,10 +1,10 @@
1
- import t, { useRef as w, useCallback as h } from "react";
2
- import F from "@wix/editor-react-components/AnimatedIcon";
3
- import p from "classnames";
4
- import { bh as b, bb as j, ag as A, b as R, af as k, ab as y, aa as M, ae as U } from "./form-GcotNutn.js";
5
- import { ProgressBar as D, Button as C } from "react-aria-components";
1
+ import t, { useRef as F, useCallback as P } from "react";
2
+ import j from "@wix/editor-react-components/AnimatedIcon";
3
+ import g from "classnames";
4
+ import { bh as b, bb as q, ag as A, b as R, af as k, ab as y, aa as M, ae as U } from "./form-B2wZnWX9.js";
5
+ import { ProgressBar as D, Button as N } from "react-aria-components";
6
6
  import { f as m } from "./find-child-C60k4CxG.js";
7
- import { u as N } from "./use-element-state-class-name-D008EeZn.js";
7
+ import { u as f } from "./use-element-state-class-name-BFZzVwqe.js";
8
8
  function W(e) {
9
9
  const s = "calc(50% - 2px)";
10
10
  return /* @__PURE__ */ t.createElement(D, {
@@ -46,38 +46,38 @@ const u = ({ children: e }) => {
46
46
  renderDescription: () => null
47
47
  });
48
48
  }, _ = ({ className: e, children: o }) => {
49
- const s = m(o, P), n = m(o, L), i = m(o, l);
49
+ const s = m(o, L), n = m(o, I), i = m(o, l);
50
50
  return /* @__PURE__ */ t.createElement("div", {
51
51
  className: e
52
52
  }, s, n, i);
53
- }, P = ({ className: e }) => {
53
+ }, L = ({ className: e }) => {
54
54
  const { showPreviousButton: o, onPreviousClick: s, previousText: n } = b();
55
- return o ? /* @__PURE__ */ t.createElement(C, {
55
+ return o ? /* @__PURE__ */ t.createElement(N, {
56
56
  className: e,
57
57
  onPress: s
58
58
  }, n) : null;
59
- }, L = ({ className: e }) => {
59
+ }, I = ({ className: e }) => {
60
60
  const { showNextButton: o, onNextClick: s, nextText: n } = b();
61
- return o ? /* @__PURE__ */ t.createElement(C, {
61
+ return o ? /* @__PURE__ */ t.createElement(N, {
62
62
  className: e,
63
63
  onPress: s
64
64
  }, n) : null;
65
65
  }, l = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
66
- const { showSubmitButton: i, onSubmitClick: f, submitText: E, isDisabled: x, isInProgress: B, isSubmitting: S } = b();
66
+ const { showSubmitButton: i, onSubmitClick: C, submitText: p, isDisabled: x, isInProgress: B, isSubmitting: S } = b();
67
67
  if (!i)
68
68
  return null;
69
- const g = m(n, l.Label), d = m(n, l.Icon), v = m(n, l.Loader), c = S || B;
70
- return /* @__PURE__ */ t.createElement(C, {
69
+ const E = m(n, l.Label), d = m(n, l.Icon), v = m(n, l.Loader), c = S || B;
70
+ return /* @__PURE__ */ t.createElement(N, {
71
71
  className: e,
72
- "aria-label": E,
73
- onPress: c ? void 0 : f,
72
+ "aria-label": p,
73
+ onPress: c ? void 0 : C,
74
74
  onHoverStart: o,
75
75
  onHoverEnd: s,
76
76
  isDisabled: x && !c,
77
77
  "aria-disabled": c || void 0,
78
78
  "data-in-progress": B
79
- }, B && v ? v : /* @__PURE__ */ t.createElement(t.Fragment, null, g ?? /* @__PURE__ */ t.createElement(I, null), d));
80
- }, I = ({ className: e }) => {
79
+ }, B && v ? v : /* @__PURE__ */ t.createElement(t.Fragment, null, E ?? /* @__PURE__ */ t.createElement(H, null), d));
80
+ }, H = ({ className: e }) => {
81
81
  const { submitText: o } = b();
82
82
  return /* @__PURE__ */ t.createElement("span", {
83
83
  className: e
@@ -85,16 +85,16 @@ const u = ({ children: e }) => {
85
85
  }, V = ({ children: e }) => /* @__PURE__ */ t.createElement(t.Fragment, null, e), X = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
86
86
  className: e
87
87
  }, /* @__PURE__ */ t.createElement(W, null));
88
- l.Label = I;
88
+ l.Label = H;
89
89
  l.Icon = V;
90
90
  l.Loader = X;
91
- _.PreviousButton = P;
92
- _.NextButton = L;
91
+ _.PreviousButton = L;
92
+ _.NextButton = I;
93
93
  _.SubmitButton = l;
94
94
  u.SubmitButton = _;
95
- const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navigationButton_zzjp6_10", J = "_nextButton_zzjp6_24", K = "_previousButton_zzjp6_47", Q = "_navigationButtonHover_zzjp6_74", Y = "_button_zzjp6_90", Z = "_buttonNoSteps_zzjp6_133", tt = "_buttonWithSteps_zzjp6_137", et = "_buttonHover_zzjp6_141", nt = "_progress_zzjp6_165", a = {
95
+ const $ = "_navigationContainer_1fjqg_1", z = "_rowSpacing_1fjqg_6", G = "_navigationButton_1fjqg_10", J = "_nextButton_1fjqg_29", K = "_previousButton_1fjqg_52", Q = "_navigationButtonHover_1fjqg_79", Y = "_button_1fjqg_95", Z = "_buttonNoSteps_1fjqg_143", tt = "_buttonWithSteps_1fjqg_147", et = "_buttonHover_1fjqg_151", nt = "_progress_1fjqg_175", a = {
96
96
  navigationContainer: $,
97
- rowSpacing: q,
97
+ rowSpacing: z,
98
98
  navigationButton: G,
99
99
  nextButton: J,
100
100
  previousButton: K,
@@ -105,42 +105,42 @@ const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navig
105
105
  buttonHover: et,
106
106
  progress: nt
107
107
  }, ot = () => {
108
- var z, T;
109
- const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: i } = b(), E = !s && !(i || n), { wix: x, className: B, ...S } = ((T = (z = j().submitButton) == null ? void 0 : z.elementProps) == null ? void 0 : T.icon) ?? {}, g = N({
108
+ var T, h;
109
+ const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: i } = b(), p = !s && !(i || n), { wix: x, className: B, ...S } = ((h = (T = q().submitButton) == null ? void 0 : T.elementProps) == null ? void 0 : h.icon) ?? {}, E = f({
110
110
  globalClasses: y,
111
111
  moduleClasses: {
112
- base: p(a.navigationButton, a.previousButton),
112
+ base: g(a.navigationButton, a.previousButton),
113
113
  hover: a.navigationButtonHover
114
114
  }
115
- }), d = N({
115
+ }), d = f({
116
116
  globalClasses: M,
117
117
  moduleClasses: {
118
- base: p(a.navigationButton, a.nextButton),
118
+ base: g(a.navigationButton, a.nextButton),
119
119
  hover: a.navigationButtonHover
120
120
  }
121
- }), v = N({
121
+ }), v = f({
122
122
  globalClasses: U,
123
123
  moduleClasses: {
124
- base: p(a.button, {
124
+ base: g(a.button, {
125
125
  [a.buttonNoSteps]: !e,
126
126
  [a.buttonWithSteps]: e
127
127
  }),
128
128
  hover: a.buttonHover
129
129
  }
130
- }), c = w(null), H = h(() => {
130
+ }), c = F(null), O = P(() => {
131
131
  var r;
132
132
  return (r = c.current) == null ? void 0 : r.runAnimationForward();
133
- }, []), O = h(() => {
133
+ }, []), w = P(() => {
134
134
  var r;
135
135
  return (r = c.current) == null ? void 0 : r.runAnimationBackward();
136
136
  }, []);
137
137
  return /* @__PURE__ */ t.createElement(u, null, /* @__PURE__ */ t.createElement(u.SubmitButton, {
138
- className: p({
138
+ className: g({
139
139
  [a.navigationContainer]: e,
140
140
  [a.rowSpacing]: o
141
141
  })
142
142
  }, /* @__PURE__ */ t.createElement(u.SubmitButton.PreviousButton, {
143
- className: ({ isHovered: r }) => g({
143
+ className: ({ isHovered: r }) => E({
144
144
  isSelected: !1,
145
145
  isHovered: r
146
146
  })
@@ -153,16 +153,16 @@ const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navig
153
153
  className: ({ isHovered: r }) => v({
154
154
  isSelected: !1,
155
155
  isHovered: r,
156
- isInteractive: E
156
+ isInteractive: p
157
157
  }),
158
- onHoverStart: H,
159
- onHoverEnd: O
158
+ onHoverStart: O,
159
+ onHoverEnd: w
160
160
  }, /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Label, {
161
161
  className: A
162
- }), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Icon, null, S.svg ? /* @__PURE__ */ t.createElement(F, {
162
+ }), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Icon, null, S.svg ? /* @__PURE__ */ t.createElement(j, {
163
163
  ...S,
164
164
  ref: c,
165
- className: p(R, k, B)
165
+ className: g(R, k, B)
166
166
  }) : null), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Loader, {
167
167
  className: a.progress
168
168
  }))));
@@ -1,34 +1,34 @@
1
1
  import { RicosViewer as w } from "@wix/ricos/viewer";
2
- import y from "classnames";
2
+ import F from "classnames";
3
3
  import t, { useMemo as I, useState as z, useRef as N, useLayoutEffect as B, useCallback as k } from "react";
4
4
  import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
5
- import { bh as R, be as M, br as S, bj as U, I as ee, U as te, a3 as ne, v as oe, p as ae, a4 as re } from "./form-GcotNutn.js";
5
+ import { bh as D, be as M, br as S, bj as U, I as ee, U as te, a3 as ne, v as oe, p as ae, a4 as re } from "./form-B2wZnWX9.js";
6
6
  import { f as O, a as x } from "./find-child-C60k4CxG.js";
7
- import { E as W, D as H } from "./field-error-headless-DwlihJqC.js";
8
- import { L as $ } from "./field-label-headless-C_cMy8vP.js";
7
+ import { E as W, D as H } from "./field-error-headless-C-wyL0uw.js";
8
+ import { L as $ } from "./field-label-headless-32mvEUId.js";
9
9
  import { F as se } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { E as le } from "./error-icon-hZxQ6DEy.js";
11
- import { s as D } from "./field-rac.module-BIBNQEOK.js";
12
- import { u as ie } from "./use-element-state-class-name-D008EeZn.js";
13
- import { u as ce } from "./use-text-input-class-name-BSDU7QEO.js";
11
+ import { s as y } from "./field-rac.module-DfEb7pBp.js";
12
+ import { u as ie } from "./use-element-state-class-name-BFZzVwqe.js";
13
+ import { u as ce } from "./use-text-input-class-name-BNX3qkmh.js";
14
14
  var ue = /* @__PURE__ */ (function(e) {
15
15
  return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
16
16
  })({});
17
- const v = "Other", de = (e, n) => {
18
- const r = n.length + 2;
19
- return (e.find((i) => i.startsWith(`${n}: `)) || "").slice(r);
17
+ const R = "Other", de = (e, n) => {
18
+ const i = n.length + 2;
19
+ return (e.find((l) => l.startsWith(`${n}: `)) || "").slice(i);
20
20
  }, me = (e) => e.map((n) => n.value ?? n.label), P = ({ className: e, ...n }) => {
21
- const { label: a } = n;
21
+ const { label: r } = n;
22
22
  return /* @__PURE__ */ t.createElement("span", {
23
23
  className: e
24
- }, a);
24
+ }, r);
25
25
  }, q = ({ className: e }) => {
26
- const { value: n, onChange: a, addOtherLabel: r, addOtherPlaceholder: l, otherInputCharacterLimit: i, disabled: u, readOnly: m, hasError: d } = R(), { t: p } = S(), o = r || p("add-other.default-other-option-label") || v, b = I(() => de(n || [], o), [
26
+ const { value: n, onChange: r, addOtherLabel: i, addOtherPlaceholder: s, otherInputCharacterLimit: l, disabled: u, readOnly: m, hasError: d } = D(), { t: p } = S(), o = i || p("add-other.default-other-option-label") || R, b = I(() => de(n || [], o), [
27
27
  n,
28
28
  o
29
- ]), [c, L] = z(b), f = N(a);
29
+ ]), [c, L] = z(b), f = N(r);
30
30
  B(() => {
31
- f.current = a;
31
+ f.current = r;
32
32
  });
33
33
  const g = k((h) => {
34
34
  L(h);
@@ -51,12 +51,12 @@ const v = "Other", de = (e, n) => {
51
51
  }, /* @__PURE__ */ t.createElement(X, {
52
52
  "data-hook": "tags-other-input",
53
53
  "data-filled": c ? !0 : void 0,
54
- placeholder: l,
55
- maxLength: i,
54
+ placeholder: s,
55
+ maxLength: l,
56
56
  className: e
57
57
  }));
58
- }, T = ({ children: e, className: n, ...a }) => {
59
- const { value: r, label: l, isOther: i, isFirstOption: u } = a, { id: m, value: d, onChange: p, options: o, disabled: b, readOnly: c, hasError: L } = R(), f = N(null);
58
+ }, T = ({ children: e, className: n, ...r }) => {
59
+ const { value: i, label: s, isOther: l, isFirstOption: u } = r, { id: m, value: d, onChange: p, options: o, disabled: b, readOnly: c, hasError: L } = D(), f = N(null);
60
60
  U(() => {
61
61
  var E;
62
62
  u && ((E = f.current) == null || E.focus({
@@ -65,19 +65,19 @@ const v = "Other", de = (e, n) => {
65
65
  }, m);
66
66
  const g = O(e, P), h = I(() => d || [], [
67
67
  d
68
- ]), C = I(() => i ? h.find((E) => E === l || E.startsWith(`${l}: `)) || l : r, [
69
- i,
70
- h,
68
+ ]), C = I(() => l ? h.find((E) => E === s || E.startsWith(`${s}: `)) || s : i, [
71
69
  l,
72
- r
70
+ h,
71
+ s,
72
+ i
73
73
  ]), _ = k((E) => {
74
74
  const j = me(o || []), A = h.filter((Q) => j.includes(Q));
75
75
  p(E ? [
76
76
  ...A,
77
- l
77
+ s
78
78
  ] : A);
79
79
  }, [
80
- l,
80
+ s,
81
81
  p,
82
82
  o,
83
83
  h
@@ -85,23 +85,23 @@ const v = "Other", de = (e, n) => {
85
85
  return /* @__PURE__ */ t.createElement(Y, {
86
86
  inputRef: f,
87
87
  value: C,
88
- onChange: i ? _ : void 0,
88
+ onChange: l ? _ : void 0,
89
89
  isDisabled: b,
90
90
  isReadOnly: c,
91
91
  isInvalid: L
92
92
  }, /* @__PURE__ */ t.createElement(Z, {
93
93
  className: n,
94
- "data-hook": `tags-${i ? v : r}`
94
+ "data-hook": `tags-${l ? R : i}`
95
95
  }, x(g, {
96
- value: r,
97
- label: l,
98
- isOther: i,
96
+ value: i,
97
+ label: s,
98
+ isOther: l,
99
99
  isFirstOption: u
100
100
  })));
101
101
  }, V = ({ children: e, className: n }) => {
102
- const { options: a, addOther: r, addOtherLabel: l, numberOfColumns: i = ue.FREE_FLOW } = R(), { t: u } = S(), m = l || u("add-other.default-other-option-label") || v, d = O(e, T), p = I(() => {
103
- const o = a || [];
104
- return r ? [
102
+ const { options: r, addOther: i, addOtherLabel: s, numberOfColumns: l = ue.FREE_FLOW } = D(), { t: u } = S(), m = s || u("add-other.default-other-option-label") || R, d = O(e, T), p = I(() => {
103
+ const o = r || [];
104
+ return i ? [
105
105
  ...o,
106
106
  {
107
107
  label: m,
@@ -110,17 +110,17 @@ const v = "Other", de = (e, n) => {
110
110
  }
111
111
  ] : o;
112
112
  }, [
113
- a,
114
113
  r,
114
+ i,
115
115
  m
116
116
  ]);
117
117
  return p.length === 0 ? null : /* @__PURE__ */ t.createElement("div", {
118
118
  className: n,
119
- "data-columns": i
119
+ "data-columns": l
120
120
  }, p.map((o, b) => {
121
121
  const c = o.value ?? o.label;
122
122
  return x(d, {
123
- key: o.isOther ? v : c,
123
+ key: o.isOther ? R : c,
124
124
  value: c,
125
125
  label: o.label,
126
126
  isOther: o.isOther,
@@ -128,37 +128,37 @@ const v = "Other", de = (e, n) => {
128
128
  });
129
129
  }));
130
130
  }, G = ({ children: e, className: n }) => {
131
- const { addOther: a, addOtherLabel: r, hasError: l, readOnly: i, value: u } = R(), { t: m } = S(), d = r || m("add-other.default-other-option-label") || v, p = O(e, V), o = O(e, q), b = I(() => !a || !u ? !1 : u.some((c) => c === d || c.startsWith(`${d}:`)), [
132
- a,
131
+ const { addOther: r, addOtherLabel: i, hasError: s, readOnly: l, value: u } = D(), { t: m } = S(), d = i || m("add-other.default-other-option-label") || R, p = O(e, V), o = O(e, q), b = I(() => !r || !u ? !1 : u.some((c) => c === d || c.startsWith(`${d}:`)), [
132
+ r,
133
133
  u,
134
134
  d
135
135
  ]);
136
136
  return /* @__PURE__ */ t.createElement("div", {
137
137
  className: n,
138
- "data-invalid": l,
139
- "data-readonly": i
138
+ "data-invalid": s,
139
+ "data-readonly": l
140
140
  }, p, b && o);
141
- }, s = ({ children: e }) => {
142
- const { id: n, value: a, onChange: r, FieldLayout: l, required: i, disabled: u, readOnly: m, hasError: d, onBlur: p, onFocus: o } = R(), { inputId: b, labelId: c, ariaDescribedBy: L } = M(), f = I(() => a || [], [
143
- a
141
+ }, a = ({ children: e }) => {
142
+ const { id: n, value: r, onChange: i, FieldLayout: s, required: l, disabled: u, readOnly: m, hasError: d, onBlur: p, onFocus: o } = D(), { inputId: b, labelId: c, ariaDescribedBy: L } = M(), f = I(() => r || [], [
143
+ r
144
144
  ]), g = O(e, $), h = O(e, G), C = O(e, H), _ = O(e, W);
145
- return /* @__PURE__ */ t.createElement(l, {
145
+ return /* @__PURE__ */ t.createElement(s, {
146
146
  fieldId: n,
147
147
  renderLabel: () => g,
148
148
  renderInput: () => /* @__PURE__ */ t.createElement(se, {
149
149
  id: b,
150
150
  ariaLabelledBy: c,
151
151
  ariaDescribedBy: L,
152
- required: i,
152
+ required: l,
153
153
  onBlur: p,
154
154
  onFocus: o
155
155
  }, /* @__PURE__ */ t.createElement(J, {
156
156
  "aria-labelledby": c,
157
157
  value: f,
158
- onChange: r,
158
+ onChange: i,
159
159
  isDisabled: u,
160
160
  isReadOnly: m,
161
- isRequired: i,
161
+ isRequired: l,
162
162
  isInvalid: d
163
163
  }, h)),
164
164
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, _, C)
@@ -166,13 +166,13 @@ const v = "Other", de = (e, n) => {
166
166
  };
167
167
  V.Option = T;
168
168
  T.Label = P;
169
- s.Label = $;
170
- s.Control = G;
171
- s.Options = V;
172
- s.OtherInput = q;
173
- s.Description = H;
174
- s.Error = W;
175
- const pe = "_control_d4biy_1", he = "_options_d4biy_7", Ee = "_option_d4biy_7", be = "_optionHover_d4biy_79", Oe = "_optionSelected_d4biy_79", F = {
169
+ a.Label = $;
170
+ a.Control = G;
171
+ a.Options = V;
172
+ a.OtherInput = q;
173
+ a.Description = H;
174
+ a.Error = W;
175
+ const pe = "_control_t6hu2_1", he = "_options_t6hu2_7", Ee = "_option_t6hu2_7", be = "_optionHover_t6hu2_74", Oe = "_optionSelected_t6hu2_74", v = {
176
176
  control: pe,
177
177
  options: he,
178
178
  option: Ee,
@@ -182,33 +182,30 @@ const pe = "_control_d4biy_1", he = "_options_d4biy_7", Ee = "_option_d4biy_7",
182
182
  content: e,
183
183
  locale: n
184
184
  }), Ie = {
185
- base: F.option,
186
- selected: F.optionSelected,
187
- hover: F.optionHover
185
+ base: v.option,
186
+ selected: v.optionSelected,
187
+ hover: v.optionHover
188
188
  }, Ne = () => {
189
189
  const e = ie({
190
190
  globalClasses: re,
191
191
  moduleClasses: Ie
192
192
  }), n = ce();
193
- return /* @__PURE__ */ t.createElement(s, null, /* @__PURE__ */ t.createElement(s.Label, {
194
- className: y(ee, D.label)
195
- }, /* @__PURE__ */ t.createElement(s.Label.Required, {
196
- className: y(te, D.requiredMark)
197
- })), /* @__PURE__ */ t.createElement(s.Control, {
198
- className: F.control
199
- }, /* @__PURE__ */ t.createElement(s.Options, {
200
- className: y(ne, F.options)
201
- }, /* @__PURE__ */ t.createElement(s.Options.Option, {
202
- className: ({ isSelected: a, isHovered: r }) => e({
203
- isSelected: a,
204
- isHovered: r
205
- })
206
- }, /* @__PURE__ */ t.createElement(s.Options.Option.Label, null))), /* @__PURE__ */ t.createElement(s.OtherInput, {
193
+ return /* @__PURE__ */ t.createElement(a, null, /* @__PURE__ */ t.createElement(a.Label, {
194
+ className: F(ee, y.label)
195
+ }, /* @__PURE__ */ t.createElement(a.Label.Required, {
196
+ className: F(te, y.requiredMark)
197
+ })), /* @__PURE__ */ t.createElement(a.Control, {
198
+ className: v.control
199
+ }, /* @__PURE__ */ t.createElement(a.Options, {
200
+ className: F(ne, v.options)
201
+ }, /* @__PURE__ */ t.createElement(a.Options.Option, {
202
+ className: e
203
+ }, /* @__PURE__ */ t.createElement(a.Options.Option.Label, null))), /* @__PURE__ */ t.createElement(a.OtherInput, {
207
204
  className: n
208
- })), /* @__PURE__ */ t.createElement(s.Error, {
209
- className: y(oe, D.error)
210
- }, /* @__PURE__ */ t.createElement(le, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
211
- className: y(ae, D.description)
205
+ })), /* @__PURE__ */ t.createElement(a.Error, {
206
+ className: F(oe, y.error)
207
+ }, /* @__PURE__ */ t.createElement(le, null), /* @__PURE__ */ t.createElement(a.Error.Text, null)), /* @__PURE__ */ t.createElement(a.Description, {
208
+ className: F(ae, y.description)
212
209
  }, fe));
213
210
  };
214
211
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-ChzPiPvQ.js";
2
+ import { T as r } from "./tags-field-rac-CdQWq8k5.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TagsRAC
@@ -2,13 +2,13 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import o from "classnames";
3
3
  import r, { useCallback as T, useRef as O } from "react";
4
4
  import { TextField as S, TextArea as y } from "react-aria-components";
5
- import { bh as p, be as d, bj as x, I as h, U as g, v, p as M } from "./form-GcotNutn.js";
5
+ import { bh as p, be as d, bj as x, I as h, U as g, v, p as M } from "./form-B2wZnWX9.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as q, E as B } from "./field-error-headless-DwlihJqC.js";
8
- import { L as k } from "./field-label-headless-C_cMy8vP.js";
7
+ import { D as q, E as B } from "./field-error-headless-C-wyL0uw.js";
8
+ import { L as k } from "./field-label-headless-32mvEUId.js";
9
9
  import { E as P } from "./error-icon-hZxQ6DEy.js";
10
- import { s as c } from "./field-rac.module-BIBNQEOK.js";
11
- import { u as U } from "./use-text-input-class-name-BSDU7QEO.js";
10
+ import { s as c } from "./field-rac.module-DfEb7pBp.js";
11
+ import { u as U } from "./use-text-input-class-name-BNX3qkmh.js";
12
12
  const e = ({ children: t }) => {
13
13
  const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: I, FieldLayout: b, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
14
14
  s(A);
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./text-area-field-rac-CDEJUPgV.js";
2
+ import { T as r } from "./text-area-field-rac-VCFJuHx4.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TextAreaRAC
@@ -1,11 +1,11 @@
1
1
  import { RicosViewer as l } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { T as r } from "./text-input-headless-BdD-dAx2.js";
4
+ import { T as r } from "./text-input-headless-BdkaD-re.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
- import { s as a } from "./field-rac.module-BIBNQEOK.js";
7
- import { I as n, U as c, v as E, p as i } from "./form-GcotNutn.js";
8
- import { u as p } from "./use-text-input-class-name-BSDU7QEO.js";
6
+ import { s as a } from "./field-rac.module-DfEb7pBp.js";
7
+ import { I as n, U as c, v as E, p as i } from "./form-B2wZnWX9.js";
8
+ import { u as p } from "./use-text-input-class-name-BNX3qkmh.js";
9
9
  const I = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
10
10
  content: s,
11
11
  locale: m
@@ -1,9 +1,9 @@
1
1
  import t, { useRef as L } from "react";
2
2
  import { TextField as R, Input as h } from "react-aria-components";
3
- import { bh as d, be as c, bj as v } from "./form-GcotNutn.js";
3
+ import { bh as d, be as c, bj as v } from "./form-B2wZnWX9.js";
4
4
  import { f as s } from "./find-child-C60k4CxG.js";
5
- import { D as T, E as g } from "./field-error-headless-DwlihJqC.js";
6
- import { L as x } from "./field-label-headless-C_cMy8vP.js";
5
+ import { D as T, E as g } from "./field-error-headless-C-wyL0uw.js";
6
+ import { L as x } from "./field-label-headless-32mvEUId.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
9
9
  return /* @__PURE__ */ t.createElement(f, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-vg2b_7it.js";
2
+ import { T as e } from "./text-input-field-rac-C9gyRhcK.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC
@@ -3,14 +3,14 @@ import { RicosViewer as v } from "@wix/ricos/viewer";
3
3
  import m from "classnames";
4
4
  import { parseTime as x } from "@internationalized/date";
5
5
  import { TimeField as q, DateInput as z, DateSegment as _, TimeFieldStateContext as B } from "react-aria-components";
6
- import { bh as p, be as U, br as S, bj as w, I as Q, U as G, v as J, p as K } from "./form-GcotNutn.js";
6
+ import { bh as p, be as U, br as S, bj as w, I as Q, U as G, v as J, p as K } from "./form-B2wZnWX9.js";
7
7
  import { f as u, a as F } from "./find-child-C60k4CxG.js";
8
- import { D as W, E as X } from "./field-error-headless-DwlihJqC.js";
9
- import { L as Y } from "./field-label-headless-C_cMy8vP.js";
8
+ import { D as W, E as X } from "./field-error-headless-C-wyL0uw.js";
9
+ import { L as Y } from "./field-label-headless-32mvEUId.js";
10
10
  import { E as Z } from "./error-icon-hZxQ6DEy.js";
11
11
  import { H as T } from "./custom-focus-class-_483Pkwp.js";
12
- import { s as f } from "./field-rac.module-BIBNQEOK.js";
13
- import { u as $ } from "./use-text-input-class-name-BSDU7QEO.js";
12
+ import { s as f } from "./field-rac.module-DfEb7pBp.js";
13
+ import { u as $ } from "./use-text-input-class-name-BNX3qkmh.js";
14
14
  const r = ({ children: t }) => {
15
15
  const { id: n, value: l, onChange: a, disabled: i, readOnly: o, required: c, onBlur: s, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = U(), R = H((M) => {
16
16
  const k = ae(M);
@@ -2,14 +2,14 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
3
  import r, { useCallback as S, useRef as O } from "react";
4
4
  import { TextField as y, Input as A } from "react-aria-components";
5
- import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-GcotNutn.js";
5
+ import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-B2wZnWX9.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as P } from "./field-error-headless-DwlihJqC.js";
8
- import { L as U } from "./field-label-headless-C_cMy8vP.js";
7
+ import { D as M, E as P } from "./field-error-headless-C-wyL0uw.js";
8
+ import { L as U } from "./field-label-headless-32mvEUId.js";
9
9
  import { u as q } from "./use-invoke-callback-UH73A_J3.js";
10
10
  import { E as x } from "./error-icon-hZxQ6DEy.js";
11
- import { s as u } from "./field-rac.module-BIBNQEOK.js";
12
- import { u as w } from "./use-text-input-class-name-BSDU7QEO.js";
11
+ import { s as u } from "./field-rac.module-DfEb7pBp.js";
12
+ import { u as w } from "./use-text-input-class-name-BNX3qkmh.js";
13
13
  const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
14
  const { id: o, value: s, onChange: n, disabled: m, readOnly: a, required: l, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = q(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), h = S(() => {
15
15
  n(V(s)), p();
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-NJqyqxLi.js";
2
+ import { U as t } from "./url-input-field-rac-BIXokgHy.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC
@@ -1,9 +1,9 @@
1
1
  import d, { useContext as _, useRef as D, useState as m, Children as L, useLayoutEffect as p, useMemo as M } from "react";
2
2
  import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as N } from "react-aria-components";
3
3
  import T from "classnames";
4
- import { s as h } from "./field-rac.module-BIBNQEOK.js";
5
- import { s as H } from "./form-GcotNutn.js";
6
- import { u as I } from "./use-element-state-class-name-D008EeZn.js";
4
+ import { s as h } from "./field-rac.module-DfEb7pBp.js";
5
+ import { s as H } from "./form-B2wZnWX9.js";
6
+ import { u as I } from "./use-element-state-class-name-BFZzVwqe.js";
7
7
  const R = 1 / 0, B = {
8
8
  position: "absolute",
9
9
  width: 0,
@@ -1,6 +1,6 @@
1
1
  import { useContext as T, useMemo as a } from "react";
2
- import { bb as p, an as O, b9 as _, F as s, t as i } from "./form-GcotNutn.js";
3
- import { u } from "./use-hoverable-input-class-name-CVtF0FGy.js";
2
+ import { bb as p, an as O, b9 as _, F as s, t as i } from "./form-B2wZnWX9.js";
3
+ import { u } from "./use-hoverable-input-class-name-CzZmczhf.js";
4
4
  const I = [
5
5
  s.DROPDOWN,
6
6
  s.DEXT_DROPDOWN,
@@ -0,0 +1,23 @@
1
+ import i from "classnames";
2
+ import { ba as s, aJ as v } from "./form-B2wZnWX9.js";
3
+ const x = ({ globalClasses: e, moduleClasses: r }) => {
4
+ var d;
5
+ const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
6
+ e.selected,
7
+ e.hover
8
+ ], h = !!e.selected && c.includes(e.selected), u = c.includes(e.hover);
9
+ return ({ isSelected: n, isHovered: N, isFocused: p, isFocusWithin: E, isInteractive: t = !0 }) => {
10
+ const m = N || !!p || !!E;
11
+ return i(e.base, r.base, t ? c : c.filter((f) => !o.includes(f)), {
12
+ [e.hover]: t && m,
13
+ [r.hover]: t && (m || u)
14
+ }, e.selected && {
15
+ [e.selected]: t && n
16
+ }, r.selected && {
17
+ [r.selected]: t && (n || h)
18
+ });
19
+ };
20
+ };
21
+ export {
22
+ x as u
23
+ };
@@ -0,0 +1,25 @@
1
+ import { bh as n } from "./form-B2wZnWX9.js";
2
+ import { s as e } from "./field-rac.module-DfEb7pBp.js";
3
+ import { u } from "./use-element-state-class-name-BFZzVwqe.js";
4
+ const b = (s, a) => {
5
+ const { disabled: t, readOnly: o } = n(), r = u({
6
+ globalClasses: s,
7
+ moduleClasses: {
8
+ base: [
9
+ e.input,
10
+ ...a
11
+ ].join(" "),
12
+ hover: e.inputHover
13
+ }
14
+ });
15
+ return ({ isHovered: l, isFocused: i, isFocusWithin: m }) => r({
16
+ isSelected: !1,
17
+ isHovered: l,
18
+ isFocused: i,
19
+ isFocusWithin: m,
20
+ isInteractive: !t && !o
21
+ });
22
+ };
23
+ export {
24
+ b as u
25
+ };
@@ -1,5 +1,5 @@
1
1
  import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
2
- import { bg as v } from "./form-GcotNutn.js";
2
+ import { bg as v } from "./form-B2wZnWX9.js";
3
3
  const k = (I) => {
4
4
  const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, g] = o(!1), [h, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
5
5
  let d = e.map((l) => ({