@wix/form-elements 1.159.0 → 1.161.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 (117) hide show
  1. package/dist/component/{appointment-rac-CpiyUOXo.js → appointment-rac-BubC8I9X.js} +388 -381
  2. package/dist/component/{bookings-address-rac-BBEUV1t7.js → bookings-address-rac-BbwvVs86.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DdfoeLFV.js → bookings-email-rac-C2HCkcfa.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DH39yvQ-.js → bookings-first-name-rac-Uy7c5EBs.js} +1 -1
  5. package/dist/component/{bookings-header-rac-StLm7b4I.js → bookings-header-rac-nmwsWRjS.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DHZMPMOO.js → bookings-last-name-rac-BAioQLCg.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DrHp1ojM.js → bookings-login-bar-rac-CO6vOBjG.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-6aGjbavK.js → bookings-phone-rac-Cr16h-_R.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DBlGZUM5.js → bookings-rich-text-rac-CHLH3jd7.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-Cna1Va1X.js → checkbox-field-rac-CMwmwFMD.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-m_-10Mdx.js → checkbox-group-field-headless-BNs_S-nT.js} +50 -50
  12. package/dist/component/{checkbox-group-field-rac-BSCi5hmx.js → checkbox-group-field-rac-BA60EPAN.js} +12 -12
  13. package/dist/component/{checkbox-group-rac-BWYQZmAI.js → checkbox-group-rac-BJZ4Oer9.js} +1 -1
  14. package/dist/component/{checkbox-rac-BsUTfSUf.js → checkbox-rac-KsVlI6_V.js} +1 -1
  15. package/dist/component/{contacts-address-rac-DwCLW8rV.js → contacts-address-rac-CRYkz87z.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DnNgxbKb.js → contacts-birthdate-rac-BIz-1-ZX.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BQqXzpNl.js → contacts-company-rac-B8G__j6I.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BINnZzxp.js → contacts-email-rac-Dztkvp5i.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DBWKFkIU.js → contacts-first-name-rac-CVSEWpLU.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-D_-qrF7I.js → contacts-last-name-rac-Blz4M5bk.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-7n7JkSDr.js → contacts-phone-rac-CPCE5soY.js} +1 -1
  22. package/dist/component/{contacts-position-rac-DvXP8nvT.js → contacts-position-rac-Dd_kBjqG.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DnLnV5Gm.js → contacts-subscribe-rac-C6AlsP10.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-BJVWhvYW.js → contacts-tax-id-rac-CQ1n29zI.js} +1 -1
  25. package/dist/component/{date-availability-Df807-eN.js → date-availability-DDj1j0z5.js} +1 -1
  26. package/dist/component/date-input-field-rac-D5r1n_ah.js +309 -0
  27. package/dist/component/{date-input-rac-CSB3MWHW.js → date-input-rac-Cyi5mU_P.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CySThPfz.js → date-picker-field-rac-CeG391Zo.js} +79 -79
  29. package/dist/component/{date-picker-rac-Fp8_pxtf.js → date-picker-rac-Ci9aHgav.js} +1 -1
  30. package/dist/component/date-time-input-field-rac-CrbYEbJJ.js +441 -0
  31. package/dist/component/{date-time-input-rac-wctMR4uM.js → date-time-input-rac-DDJLkqs0.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-erMPfwFL.js → dext-checkbox-group-rac-C3ftVHBA.js} +4 -4
  33. package/dist/component/{dext-checkbox-rac-DQSq9Lqd.js → dext-checkbox-rac-BGLYWn68.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-RCLcd1VV.js → dext-date-picker-rac-Cy9RlDlt.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-DMolWzvy.js → dext-date-time-input-rac-88ZoTd5e.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-wQ2GJL4V.js → dext-dropdown-rac-CPxDUuk9.js} +1 -1
  37. package/dist/component/{dext-email-rac-BtymBVTW.js → dext-email-rac-BAvQwDPA.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DHPiK0Z3.js → dext-number-input-rac-D7HYQVKq.js} +1 -1
  39. package/dist/component/{dext-phone-rac-C58vHEEe.js → dext-phone-rac--FhcplSI.js} +1 -1
  40. package/dist/component/dext-radio-group-rac-DBz8iCKW.js +18 -0
  41. package/dist/component/{dext-rating-input-rac-DI0k3tVa.js → dext-rating-input-rac-Cv7nThfe.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DmF6ctvQ.js → dext-tags-rac-CRUUc5dr.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-Bv6ridbR.js → dext-text-area-rac-DQBQXV1L.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-DoTAdUgU.js → dext-text-input-rac-4CpM581y.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-BuoMS6g2.js → dext-url-input-rac-0C1jTEr9.js} +1 -1
  46. package/dist/component/{donation-rac-CjZalSgn.js → donation-rac-Cgt0ZE50.js} +79 -79
  47. package/dist/component/{dropdown-field-rac-By_fpqhx.js → dropdown-field-rac-DlGKR7pZ.js} +14 -14
  48. package/dist/component/{dropdown-rac-BnIEC4RX.js → dropdown-rac-CYFW_3x_.js} +1 -1
  49. package/dist/component/{ecom-address-rac-B6Usk1Ty.js → ecom-address-rac-CQfQHpXC.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-B4B0wzlC.js → ecom-subscription-checkbox-rac-D2v2Upvz.js} +2 -2
  51. package/dist/component/{email-input-field-rac-Df3KI3_v.js → email-input-field-rac-CVw25yRo.js} +39 -39
  52. package/dist/component/{events-repeater-rac-B2iBk8lV.js → events-repeater-rac-BCVUcmFj.js} +25 -25
  53. package/dist/component/{events-rsvp-rac-xl_qCIh3.js → events-rsvp-rac-DwbqEr8z.js} +18 -18
  54. package/dist/component/{field-error-headless-DWc76YmY.js → field-error-headless-XnVcMmsL.js} +3 -3
  55. package/dist/component/{field-label-headless-DKBKqI2X.js → field-label-headless-BRTLT2Yt.js} +16 -16
  56. package/dist/component/{file-upload-rac-BVj4cRqe.js → file-upload-rac-Dkwg9Jk4.js} +118 -118
  57. package/dist/component/{fixed-payment-rac-BS1Hb4hg.js → fixed-payment-rac-ST98xAa2.js} +13 -13
  58. package/dist/component/{form-BTUoOcqB.js → form-BUqSKOvc.js} +785 -727
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-DTJ_Us6u.js → header-field-rac-CzNTGYWq.js} +6 -6
  61. package/dist/component/{header-rac-CvYp0Jjo.js → header-rac-DUt6AIAE.js} +1 -1
  62. package/dist/component/{image-choice-rac--qrYqKJl.js → image-choice-rac-DuBgrSt2.js} +23 -23
  63. package/dist/component/{index-DIl9BH2M.js → index-CDO22hht.js} +66 -66
  64. package/dist/component/{index-CoEV4QEy.js → index-cZZeAuuu.js} +2 -2
  65. package/dist/component/{isObjectLike-CLN09X5V.js → isObjectLike-cs4bARpC.js} +11 -11
  66. package/dist/component/multiline-address-field-rac-vcEWhUCV.js +1664 -0
  67. package/dist/component/{multiline-address-rac-DtaAJjbR.js → multiline-address-rac-WQaI2eUX.js} +1 -1
  68. package/dist/component/{number-input-field-rac-2gqDUlw9.js → number-input-field-rac-CBUMqATk.js} +23 -23
  69. package/dist/component/{number-input-rac-BlciEPLN.js → number-input-rac-B4j5hyzS.js} +1 -1
  70. package/dist/component/{password-rac-BvvQgafk.js → password-rac-DwLyf45N.js} +27 -27
  71. package/dist/component/{payment-input-rac-CSRyOPPr.js → payment-input-rac-D0Od---y.js} +31 -31
  72. package/dist/component/phone-input-field-rac-COlu9IeC.js +512 -0
  73. package/dist/component/{phone-rac-DMP1MoRs.js → phone-rac-Dh4RacOF.js} +1 -1
  74. package/dist/component/{product-list-rac-WQ9Qhzum.js → product-list-rac-D7zHDE2D.js} +39 -39
  75. package/dist/component/{quiz-radio-group-rac-DzrL3-gZ.js → quiz-radio-group-rac-1AaKphJt.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-CJk18LzO.js → radio-button-module-classes-VqaP6vpA.js} +30 -30
  77. package/dist/component/{radio-group-field-rac-DGoMoSgo.js → radio-group-field-rac-Cp3LRN3C.js} +8 -8
  78. package/dist/component/{radio-group-rac-DhAELVNV.js → radio-group-rac-KhmhzYGf.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-CFoesqmC.js → rating-input-field-rac-10n6ciCr.js} +39 -39
  80. package/dist/component/{rating-input-rac-CFMIxche.js → rating-input-rac-XZjjY2Gp.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-xJ03MegT.js → rich-content-rac.module-kMwDoLBa.js} +8 -8
  82. package/dist/component/{rich-text-field-rac-CBMY4JOB.js → rich-text-field-rac-H5bd8fAt.js} +4 -4
  83. package/dist/component/{rich-text-rac-CvZ7s1Ct.js → rich-text-rac-88GSQR62.js} +1 -1
  84. package/dist/component/service-dropdown-rac-B1_Xr_X3.js +145 -0
  85. package/dist/component/{services-multi-choice-rac-fXOov4K7.js → services-multi-choice-rac-DWp_Llbi.js} +11 -11
  86. package/dist/component/{signature-rac-CG_Q9Oxr.js → signature-rac-zN_6KRDp.js} +82 -82
  87. package/dist/component/{submit-button-rac-DAsovEp2.js → submit-button-rac-Dv6UarYX.js} +12 -12
  88. package/dist/component/{tags-field-rac-9mpOMPLm.js → tags-field-rac-sVN6MHfJ.js} +43 -43
  89. package/dist/component/{tags-rac-CNBJ08wS.js → tags-rac-DhTHs_XN.js} +1 -1
  90. package/dist/component/{text-area-field-rac-D4aTm7CM.js → text-area-field-rac-DrWkww7W.js} +19 -19
  91. package/dist/component/{text-area-rac-DoKiH_Kv.js → text-area-rac-CXXh-ZdY.js} +1 -1
  92. package/dist/component/{text-input-field-rac-BbvPB26b.js → text-input-field-rac-C2YiMr-g.js} +5 -5
  93. package/dist/component/text-input-headless-BJMNbsMY.js +47 -0
  94. package/dist/component/{text-input-rac-1ac1EKad.js → text-input-rac-CpsPh7FH.js} +1 -1
  95. package/dist/component/{time-input-rac-BS0rR-89.js → time-input-rac-DG_1KxS4.js} +20 -20
  96. package/dist/component/{url-input-field-rac-DbO6ATng.js → url-input-field-rac-twxRREnl.js} +19 -19
  97. package/dist/component/{url-input-rac-DHuny3d-.js → url-input-rac-BTStO0NP.js} +1 -1
  98. package/dist/component/use-dropdown-option-class-name-DbMMg1ws.js +116 -0
  99. package/dist/component/use-dropdown-trigger-class-name-Yes4kC_0.js +96 -0
  100. package/dist/component/{use-element-state-class-name-BUsFQfoW.js → use-element-state-class-name-DlncY4hk.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-C2l3G8gb.js → use-hoverable-input-class-name-C__zqP5j.js} +2 -2
  102. package/dist/component/use-is-forced-open-dropdown-DnK_MQRO.js +53 -0
  103. package/dist/component/{use-service-options-base-D_enm38a.js → use-service-options-base-DKJe52Vk.js} +6 -6
  104. package/dist/component/use-text-input-class-name-D9tJTR-b.js +6 -0
  105. package/dist/form.d.ts +11 -0
  106. package/package.json +2 -2
  107. package/dist/component/date-input-field-rac-CEuPElMH.js +0 -303
  108. package/dist/component/date-time-input-field-rac-DG5KSBHe.js +0 -433
  109. package/dist/component/dext-radio-group-rac-Cp-I94HW.js +0 -18
  110. package/dist/component/dropdown-field-headless-BYEjiIUf.js +0 -93
  111. package/dist/component/multiline-address-field-rac-BjWzx-LH.js +0 -1659
  112. package/dist/component/phone-input-field-rac-BVWzH_TY.js +0 -508
  113. package/dist/component/service-dropdown-rac-B627AgPG.js +0 -145
  114. package/dist/component/text-input-headless-BGaBRrP1.js +0 -47
  115. package/dist/component/use-dropdown-trigger-class-name-rcGBzxI1.js +0 -117
  116. package/dist/component/use-is-forced-open-dropdown-CoOk4W4i.js +0 -48
  117. package/dist/component/use-text-input-class-name-BLtPQoYE.js +0 -6
@@ -0,0 +1,309 @@
1
+ import { RicosViewer as ne } from "@wix/ricos/viewer";
2
+ import D from "classnames";
3
+ import t, { useMemo as y, useState as $, useCallback as H, useRef as w } from "react";
4
+ import { UNSAFE_PortalProvider as re } from "react-aria";
5
+ import { ListBoxItem as oe, Select as se, TextField as z, SelectValue as le, Input as W } from "react-aria-components";
6
+ import { bA as I, bx as K, bs as U, b5 as G, bi as J, aU as o, bK as R, a$ as ce, b6 as ie, bp as me, bC as B, u as de, W as ue, ac as pe, w as v, J as Ee, M as be, G as fe, v as De, x as q } from "./form-BUqSKOvc.js";
7
+ import { f as p, a as V } from "./find-child-C60k4CxG.js";
8
+ import { g as _e } from "./helpers-HmkkXrh2.js";
9
+ import { D as Ie, E as Oe } from "./field-error-headless-XnVcMmsL.js";
10
+ import { L as he } from "./field-label-headless-BRTLT2Yt.js";
11
+ import { F as Ne } from "./fieldset-headless-CD3fds9J.js";
12
+ import { N as ye, E as Le, S as ge } from "./non-modal-popover-D-u13tmp.js";
13
+ import { a as Ce } from "./use-is-forced-open-dropdown-DnK_MQRO.js";
14
+ import { V as Fe, u as Ae } from "./use-dropdown-option-class-name-DbMMg1ws.js";
15
+ import { C as Te } from "./chevron-down-icon-CcpVm6B-.js";
16
+ import { E as Re } from "./error-icon-hZxQ6DEy.js";
17
+ import { H as Me } from "./custom-focus-class-_483Pkwp.js";
18
+ import { s as b } from "./field-rac.module-DP0lkkEv.js";
19
+ import { u as Y } from "./use-hoverable-input-class-name-C__zqP5j.js";
20
+ const Pe = {
21
+ [o.MONTH]: "bday-month",
22
+ [o.DAY]: "bday-day",
23
+ [o.YEAR]: "bday-year"
24
+ }, x = (e, a) => e === "bday" ? Pe[a] : void 0, n = ({ children: e, className: a }) => {
25
+ const { id: r, required: s, onBlur: l, onFocus: c, FieldLayout: m } = I(), { inputId: i, labelId: d, ariaDescribedBy: u } = K(), { regionalFormat: E } = U(), f = y(() => G(E).filter(J).map((S) => S.toUpperCase()), [
26
+ E
27
+ ]), g = p(e, n.Label), M = p(e, n.Description), P = p(e, n.Error), O = {
28
+ [o.MONTH]: p(e, n.Month),
29
+ [o.DAY]: p(e, n.Day),
30
+ [o.YEAR]: p(e, n.Year)
31
+ };
32
+ return /* @__PURE__ */ t.createElement(m, {
33
+ fieldId: r,
34
+ renderLabel: () => V(g, {
35
+ as: "div"
36
+ }),
37
+ renderInput: () => /* @__PURE__ */ t.createElement(Ne, {
38
+ id: i,
39
+ ariaLabelledBy: d,
40
+ ariaDescribedBy: u,
41
+ required: s,
42
+ onBlur: l,
43
+ onFocus: c,
44
+ className: a
45
+ }, O[f[0]], O[f[1]], O[f[2]]),
46
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, P, M)
47
+ });
48
+ }, h = ({ children: e, className: a }) => {
49
+ const { id: r, disabled: s, readOnly: l, showDateLabels: c, hidePlaceholder: m, autoComplete: i } = I(), { labelId: d } = N(o.MONTH), { partValue: u, partError: E, onPartChange: f } = L(o.MONTH), { t: g } = R(), [M, P] = $(!1), O = Ce(r), [S, Q] = $(null), X = m ? Le : g("field.date.placeholder.month"), j = H((A) => {
50
+ l || f(typeof A == "string" ? A : "");
51
+ }, [
52
+ f,
53
+ l
54
+ ]), Z = H((A) => {
55
+ P(A && !l);
56
+ }, [
57
+ l
58
+ ]), ee = p(e, h.Label), te = p(e, h.Trigger), ae = p(e, h.Options);
59
+ return /* @__PURE__ */ t.createElement("div", {
60
+ className: a,
61
+ "data-date-field": !0
62
+ }, c ? ee : null, /* @__PURE__ */ t.createElement("div", {
63
+ ref: Q,
64
+ style: {
65
+ display: "contents"
66
+ }
67
+ }), /* @__PURE__ */ t.createElement(re, {
68
+ getContainer: () => S
69
+ }, /* @__PURE__ */ t.createElement(se, {
70
+ autoComplete: x(i, o.MONTH),
71
+ "aria-labelledby": c ? d : void 0,
72
+ value: u || null,
73
+ onChange: j,
74
+ isDisabled: s,
75
+ isInvalid: E,
76
+ placeholder: X,
77
+ isOpen: O || M,
78
+ onOpenChange: O ? void 0 : Z
79
+ }, te, V(ae, {
80
+ isForcedOpen: O
81
+ }))));
82
+ }, Se = ({ className: e }) => /* @__PURE__ */ t.createElement(k, {
83
+ datePart: o.MONTH,
84
+ className: e
85
+ }), ve = ({ children: e, className: a }) => {
86
+ const { id: r, readOnly: s } = I(), { inputId: l } = N(o.MONTH), { partError: c, isFirstPart: m } = L(o.MONTH), i = w(null);
87
+ return B(() => {
88
+ var d;
89
+ m && ((d = i.current) == null || d.focus({
90
+ preventScroll: !0
91
+ }));
92
+ }, r), /* @__PURE__ */ t.createElement(ge, {
93
+ ref: i,
94
+ id: l,
95
+ className: a,
96
+ "data-hook": o.MONTH,
97
+ "data-invalid": c || void 0,
98
+ "data-readonly": s || void 0
99
+ }, /* @__PURE__ */ t.createElement(le, null), e);
100
+ }, T = ({ children: e, className: a, ...r }) => {
101
+ const { isForcedOpen: s } = r, { language: l } = U(), c = y(() => _e(l), [
102
+ l
103
+ ]), m = p(e, T.Option) ?? /* @__PURE__ */ t.createElement(T.Option, null);
104
+ return /* @__PURE__ */ t.createElement(ye, {
105
+ className: a,
106
+ containerPadding: 0,
107
+ offset: 0
108
+ }, /* @__PURE__ */ t.createElement(Fe, {
109
+ isForcedOpen: s,
110
+ autoFocus: s ? !1 : void 0
111
+ }, c.map((i, d) => V(m, {
112
+ key: String(d + 1),
113
+ value: String(d + 1),
114
+ label: i
115
+ }))));
116
+ }, Ye = ({ className: e, ...a }) => {
117
+ const { value: r, label: s } = a;
118
+ return /* @__PURE__ */ t.createElement(oe, {
119
+ className: e,
120
+ id: r,
121
+ textValue: s
122
+ }, s);
123
+ };
124
+ h.Label = Se;
125
+ h.Trigger = ve;
126
+ h.Options = T;
127
+ T.Option = Ye;
128
+ const C = ({ children: e, className: a }) => {
129
+ const { disabled: r, readOnly: s, showDateLabels: l } = I(), { labelId: c } = N(o.DAY), { partValue: m, partError: i, onPartChange: d } = L(o.DAY), u = p(e, C.Label), E = p(e, C.Input);
130
+ return /* @__PURE__ */ t.createElement("div", {
131
+ className: a,
132
+ "data-date-field": !0
133
+ }, l && u, /* @__PURE__ */ t.createElement(z, {
134
+ "aria-labelledby": l ? c : void 0,
135
+ value: m,
136
+ onChange: d,
137
+ isDisabled: r,
138
+ isReadOnly: s,
139
+ isInvalid: i
140
+ }, E));
141
+ }, He = ({ className: e }) => /* @__PURE__ */ t.createElement(k, {
142
+ datePart: o.DAY,
143
+ className: e
144
+ }), we = ({ className: e }) => {
145
+ const { id: a, hidePlaceholder: r, autoComplete: s } = I(), { inputId: l } = N(o.DAY), { isFirstPart: c } = L(o.DAY), { t: m } = R(), i = w(null), d = r ? void 0 : m("field.date.placeholder.day");
146
+ return B(() => {
147
+ var u;
148
+ c && ((u = i.current) == null || u.focus({
149
+ preventScroll: !0
150
+ }));
151
+ }, a), /* @__PURE__ */ t.createElement(W, {
152
+ ref: i,
153
+ id: l,
154
+ className: e,
155
+ placeholder: d,
156
+ autoComplete: x(s, o.DAY),
157
+ maxLength: 2,
158
+ inputMode: "numeric",
159
+ "data-hook": o.DAY
160
+ });
161
+ };
162
+ C.Label = He;
163
+ C.Input = we;
164
+ const F = ({ children: e, className: a }) => {
165
+ const { disabled: r, readOnly: s, showDateLabels: l } = I(), { labelId: c } = N(o.YEAR), { partValue: m, partError: i, onPartChange: d } = L(o.YEAR), u = p(e, F.Label), E = p(e, F.Input);
166
+ return /* @__PURE__ */ t.createElement("div", {
167
+ className: a,
168
+ "data-date-field": !0
169
+ }, l && u, /* @__PURE__ */ t.createElement(z, {
170
+ "aria-labelledby": l ? c : void 0,
171
+ value: m,
172
+ onChange: d,
173
+ isDisabled: r,
174
+ isReadOnly: s,
175
+ isInvalid: i
176
+ }, E));
177
+ }, Ue = ({ className: e }) => /* @__PURE__ */ t.createElement(k, {
178
+ datePart: o.YEAR,
179
+ className: e
180
+ }), Be = ({ className: e }) => {
181
+ const { id: a, hidePlaceholder: r, autoComplete: s } = I(), { inputId: l } = N(o.YEAR), { isFirstPart: c } = L(o.YEAR), { t: m } = R(), i = w(null), d = r ? void 0 : m("field.date.placeholder.year");
182
+ return B(() => {
183
+ var u;
184
+ c && ((u = i.current) == null || u.focus({
185
+ preventScroll: !0
186
+ }));
187
+ }, a), /* @__PURE__ */ t.createElement(W, {
188
+ ref: i,
189
+ id: l,
190
+ className: e,
191
+ placeholder: d,
192
+ autoComplete: x(s, o.YEAR),
193
+ maxLength: 4,
194
+ inputMode: "numeric",
195
+ "data-hook": o.YEAR
196
+ });
197
+ };
198
+ F.Label = Ue;
199
+ F.Input = Be;
200
+ n.Label = he;
201
+ n.Month = h;
202
+ n.Day = C;
203
+ n.Year = F;
204
+ n.Description = Ie;
205
+ n.Error = Oe;
206
+ function N(e) {
207
+ const { inputId: a } = K();
208
+ return y(() => {
209
+ const r = e.toLowerCase();
210
+ return {
211
+ inputId: `${a}-${r}-input`,
212
+ labelId: `${a}-${r}-label`
213
+ };
214
+ }, [
215
+ a,
216
+ e
217
+ ]);
218
+ }
219
+ function L(e) {
220
+ const { value: a, onChange: r, hasError: s = !1 } = I(), { regionalFormat: l } = U(), c = y(() => ce(a ?? ""), [
221
+ a
222
+ ]), m = y(() => ie(s, a ?? ""), [
223
+ a,
224
+ s
225
+ ]), i = c[e] || "", d = H((E) => {
226
+ const f = me(E, e, c);
227
+ r(f);
228
+ }, [
229
+ r,
230
+ c,
231
+ e
232
+ ]), u = y(() => G(l).filter(J).map((g) => g.toUpperCase())[0] === e, [
233
+ l,
234
+ e
235
+ ]);
236
+ return {
237
+ partValue: i,
238
+ partError: m[e],
239
+ onPartChange: d,
240
+ isFirstPart: u
241
+ };
242
+ }
243
+ function k({ datePart: e, className: a }) {
244
+ const { inputId: r, labelId: s } = N(e), { t: l } = R(), c = `field.date.label.${e.toLowerCase()}`, m = l(c);
245
+ return /* @__PURE__ */ t.createElement("label", {
246
+ id: s,
247
+ htmlFor: r,
248
+ className: a
249
+ }, m);
250
+ }
251
+ const Ve = "_fields_1mv4t_1", xe = "_month_1mv4t_10", ke = "_day_1mv4t_11", $e = "_year_1mv4t_12", qe = "_dayInput_1mv4t_28", ze = "_yearInput_1mv4t_29", We = "_monthTrigger_1mv4t_33", Ke = "_monthOption_1mv4t_53", _ = {
252
+ fields: Ve,
253
+ month: xe,
254
+ day: ke,
255
+ year: $e,
256
+ dayInput: qe,
257
+ yearInput: ze,
258
+ monthTrigger: We,
259
+ monthOption: Ke
260
+ }, Ge = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(ne, {
261
+ content: e,
262
+ locale: a
263
+ }), Et = () => {
264
+ const e = Y(De, [
265
+ _.monthTrigger
266
+ ]), a = Ae(_.monthOption, Me), r = Y(q, [
267
+ _.dayInput
268
+ ]), s = Y(q, [
269
+ _.yearInput
270
+ ]);
271
+ return /* @__PURE__ */ t.createElement(n, {
272
+ className: D(de, _.fields)
273
+ }, /* @__PURE__ */ t.createElement(n.Label, {
274
+ className: D(ue, b.label)
275
+ }, /* @__PURE__ */ t.createElement(n.Label.Required, {
276
+ className: D(pe, b.requiredMark)
277
+ })), /* @__PURE__ */ t.createElement(n.Month, {
278
+ className: _.month
279
+ }, /* @__PURE__ */ t.createElement(n.Month.Label, {
280
+ className: D(v, b.label)
281
+ }), /* @__PURE__ */ t.createElement(n.Month.Trigger, {
282
+ className: e
283
+ }, /* @__PURE__ */ t.createElement(Te, {
284
+ className: b.dropdownIcon
285
+ })), /* @__PURE__ */ t.createElement(n.Month.Options, {
286
+ className: D(Ee, b.selectPopover, b.dropdownPopover)
287
+ }, /* @__PURE__ */ t.createElement(n.Month.Options.Option, {
288
+ className: a
289
+ }))), /* @__PURE__ */ t.createElement(n.Day, {
290
+ className: _.day
291
+ }, /* @__PURE__ */ t.createElement(n.Day.Label, {
292
+ className: D(v, b.label)
293
+ }), /* @__PURE__ */ t.createElement(n.Day.Input, {
294
+ className: r
295
+ })), /* @__PURE__ */ t.createElement(n.Year, {
296
+ className: _.year
297
+ }, /* @__PURE__ */ t.createElement(n.Year.Label, {
298
+ className: D(v, b.label)
299
+ }), /* @__PURE__ */ t.createElement(n.Year.Input, {
300
+ className: s
301
+ })), /* @__PURE__ */ t.createElement(n.Error, {
302
+ className: D(be, b.error)
303
+ }, /* @__PURE__ */ t.createElement(Re, null), /* @__PURE__ */ t.createElement(n.Error.Text, null)), /* @__PURE__ */ t.createElement(n.Description, {
304
+ className: D(fe, b.description)
305
+ }, Ge));
306
+ };
307
+ export {
308
+ Et as D
309
+ };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { D as e } from "./date-input-field-rac-CEuPElMH.js";
2
+ import { D as e } from "./date-input-field-rac-D5r1n_ah.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DateInputRAC
@@ -1,42 +1,42 @@
1
1
  import { RicosViewer as X } from "@wix/ricos/viewer";
2
2
  import p from "classnames";
3
- import e, { useState as L, useCallback as x, useContext as ee, useRef as P, useMemo as v } from "react";
3
+ import e, { useState as L, useCallback as k, useContext as ee, useRef as A, useMemo as v } from "react";
4
4
  import { parseDate as te } from "@internationalized/date";
5
5
  import { UNSAFE_PortalProvider as re } from "react-aria";
6
- import { I18nProvider as ae, DatePicker as ne, DatePickerStateContext as oe, Group as le, DateInput as se, DateSegment as ce, Calendar as ie, CalendarMonthPicker as me, CalendarYearPicker as de, CalendarGrid as ue, Dialog as ge, CalendarCell as Ee, Button as k, Select as M, SelectValue as Y, ListBox as w, ListBoxItem as B } from "react-aria-components";
7
- import { D, bo as h, bl as U, bg as F, bq as pe, R as De, a0 as fe, u as Ce, H as ye, v as be, t as Se } from "./form-BTUoOcqB.js";
8
- import { g as he, c as A } from "./calendar.module-CKCBG_Pg.js";
6
+ import { I18nProvider as ae, DatePicker as ne, DatePickerStateContext as le, Group as oe, DateInput as se, DateSegment as ce, Calendar as ie, CalendarMonthPicker as me, CalendarYearPicker as de, CalendarGrid as ue, Dialog as ge, CalendarCell as Ee, Button as x, Select as M, SelectValue as Y, ListBox as w, ListBoxItem as B } from "react-aria-components";
7
+ import { D as f, bA as h, bx as U, bs as F, bC as pe, W as fe, ac as De, z as Ce, M as ye, G as be, y as Se } from "./form-BUqSKOvc.js";
8
+ import { g as he, c as P } from "./calendar.module-CKCBG_Pg.js";
9
9
  import { f as E, a as S } from "./find-child-C60k4CxG.js";
10
- import { D as Ne, E as Te } from "./field-error-headless-DWc76YmY.js";
11
- import { L as _e } from "./field-label-headless-DKBKqI2X.js";
10
+ import { D as Ne, E as Te } from "./field-error-headless-XnVcMmsL.js";
11
+ import { L as _e } from "./field-label-headless-BRTLT2Yt.js";
12
12
  import { D as ve, N as O, S as V } from "./non-modal-popover-D-u13tmp.js";
13
- import { u as Ie } from "./use-is-forced-open-dropdown-CoOk4W4i.js";
14
- import { i as Fe } from "./date-availability-Df807-eN.js";
13
+ import { u as Ie } from "./use-is-forced-open-dropdown-DnK_MQRO.js";
14
+ import { i as Fe } from "./date-availability-DDj1j0z5.js";
15
15
  import { C as I } from "./chevron-down-icon-CcpVm6B-.js";
16
16
  import { E as Oe } from "./error-icon-hZxQ6DEy.js";
17
17
  import { H as Le } from "./custom-focus-class-_483Pkwp.js";
18
- import { s as f } from "./field-rac.module-DP0lkkEv.js";
19
- import { u as Pe } from "./use-hoverable-input-class-name-C2l3G8gb.js";
20
- const Ae = [
21
- D.SUNDAY,
22
- D.MONDAY,
23
- D.TUESDAY,
24
- D.WEDNESDAY,
25
- D.THURSDAY,
26
- D.FRIDAY,
27
- D.SATURDAY
18
+ import { s as D } from "./field-rac.module-DP0lkkEv.js";
19
+ import { u as Ae } from "./use-hoverable-input-class-name-C__zqP5j.js";
20
+ const Pe = [
21
+ f.SUNDAY,
22
+ f.MONDAY,
23
+ f.TUESDAY,
24
+ f.WEDNESDAY,
25
+ f.THURSDAY,
26
+ f.FRIDAY,
27
+ f.SATURDAY
28
28
  ], Re = {
29
- availableDays: Ae
29
+ availableDays: Pe
30
30
  }, a = ({ children: t }) => {
31
- const { id: r, value: o, onChange: n, disabled: i, required: c, onBlur: u, onFocus: l, FieldLayout: m, hasError: d, readOnly: C } = h(), { labelId: y } = U(), { regionalFormat: N } = F(), [s, T] = L(null), [j, K] = L(!1), _ = Ie(r), H = x((z) => {
32
- const J = He(z);
31
+ const { id: r, value: l, onChange: n, disabled: i, required: c, onBlur: u, onFocus: o, FieldLayout: m, hasError: d, readOnly: C } = h(), { labelId: y } = U(), { regionalFormat: N } = F(), [s, T] = L(null), [j, K] = L(!1), _ = Ie(r), W = k((Z) => {
32
+ const J = We(Z);
33
33
  n(J);
34
34
  }, [
35
35
  n
36
- ]), W = E(t, a.Label), $ = E(t, a.Control), q = E(t, a.Calendar), G = E(t, a.Description), Q = E(t, a.Error), Z = Ke(o);
36
+ ]), H = E(t, a.Label), $ = E(t, a.Control), q = E(t, a.Calendar), G = E(t, a.Description), z = E(t, a.Error), Q = Ke(l);
37
37
  return /* @__PURE__ */ e.createElement(m, {
38
38
  fieldId: r,
39
- renderLabel: () => W,
39
+ renderLabel: () => H,
40
40
  renderInput: () => /* @__PURE__ */ e.createElement(ae, {
41
41
  locale: N
42
42
  }, /* @__PURE__ */ e.createElement("div", {
@@ -48,60 +48,60 @@ const Ae = [
48
48
  getContainer: () => s
49
49
  }, /* @__PURE__ */ e.createElement(ne, {
50
50
  "aria-labelledby": y,
51
- value: Z,
52
- onChange: H,
51
+ value: Q,
52
+ onChange: W,
53
53
  isDisabled: i,
54
54
  isInvalid: d,
55
55
  isReadOnly: C,
56
56
  isRequired: c,
57
57
  onBlur: u,
58
- onFocus: l,
58
+ onFocus: o,
59
59
  isOpen: _ || j,
60
60
  onOpenChange: _ ? void 0 : K
61
61
  }, $, S(q, {
62
62
  isForcedOpen: _
63
63
  })))),
64
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, Q, G)
64
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, z, G)
65
65
  });
66
- }, xe = ({ children: t, className: r }) => {
67
- const { inputId: o, ariaDescribedBy: n } = U(), { hasError: i, disabled: c, readOnly: u } = h(), l = ee(oe), m = x((d) => {
68
- if (!l || l.isOpen || c || u)
66
+ }, ke = ({ children: t, className: r }) => {
67
+ const { inputId: l, ariaDescribedBy: n } = U(), { hasError: i, disabled: c, readOnly: u } = h(), o = ee(le), m = k((d) => {
68
+ if (!o || o.isOpen || c || u)
69
69
  return;
70
70
  const C = d.target;
71
71
  if (C.closest("button"))
72
72
  return;
73
73
  const y = C.closest("[data-type]");
74
- y && y.getAttribute("data-type") !== "literal" || l.setOpen(!0);
74
+ y && y.getAttribute("data-type") !== "literal" || o.setOpen(!0);
75
75
  }, [
76
- l,
76
+ o,
77
77
  c,
78
78
  u
79
79
  ]);
80
- return /* @__PURE__ */ e.createElement(le, {
81
- id: o,
80
+ return /* @__PURE__ */ e.createElement(oe, {
81
+ id: l,
82
82
  "aria-describedby": n,
83
83
  className: r,
84
84
  "data-invalid": i,
85
- onPointerDownCapture: m
85
+ onClick: m
86
86
  }, t);
87
- }, ke = ({ className: t }) => {
88
- const { id: r, placeholder: o } = h(), { regionalFormat: n } = F(), i = P(null), c = P(!1);
87
+ }, xe = ({ className: t }) => {
88
+ const { id: r, placeholder: l } = h(), { regionalFormat: n } = F(), i = A(null), c = A(!1);
89
89
  pe(() => {
90
- var l;
91
- (l = i.current) == null || l.focus({
90
+ var o;
91
+ (o = i.current) == null || o.focus({
92
92
  preventScroll: !0
93
93
  });
94
94
  }, r);
95
- const u = v(() => We(n), [
95
+ const u = v(() => He(n), [
96
96
  n
97
97
  ]);
98
98
  return /* @__PURE__ */ e.createElement(se, {
99
99
  className: t,
100
- "data-placeholder-hidden": !o || void 0
101
- }, (l) => {
102
- const m = l.type === u && l.isPlaceholder && !!o;
100
+ "data-placeholder-hidden": !l || void 0
101
+ }, (o) => {
102
+ const m = o.type === u && o.isPlaceholder && !!l;
103
103
  return /* @__PURE__ */ e.createElement(ce, {
104
- segment: l,
104
+ segment: o,
105
105
  "data-first-segment": m || void 0,
106
106
  ref: (d) => {
107
107
  if (!d && c.current) {
@@ -113,14 +113,14 @@ const Ae = [
113
113
  return;
114
114
  }
115
115
  }
116
- }, (d) => !d.isPlaceholder || !o ? d.text : m ? o : d.text);
116
+ }, (d) => !d.isPlaceholder || !l ? d.text : m ? l : d.text);
117
117
  });
118
118
  }, Me = ({ children: t, className: r }) => /* @__PURE__ */ e.createElement(ve, {
119
119
  className: r
120
- }, t), g = ({ children: t, className: r, ...o }) => {
121
- const { isForcedOpen: n } = o, { regionalFormat: i } = F(), { availability: c } = h(), u = v(() => he(i), [
120
+ }, t), g = ({ children: t, className: r, ...l }) => {
121
+ const { isForcedOpen: n } = l, { regionalFormat: i } = F(), { availability: c } = h(), u = v(() => he(i), [
122
122
  i
123
- ]), l = v(() => (s) => {
123
+ ]), o = v(() => (s) => {
124
124
  const T = new Date(s.year, s.month - 1, s.day);
125
125
  return !Fe(T, c || Re);
126
126
  }, [
@@ -134,7 +134,7 @@ const Ae = [
134
134
  }, /* @__PURE__ */ e.createElement(ie, {
135
135
  autoFocus: n ? !1 : void 0,
136
136
  firstDayOfWeek: $e(u),
137
- isDateUnavailable: l
137
+ isDateUnavailable: o
138
138
  }, /* @__PURE__ */ e.createElement("header", null, d, /* @__PURE__ */ e.createElement(me, null, (s) => S(y, {
139
139
  ariaLabel: s["aria-label"],
140
140
  selectedKey: s.value,
@@ -156,20 +156,20 @@ const Ae = [
156
156
  })))));
157
157
  }, Ye = ({ isForcedOpen: t, children: r }) => t ? /* @__PURE__ */ e.createElement("div", {
158
158
  role: "dialog"
159
- }, r) : /* @__PURE__ */ e.createElement(ge, null, r), we = ({ children: t, className: r, ...o }) => {
160
- const { date: n } = o;
159
+ }, r) : /* @__PURE__ */ e.createElement(ge, null, r), we = ({ children: t, className: r, ...l }) => {
160
+ const { date: n } = l;
161
161
  return /* @__PURE__ */ e.createElement(Ee, {
162
162
  className: r,
163
163
  date: n
164
164
  }, t);
165
- }, Be = ({ children: t, className: r }) => /* @__PURE__ */ e.createElement(k, {
165
+ }, Be = ({ children: t, className: r }) => /* @__PURE__ */ e.createElement(x, {
166
166
  slot: "previous",
167
167
  className: r
168
- }, t), Ue = ({ children: t, className: r }) => /* @__PURE__ */ e.createElement(k, {
168
+ }, t), Ue = ({ children: t, className: r }) => /* @__PURE__ */ e.createElement(x, {
169
169
  slot: "next",
170
170
  className: r
171
- }, t), Ve = ({ children: t, className: r, ...o }) => {
172
- const { ariaLabel: n, selectedKey: i, onSelectionChange: c, items: u, popoverClassName: l } = o;
171
+ }, t), Ve = ({ children: t, className: r, ...l }) => {
172
+ const { ariaLabel: n, selectedKey: i, onSelectionChange: c, items: u, popoverClassName: o } = l;
173
173
  return /* @__PURE__ */ e.createElement(M, {
174
174
  "aria-label": n,
175
175
  selectedKey: i,
@@ -177,15 +177,15 @@ const Ae = [
177
177
  }, /* @__PURE__ */ e.createElement(V, {
178
178
  className: r
179
179
  }, /* @__PURE__ */ e.createElement(Y, null), t), /* @__PURE__ */ e.createElement(O, {
180
- className: l,
180
+ className: o,
181
181
  containerPadding: 0
182
182
  }, /* @__PURE__ */ e.createElement(w, {
183
183
  items: u
184
184
  }, (m) => /* @__PURE__ */ e.createElement(B, {
185
185
  id: m.id
186
186
  }, m.formatted))));
187
- }, je = ({ children: t, className: r, ...o }) => {
188
- const { ariaLabel: n, selectedKey: i, onSelectionChange: c, items: u, popoverClassName: l } = o;
187
+ }, je = ({ children: t, className: r, ...l }) => {
188
+ const { ariaLabel: n, selectedKey: i, onSelectionChange: c, items: u, popoverClassName: o } = l;
189
189
  return /* @__PURE__ */ e.createElement(M, {
190
190
  "aria-label": n,
191
191
  selectedKey: i,
@@ -193,7 +193,7 @@ const Ae = [
193
193
  }, /* @__PURE__ */ e.createElement(V, {
194
194
  className: r
195
195
  }, /* @__PURE__ */ e.createElement(Y, null), t), /* @__PURE__ */ e.createElement(O, {
196
- className: l,
196
+ className: o,
197
197
  containerPadding: 0
198
198
  }, /* @__PURE__ */ e.createElement(w, {
199
199
  items: u
@@ -207,8 +207,8 @@ g.NextTrigger = Ue;
207
207
  g.MonthTrigger = Ve;
208
208
  g.YearTrigger = je;
209
209
  a.Label = _e;
210
- a.Control = xe;
211
- a.Input = ke;
210
+ a.Control = ke;
211
+ a.Input = xe;
212
212
  a.Trigger = Me;
213
213
  a.Calendar = g;
214
214
  a.Description = Ne;
@@ -222,13 +222,13 @@ function Ke(t) {
222
222
  return null;
223
223
  }
224
224
  }
225
- function He(t) {
225
+ function We(t) {
226
226
  if (!t)
227
227
  return null;
228
- const r = String(t.year).padStart(4, "0"), o = String(t.month).padStart(2, "0"), n = String(t.day).padStart(2, "0");
229
- return `${r}-${o}-${n}`;
228
+ const r = String(t.year).padStart(4, "0"), l = String(t.month).padStart(2, "0"), n = String(t.day).padStart(2, "0");
229
+ return `${r}-${l}-${n}`;
230
230
  }
231
- function We(t) {
231
+ function He(t) {
232
232
  var r;
233
233
  try {
234
234
  return ((r = new Intl.DateTimeFormat(t, {
@@ -264,11 +264,11 @@ const qe = (t) => /* @__PURE__ */ e.createElement("svg", {
264
264
  strokeWidth: "1.5",
265
265
  strokeLinecap: "round",
266
266
  strokeLinejoin: "round"
267
- })), Ge = "_control_anbxj_1", Qe = "_segments_anbxj_14", Ze = "_trigger_anbxj_72", ze = "_calendarPopover_anbxj_103", Je = "_calendarDay_anbxj_253", Xe = "_dayNumber_anbxj_260", b = {
267
+ })), Ge = "_control_anbxj_1", ze = "_segments_anbxj_14", Qe = "_trigger_anbxj_72", Ze = "_calendarPopover_anbxj_103", Je = "_calendarDay_anbxj_253", Xe = "_dayNumber_anbxj_260", b = {
268
268
  control: Ge,
269
- segments: Qe,
270
- trigger: Ze,
271
- calendarPopover: ze,
269
+ segments: ze,
270
+ trigger: Qe,
271
+ calendarPopover: Ze,
272
272
  calendarDay: Je,
273
273
  dayNumber: Xe
274
274
  }, et = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(X, {
@@ -282,13 +282,13 @@ const qe = (t) => /* @__PURE__ */ e.createElement("svg", {
282
282
  transform: `rotate(${tt[t]}deg)`
283
283
  }
284
284
  }), St = () => {
285
- const t = Pe(Se, [
285
+ const t = Ae(Se, [
286
286
  b.control
287
287
  ]);
288
288
  return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
289
- className: p(De, f.label)
289
+ className: p(fe, D.label)
290
290
  }, /* @__PURE__ */ e.createElement(a.Label.Required, {
291
- className: p(fe, f.requiredMark)
291
+ className: p(De, D.requiredMark)
292
292
  })), /* @__PURE__ */ e.createElement(a.Control, {
293
293
  className: t
294
294
  }, /* @__PURE__ */ e.createElement(a.Trigger, {
@@ -296,23 +296,23 @@ const qe = (t) => /* @__PURE__ */ e.createElement("svg", {
296
296
  }, /* @__PURE__ */ e.createElement(qe, null)), /* @__PURE__ */ e.createElement(a.Input, {
297
297
  className: b.segments
298
298
  })), /* @__PURE__ */ e.createElement(a.Calendar, {
299
- className: p(Ce, f.selectPopover, b.calendarPopover)
299
+ className: p(Ce, D.selectPopover, b.calendarPopover)
300
300
  }, /* @__PURE__ */ e.createElement(a.Calendar.PreviousTrigger, null, /* @__PURE__ */ e.createElement(R, {
301
301
  direction: "left"
302
302
  })), /* @__PURE__ */ e.createElement(a.Calendar.MonthTrigger, null, /* @__PURE__ */ e.createElement(I, {
303
- className: f.dropdownIcon
303
+ className: D.dropdownIcon
304
304
  })), /* @__PURE__ */ e.createElement(a.Calendar.YearTrigger, null, /* @__PURE__ */ e.createElement(I, {
305
- className: f.dropdownIcon
305
+ className: D.dropdownIcon
306
306
  })), /* @__PURE__ */ e.createElement(a.Calendar.NextTrigger, null, /* @__PURE__ */ e.createElement(R, {
307
307
  direction: "right"
308
308
  })), /* @__PURE__ */ e.createElement(a.Calendar.Day, {
309
- className: p(Le, A.day, b.calendarDay)
309
+ className: p(Le, P.day, b.calendarDay)
310
310
  }, ({ formattedDate: r }) => /* @__PURE__ */ e.createElement("span", {
311
- className: p(A.dayNumber, b.dayNumber)
311
+ className: p(P.dayNumber, b.dayNumber)
312
312
  }, r))), /* @__PURE__ */ e.createElement(a.Error, {
313
- className: p(ye, f.error)
313
+ className: p(ye, D.error)
314
314
  }, /* @__PURE__ */ e.createElement(Oe, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
315
- className: p(be, f.description)
315
+ className: p(be, D.description)
316
316
  }, et));
317
317
  };
318
318
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as r } from "./date-picker-field-rac-CySThPfz.js";
2
+ import { D as r } from "./date-picker-field-rac-CeG391Zo.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as DatePickerRAC