@wix/form-elements 1.172.0 → 1.174.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/component/{appointment-rac-DZ0SFXmL.js → appointment-rac-DIV9zgmZ.js} +80 -80
  2. package/dist/component/{bookings-address-rac-BW9grc77.js → bookings-address-rac-C5cT4gkX.js} +1 -1
  3. package/dist/component/{bookings-email-rac-D8gMaAfB.js → bookings-email-rac-CQEhRS7N.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CAjcs7b6.js → bookings-first-name-rac-BwdasJXd.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BhKZ1kku.js → bookings-header-rac-CWzKq3yr.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DpsMDuU0.js → bookings-last-name-rac-CoVWqEy5.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-BVdWmKS8.js → bookings-login-bar-rac-DwoI-iRQ.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-DsqNi2mI.js → bookings-phone-rac-WAZU-1kD.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-elM4Ne3f.js → bookings-rich-text-rac-I5Uo-q87.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BU4E73fD.js → checkbox-field-rac-CKbKBNcQ.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-6yJdIbP2.js → checkbox-group-field-headless-7PMj-zW6.js} +47 -47
  12. package/dist/component/{checkbox-group-field-rac-CojbCWSF.js → checkbox-group-field-rac-BZ-YgEYR.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-3qUVUc-C.js → checkbox-group-rac-CED8h4qI.js} +1 -1
  14. package/dist/component/{checkbox-rac-DwbTapd_.js → checkbox-rac-CbpEXMBz.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BL7XDZuP.js → contacts-address-rac-F3Ui7iJu.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DeJYIHAg.js → contacts-birthdate-rac-CcxRV3RQ.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BeImf5uc.js → contacts-company-rac-mDY20HzW.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CtacwrZ0.js → contacts-email-rac-CoBPNuCj.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CAdOqOOA.js → contacts-first-name-rac-DzbpBmNm.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Db9mHzCW.js → contacts-last-name-rac-DEmV-MNE.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-W0OLEbzL.js → contacts-phone-rac-BlEpatWP.js} +1 -1
  22. package/dist/component/{contacts-position-rac-CV4Ibt4Z.js → contacts-position-rac-DlZahRQc.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CQ3Q1pjZ.js → contacts-subscribe-rac-LXCEPvXl.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-Dux-pk6r.js → contacts-tax-id-rac-DS0SDAtC.js} +1 -1
  25. package/dist/component/{date-availability-RkX-Qw7G.js → date-availability-DTFyrU8J.js} +1 -1
  26. package/dist/component/{date-input-field-rac-CYCT6qoa.js → date-input-field-rac-D7Pv-hqW.js} +62 -62
  27. package/dist/component/{date-input-rac-BkYZ7q_o.js → date-input-rac-BEsh54Gz.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-eMidYtsl.js → date-picker-field-rac-DJirD93a.js} +15 -15
  29. package/dist/component/{date-picker-rac-D23rxZcF.js → date-picker-rac-B1fUqj_w.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-BjIj4dXQ.js → date-time-input-field-rac-CPFaQUXF.js} +38 -38
  31. package/dist/component/{date-time-input-rac-BSGAdk9L.js → date-time-input-rac-CAozBO0e.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-Xmb5IKrb.js → dext-checkbox-group-rac-B0yqJoj8.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-2eA7y0ld.js → dext-checkbox-rac-yZaUdHz1.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CmLxVGGT.js → dext-date-picker-rac-AJ7XIW-h.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Cd9nwSjb.js → dext-date-time-input-rac-CPs79sUY.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BKdQ0nGS.js → dext-dropdown-rac-W2QzqPG4.js} +1 -1
  37. package/dist/component/{dext-email-rac-07zDPxyf.js → dext-email-rac-CCW1Dk1m.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DRvGuppY.js → dext-number-input-rac-BAInaxoF.js} +1 -1
  39. package/dist/component/{dext-phone-rac-CKtTVjFg.js → dext-phone-rac-CYYgZiFW.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BsBmMufq.js → dext-radio-group-rac-Dqvmxoai.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CcFSTAIh.js → dext-rating-input-rac-CWl7X0zW.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CCTDlCvX.js → dext-tags-rac-BpAfPh55.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-Cif8po9h.js → dext-text-area-rac-CLTg8XXH.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-2118X4iF.js → dext-text-input-rac-BV-F-ZsP.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DDImGkQe.js → dext-url-input-rac-B9wHRaZr.js} +1 -1
  46. package/dist/component/{donation-rac-Dnylss1d.js → donation-rac-Be4swKWD.js} +50 -50
  47. package/dist/component/{dropdown-field-rac-DDI4ZgZH.js → dropdown-field-rac-BFEB_WuX.js} +3 -3
  48. package/dist/component/{dropdown-rac-DX0Z3R_8.js → dropdown-rac-Dz7QtFVB.js} +1 -1
  49. package/dist/component/{ecom-address-rac-D9MeEQsk.js → ecom-address-rac-Bu6msDgo.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-DKJ9j5dj.js → ecom-subscription-checkbox-rac-BRovQqrM.js} +2 -2
  51. package/dist/component/{email-input-field-rac-DaKrmlwe.js → email-input-field-rac-EERVxm6G.js} +42 -42
  52. package/dist/component/{events-repeater-rac-DWrOLT0Y.js → events-repeater-rac-xs0pooBs.js} +49 -49
  53. package/dist/component/{events-rsvp-rac-YBTR1tR0.js → events-rsvp-rac-CMi-8EqK.js} +3 -3
  54. package/dist/component/{field-error-headless-jksFrezt.js → field-error-headless-DbFXeaud.js} +8 -8
  55. package/dist/component/{field-label-headless-BBvJAVxI.js → field-label-headless-CWOYHPsb.js} +11 -11
  56. package/dist/component/{file-upload-rac-CgdmfUZG.js → file-upload-rac-vbMTIdDc.js} +61 -61
  57. package/dist/component/{fixed-payment-rac-v6rKwzFs.js → fixed-payment-rac-BRk7ams_.js} +7 -7
  58. package/dist/component/{form-BsiK682r.js → form-BjeODFzx.js} +238 -237
  59. package/dist/component/form.css +1 -1
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-BuXybl7K.js → header-field-rac-CQexwZn7.js} +2 -2
  62. package/dist/component/{header-rac-CDyaLosW.js → header-rac-CYbPDl4_.js} +1 -1
  63. package/dist/component/{image-choice-rac-BRlMroBw.js → image-choice-rac-DDvlaK6K.js} +15 -15
  64. package/dist/component/{index-BanOeCAF.js → index-B6wFpWpe.js} +4 -4
  65. package/dist/component/{index-y9URYGEE.js → index-Bs9ypEe2.js} +6 -6
  66. package/dist/component/{isObjectLike-BG9nJ-rx.js → isObjectLike-Xcw2hQQ6.js} +1 -1
  67. package/dist/component/{multiline-address-field-rac-DRAkxI1l.js → multiline-address-field-rac-CYJR-MUz.js} +209 -209
  68. package/dist/component/{multiline-address-rac-JjTzWsEb.js → multiline-address-rac-DO1j_w6S.js} +1 -1
  69. package/dist/component/{number-input-field-rac-QrouG7Hv.js → number-input-field-rac-C-qvd8v9.js} +18 -18
  70. package/dist/component/{number-input-rac-DGmE7cLv.js → number-input-rac-CQSaifZE.js} +1 -1
  71. package/dist/component/{password-rac-DeyY228m.js → password-rac-CqnbZtR_.js} +28 -28
  72. package/dist/component/{payment-input-rac-DmIennLi.js → payment-input-rac-CbOcztkp.js} +28 -28
  73. package/dist/component/{phone-input-field-rac-F7e74TGA.js → phone-input-field-rac-BQ187I2C.js} +55 -55
  74. package/dist/component/{phone-rac-CQfB2CQD.js → phone-rac-CbA2xqF3.js} +1 -1
  75. package/dist/component/{product-list-rac--GGG8vvO.js → product-list-rac-MxB9tRiE.js} +103 -103
  76. package/dist/component/{quiz-radio-group-rac-DF2C2vNq.js → quiz-radio-group-rac-IViaDVRW.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-DmpNo6F2.js → radio-button-module-classes-jtnooKMO.js} +33 -33
  78. package/dist/component/{radio-group-field-rac-BGcPYfKO.js → radio-group-field-rac-g3SQGJPp.js} +4 -4
  79. package/dist/component/{radio-group-rac-CqysUMCE.js → radio-group-rac-D8wmzlbu.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-D-ei917Y.js → rating-input-field-rac-BqPXKKdi.js} +15 -15
  81. package/dist/component/{rating-input-rac-a9zJ74fw.js → rating-input-rac-CeZIpOmm.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-CvyLVlXL.js → rich-content-rac.module-BLgdpRh_.js} +5 -5
  83. package/dist/component/{rich-text-field-rac-vf19nvyw.js → rich-text-field-rac-BpSVobCQ.js} +6 -6
  84. package/dist/component/{rich-text-rac-Cx_wpoxC.js → rich-text-rac-DqpaqbFH.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-DITzKQxd.js → service-dropdown-rac-DKgtga1t.js} +30 -30
  86. package/dist/component/{services-multi-choice-rac-BtisN0Aq.js → services-multi-choice-rac-CAyB0b4q.js} +9 -9
  87. package/dist/component/{signature-rac-DUeIoS5O.js → signature-rac-DC20YN4f.js} +97 -97
  88. package/dist/component/{submit-button-rac-C8h6zeTw.js → submit-button-rac-ClWtqIkR.js} +30 -30
  89. package/dist/component/{tags-field-rac-CjFuiB0n.js → tags-field-rac-DHM9k8uf.js} +18 -18
  90. package/dist/component/{tags-rac-BO7rwyLl.js → tags-rac-Clg50jwY.js} +1 -1
  91. package/dist/component/{text-area-field-rac-CgUx3nQ0.js → text-area-field-rac-B2qJZ6wR.js} +16 -16
  92. package/dist/component/{text-area-rac-WgXYXIaf.js → text-area-rac-BwsVk7u7.js} +1 -1
  93. package/dist/component/{text-input-field-rac-DaxWFha-.js → text-input-field-rac-BQbo-3Ly.js} +6 -6
  94. package/dist/component/{text-input-headless-hjuRJTZN.js → text-input-headless-WICGIHcN.js} +3 -3
  95. package/dist/component/{text-input-rac-BzumrJBj.js → text-input-rac-D7BRYDZr.js} +1 -1
  96. package/dist/component/{time-input-rac-2FEkpQ7M.js → time-input-rac-Dnp-0_Js.js} +22 -22
  97. package/dist/component/{url-input-field-rac-BZ9f8D8I.js → url-input-field-rac-MC13zKST.js} +19 -19
  98. package/dist/component/{url-input-rac-D-AVlxkD.js → url-input-rac-DfAtTmKv.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-DwAAtzgX.js → use-dropdown-option-class-name-CVUEosg4.js} +2 -2
  100. package/dist/component/{use-dropdown-trigger-class-name-D-6n9YVG.js → use-dropdown-trigger-class-name-BHLG7EB-.js} +25 -25
  101. package/dist/component/{use-element-state-class-name-C5auxwhj.js → use-element-state-class-name-BVJylHPn.js} +3 -3
  102. package/dist/component/{use-hoverable-input-class-name-Nd2jqfz4.js → use-hoverable-input-class-name-DO9ctJ81.js} +2 -2
  103. package/dist/component/{use-is-forced-open-dropdown-CKaHhCqp.js → use-is-forced-open-dropdown-Czuo32Nq.js} +8 -8
  104. package/dist/component/{use-service-options-base-CvluFheT.js → use-service-options-base-DUuGIm38.js} +1 -1
  105. package/dist/component/use-text-input-class-name-LEnNGX0a.js +6 -0
  106. package/package.json +2 -2
  107. package/dist/component/use-text-input-class-name-DGTlYJxC.js +0 -6
@@ -1,24 +1,24 @@
1
- import e, { useState as F, useCallback as v, useRef as A } from "react";
1
+ import e, { useState as F, useCallback as L, useRef as M } from "react";
2
2
  import { UNSAFE_PortalProvider as $ } from "react-aria";
3
- import { VisuallyHidden as k, Select as G, SelectValue as U, ListBoxItem as K } from "react-aria-components";
4
- import { bK as b, bH as D, bU as W, bM as Y, L as j } from "./form-BsiK682r.js";
5
- import { f as d, a as L } from "./find-child-C60k4CxG.js";
6
- import { D as z, E as J } from "./field-error-headless-jksFrezt.js";
7
- import { L as Q } from "./field-label-headless-BBvJAVxI.js";
3
+ import { VisuallyHidden as k, Select as G, SelectValue as U, ListBoxItem as W } from "react-aria-components";
4
+ import { bL as b, bI as v, bV as Y, bN as j, L as z } from "./form-BjeODFzx.js";
5
+ import { f as d, a as D } from "./find-child-C60k4CxG.js";
6
+ import { D as J, E as K } from "./field-error-headless-DbFXeaud.js";
7
+ import { L as Q } from "./field-label-headless-CWOYHPsb.js";
8
8
  import { E as X, S as Z, N as ee } from "./non-modal-popover-D-u13tmp.js";
9
- import { b as te } from "./use-is-forced-open-dropdown-CKaHhCqp.js";
10
- import { V as ne } from "./use-dropdown-option-class-name-DwAAtzgX.js";
11
- import { u as re } from "./use-hoverable-input-class-name-Nd2jqfz4.js";
9
+ import { b as te } from "./use-is-forced-open-dropdown-Czuo32Nq.js";
10
+ import { V as ne } from "./use-dropdown-option-class-name-CVUEosg4.js";
11
+ import { u as re } from "./use-hoverable-input-class-name-DO9ctJ81.js";
12
12
  const r = ({ children: t }) => {
13
- const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: n, placeholder: m, disabled: i, required: p, onBlur: C, onFocus: I, FieldLayout: y, hasError: T } = b(), [N, P] = F(!1), E = te(l), [R, h] = F(null), S = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: f } = D(), { t: V } = W(), O = `${f}-required`, B = v((c) => {
13
+ const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: n, placeholder: m, disabled: i, required: p, onBlur: I, onFocus: C, FieldLayout: y, hasError: N } = b(), [T, P] = F(!1), E = te(l), [R, h] = F(null), S = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: f } = v(), { t: V } = Y(), O = `${f}-required`, B = L((c) => {
14
14
  o || n(typeof c == "string" ? c : null);
15
15
  }, [
16
16
  n,
17
17
  o
18
- ]), _ = v((c) => P(c && !i && !o), [
18
+ ]), _ = L((c) => P(c && !i && !o), [
19
19
  i,
20
20
  o
21
- ]), q = d(t, r.Label), x = d(t, r.Trigger), w = d(t, r.Options), H = d(t, r.Description), M = d(t, r.Error);
21
+ ]), q = d(t, r.Label), x = d(t, r.Trigger), w = d(t, r.Options), A = d(t, r.Description), H = d(t, r.Error);
22
22
  return /* @__PURE__ */ e.createElement(y, {
23
23
  fieldId: l,
24
24
  renderLabel: () => q,
@@ -34,23 +34,23 @@ const r = ({ children: t }) => {
34
34
  }, /* @__PURE__ */ e.createElement(G, {
35
35
  "aria-labelledby": p ? `${f} ${O}` : f,
36
36
  value: S,
37
- isOpen: E || N && !i && !o,
37
+ isOpen: E || T && !i && !o,
38
38
  onOpenChange: E ? void 0 : _,
39
39
  onChange: B,
40
40
  isDisabled: i,
41
- isInvalid: T,
41
+ isInvalid: N,
42
42
  isRequired: p,
43
43
  placeholder: m || X,
44
- onBlur: C,
45
- onFocus: I
46
- }, x, L(w, {
44
+ onBlur: I,
45
+ onFocus: C
46
+ }, x, D(w, {
47
47
  isForcedOpen: E
48
48
  })))),
49
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, M, H)
49
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, H, A)
50
50
  });
51
51
  }, ae = ({ children: t, className: l }) => {
52
- const { inputId: a, ariaDescribedBy: s } = D(), { id: u, hasError: o, isLoading: n } = b(), m = A(null);
53
- return Y(() => {
52
+ const { inputId: a, ariaDescribedBy: s } = v(), { id: u, hasError: o, isLoading: n } = b(), m = M(null);
53
+ return j(() => {
54
54
  var i;
55
55
  (i = m.current) == null || i.focus({
56
56
  preventScroll: !0
@@ -72,14 +72,14 @@ const r = ({ children: t }) => {
72
72
  }, /* @__PURE__ */ e.createElement(ne, {
73
73
  isForcedOpen: s,
74
74
  autoFocus: s ? !1 : void 0
75
- }, u.map((n) => L(o, {
75
+ }, u.map((n) => D(o, {
76
76
  key: n.value ?? n.label,
77
77
  value: n.value ?? n.label,
78
78
  label: n.label
79
79
  }))));
80
80
  }, se = ({ className: t, ...l }) => {
81
81
  const { value: a, label: s } = l;
82
- return /* @__PURE__ */ e.createElement(K, {
82
+ return /* @__PURE__ */ e.createElement(W, {
83
83
  className: t,
84
84
  id: a,
85
85
  textValue: s
@@ -89,9 +89,9 @@ g.Option = se;
89
89
  r.Label = Q;
90
90
  r.Trigger = ae;
91
91
  r.Options = g;
92
- r.Description = z;
93
- r.Error = J;
94
- const ge = (...t) => re(j, t);
92
+ r.Description = J;
93
+ r.Error = K;
94
+ const ge = (...t) => re(z, t);
95
95
  export {
96
96
  r as D,
97
97
  ge as u
@@ -1,13 +1,13 @@
1
1
  import i from "classnames";
2
- import { bD as s, ba as v } from "./form-BsiK682r.js";
2
+ import { bE as s, bb as v } from "./form-BjeODFzx.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 = [
6
6
  e.selected,
7
7
  e.hover
8
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;
9
+ return ({ isSelected: n, isHovered: E, isFocused: N, isFocusWithin: p, isInteractive: t = !0 }) => {
10
+ const m = E || !!N || !!p;
11
11
  return i(e.base, r.base, t ? c : c.filter((f) => !o.includes(f)), {
12
12
  [e.hover]: t && m,
13
13
  [r.hover]: t && (m || u)
@@ -1,6 +1,6 @@
1
- import { bK as n } from "./form-BsiK682r.js";
1
+ import { bL as n } from "./form-BjeODFzx.js";
2
2
  import { s as e } from "./field-rac.module-ts2t4WUO.js";
3
- import { u } from "./use-element-state-class-name-C5auxwhj.js";
3
+ import { u } from "./use-element-state-class-name-BVJylHPn.js";
4
4
  const b = (s, a) => {
5
5
  const { disabled: t, readOnly: o } = n(), r = u({
6
6
  globalClasses: s,
@@ -1,6 +1,6 @@
1
1
  import { useContext as u, useMemo as a } from "react";
2
- import { bE as c, aQ as p, bC as E, F as o } from "./form-BsiK682r.js";
3
- const D = [
2
+ import { bF as c, aR as p, bD as D, F as o } from "./form-BjeODFzx.js";
3
+ const E = [
4
4
  o.DROPDOWN,
5
5
  o.DEXT_DROPDOWN,
6
6
  o.SERVICES_DROPDOWN
@@ -27,20 +27,20 @@ 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), C = (e) => D.includes(e.fieldType), A = (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
- const n = u(p), { isMobile: t = !1 } = E();
32
- return a(() => !n || n.parentId ? [] : n.fields.filter((s) => e(s, t) && F(s)).map((s) => s.id), [
30
+ }, S = (e, n) => T.includes(e.fieldType) && !n && P(e), A = (e) => E.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) => {
31
+ const n = u(p), { isMobile: t = !1 } = D();
32
+ return a(() => !n || n.parentId ? [] : n.fields.filter((s) => e(s, t) && h(s)).map((s) => s.id), [
33
33
  n,
34
34
  t,
35
35
  e
36
36
  ]);
37
37
  }, f = (e) => {
38
38
  var s;
39
- const n = ((s = c().dropdown) == null ? void 0 : s.open) === !0, t = i(C);
39
+ const n = ((s = c().dropdown) == null ? void 0 : s.open) === !0, t = i(A);
40
40
  return n && t.includes(e);
41
41
  }, m = (e) => {
42
42
  var s, r, d;
43
- const n = ((d = (r = (s = c().dateInput) == null ? void 0 : s.elementProps) == null ? void 0 : r.dropdown) == null ? void 0 : d.open) === !0, t = i(A);
43
+ const n = ((d = (r = (s = c().dateInput) == null ? void 0 : s.elementProps) == null ? void 0 : r.dropdown) == null ? void 0 : d.open) === !0, t = i(C);
44
44
  return n && t.includes(e);
45
45
  }, y = (e) => {
46
46
  var s, r, d;
@@ -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(h);
55
+ const n = ((s = c().datePicker) == null ? void 0 : s.open) === !0, t = i(F);
56
56
  return n && t.includes(e);
57
57
  };
58
58
  export {
@@ -1,5 +1,5 @@
1
1
  import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
2
- import { bJ as v } from "./form-BsiK682r.js";
2
+ import { bK as v } from "./form-BjeODFzx.js";
3
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) => ({
@@ -0,0 +1,6 @@
1
+ import { az as a } from "./form-BjeODFzx.js";
2
+ import { u as e } from "./use-hoverable-input-class-name-DO9ctJ81.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.172.0",
3
+ "version": "1.174.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": "2af8cd57399b998f2266582508be7b93ca7347b41c9751e38dcfbca7"
159
+ "falconPackageHash": "c06c699c0213c95cf0101f1dbe2b371ee1072686a5e45917affc2b1a"
160
160
  }
@@ -1,6 +0,0 @@
1
- import { ay as a } from "./form-BsiK682r.js";
2
- import { u as e } from "./use-hoverable-input-class-name-Nd2jqfz4.js";
3
- const m = (...s) => e(a, s);
4
- export {
5
- m as u
6
- };