@wix/form-elements 1.156.0 → 1.157.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-BejJuk4y.js → appointment-rac-tHM5tqUo.js} +4 -4
  2. package/dist/component/{bookings-address-rac-CCbsyfYB.js → bookings-address-rac-wrGfkOz7.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DtkvYYB2.js → bookings-email-rac-Cb8sq7hf.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-D3djY0vF.js → bookings-first-name-rac-BD56qBtd.js} +1 -1
  5. package/dist/component/{bookings-header-rac-D5aTKL9h.js → bookings-header-rac-D3tBRKqn.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-ZTV1iaf5.js → bookings-last-name-rac-Bm3HJSBf.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-D6DJrmMG.js → bookings-login-bar-rac-BeHjULcN.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-BdZJSFNp.js → bookings-phone-rac-MWT57RG3.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DcLCYKhH.js → bookings-rich-text-rac-BiqiJ-Nc.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BlDS05Oq.js → checkbox-field-rac-x-PZaFOf.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-DccvpYjL.js → checkbox-group-field-headless-oeTynU3y.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CfZuZtis.js → checkbox-group-field-rac-2fyiwyB3.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-BRYmgtrd.js → checkbox-group-rac-BjXQ8PDF.js} +1 -1
  14. package/dist/component/{checkbox-rac-BYGpZym_.js → checkbox-rac-Kyj7Zwpu.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CZuQtpY5.js → contacts-address-rac-Ce7LFuRD.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-D7VSHZb5.js → contacts-birthdate-rac-B5eul9At.js} +1 -1
  17. package/dist/component/{contacts-company-rac-CxY2Zmru.js → contacts-company-rac-ltD1Z-1i.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BsRuOGKl.js → contacts-email-rac-s0BcVZG9.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-QzDB5OOu.js → contacts-first-name-rac-m5ZgJ7dk.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Cgav6Wey.js → contacts-last-name-rac-DrV5F6_x.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-B4CcLsPd.js → contacts-phone-rac-BI3_TWL9.js} +1 -1
  22. package/dist/component/{contacts-position-rac-D3ngVdPm.js → contacts-position-rac-BtFToj0w.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-NyrcQ7FY.js → contacts-subscribe-rac-CjwWYOJi.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-DkcFjidK.js → contacts-tax-id-rac-C1xi3GeO.js} +1 -1
  25. package/dist/component/{date-availability-Bvxd9UT1.js → date-availability-CULQxWpk.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DJlB_y93.js → date-input-field-rac-BkAyC-pf.js} +6 -6
  27. package/dist/component/{date-input-rac-BD89YOj1.js → date-input-rac-CLXlmHfL.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-DBORRL0M.js → date-picker-field-rac-SJJANtKU.js} +6 -6
  29. package/dist/component/{date-picker-rac-B4j1WE2E.js → date-picker-rac-D0K5YwTe.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-yZMz4NK5.js → date-time-input-field-rac-DEz6KUnw.js} +6 -6
  31. package/dist/component/{date-time-input-rac-BhAC7gU3.js → date-time-input-rac-Cfmh9782.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-plfVJAX4.js → dext-checkbox-group-rac-Cnr0LnHA.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-Do3tFCPC.js → dext-checkbox-rac-C6r_za2s.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CUEpqD10.js → dext-date-picker-rac-CVZlRxA_.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CRAbNDbW.js → dext-date-time-input-rac-cBfbJN6M.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BJx9TIRz.js → dext-dropdown-rac-Jp3ECOrR.js} +1 -1
  37. package/dist/component/{dext-email-rac-DpvOHvck.js → dext-email-rac-CTPOiOAK.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-CZgkXMF8.js → dext-number-input-rac-B3buLRvv.js} +1 -1
  39. package/dist/component/{dext-phone-rac-kHiTA89w.js → dext-phone-rac-5h0Q4A0A.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-D7r1Smme.js → dext-radio-group-rac-C5KL3ImR.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-C-ChMXNY.js → dext-rating-input-rac-cA6kt-Kx.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DpdE7ixp.js → dext-tags-rac-DId_ouLg.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BJB2kqm4.js → dext-text-area-rac-a_Ctq-nW.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-BTvbfP3X.js → dext-text-input-rac-Celrb1dd.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CZJD5r0_.js → dext-url-input-rac-DhDFh4bJ.js} +1 -1
  46. package/dist/component/{donation-rac-o2Hj3jcn.js → donation-rac-D9Mp3tdd.js} +5 -5
  47. package/dist/component/{dropdown-field-headless-beEnm9T4.js → dropdown-field-headless-DV-5awlM.js} +5 -5
  48. package/dist/component/{dropdown-field-rac-DnZD2zj1.js → dropdown-field-rac-CLkVHVA1.js} +3 -3
  49. package/dist/component/{dropdown-rac-VfF262VC.js → dropdown-rac-Ct-aswuU.js} +1 -1
  50. package/dist/component/{ecom-address-rac-eyNn03vu.js → ecom-address-rac-DVPknl-N.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-CCW-C1XZ.js → ecom-subscription-checkbox-rac-CKgGWrh-.js} +2 -2
  52. package/dist/component/{email-input-field-rac-BB9m8hQ8.js → email-input-field-rac-OWZo2iom.js} +3 -3
  53. package/dist/component/{events-repeater-rac-BZB2GkW6.js → events-repeater-rac-DCabB0du.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-BgOCd-MP.js → events-rsvp-rac-DxRgqNul.js} +3 -3
  55. package/dist/component/{field-error-headless-YQxvHPll.js → field-error-headless-Dk7k-KYB.js} +1 -1
  56. package/dist/component/{field-label-headless-BZJwsuwz.js → field-label-headless-y39tsCsZ.js} +1 -1
  57. package/dist/component/{file-upload-rac-BaUamuvp.js → file-upload-rac-C4WD5qpr.js} +4 -4
  58. package/dist/component/{fixed-payment-rac-AzTuwpKe.js → fixed-payment-rac-DKcK_tmF.js} +3 -3
  59. package/dist/component/{form-DPK7-EZv.js → form-DLDT85R3.js} +69 -69
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-uH-B7lbB.js → header-field-rac-ogGgRx6j.js} +2 -2
  63. package/dist/component/{header-rac-0WJvnej2.js → header-rac-iFaKa8f4.js} +1 -1
  64. package/dist/component/{image-choice-rac-wtcuA_K_.js → image-choice-rac-DfNqokUb.js} +4 -4
  65. package/dist/component/{index-VXS27zVa.js → index-ByrW-HXz.js} +2 -2
  66. package/dist/component/{index-BuBR2585.js → index-Dul6nI_B.js} +4 -4
  67. package/dist/component/{isObjectLike-B7XrgMod.js → isObjectLike-DFXNzcW0.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-Cqnw2Pnc.js → multiline-address-field-rac-CNUJS91c.js} +7 -7
  69. package/dist/component/{multiline-address-rac-DMxbxFLJ.js → multiline-address-rac-CPjFn5Gy.js} +1 -1
  70. package/dist/component/{number-input-field-rac-DIVb4U_q.js → number-input-field-rac-Bt19FjdI.js} +4 -4
  71. package/dist/component/{number-input-rac-DA5xE_ML.js → number-input-rac-Dae61Bec.js} +1 -1
  72. package/dist/component/{password-rac-SQNL72BK.js → password-rac-B7tvoqt9.js} +4 -4
  73. package/dist/component/{payment-input-rac-C8qOze0U.js → payment-input-rac-BXu5WL3D.js} +4 -4
  74. package/dist/component/{phone-input-field-rac-DDBceXj7.js → phone-input-field-rac-C9BDbA2d.js} +6 -6
  75. package/dist/component/{phone-rac-C6sPA99S.js → phone-rac-C3_9F6v7.js} +1 -1
  76. package/dist/component/{product-list-rac-BIGcteH9.js → product-list-rac-CCofgn5n.js} +4 -4
  77. package/dist/component/{quiz-radio-group-rac-CwmeJ1Bu.js → quiz-radio-group-rac-CbgIWiXV.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-B4wDjgg7.js → radio-button-module-classes-BM9JBNUT.js} +3 -3
  79. package/dist/component/{radio-group-field-rac-D4PS3V4K.js → radio-group-field-rac-B-lyFud_.js} +4 -4
  80. package/dist/component/{radio-group-rac-CrxtI9ne.js → radio-group-rac-D9M0dAMi.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-Bz-e4160.js → rating-input-field-rac-pUUIQrrg.js} +4 -4
  82. package/dist/component/{rating-input-rac-eyFPVocD.js → rating-input-rac-CLkZVIk_.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-BDHxHfIN.js → rich-content-rac.module-FwArrWcN.js} +1 -1
  84. package/dist/component/{rich-text-field-rac-Cxr2SQrZ.js → rich-text-field-rac-DIt4OKaV.js} +2 -2
  85. package/dist/component/{rich-text-rac-ir_V0_nK.js → rich-text-rac-CUVXdxHj.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-CitukGuQ.js → service-dropdown-rac-BtvnLQzE.js} +4 -4
  87. package/dist/component/{services-multi-choice-rac-0X-JCrJf.js → services-multi-choice-rac-Dcwixkmz.js} +5 -5
  88. package/dist/component/{signature-rac-BXfWWg0O.js → signature-rac-T2mxYE6y.js} +4 -4
  89. package/dist/component/{submit-button-rac-CdCpHReS.js → submit-button-rac-7f5ljpl2.js} +58 -58
  90. package/dist/component/{tags-field-rac-C_zQko1S.js → tags-field-rac-mjYhQFhJ.js} +5 -5
  91. package/dist/component/{tags-rac-CfLYiIFl.js → tags-rac-CTJf0X1i.js} +1 -1
  92. package/dist/component/{text-area-field-rac-B4O1X3h5.js → text-area-field-rac-1ODzSZeG.js} +4 -4
  93. package/dist/component/{text-area-rac-BPVUO12d.js → text-area-rac-CJz4kwRV.js} +1 -1
  94. package/dist/component/{text-input-field-rac-8uxeWGbw.js → text-input-field-rac-Cl6vApZ6.js} +3 -3
  95. package/dist/component/{text-input-headless-Cu1WjpsX.js → text-input-headless-CziSavtB.js} +3 -3
  96. package/dist/component/{text-input-rac-DJuGfuwR.js → text-input-rac-DSnAqQmb.js} +1 -1
  97. package/dist/component/{time-input-rac-BLGw5D6U.js → time-input-rac-BX1vg4gy.js} +4 -4
  98. package/dist/component/{url-input-field-rac-CSlsixl_.js → url-input-field-rac-CFYK2mFr.js} +4 -4
  99. package/dist/component/{url-input-rac-DDqQKgMU.js → url-input-rac-BBbbaYk7.js} +1 -1
  100. package/dist/component/{use-dropdown-trigger-class-name-CVIxf5Io.js → use-dropdown-trigger-class-name-xAxAlTKU.js} +3 -3
  101. package/dist/component/{use-element-state-class-name-D824XkYk.js → use-element-state-class-name-DoNi06OU.js} +1 -1
  102. package/dist/component/{use-hoverable-input-class-name-C7QeI5oY.js → use-hoverable-input-class-name-CM5BhwNW.js} +2 -2
  103. package/dist/component/{use-is-forced-open-dropdown-F53La73p.js → use-is-forced-open-dropdown-Ds2ghFRN.js} +1 -1
  104. package/dist/component/{use-service-options-base-CcKiB-fR.js → use-service-options-base-BN6XeglC.js} +1 -1
  105. package/dist/component/use-text-input-class-name-DVmUTFro.js +6 -0
  106. package/package.json +2 -2
  107. package/dist/component/use-text-input-class-name-yjYwDWHw.js +0 -6
@@ -1,10 +1,10 @@
1
- import t, { useRef as X, useCallback as y } from "react";
2
- import $ from "@wix/editor-react-components/AnimatedIcon";
1
+ import t, { useRef as V, useCallback as k } from "react";
2
+ import X from "@wix/editor-react-components/AnimatedIcon";
3
3
  import p from "classnames";
4
- import { bo as b, bi as j, ai as q, ah as z, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-DPK7-EZv.js";
5
- import { ProgressBar as nt, Button as R } from "react-aria-components";
6
- import { f as l } from "./find-child-C60k4CxG.js";
7
- import { u as x } from "./use-element-state-class-name-D824XkYk.js";
4
+ import { bo as B, bi as $, ai as j, ah as q, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-DLDT85R3.js";
5
+ import { ProgressBar as nt, Button as w } from "react-aria-components";
6
+ import { f as i } from "./find-child-C60k4CxG.js";
7
+ import { u as x } from "./use-element-state-class-name-DoNi06OU.js";
8
8
  function ot(e) {
9
9
  const s = "calc(50% - 2px)";
10
10
  return /* @__PURE__ */ t.createElement(nt, {
@@ -38,7 +38,7 @@ function ot(e) {
38
38
  })))));
39
39
  }
40
40
  const r = ({ children: e }) => {
41
- const { id: o, FieldLayout: s } = b(), n = l(e, r.SubmitButton);
41
+ const { id: o, FieldLayout: s } = B(), n = i(e, r.SubmitButton);
42
42
  return /* @__PURE__ */ t.createElement(s, {
43
43
  fieldId: o,
44
44
  renderLabel: () => null,
@@ -46,95 +46,95 @@ const r = ({ children: e }) => {
46
46
  renderDescription: () => null
47
47
  });
48
48
  }, g = ({ className: e, children: o }) => {
49
- const s = l(o, S), n = l(o, E), a = l(o, v);
49
+ const s = i(o, S), n = i(o, E), a = i(o, b);
50
50
  return /* @__PURE__ */ t.createElement("div", {
51
51
  className: e
52
52
  }, s, n, a);
53
53
  }, S = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
54
- const { showPreviousButton: a, onPreviousClick: i, previousText: B } = b();
54
+ const { showPreviousButton: a, onPreviousClick: l, previousText: v } = B();
55
55
  if (!a)
56
56
  return null;
57
- const c = l(n, S.Label), m = l(n, S.Icon);
58
- return /* @__PURE__ */ t.createElement(R, {
57
+ const c = i(n, S.Label), m = i(n, S.Icon);
58
+ return /* @__PURE__ */ t.createElement(w, {
59
59
  className: e,
60
- "aria-label": B,
61
- onPress: i,
60
+ "aria-label": v,
61
+ onPress: l,
62
62
  onHoverStart: o,
63
63
  onHoverEnd: s
64
- }, m, c ?? /* @__PURE__ */ t.createElement(W, null));
64
+ }, m, c ?? /* @__PURE__ */ t.createElement(D, null));
65
65
  }, E = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
66
- const { showNextButton: a, onNextClick: i, nextText: B } = b();
66
+ const { showNextButton: a, onNextClick: l, nextText: v } = B();
67
67
  if (!a)
68
68
  return null;
69
- const c = l(n, E.Label), m = l(n, E.Icon);
70
- return /* @__PURE__ */ t.createElement(R, {
69
+ const c = i(n, E.Label), m = i(n, E.Icon);
70
+ return /* @__PURE__ */ t.createElement(w, {
71
71
  className: e,
72
- "aria-label": B,
73
- onPress: i,
72
+ "aria-label": v,
73
+ onPress: l,
74
74
  onHoverStart: o,
75
75
  onHoverEnd: s
76
- }, c ?? /* @__PURE__ */ t.createElement(V, null), m);
77
- }, v = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
78
- const { showSubmitButton: a, onSubmitClick: i, submitText: B, isDisabled: c, isInProgress: m, isSubmitting: C } = b();
76
+ }, c ?? /* @__PURE__ */ t.createElement(W, null), m);
77
+ }, b = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
78
+ const { showSubmitButton: a, onSubmitClick: l, submitText: v, isDisabled: c, isInProgress: m, isSubmitting: C } = B();
79
79
  if (!a)
80
80
  return null;
81
- const f = l(n, v.Label), I = l(n, v.Icon), d = l(n, v.Loader), _ = C || m;
82
- return /* @__PURE__ */ t.createElement(R, {
81
+ const f = i(n, b.Label), I = i(n, b.Icon), d = i(n, b.Loader), _ = C || m;
82
+ return /* @__PURE__ */ t.createElement(w, {
83
83
  className: e,
84
- "aria-label": B,
85
- onPress: _ ? void 0 : i,
84
+ "aria-label": v,
85
+ onPress: _ ? void 0 : l,
86
86
  onHoverStart: o,
87
87
  onHoverEnd: s,
88
88
  isDisabled: c && !_,
89
89
  "aria-disabled": _ || void 0,
90
90
  "data-in-progress": m
91
- }, m && d ? d : /* @__PURE__ */ t.createElement(t.Fragment, null, f ?? /* @__PURE__ */ t.createElement(D, null), I));
92
- }, D = ({ className: e }) => {
93
- const { submitText: o } = b();
91
+ }, m && d ? d : /* @__PURE__ */ t.createElement(t.Fragment, null, f ?? /* @__PURE__ */ t.createElement(y, null), I));
92
+ }, y = ({ className: e }) => {
93
+ const { submitText: o } = B();
94
94
  return /* @__PURE__ */ t.createElement("span", {
95
95
  className: e
96
96
  }, o);
97
- }, W = ({ className: e }) => {
98
- const { previousText: o } = b();
97
+ }, D = ({ className: e }) => {
98
+ const { previousText: o } = B();
99
99
  return /* @__PURE__ */ t.createElement("span", {
100
100
  className: e
101
101
  }, o);
102
- }, V = ({ className: e }) => {
103
- const { nextText: o } = b();
102
+ }, W = ({ className: e }) => {
103
+ const { nextText: o } = B();
104
104
  return /* @__PURE__ */ t.createElement("span", {
105
105
  className: e
106
106
  }, o);
107
- }, A = ({ children: e }) => /* @__PURE__ */ t.createElement(t.Fragment, null, e), st = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
107
+ }, R = ({ children: e }) => /* @__PURE__ */ t.createElement(t.Fragment, null, e), st = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
108
108
  className: e
109
109
  }, /* @__PURE__ */ t.createElement(ot, null));
110
- v.Label = D;
111
- v.Icon = A;
112
- v.Loader = st;
113
- S.Label = W;
114
- S.Icon = A;
115
- E.Label = V;
116
- E.Icon = A;
110
+ b.Label = y;
111
+ b.Icon = R;
112
+ b.Loader = st;
113
+ S.Label = D;
114
+ S.Icon = R;
115
+ E.Label = W;
116
+ E.Icon = R;
117
117
  g.PreviousButton = S;
118
118
  g.NextButton = E;
119
- g.SubmitButton = v;
119
+ g.SubmitButton = b;
120
120
  r.SubmitButton = g;
121
- const at = "_navigationContainer_s99vs_1", rt = "_rowSpacing_s99vs_6", ut = "_navigationButton_s99vs_10", lt = "_nextButton_s99vs_33", it = "_previousButton_s99vs_59", ct = "_navigationButtonHover_s99vs_100", mt = "_button_s99vs_116", vt = "_buttonNoSteps_s99vs_164", bt = "_buttonWithSteps_s99vs_168", Bt = "_buttonHover_s99vs_172", St = "_progress_s99vs_196", u = {
121
+ const at = "_navigationContainer_i93zw_1", rt = "_rowSpacing_i93zw_6", ut = "_navigationButton_i93zw_10", it = "_nextButton_i93zw_33", lt = "_previousButton_i93zw_59", ct = "_navigationButtonHover_i93zw_100", mt = "_button_i93zw_138", bt = "_buttonNoSteps_i93zw_186", Bt = "_buttonWithSteps_i93zw_190", vt = "_buttonHover_i93zw_194", St = "_progress_i93zw_227", u = {
122
122
  navigationContainer: at,
123
123
  rowSpacing: rt,
124
124
  navigationButton: ut,
125
- nextButton: lt,
126
- previousButton: it,
125
+ nextButton: it,
126
+ previousButton: lt,
127
127
  navigationButtonHover: ct,
128
128
  button: mt,
129
- buttonNoSteps: vt,
130
- buttonWithSteps: bt,
131
- buttonHover: Bt,
129
+ buttonNoSteps: bt,
130
+ buttonWithSteps: Bt,
131
+ buttonHover: vt,
132
132
  progress: St
133
133
  }, P = () => {
134
- const e = X(null), o = y(() => {
134
+ const e = V(null), o = k(() => {
135
135
  var n;
136
136
  return (n = e.current) == null ? void 0 : n.runAnimationForward();
137
- }, []), s = y(() => {
137
+ }, []), s = k(() => {
138
138
  var n;
139
139
  return (n = e.current) == null ? void 0 : n.runAnimationBackward();
140
140
  }, []);
@@ -144,15 +144,15 @@ const at = "_navigationContainer_s99vs_1", rt = "_rowSpacing_s99vs_6", ut = "_na
144
144
  onHoverEnd: s
145
145
  };
146
146
  }, O = ({ icon: e, iconRef: o, iconClassName: s }) => {
147
- const { wix: n, className: a, ...i } = e ?? {};
148
- return i.svg ? /* @__PURE__ */ t.createElement($, {
149
- ...i,
147
+ const { wix: n, className: a, ...l } = e ?? {};
148
+ return l.svg ? /* @__PURE__ */ t.createElement(X, {
149
+ ...l,
150
150
  ref: o,
151
151
  className: p(Z, s, a)
152
152
  }) : null;
153
153
  }, Et = () => {
154
- var h, F, U, w, M, k;
155
- const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = b(), B = !s && !(a || n), c = j(), m = (F = (h = c.submitButton) == null ? void 0 : h.elementProps) == null ? void 0 : F.icon, C = (w = (U = c.nextButton) == null ? void 0 : U.elementProps) == null ? void 0 : w.icon, f = (k = (M = c.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : k.icon, I = x({
154
+ var A, h, F, U, M, z;
155
+ const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = B(), v = !s && !(a || n), c = $(), m = (h = (A = c.submitButton) == null ? void 0 : A.elementProps) == null ? void 0 : h.icon, C = (U = (F = c.nextButton) == null ? void 0 : F.elementProps) == null ? void 0 : U.icon, f = (z = (M = c.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : z.icon, I = x({
156
156
  globalClasses: Y,
157
157
  moduleClasses: {
158
158
  base: p(u.navigationButton, u.previousButton),
@@ -187,11 +187,11 @@ const at = "_navigationContainer_s99vs_1", rt = "_rowSpacing_s99vs_6", ut = "_na
187
187
  onHoverStart: T.onHoverStart,
188
188
  onHoverEnd: T.onHoverEnd
189
189
  }, /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Label, {
190
- className: q
190
+ className: j
191
191
  }), /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
192
192
  icon: f,
193
193
  iconRef: T.iconRef,
194
- iconClassName: z
194
+ iconClassName: q
195
195
  }))), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton, {
196
196
  className: ({ isHovered: N }) => d({
197
197
  isSelected: !1,
@@ -209,7 +209,7 @@ const at = "_navigationContainer_s99vs_1", rt = "_rowSpacing_s99vs_6", ut = "_na
209
209
  className: ({ isHovered: N }) => _({
210
210
  isSelected: !1,
211
211
  isHovered: N,
212
- isInteractive: B
212
+ isInteractive: v
213
213
  }),
214
214
  onHoverStart: H.onHoverStart,
215
215
  onHoverEnd: H.onHoverEnd
@@ -2,15 +2,15 @@ import { RicosViewer as w } from "@wix/ricos/viewer";
2
2
  import F from "classnames";
3
3
  import t, { useMemo as I, useState as z, useRef as q, useLayoutEffect as B, useCallback as N } 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 { bo as D, bl as M, by as S, bq as U, R as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-DPK7-EZv.js";
5
+ import { bo as D, bl as M, by as S, bq as U, R as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-DLDT85R3.js";
6
6
  import { f as O, a as k } from "./find-child-C60k4CxG.js";
7
- import { E as x, D as H } from "./field-error-headless-YQxvHPll.js";
8
- import { L as W } from "./field-label-headless-BZJwsuwz.js";
7
+ import { E as x, D as H } from "./field-error-headless-Dk7k-KYB.js";
8
+ import { L as W } from "./field-label-headless-y39tsCsZ.js";
9
9
  import { F as se } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { E as le } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as y } from "./field-rac.module-DP0lkkEv.js";
12
- import { u as ie } from "./use-element-state-class-name-D824XkYk.js";
13
- import { u as ce } from "./use-text-input-class-name-yjYwDWHw.js";
12
+ import { u as ie } from "./use-element-state-class-name-DoNi06OU.js";
13
+ import { u as ce } from "./use-text-input-class-name-DVmUTFro.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
  })({});
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-C_zQko1S.js";
2
+ import { T as r } from "./tags-field-rac-mjYhQFhJ.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 S, useRef as T } from "react";
4
4
  import { TextField as O, TextArea as y } from "react-aria-components";
5
- import { bo as p, bl as d, bq as x, R as v, a0 as g, H as h, v as q } from "./form-DPK7-EZv.js";
5
+ import { bo as p, bl as d, bq as x, R as v, a0 as g, H as h, v as q } from "./form-DLDT85R3.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as B } from "./field-error-headless-YQxvHPll.js";
8
- import { L as k } from "./field-label-headless-BZJwsuwz.js";
7
+ import { D as M, E as B } from "./field-error-headless-Dk7k-KYB.js";
8
+ import { L as k } from "./field-label-headless-y39tsCsZ.js";
9
9
  import { E as P } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as c } from "./field-rac.module-DP0lkkEv.js";
11
- import { u as V } from "./use-text-input-class-name-yjYwDWHw.js";
11
+ import { u as V } from "./use-text-input-class-name-DVmUTFro.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: b, FieldLayout: I, hasError: f } = p(), { labelId: R } = d(), F = S((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-B4O1X3h5.js";
2
+ import { T as r } from "./text-area-field-rac-1ODzSZeG.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-Cu1WjpsX.js";
4
+ import { T as r } from "./text-input-headless-CziSavtB.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as a } from "./field-rac.module-DP0lkkEv.js";
7
- import { R as n, a0 as c, H as E, v as i } from "./form-DPK7-EZv.js";
8
- import { u as p } from "./use-text-input-class-name-yjYwDWHw.js";
7
+ import { R as n, a0 as c, H as E, v as i } from "./form-DLDT85R3.js";
8
+ import { u as p } from "./use-text-input-class-name-DVmUTFro.js";
9
9
  const R = ({ 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 v } from "react";
2
2
  import { TextField as C, Input as R } from "react-aria-components";
3
- import { bo as c, bl as d, bq as T } from "./form-DPK7-EZv.js";
3
+ import { bo as c, bl as d, bq as T } from "./form-DLDT85R3.js";
4
4
  import { f as l } from "./find-child-C60k4CxG.js";
5
- import { D as g, E as h } from "./field-error-headless-YQxvHPll.js";
6
- import { L as q } from "./field-label-headless-BZJwsuwz.js";
5
+ import { D as g, E as h } from "./field-error-headless-Dk7k-KYB.js";
6
+ import { L as q } from "./field-label-headless-y39tsCsZ.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: s, value: a, onChange: i, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = c(), { labelId: I } = d(), F = l(r, e.Label), y = l(r, e.Input), D = l(r, e.Description), L = l(r, e.Error);
9
9
  return /* @__PURE__ */ t.createElement(E, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-8uxeWGbw.js";
2
+ import { T as e } from "./text-input-field-rac-Cl6vApZ6.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 x } from "@wix/ricos/viewer";
3
3
  import m from "classnames";
4
4
  import { parseTime as B } from "@internationalized/date";
5
5
  import { TimeField as k, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
6
- import { bo as p, bl as j, by as T, bq as Q, R as z, a0 as G, H as J, v as K } from "./form-DPK7-EZv.js";
6
+ import { bo as p, bl as j, by as T, bq as Q, R as z, a0 as G, H as J, v as K } from "./form-DLDT85R3.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-YQxvHPll.js";
9
- import { L as Y } from "./field-label-headless-BZJwsuwz.js";
8
+ import { D as W, E as X } from "./field-error-headless-Dk7k-KYB.js";
9
+ import { L as Y } from "./field-label-headless-y39tsCsZ.js";
10
10
  import { E as Z } from "./error-icon-hZxQ6DEy.js";
11
11
  import { H as S } from "./custom-focus-class-_483Pkwp.js";
12
12
  import { s as f } from "./field-rac.module-DP0lkkEv.js";
13
- import { u as $ } from "./use-text-input-class-name-yjYwDWHw.js";
13
+ import { u as $ } from "./use-text-input-class-name-DVmUTFro.js";
14
14
  const r = ({ children: t }) => {
15
15
  const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: g } = p(), { inputId: I, ariaDescribedBy: R, labelId: D } = j(), L = v((M) => {
16
16
  const H = 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 h, useRef as O } from "react";
4
4
  import { TextField as y, Input as A } from "react-aria-components";
5
- import { bo as d, bl as E, bq as v, R as B, a0 as T, H as g, v as k } from "./form-DPK7-EZv.js";
5
+ import { bo as d, bl as E, bq as v, R as B, a0 as T, H as g, v as k } from "./form-DLDT85R3.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as q, E as M } from "./field-error-headless-YQxvHPll.js";
8
- import { L as P } from "./field-label-headless-BZJwsuwz.js";
7
+ import { D as q, E as M } from "./field-error-headless-Dk7k-KYB.js";
8
+ import { L as P } from "./field-label-headless-y39tsCsZ.js";
9
9
  import { u as x } from "./use-invoke-callback-UH73A_J3.js";
10
10
  import { E as U } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as u } from "./field-rac.module-DP0lkkEv.js";
12
- import { u as w } from "./use-text-input-class-name-yjYwDWHw.js";
12
+ import { u as w } from "./use-text-input-class-name-DVmUTFro.js";
13
13
  const H = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
14
  const { id: o, value: l, onChange: n, disabled: m, readOnly: s, required: a, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = x(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), S = h(() => {
15
15
  n(H(l)), p();
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-CSlsixl_.js";
2
+ import { U as t } from "./url-input-field-rac-CFYK2mFr.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC
@@ -2,9 +2,9 @@ import d, { useContext as N, useRef as x, useState as f, Children as y, useLayou
2
2
  import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as L } from "react-aria-components";
3
3
  import M from "classnames";
4
4
  import { s as R } from "./field-rac.module-DP0lkkEv.js";
5
- import { z as T, G as P } from "./form-DPK7-EZv.js";
6
- import { u as H } from "./use-element-state-class-name-D824XkYk.js";
7
- import { u as B } from "./use-hoverable-input-class-name-C7QeI5oY.js";
5
+ import { z as T, G as P } from "./form-DLDT85R3.js";
6
+ import { u as H } from "./use-element-state-class-name-DoNi06OU.js";
7
+ import { u as B } from "./use-hoverable-input-class-name-CM5BhwNW.js";
8
8
  const h = 1 / 0, A = {
9
9
  position: "absolute",
10
10
  width: 0,
@@ -1,5 +1,5 @@
1
1
  import i from "classnames";
2
- import { bh as s, aQ as v } from "./form-DPK7-EZv.js";
2
+ import { bh as s, aQ as v } from "./form-DLDT85R3.js";
3
3
  const x = ({ globalClasses: e, moduleClasses: r }) => {
4
4
  var d;
5
5
  const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
@@ -1,6 +1,6 @@
1
- import { bo as n } from "./form-DPK7-EZv.js";
1
+ import { bo as n } from "./form-DLDT85R3.js";
2
2
  import { s as e } from "./field-rac.module-DP0lkkEv.js";
3
- import { u } from "./use-element-state-class-name-D824XkYk.js";
3
+ import { u } from "./use-element-state-class-name-DoNi06OU.js";
4
4
  const b = (s, a) => {
5
5
  const { disabled: t, readOnly: o } = n(), r = u({
6
6
  globalClasses: s,
@@ -1,5 +1,5 @@
1
1
  import { useContext as i, useMemo as c } from "react";
2
- import { bi as E, au as T, bg as a, F as s } from "./form-DPK7-EZv.js";
2
+ import { bi as E, au as T, bg as a, F as s } from "./form-DLDT85R3.js";
3
3
  const u = [
4
4
  s.DROPDOWN,
5
5
  s.DEXT_DROPDOWN,
@@ -1,5 +1,5 @@
1
1
  import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
2
- import { bn as v } from "./form-DPK7-EZv.js";
2
+ import { bn as v } from "./form-DLDT85R3.js";
3
3
  const k = (I) => {
4
4
  const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: n, onInitialDataLoaded: a } = I, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
5
5
  let d = e.map((l) => ({
@@ -0,0 +1,6 @@
1
+ import { ac as a } from "./form-DLDT85R3.js";
2
+ import { u as e } from "./use-hoverable-input-class-name-CM5BhwNW.js";
3
+ const m = (...s) => e(a, s);
4
+ export {
5
+ m as u
6
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/form-elements",
3
- "version": "1.156.0",
3
+ "version": "1.157.0",
4
4
  "description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -156,5 +156,5 @@
156
156
  ]
157
157
  }
158
158
  },
159
- "falconPackageHash": "6b2d358bf9e1070c5fc36e71e306393f6a25fab5b7134fe87536f56b"
159
+ "falconPackageHash": "04fa1b92a4f989593ff60b3a9bdafa633161329f083a3b49f2d4dcf8"
160
160
  }
@@ -1,6 +0,0 @@
1
- import { ac as a } from "./form-DPK7-EZv.js";
2
- import { u as e } from "./use-hoverable-input-class-name-C7QeI5oY.js";
3
- const m = (...s) => e(a, s);
4
- export {
5
- m as u
6
- };