@wix/form-elements 1.242.0 → 1.243.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 (108) hide show
  1. package/dist/component/{appointment-rac-Bab9tSUj.js → appointment-rac-D-dMrhRb.js} +43 -43
  2. package/dist/component/{bookings-address-rac-DcpXlUvQ.js → bookings-address-rac-B6aQ4P5I.js} +1 -1
  3. package/dist/component/{bookings-email-rac-Bp0i-XuQ.js → bookings-email-rac-Bh849hrc.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BWSlc38n.js → bookings-first-name-rac-C69Ind1o.js} +1 -1
  5. package/dist/component/{bookings-header-rac-C2jB1zfG.js → bookings-header-rac-DGUzMGRj.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BkwCVLE2.js → bookings-last-name-rac-Ch9Bm-sr.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DpGFo3D_.js → bookings-login-bar-rac-CUhHuZm-.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-BtgTVsj2.js → bookings-phone-rac-BI4PoSu3.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DsOs6O8q.js → bookings-rich-text-rac-B4D2ZCJs.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DysYJ41o.js → checkbox-field-rac-zE0dzJYu.js} +81 -81
  11. package/dist/component/{checkbox-group-field-headless-Df-A3KXl.js → checkbox-group-field-headless-C2x-la-e.js} +44 -44
  12. package/dist/component/{checkbox-group-field-rac-DFnJDZWN.js → checkbox-group-field-rac-iJkQGTiJ.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-B7TaGbZy.js → checkbox-group-rac-DoK5e4c8.js} +1 -1
  14. package/dist/component/{checkbox-rac-Di0BHQqP.js → checkbox-rac-8i-6GMze.js} +1 -1
  15. package/dist/component/{contacts-address-rac-DhSjIORz.js → contacts-address-rac-CHcRQBjy.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-B3nWdWka.js → contacts-birthdate-rac-CkSsvQ6R.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DFYyTkvq.js → contacts-company-rac-CIsmil8s.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DGzgN38U.js → contacts-email-rac-AEvRJfWd.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CZ3e4Pxp.js → contacts-first-name-rac-CLSJ2cna.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Dvu7FY_c.js → contacts-last-name-rac-o59dmvVn.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DeLq3Efe.js → contacts-phone-rac-jh-YSD-N.js} +1 -1
  22. package/dist/component/{contacts-position-rac-YhEGkgEL.js → contacts-position-rac-Ak4X2gV_.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DzVP-ujl.js → contacts-subscribe-rac-By9Bk1YL.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-CU4sTn5G.js → contacts-tax-id-rac-B1enZgKk.js} +1 -1
  25. package/dist/component/{date-availability-1nR4MMNM.js → date-availability--3J2b6Ur.js} +1 -1
  26. package/dist/component/{date-input-field-rac-CM_aSFwq.js → date-input-field-rac-BFt0DKA9.js} +66 -66
  27. package/dist/component/{date-input-rac-BKDGvMhS.js → date-input-rac-D8BA8S1A.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Cy3E6oIi.js → date-picker-field-rac-cwYdVf60.js} +40 -40
  29. package/dist/component/{date-picker-rac-P7Rt52yN.js → date-picker-rac-B7uR5ZnA.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-Dy0yHP_r.js → date-time-input-field-rac-PaKyrMb9.js} +98 -98
  31. package/dist/component/{date-time-input-rac-Bte2ExkW.js → date-time-input-rac-Ck8Edatx.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-aDNIkDPY.js → dext-checkbox-group-rac-Cru3Lq4c.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-7cCDU8rx.js → dext-checkbox-rac-wtMsRxly.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CiKlP583.js → dext-date-picker-rac-B34DtxLN.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Cg0rG4Qg.js → dext-date-time-input-rac-BsdfLty5.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BqQfNIBY.js → dext-dropdown-rac-DeZYnwo7.js} +1 -1
  37. package/dist/component/{dext-email-rac-BfeJHd-1.js → dext-email-rac-B4GTK5H8.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-Co2-0GIg.js → dext-number-input-rac-BIyJJ9h0.js} +1 -1
  39. package/dist/component/{dext-phone-rac-nruJqfOS.js → dext-phone-rac-lf64Ywlp.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-D4dpTCbP.js → dext-radio-group-rac-CGt1_jue.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DZdFsFwX.js → dext-rating-input-rac-CbaW1lxS.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Bo06MMsK.js → dext-tags-rac-DnHDnzD_.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-DFilJP7d.js → dext-text-area-rac-C8DVKWKo.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-Btnz_-2P.js → dext-text-input-rac-DVl-1SDY.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-YpJVis2h.js → dext-url-input-rac-CkpAMLF9.js} +1 -1
  46. package/dist/component/{dismiss-icon-DNnhVj3P.js → dismiss-icon-CwZIlL7w.js} +6 -6
  47. package/dist/component/{donation-rac-CgrtVdQ9.js → donation-rac-DCNG5ByO.js} +44 -44
  48. package/dist/component/{dropdown-field-rac-CWdttDy1.js → dropdown-field-rac-CVbM-0KX.js} +3 -3
  49. package/dist/component/{dropdown-rac-Bn29r6Vt.js → dropdown-rac-CE9IjTvE.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DPSadNy1.js → ecom-address-rac-BD_okFDt.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-C5RN2TfZ.js → ecom-subscription-checkbox-rac-C7zdxqra.js} +2 -2
  52. package/dist/component/{email-input-field-rac-Bl_i7BQ3.js → email-input-field-rac-CY4wE0eP.js} +35 -35
  53. package/dist/component/{events-repeater-rac-8MaxRBKl.js → events-repeater-rac-Bh-TBEQG.js} +26 -26
  54. package/dist/component/{events-rsvp-rac-DgduOqZJ.js → events-rsvp-rac-BPhzKqUb.js} +3 -3
  55. package/dist/component/{field-error-headless-CBz8B75M.js → field-error-headless-D3lVhOaC.js} +1 -1
  56. package/dist/component/{field-label-headless-5GuAGL0Y.js → field-label-headless-CrZoTwxs.js} +5 -5
  57. package/dist/component/{file-upload-rac-BQbXxpk9.js → file-upload-rac-DYP83swC.js} +187 -186
  58. package/dist/component/{fixed-payment-rac-zRYih9qW.js → fixed-payment-rac-DY7hXK7g.js} +11 -11
  59. package/dist/component/{form-Bc8sA308.js → form-DpFQ9uO1.js} +3059 -2934
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-C6f6tpfn.js → header-field-rac-9wOBV_rW.js} +2 -2
  62. package/dist/component/{header-rac-Dv-9gQlw.js → header-rac-gzKNBkq_.js} +1 -1
  63. package/dist/component/{image-choice-rac-DgmQKZLT.js → image-choice-rac-B6dvv6Jc.js} +25 -25
  64. package/dist/component/{index-Btc2rtde.js → index-CbCZUvYt.js} +2 -2
  65. package/dist/component/{index-BH3c1lm6.js → index-DCl2274b.js} +4 -4
  66. package/dist/component/{isObjectLike-DUAmJpnS.js → isObjectLike-DDBjMXgH.js} +1 -1
  67. package/dist/component/{multiline-address-field-rac-CD692gBt.js → multiline-address-field-rac-CPkSpMMb.js} +210 -210
  68. package/dist/component/{multiline-address-rac-DRInxa21.js → multiline-address-rac-DCnk-LvE.js} +1 -1
  69. package/dist/component/{number-input-field-rac-D7Uf9yNQ.js → number-input-field-rac-Dt0hM2jA.js} +19 -19
  70. package/dist/component/{number-input-rac-C600LCBk.js → number-input-rac-pjmjC2-7.js} +1 -1
  71. package/dist/component/{password-rac-BLi1E4nU.js → password-rac-D9Gmp1yw.js} +32 -32
  72. package/dist/component/{payment-input-rac-DhtjMf3j.js → payment-input-rac-CI78trIl.js} +33 -33
  73. package/dist/component/{phone-input-field-rac-DcmI5WGt.js → phone-input-field-rac-BCPj6vEP.js} +39 -39
  74. package/dist/component/{phone-rac-KcmTZZ9n.js → phone-rac-FAGNDAR-.js} +1 -1
  75. package/dist/component/{product-list-rac-DqcTH4Uz.js → product-list-rac-D7n9P2wQ.js} +14 -14
  76. package/dist/component/{quiz-radio-group-rac-BhE36x3f.js → quiz-radio-group-rac-BO55azn2.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-Bb8FJ98H.js → radio-button-module-classes-BIraDyOu.js} +35 -35
  78. package/dist/component/{radio-group-field-rac-ZRFBSw-k.js → radio-group-field-rac-BvUZ-DmS.js} +4 -4
  79. package/dist/component/{radio-group-rac-DJzh_9Rz.js → radio-group-rac-qc0JijX9.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-O761Lr7O.js → rating-input-field-rac-D3u_T_la.js} +18 -18
  81. package/dist/component/{rating-input-rac-N5UUwsk9.js → rating-input-rac-CqlPfSQQ.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-CyyY4g0Y.js → rich-content-rac.module-B4TapWZL.js} +7 -7
  83. package/dist/component/{rich-text-field-rac-G1dCddAG.js → rich-text-field-rac-LgoEQuKS.js} +4 -4
  84. package/dist/component/{rich-text-rac-DRls3PAt.js → rich-text-rac-1IcHKfEb.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-CQtdLY6W.js → service-dropdown-rac-CMkRaLmg.js} +22 -22
  86. package/dist/component/{services-multi-choice-rac-GXHhjMdj.js → services-multi-choice-rac-DzwHkD-j.js} +7 -7
  87. package/dist/component/{signature-rac-Bthr2qFV.js → signature-rac-D3X5-ScB.js} +71 -71
  88. package/dist/component/{submit-button-rac-CZpKTkAI.js → submit-button-rac-BWL76gny.js} +15 -15
  89. package/dist/component/{tags-field-rac-C7tkzxNX.js → tags-field-rac-BwGeFDfH.js} +24 -24
  90. package/dist/component/{tags-rac-CWgu9IXx.js → tags-rac-DU7-Kl1T.js} +1 -1
  91. package/dist/component/{text-area-field-rac-BFRW0mfT.js → text-area-field-rac-BO_9zG3x.js} +19 -19
  92. package/dist/component/{text-area-rac-DaJColM3.js → text-area-rac-CG7vi5-F.js} +1 -1
  93. package/dist/component/{text-input-field-rac-D4QPznxH.js → text-input-field-rac-FWkVzsiY.js} +3 -3
  94. package/dist/component/{text-input-headless-B3LeZbMa.js → text-input-headless-COFlfx6N.js} +9 -9
  95. package/dist/component/{text-input-rac-D6t913v4.js → text-input-rac-D_7yUDzw.js} +1 -1
  96. package/dist/component/{time-input-rac-BRXeAxLy.js → time-input-rac-0Ggsm6qE.js} +24 -24
  97. package/dist/component/{url-input-field-rac-C7AeMSCu.js → url-input-field-rac-CH7kG_Qf.js} +25 -25
  98. package/dist/component/{url-input-rac-Crya6SOE.js → url-input-rac-CjBn6ZWh.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-CF6Nkoi8.js → use-dropdown-option-class-name-Cy_iJyiA.js} +2 -2
  100. package/dist/component/{use-dropdown-trigger-class-name-CPKkbYSD.js → use-dropdown-trigger-class-name-Ddu4_w_z.js} +26 -26
  101. package/dist/component/{use-element-state-class-name-c_YzmI-w.js → use-element-state-class-name-DNjpnp27.js} +2 -2
  102. package/dist/component/{use-hoverable-input-class-name-DPft9EoC.js → use-hoverable-input-class-name-Wy3Ujp2_.js} +2 -2
  103. package/dist/component/{use-is-forced-open-dropdown-DTCIHm6F.js → use-is-forced-open-dropdown-Vu0JjNY7.js} +4 -4
  104. package/dist/component/{use-native-mobile-input-CuS4DTkh.js → use-native-mobile-input-l8hf9N2p.js} +3 -3
  105. package/dist/component/{use-service-options-base-D_sHL_KM.js → use-service-options-base-Di4c__b_.js} +3 -3
  106. package/dist/component/use-text-input-class-name-BBZXre-_.js +6 -0
  107. package/package.json +2 -2
  108. package/dist/component/use-text-input-class-name-BCtZ8l6Q.js +0 -6
@@ -1,16 +1,16 @@
1
1
  import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import o from "classnames";
3
- import r, { useCallback as S, useRef as T } from "react";
4
- import { TextField as y, TextArea as O } from "react-aria-components";
5
- import { bN as p, bK as d, bP as x, bW as h, X as g, am as v, M, I as q } from "./form-Bc8sA308.js";
3
+ import r, { useCallback as O, useRef as S } from "react";
4
+ import { TextField as T, TextArea as y } from "react-aria-components";
5
+ import { bO as p, bL as d, bQ as x, bX as h, X as g, am as v, M, I as q } from "./form-DpFQ9uO1.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as B, E as P } from "./field-error-headless-CBz8B75M.js";
8
- import { L as V } from "./field-label-headless-5GuAGL0Y.js";
7
+ import { D as B, E as P } from "./field-error-headless-D3lVhOaC.js";
8
+ import { L as V } from "./field-label-headless-CrZoTwxs.js";
9
9
  import { E as k } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as c } from "./field-rac.module-D0QzJXUv.js";
11
- import { u as K } from "./use-text-input-class-name-BCtZ8l6Q.js";
11
+ import { u as Q } from "./use-text-input-class-name-BBZXre-_.js";
12
12
  const e = ({ children: t }) => {
13
- const { id: a, value: m, onChange: n, disabled: u, required: s, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = S((A) => {
13
+ const { id: a, value: m, onChange: n, disabled: u, required: s, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: L } = d(), F = O((A) => {
14
14
  n(A);
15
15
  }, [
16
16
  n
@@ -18,10 +18,10 @@ const e = ({ children: t }) => {
18
18
  return /* @__PURE__ */ r.createElement(I, {
19
19
  fieldId: a,
20
20
  renderLabel: () => R,
21
- renderInput: () => /* @__PURE__ */ r.createElement(y, {
22
- "aria-labelledby": F,
21
+ renderInput: () => /* @__PURE__ */ r.createElement(T, {
22
+ "aria-labelledby": L,
23
23
  value: m ?? "",
24
- onChange: L,
24
+ onChange: F,
25
25
  isDisabled: u,
26
26
  isReadOnly: l,
27
27
  isRequired: s,
@@ -31,14 +31,14 @@ const e = ({ children: t }) => {
31
31
  }, D),
32
32
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, C, _)
33
33
  });
34
- }, w = ({ className: t }) => {
35
- const { inputId: a, ariaDescribedBy: m } = d(), { id: n, placeholder: u } = p(), s = T(null);
34
+ }, X = ({ className: t }) => {
35
+ const { inputId: a, ariaDescribedBy: m } = d(), { id: n, placeholder: u } = p(), s = S(null);
36
36
  return x(() => {
37
37
  var l;
38
38
  (l = s.current) == null || l.focus({
39
39
  preventScroll: !0
40
40
  });
41
- }, n), h(s), /* @__PURE__ */ r.createElement(O, {
41
+ }, n), h(s), /* @__PURE__ */ r.createElement(y, {
42
42
  ref: s,
43
43
  id: a,
44
44
  "aria-describedby": m,
@@ -47,16 +47,16 @@ const e = ({ children: t }) => {
47
47
  });
48
48
  };
49
49
  e.Label = V;
50
- e.Input = w;
50
+ e.Input = X;
51
51
  e.Description = B;
52
52
  e.Error = P;
53
- const Q = "_input_ug5v8_1", U = {
54
- input: Q
55
- }, W = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
53
+ const w = "_input_ug5v8_1", K = {
54
+ input: w
55
+ }, U = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
56
56
  content: t,
57
57
  locale: a
58
58
  }), te = () => {
59
- const t = K(U.input);
59
+ const t = Q(K.input);
60
60
  return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
61
61
  className: o(g, c.label)
62
62
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
@@ -67,7 +67,7 @@ const Q = "_input_ug5v8_1", U = {
67
67
  className: o(M, c.error)
68
68
  }, /* @__PURE__ */ r.createElement(k, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
69
69
  className: o(q, c.description)
70
- }, W));
70
+ }, U));
71
71
  };
72
72
  export {
73
73
  te as T
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./text-area-field-rac-BFRW0mfT.js";
2
+ import { T as r } from "./text-area-field-rac-BO_9zG3x.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-B3LeZbMa.js";
4
+ import { T as r } from "./text-input-headless-COFlfx6N.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as a } from "./field-rac.module-D0QzJXUv.js";
7
- import { X as n, am as c, M as E, I as i } from "./form-Bc8sA308.js";
8
- import { u as p } from "./use-text-input-class-name-BCtZ8l6Q.js";
7
+ import { X as n, am as c, M as E, I as i } from "./form-DpFQ9uO1.js";
8
+ import { u as p } from "./use-text-input-class-name-BBZXre-_.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 n, { useRef as v } from "react";
2
2
  import { TextField as C, Input as R } from "react-aria-components";
3
- import { bN as d, bK as p, bP as h, bW as T } from "./form-Bc8sA308.js";
3
+ import { bO as d, bL as p, bQ as h, bX as O } from "./form-DpFQ9uO1.js";
4
4
  import { f as a } from "./find-child-C60k4CxG.js";
5
- import { D as g, E as x } from "./field-error-headless-CBz8B75M.js";
6
- import { L as B } from "./field-label-headless-5GuAGL0Y.js";
5
+ import { D as T, E as g } from "./field-error-headless-D3lVhOaC.js";
6
+ import { L as x } from "./field-label-headless-CrZoTwxs.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: s, value: l, onChange: i, disabled: u, readOnly: t, required: o, hasError: c, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = d(), { labelId: I } = p(), F = a(r, e.Label), y = a(r, e.Input), D = a(r, e.Description), L = a(r, e.Error);
9
9
  return /* @__PURE__ */ n.createElement(E, {
@@ -23,14 +23,14 @@ const e = ({ children: r }) => {
23
23
  }, y),
24
24
  renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, L, D)
25
25
  });
26
- }, O = ({ className: r }) => {
26
+ }, B = ({ className: r }) => {
27
27
  const { id: s, placeholder: l } = d(), { inputId: i, ariaDescribedBy: u } = p(), t = v(null);
28
28
  return h(() => {
29
29
  var o;
30
30
  (o = t.current) == null || o.focus({
31
31
  preventScroll: !0
32
32
  });
33
- }, s), T(t), /* @__PURE__ */ n.createElement(R, {
33
+ }, s), O(t), /* @__PURE__ */ n.createElement(R, {
34
34
  ref: t,
35
35
  id: i,
36
36
  "aria-describedby": u,
@@ -38,10 +38,10 @@ const e = ({ children: r }) => {
38
38
  placeholder: l
39
39
  });
40
40
  };
41
- e.Label = B;
42
- e.Input = O;
43
- e.Description = g;
44
- e.Error = x;
41
+ e.Label = x;
42
+ e.Input = B;
43
+ e.Description = T;
44
+ e.Error = g;
45
45
  export {
46
46
  e as T
47
47
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-D4QPznxH.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC
@@ -1,28 +1,28 @@
1
- import e, { useCallback as Q, useRef as H, useContext as X } from "react";
2
- import { RicosViewer as Y } from "@wix/ricos/viewer";
1
+ import e, { useCallback as X, useRef as H, useContext as Z } from "react";
2
+ import { RicosViewer as z } from "@wix/ricos/viewer";
3
3
  import u from "classnames";
4
- import { bN as N, bK as k, bP as U, bY as g, X as z, am as G, M as J, I as W } from "./form-Bc8sA308.js";
5
- import { parseTime as Z } from "@internationalized/date";
4
+ import { bO as N, bL as k, bQ as U, bZ as g, X as G, am as J, M as K, I as W } from "./form-DpFQ9uO1.js";
5
+ import { parseTime as Y } from "@internationalized/date";
6
6
  import { mergeProps as $ } from "react-aria";
7
7
  import { TimeField as ee, DateInput as te, DateSegment as v, TimeFieldStateContext as ne } from "react-aria-components";
8
8
  import { f as m, a as _ } from "./find-child-C60k4CxG.js";
9
- import { D as re, E as ae } from "./field-error-headless-CBz8B75M.js";
10
- import { L as oe } from "./field-label-headless-5GuAGL0Y.js";
11
- import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-DNnhVj3P.js";
12
- import { u as me, N as ue } from "./use-native-mobile-input-CuS4DTkh.js";
9
+ import { D as re, E as ae } from "./field-error-headless-D3lVhOaC.js";
10
+ import { L as oe } from "./field-label-headless-CrZoTwxs.js";
11
+ import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-CwZIlL7w.js";
12
+ import { u as me, N as ue } from "./use-native-mobile-input-l8hf9N2p.js";
13
13
  import { t as de } from "./to-native-time-Co_gOLkc.js";
14
14
  import { u as pe } from "./use-native-state-class-name-B0m2ghbS.js";
15
15
  import { E as Ee } from "./error-icon-hZxQ6DEy.js";
16
16
  import { H as B } from "./custom-focus-class-_483Pkwp.js";
17
17
  import { s as f } from "./field-rac.module-D0QzJXUv.js";
18
- import { u as x } from "./use-text-input-class-name-BCtZ8l6Q.js";
18
+ import { u as x } from "./use-text-input-class-name-BBZXre-_.js";
19
19
  const n = ({ children: t }) => {
20
- const { id: r, value: a, onChange: s, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: p, use24HourFormat: S, FieldLayout: F, hasError: y } = N(), { inputId: C, ariaDescribedBy: D, labelId: b } = k(), T = me(), h = Q((j) => {
21
- const K = w(j);
22
- s(K);
20
+ const { id: r, value: a, onChange: s, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: p, use24HourFormat: S, FieldLayout: F, hasError: y } = N(), { inputId: C, ariaDescribedBy: D, labelId: b } = k(), T = me(), h = X((Q) => {
21
+ const j = w(Q);
22
+ s(j);
23
23
  }, [
24
24
  s
25
- ]), R = m(t, n.Label), L = m(t, n.Time), P = m(t, n.Description), O = m(t, n.Error), A = m(t, n.NativeTime), M = V(a), E = T ? A : /* @__PURE__ */ e.createElement(ee, {
25
+ ]), L = m(t, n.Label), R = m(t, n.Time), P = m(t, n.Description), O = m(t, n.Error), A = m(t, n.NativeTime), M = V(a), E = T ? A : /* @__PURE__ */ e.createElement(ee, {
26
26
  "aria-labelledby": b,
27
27
  id: C,
28
28
  "aria-describedby": D,
@@ -35,10 +35,10 @@ const n = ({ children: t }) => {
35
35
  onBlur: l,
36
36
  onFocus: p,
37
37
  hourCycle: S ? 24 : 12
38
- }, L);
38
+ }, R);
39
39
  return /* @__PURE__ */ e.createElement(F, {
40
40
  fieldId: r,
41
- renderLabel: () => R,
41
+ renderLabel: () => L,
42
42
  renderInput: () => E,
43
43
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, O, P)
44
44
  });
@@ -97,7 +97,7 @@ const n = ({ children: t }) => {
97
97
  }
98
98
  });
99
99
  }, Ce = ({ className: t, ...r }) => {
100
- const { hidePlaceholder: a } = N(), { segment: s } = r, { t: i } = g(), o = X(ne), c = a ? void 0 : i("field.date.placeholder.period"), l = () => o == null ? void 0 : o.increment("dayPeriod");
100
+ const { hidePlaceholder: a } = N(), { segment: s } = r, { t: i } = g(), o = Z(ne), c = a ? void 0 : i("field.date.placeholder.period"), l = () => o == null ? void 0 : o.increment("dayPeriod");
101
101
  return /* @__PURE__ */ e.createElement(v, {
102
102
  segment: s,
103
103
  className: t,
@@ -118,11 +118,11 @@ const q = ({ className: t, children: r }) => {
118
118
  preventScroll: !0
119
119
  });
120
120
  }, a);
121
- const h = de(V(s)), { announcement: R, announceCleared: L } = le(!!h), P = !!h && !o && !c && !l, O = m(r, q.Clear), { className: A, stateProps: M } = pe(t);
121
+ const h = de(V(s)), { announcement: L, announceCleared: R } = le(!!h), P = !!h && !o && !c && !l, O = m(r, q.Clear), { className: A, stateProps: M } = pe(t);
122
122
  return /* @__PURE__ */ e.createElement(ue, {
123
123
  ref: T,
124
124
  groupLabelId: C,
125
- announcement: R
125
+ announcement: L
126
126
  }, /* @__PURE__ */ e.createElement(se, {
127
127
  ref: b,
128
128
  type: "time",
@@ -145,7 +145,7 @@ const q = ({ className: t, children: r }) => {
145
145
  control: T,
146
146
  labelId: C,
147
147
  onClear: () => {
148
- i(null), L();
148
+ i(null), R();
149
149
  }
150
150
  }) : null);
151
151
  };
@@ -159,7 +159,7 @@ function V(t) {
159
159
  if (!t)
160
160
  return null;
161
161
  try {
162
- return Z(t);
162
+ return Y(t);
163
163
  } catch {
164
164
  return null;
165
165
  }
@@ -179,15 +179,15 @@ const be = "_time_5p151_1", he = "_hour_5p151_17", Te = "_minute_5p151_18", Ie =
179
179
  hour: he,
180
180
  minute: Te,
181
181
  period: Ie
182
- }, _e = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(Y, {
182
+ }, _e = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(z, {
183
183
  content: t,
184
184
  locale: r
185
185
  }), ge = () => {
186
186
  const t = x(I.time), r = x(f.nativeInput), { t: a } = g();
187
187
  return /* @__PURE__ */ e.createElement(n, null, /* @__PURE__ */ e.createElement(n.Label, {
188
- className: u(z, f.label)
188
+ className: u(G, f.label)
189
189
  }, /* @__PURE__ */ e.createElement(n.Label.Required, {
190
- className: u(G, f.requiredMark)
190
+ className: u(J, f.requiredMark)
191
191
  })), /* @__PURE__ */ e.createElement(n.Time, {
192
192
  className: t
193
193
  }, /* @__PURE__ */ e.createElement(n.Time.Hour, {
@@ -202,7 +202,7 @@ const be = "_time_5p151_1", he = "_hour_5p151_17", Te = "_minute_5p151_18", Ie =
202
202
  className: f.nativeClearButton,
203
203
  "aria-label": a("date-picker.a11y.clear-button")
204
204
  }, /* @__PURE__ */ e.createElement(ce, null))), /* @__PURE__ */ e.createElement(n.Error, {
205
- className: u(J, f.error)
205
+ className: u(K, f.error)
206
206
  }, /* @__PURE__ */ e.createElement(Ee, null), /* @__PURE__ */ e.createElement(n.Error.Text, null)), /* @__PURE__ */ e.createElement(n.Description, {
207
207
  className: u(W, f.description)
208
208
  }, _e));
@@ -1,47 +1,47 @@
1
- import { RicosViewer as S } from "@wix/ricos/viewer";
1
+ import { RicosViewer as h } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
- import r, { useCallback as h, useRef as y } from "react";
4
- import { TextField as O, Input as A } from "react-aria-components";
5
- import { bN as d, bK as E, bP as P, bW as v, X as B, am as M, M as T, I as g } from "./form-Bc8sA308.js";
3
+ import r, { useCallback as N, useRef as O } from "react";
4
+ import { TextField as y, Input as A } from "react-aria-components";
5
+ import { bO as d, bL as E, bQ as v, bX as B, X as M, am as P, M as T, I as g } from "./form-DpFQ9uO1.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as k, E as q } from "./field-error-headless-CBz8B75M.js";
8
- import { L as x } from "./field-label-headless-5GuAGL0Y.js";
7
+ import { D as k, E as q } from "./field-error-headless-D3lVhOaC.js";
8
+ import { L as x } from "./field-label-headless-CrZoTwxs.js";
9
9
  import { u as U } from "./use-invoke-callback-UH73A_J3.js";
10
10
  import { E as V } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as u } from "./field-rac.module-D0QzJXUv.js";
12
- import { u as W } from "./use-text-input-class-name-BCtZ8l6Q.js";
13
- const w = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
- const { id: o, value: a, onChange: l, disabled: m, readOnly: s, required: n, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = U(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
15
- l(w(a)), p();
12
+ import { u as w } from "./use-text-input-class-name-BBZXre-_.js";
13
+ const Q = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
+ const { id: o, value: a, onChange: l, disabled: m, readOnly: s, required: n, hasError: I, onBlur: b, onFocus: f, FieldLayout: L } = d(), { labelId: R } = E(), p = U(b), F = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), S = N(() => {
15
+ l(Q(a)), p();
16
16
  }, [
17
17
  p,
18
18
  l,
19
19
  a
20
20
  ]);
21
- return /* @__PURE__ */ r.createElement(R, {
21
+ return /* @__PURE__ */ r.createElement(L, {
22
22
  fieldId: o,
23
- renderLabel: () => L,
24
- renderInput: () => /* @__PURE__ */ r.createElement(O, {
25
- "aria-labelledby": F,
23
+ renderLabel: () => F,
24
+ renderInput: () => /* @__PURE__ */ r.createElement(y, {
25
+ "aria-labelledby": R,
26
26
  value: a ?? "",
27
27
  onChange: l,
28
28
  isDisabled: m,
29
29
  isReadOnly: s,
30
30
  isRequired: n,
31
31
  isInvalid: I,
32
- onBlur: N,
32
+ onBlur: S,
33
33
  onFocus: f
34
34
  }, D),
35
35
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, _, C)
36
36
  });
37
- }, K = ({ className: t }) => {
38
- const { id: o, placeholder: a } = d(), { inputId: l, ariaDescribedBy: m } = E(), s = y(null);
39
- return P(() => {
37
+ }, W = ({ className: t }) => {
38
+ const { id: o, placeholder: a } = d(), { inputId: l, ariaDescribedBy: m } = E(), s = O(null);
39
+ return v(() => {
40
40
  var n;
41
41
  (n = s.current) == null || n.focus({
42
42
  preventScroll: !0
43
43
  });
44
- }, o), v(s), /* @__PURE__ */ r.createElement(A, {
44
+ }, o), B(s), /* @__PURE__ */ r.createElement(A, {
45
45
  ref: s,
46
46
  id: l,
47
47
  type: "url",
@@ -52,25 +52,25 @@ const w = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
52
52
  });
53
53
  };
54
54
  e.Label = x;
55
- e.Input = K;
55
+ e.Input = W;
56
56
  e.Description = k;
57
57
  e.Error = q;
58
- const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
58
+ const X = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(h, {
59
59
  content: t,
60
60
  locale: o
61
61
  }), oe = () => {
62
- const t = W();
62
+ const t = w();
63
63
  return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
64
- className: i(B, u.label)
64
+ className: i(M, u.label)
65
65
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
66
- className: i(M, u.requiredMark)
66
+ className: i(P, u.requiredMark)
67
67
  })), /* @__PURE__ */ r.createElement(e.Input, {
68
68
  className: t
69
69
  }), /* @__PURE__ */ r.createElement(e.Error, {
70
70
  className: i(T, u.error)
71
71
  }, /* @__PURE__ */ r.createElement(V, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
72
72
  className: i(g, u.description)
73
- }, $));
73
+ }, X));
74
74
  };
75
75
  export {
76
76
  oe as U
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-C7AeMSCu.js";
2
+ import { U as t } from "./url-input-field-rac-CH7kG_Qf.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC
@@ -2,8 +2,8 @@ import d, { useContext as _, useRef as L, useState as m, Children as N, useLayou
2
2
  import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as M } from "react-aria-components";
3
3
  import P from "classnames";
4
4
  import { s as h } from "./field-rac.module-D0QzJXUv.js";
5
- import { K as T } from "./form-Bc8sA308.js";
6
- import { u as H } from "./use-element-state-class-name-c_YzmI-w.js";
5
+ import { K as T } from "./form-DpFQ9uO1.js";
6
+ import { u as H } from "./use-element-state-class-name-DNjpnp27.js";
7
7
  const R = 1 / 0, I = {
8
8
  position: "absolute",
9
9
  width: 0,
@@ -1,19 +1,19 @@
1
1
  import t, { useState as T, useCallback as R, useRef as V } from "react";
2
- import { UNSAFE_PortalProvider as U, mergeProps as W } from "react-aria";
3
- import { VisuallyHidden as j, Select as z, SelectValue as J, ListBoxItem as Q } from "react-aria-components";
4
- import { bN as g, bK as L, bY as X, bP as B, L as Z } from "./form-Bc8sA308.js";
2
+ import { UNSAFE_PortalProvider as W, mergeProps as Y } from "react-aria";
3
+ import { VisuallyHidden as Z, Select as j, SelectValue as z, ListBoxItem as J } from "react-aria-components";
4
+ import { bO as g, bL as S, bZ as K, bQ as B, L as X } from "./form-DpFQ9uO1.js";
5
5
  import { f as u, a as q } from "./find-child-C60k4CxG.js";
6
- import { D as ee, E as te } from "./field-error-headless-CBz8B75M.js";
7
- import { L as ae } from "./field-label-headless-5GuAGL0Y.js";
8
- import { u as re, N as ne } from "./use-native-mobile-input-CuS4DTkh.js";
6
+ import { D as ee, E as te } from "./field-error-headless-D3lVhOaC.js";
7
+ import { L as ae } from "./field-label-headless-CrZoTwxs.js";
8
+ import { u as re, N as ne } from "./use-native-mobile-input-l8hf9N2p.js";
9
9
  import { N as le } from "./native-select-BbxBpe3S.js";
10
10
  import { E as se, S as oe, N as ie } from "./non-modal-popover-D-u13tmp.js";
11
- import { b as ce } from "./use-is-forced-open-dropdown-DTCIHm6F.js";
11
+ import { b as ce } from "./use-is-forced-open-dropdown-Vu0JjNY7.js";
12
12
  import { u as de } from "./use-native-state-class-name-B0m2ghbS.js";
13
- import { V as ue } from "./use-dropdown-option-class-name-CF6Nkoi8.js";
14
- import { u as me } from "./use-hoverable-input-class-name-DPft9EoC.js";
13
+ import { V as ue } from "./use-dropdown-option-class-name-Cy_iJyiA.js";
14
+ import { u as me } from "./use-hoverable-input-class-name-Wy3Ujp2_.js";
15
15
  const s = ({ children: e }) => {
16
- const { id: r, value: o, defaultValue: a, options: d = [], readOnly: n, onChange: l, placeholder: m, disabled: c, required: p, onBlur: v, onFocus: N, FieldLayout: O, hasError: C } = g(), [F, y] = T(!1), b = ce(r), [f, D] = T(null), I = re(), i = _(o, a, d), { labelId: S } = L(), { t: w } = X(), P = `${S}-required`, x = R((E) => {
16
+ const { id: r, value: o, defaultValue: a, options: d = [], readOnly: n, onChange: l, placeholder: m, disabled: c, required: p, onBlur: v, onFocus: O, FieldLayout: N, hasError: C } = g(), [F, y] = T(!1), b = ce(r), [f, D] = T(null), I = re(), i = _(o, a, d), { labelId: L } = S(), { t: w } = K(), P = `${L}-required`, x = R((E) => {
17
17
  n || l(typeof E == "string" ? E : null);
18
18
  }, [
19
19
  l,
@@ -21,17 +21,17 @@ const s = ({ children: e }) => {
21
21
  ]), M = R((E) => y(E && !c && !n), [
22
22
  c,
23
23
  n
24
- ]), A = u(e, s.Label), H = u(e, s.Trigger), $ = u(e, s.Options), k = u(e, s.Description), G = u(e, s.Error), Y = u(e, s.NativeSelect), K = I ? Y : /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", {
24
+ ]), A = u(e, s.Label), H = u(e, s.Trigger), $ = u(e, s.Options), k = u(e, s.Description), G = u(e, s.Error), Q = u(e, s.NativeSelect), U = I ? Q : /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", {
25
25
  ref: D,
26
26
  style: {
27
27
  display: "contents"
28
28
  }
29
- }), p ? /* @__PURE__ */ t.createElement(j, {
29
+ }), p ? /* @__PURE__ */ t.createElement(Z, {
30
30
  id: P
31
- }, w("settings.required-indicator-text")) : null, /* @__PURE__ */ t.createElement(U, {
31
+ }, w("settings.required-indicator-text")) : null, /* @__PURE__ */ t.createElement(W, {
32
32
  getContainer: () => f
33
- }, /* @__PURE__ */ t.createElement(z, {
34
- "aria-labelledby": p ? `${S} ${P}` : S,
33
+ }, /* @__PURE__ */ t.createElement(j, {
34
+ "aria-labelledby": p ? `${L} ${P}` : L,
35
35
  value: i,
36
36
  isOpen: b || F && !c && !n,
37
37
  onOpenChange: b ? void 0 : M,
@@ -41,18 +41,18 @@ const s = ({ children: e }) => {
41
41
  isRequired: p,
42
42
  placeholder: m || se,
43
43
  onBlur: v,
44
- onFocus: N
44
+ onFocus: O
45
45
  }, H, q($, {
46
46
  isForcedOpen: b
47
47
  }))));
48
- return /* @__PURE__ */ t.createElement(O, {
48
+ return /* @__PURE__ */ t.createElement(N, {
49
49
  fieldId: r,
50
50
  renderLabel: () => A,
51
- renderInput: () => K,
51
+ renderInput: () => U,
52
52
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, G, k)
53
53
  });
54
54
  }, pe = ({ children: e, className: r }) => {
55
- const { inputId: o, ariaDescribedBy: a } = L(), { id: d, hasError: n, isLoading: l } = g(), m = V(null);
55
+ const { inputId: o, ariaDescribedBy: a } = S(), { id: d, hasError: n, isLoading: l } = g(), m = V(null);
56
56
  return B(() => {
57
57
  var c;
58
58
  (c = m.current) == null || c.focus({
@@ -65,7 +65,7 @@ const s = ({ children: e }) => {
65
65
  className: r,
66
66
  "data-invalid": n || void 0,
67
67
  "data-loading": l || void 0
68
- }, /* @__PURE__ */ t.createElement(J, null), e);
68
+ }, /* @__PURE__ */ t.createElement(z, null), e);
69
69
  }, h = ({ children: e, className: r, ...o }) => {
70
70
  const { isForcedOpen: a } = o, { options: d = [] } = g(), n = u(e, h.Option);
71
71
  return /* @__PURE__ */ t.createElement(ie, {
@@ -82,7 +82,7 @@ const s = ({ children: e }) => {
82
82
  }))));
83
83
  }, be = ({ className: e, ...r }) => {
84
84
  const { value: o, label: a } = r;
85
- return /* @__PURE__ */ t.createElement(Q, {
85
+ return /* @__PURE__ */ t.createElement(J, {
86
86
  className: e,
87
87
  id: o,
88
88
  textValue: a
@@ -90,7 +90,7 @@ const s = ({ children: e }) => {
90
90
  };
91
91
  h.Option = be;
92
92
  const fe = ({ className: e, children: r }) => {
93
- const { id: o, value: a, defaultValue: d, options: n = [], readOnly: l, onChange: m, placeholder: c, disabled: p, required: v, onBlur: N, onFocus: O, hasError: C } = g(), { inputId: F, labelId: y, ariaDescribedBy: b } = L(), f = V(null);
93
+ const { id: o, value: a, defaultValue: d, options: n = [], readOnly: l, onChange: m, placeholder: c, disabled: p, required: v, onBlur: O, onFocus: N, hasError: C } = g(), { inputId: F, labelId: y, ariaDescribedBy: b } = S(), f = V(null);
94
94
  B(() => {
95
95
  var i;
96
96
  (i = f.current) == null || i.focus({
@@ -102,9 +102,9 @@ const fe = ({ className: e, children: r }) => {
102
102
  ref: f,
103
103
  id: F,
104
104
  className: D,
105
- ...W(I, {
106
- onFocus: O,
107
- onBlur: N
105
+ ...Y(I, {
106
+ onFocus: N,
107
+ onBlur: O
108
108
  }),
109
109
  "aria-labelledby": y,
110
110
  "aria-describedby": b,
@@ -130,7 +130,7 @@ s.Error = te;
130
130
  function _(e, r, o) {
131
131
  return e && o.some((a) => (a.value ?? a.label) === e) ? e : r || null;
132
132
  }
133
- const Te = (...e) => me(Z, e);
133
+ const Te = (...e) => me(X, e);
134
134
  export {
135
135
  s as D,
136
136
  Te as u
@@ -1,8 +1,8 @@
1
1
  import i from "classnames";
2
- import { bG as s, bc as v } from "./form-Bc8sA308.js";
2
+ import { bH as H, bd as s } from "./form-DpFQ9uO1.js";
3
3
  const x = ({ globalClasses: e, moduleClasses: r }) => {
4
4
  var d;
5
- const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
5
+ const c = ((d = H(...s(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
6
6
  e.selected,
7
7
  e.hover
8
8
  ], h = !!e.selected && c.includes(e.selected), u = c.includes(e.hover);
@@ -1,6 +1,6 @@
1
- import { bN as n } from "./form-Bc8sA308.js";
1
+ import { bO as n } from "./form-DpFQ9uO1.js";
2
2
  import { s as e } from "./field-rac.module-D0QzJXUv.js";
3
- import { u } from "./use-element-state-class-name-c_YzmI-w.js";
3
+ import { u } from "./use-element-state-class-name-DNjpnp27.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 u, useMemo as a } from "react";
2
- import { bH as c, aR as p, bF as E, F as o } from "./form-Bc8sA308.js";
2
+ import { bI as c, aR as p, bG as E, F as o } from "./form-DpFQ9uO1.js";
3
3
  const D = [
4
4
  o.DROPDOWN,
5
5
  o.DEXT_DROPDOWN,
@@ -27,9 +27,9 @@ const D = [
27
27
  }, _ = ({ properties: e }) => {
28
28
  var n, t;
29
29
  return ((t = (n = e.fieldSettings) == null ? void 0 : n.country) == null ? void 0 : t.show) !== !1;
30
- }, S = (e, n) => T.includes(e.fieldType) && !n && P(e), A = (e) => D.includes(e.fieldType), C = (e) => l.includes(e.fieldType), N = (e) => O.includes(e.fieldType) && _(e), F = (e) => I.includes(e.fieldType), h = ({ properties: e }) => !e.disabled && !e.readOnly, i = (e) => {
30
+ }, S = (e, n) => T.includes(e.fieldType) && !n && P(e), A = (e) => D.includes(e.fieldType), C = (e) => l.includes(e.fieldType), N = (e) => O.includes(e.fieldType) && _(e), h = (e) => I.includes(e.fieldType), F = ({ properties: e }) => !e.disabled && !e.readOnly, i = (e) => {
31
31
  const n = u(p), { isMobile: t = !1 } = E();
32
- return a(() => !n || n.parentId ? [] : n.fields.filter((s) => e(s, t) && h(s)).map((s) => s.id), [
32
+ return a(() => !n || n.parentId ? [] : n.fields.filter((s) => e(s, t) && F(s)).map((s) => s.id), [
33
33
  n,
34
34
  t,
35
35
  e
@@ -52,7 +52,7 @@ const D = [
52
52
  return n && t.includes(e);
53
53
  }, L = (e) => {
54
54
  var s;
55
- const n = ((s = c().datePicker) == null ? void 0 : s.open) === !0, t = i(F);
55
+ const n = ((s = c().datePicker) == null ? void 0 : s.open) === !0, t = i(h);
56
56
  return n && t.includes(e);
57
57
  };
58
58
  export {
@@ -1,6 +1,6 @@
1
1
  import o, { forwardRef as r, useSyncExternalStore as a } from "react";
2
2
  import { VisuallyHidden as c } from "react-aria-components";
3
- import { bI as d, d as l } from "./form-Bc8sA308.js";
3
+ import { bJ as d, d as l } from "./form-DpFQ9uO1.js";
4
4
  const E = {
5
5
  position: "relative"
6
6
  }, p = /* @__PURE__ */ r(({ groupLabelId: t, announcement: e, children: s }, i) => /* @__PURE__ */ o.createElement("div", {
@@ -21,8 +21,8 @@ const f = "(max-width: 750px)", n = () => typeof window < "u" && typeof window.m
21
21
  }, u = () => {
22
22
  var t;
23
23
  return ((t = n()) == null ? void 0 : t.matches) ?? !1;
24
- }, w = () => !1, I = () => a(m, u, w), M = () => {
25
- const { isExperimentEnabled: t } = d(), e = I();
24
+ }, w = () => !1, N = () => a(m, u, w), M = () => {
25
+ const { isExperimentEnabled: t } = d(), e = N();
26
26
  return t(l.ERC_NATIVE_MOBILE_INPUTS) && e;
27
27
  };
28
28
  export {
@@ -1,6 +1,6 @@
1
1
  import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
2
- import { bM as v } from "./form-Bc8sA308.js";
3
- const S = (I) => {
2
+ import { bN as v } from "./form-DpFQ9uO1.js";
3
+ const k = (I) => {
4
4
  const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = 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) => ({
6
6
  value: l.id ?? "",
@@ -44,5 +44,5 @@ const S = (I) => {
44
44
  };
45
45
  };
46
46
  export {
47
- S as u
47
+ k as u
48
48
  };
@@ -0,0 +1,6 @@
1
+ import { az as a } from "./form-DpFQ9uO1.js";
2
+ import { u as e } from "./use-hoverable-input-class-name-Wy3Ujp2_.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.242.0",
3
+ "version": "1.243.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": [
@@ -157,5 +157,5 @@
157
157
  ]
158
158
  }
159
159
  },
160
- "falconPackageHash": "cf87e4bd062b404668842c19f055bc84ca1223dbee421964ec360c55"
160
+ "falconPackageHash": "12b4a7d4fefaa96b0aac8fe9ef5f3ec97783d16b4134f7cbb6ce3ab3"
161
161
  }