@wix/form-elements 1.161.0 → 1.163.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 (113) hide show
  1. package/dist/component/{appointment-rac-BubC8I9X.js → appointment-rac-Cskf9hxi.js} +123 -123
  2. package/dist/component/{bookings-address-rac-BbwvVs86.js → bookings-address-rac-C18tuPai.js} +1 -1
  3. package/dist/component/{bookings-email-rac-C2HCkcfa.js → bookings-email-rac-C2GL3cJg.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Uy7c5EBs.js → bookings-first-name-rac-IEklnchg.js} +1 -1
  5. package/dist/component/{bookings-header-rac-nmwsWRjS.js → bookings-header-rac-iwcrj5Kj.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BAioQLCg.js → bookings-last-name-rac-CXZfq3Rw.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CO6vOBjG.js → bookings-login-bar-rac-DP0MBFTm.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-Cr16h-_R.js → bookings-phone-rac-uJGk_tzr.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CHLH3jd7.js → bookings-rich-text-rac-BerRAnFy.js} +1 -1
  10. package/dist/component/{calendar.module-CKCBG_Pg.js → calendar.module-BMUyMVja.js} +19 -19
  11. package/dist/component/{checkbox-field-rac-CMwmwFMD.js → checkbox-field-rac-BBftIi_U.js} +6 -6
  12. package/dist/component/{checkbox-group-field-headless-BNs_S-nT.js → checkbox-group-field-headless-BiQ4coe6.js} +27 -27
  13. package/dist/component/{checkbox-group-field-rac-BA60EPAN.js → checkbox-group-field-rac-moHc5Cyu.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-BJZ4Oer9.js → checkbox-group-rac-iuPzxN7i.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-akWZsZNn.js → checkbox-indicator-module-classes-DUTR4mcg.js} +1 -1
  16. package/dist/component/{checkbox-rac-KsVlI6_V.js → checkbox-rac-BwfHAeFo.js} +1 -1
  17. package/dist/component/{contacts-address-rac-CRYkz87z.js → contacts-address-rac-DuyEL5YR.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-BIz-1-ZX.js → contacts-birthdate-rac-Mkoplu3x.js} +1 -1
  19. package/dist/component/{contacts-company-rac-B8G__j6I.js → contacts-company-rac-B-3QghQg.js} +1 -1
  20. package/dist/component/{contacts-email-rac-Dztkvp5i.js → contacts-email-rac-CqooKQl8.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-CVSEWpLU.js → contacts-first-name-rac-CAOu0GIH.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-Blz4M5bk.js → contacts-last-name-rac-Cd-wCTC3.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-CPCE5soY.js → contacts-phone-rac-OGE6eaJc.js} +1 -1
  24. package/dist/component/{contacts-position-rac-Dd_kBjqG.js → contacts-position-rac-eSsV63RC.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-C6AlsP10.js → contacts-subscribe-rac-19d4uPR-.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-CQ1n29zI.js → contacts-tax-id-rac-TtyrAftZ.js} +1 -1
  27. package/dist/component/{date-availability-DDj1j0z5.js → date-availability-CudIaav_.js} +1 -1
  28. package/dist/component/{date-input-field-rac-D5r1n_ah.js → date-input-field-rac-DzMiQLxS.js} +89 -89
  29. package/dist/component/{date-input-rac-Cyi5mU_P.js → date-input-rac-BWfmwcmK.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-CeG391Zo.js → date-picker-field-rac-w4Wf-m0I.js} +54 -54
  31. package/dist/component/{date-picker-rac-Ci9aHgav.js → date-picker-rac-Bejo7tOm.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-CrbYEbJJ.js → date-time-input-field-rac-D6JPrbGb.js} +80 -80
  33. package/dist/component/{date-time-input-rac-DDJLkqs0.js → date-time-input-rac-CAK5NgC4.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-C3ftVHBA.js → dext-checkbox-group-rac-BqoHMQwI.js} +4 -4
  35. package/dist/component/{dext-checkbox-rac-BGLYWn68.js → dext-checkbox-rac-BEis8bxo.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-Cy9RlDlt.js → dext-date-picker-rac-DDQTy3BG.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-88ZoTd5e.js → dext-date-time-input-rac-Dp3UEXEu.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-CPxDUuk9.js → dext-dropdown-rac-DisXIXNb.js} +1 -1
  39. package/dist/component/{dext-email-rac-BAvQwDPA.js → dext-email-rac-CBv4umUC.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-D7HYQVKq.js → dext-number-input-rac-0UNC_1Ac.js} +1 -1
  41. package/dist/component/{dext-phone-rac--FhcplSI.js → dext-phone-rac-CQVzz499.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-DBz8iCKW.js → dext-radio-group-rac-3lhx-xxX.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-Cv7nThfe.js → dext-rating-input-rac-2fwxV3iY.js} +1 -1
  44. package/dist/component/{dext-tags-rac-CRUUc5dr.js → dext-tags-rac-DCL78ClS.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-DQBQXV1L.js → dext-text-area-rac-WTCWYySB.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-4CpM581y.js → dext-text-input-rac-DMCzSYAI.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-0C1jTEr9.js → dext-url-input-rac-Bzvt5zTa.js} +1 -1
  48. package/dist/component/{donation-rac-Cgt0ZE50.js → donation-rac-B3YHu0bl.js} +98 -98
  49. package/dist/component/{dropdown-field-rac-DlGKR7pZ.js → dropdown-field-rac-y4GPpf0W.js} +4 -4
  50. package/dist/component/{dropdown-rac-CYFW_3x_.js → dropdown-rac-Dj7OnxJL.js} +1 -1
  51. package/dist/component/{ecom-address-rac-CQfQHpXC.js → ecom-address-rac-Bnc60jDw.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-D2v2Upvz.js → ecom-subscription-checkbox-rac-CesTpjav.js} +2 -2
  53. package/dist/component/{email-input-field-rac-CVw25yRo.js → email-input-field-rac-BT2FrAEM.js} +48 -48
  54. package/dist/component/{events-repeater-rac-BCVUcmFj.js → events-repeater-rac-CA2yjEEk.js} +24 -24
  55. package/dist/component/{events-rsvp-rac-DwbqEr8z.js → events-rsvp-rac-wVpVt7-p.js} +4 -4
  56. package/dist/component/{field-error-headless-XnVcMmsL.js → field-error-headless-CX95bMbk.js} +8 -8
  57. package/dist/component/{field-label-headless-BRTLT2Yt.js → field-label-headless-niuFY6Mw.js} +17 -17
  58. package/dist/component/field-rac.module-ts2t4WUO.js +25 -0
  59. package/dist/component/{file-upload-rac-Dkwg9Jk4.js → file-upload-rac-ByO8l8lE.js} +142 -142
  60. package/dist/component/{fixed-payment-rac-ST98xAa2.js → fixed-payment-rac-BNDAdNeQ.js} +18 -18
  61. package/dist/component/{form-BUqSKOvc.js → form-CCQN_rPn.js} +326 -336
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-CzNTGYWq.js → header-field-rac-C1RySfYy.js} +6 -6
  65. package/dist/component/{header-rac-DUt6AIAE.js → header-rac-BaFPV0vy.js} +1 -1
  66. package/dist/component/image-choice-rac-BShUj92P.js +155 -0
  67. package/dist/component/{index-cZZeAuuu.js → index-0_YjLphg.js} +2 -2
  68. package/dist/component/{index-CDO22hht.js → index-DHLfweXD.js} +69 -69
  69. package/dist/component/{isObjectLike-cs4bARpC.js → isObjectLike-D7tbAd6O.js} +3 -3
  70. package/dist/component/{multiline-address-field-rac-vcEWhUCV.js → multiline-address-field-rac-CFJKE5vA.js} +41 -41
  71. package/dist/component/{multiline-address-rac-WQaI2eUX.js → multiline-address-rac-BlzCkwEH.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CBUMqATk.js → number-input-field-rac-XqxdqTRV.js} +24 -24
  73. package/dist/component/{number-input-rac-B4j5hyzS.js → number-input-rac-CQTg0QSm.js} +1 -1
  74. package/dist/component/{password-rac-DwLyf45N.js → password-rac-DPE-U2xs.js} +17 -17
  75. package/dist/component/{payment-input-rac-D0Od---y.js → payment-input-rac-oOh04431.js} +32 -32
  76. package/dist/component/{phone-input-field-rac-COlu9IeC.js → phone-input-field-rac-DW2vQhjC.js} +48 -48
  77. package/dist/component/{phone-rac-Dh4RacOF.js → phone-rac-BB9B-Hpl.js} +1 -1
  78. package/dist/component/{product-list-rac-D7zHDE2D.js → product-list-rac-K53VvPJV.js} +26 -26
  79. package/dist/component/{quiz-radio-group-rac-1AaKphJt.js → quiz-radio-group-rac-gikcMV2I.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-VqaP6vpA.js → radio-button-module-classes-CY883yGO.js} +34 -34
  81. package/dist/component/{radio-group-field-rac-Cp3LRN3C.js → radio-group-field-rac-BOEWcfT9.js} +5 -5
  82. package/dist/component/{radio-group-rac-KhmhzYGf.js → radio-group-rac-gKhmLMm3.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-10n6ciCr.js → rating-input-field-rac-83FXIVpy.js} +30 -30
  84. package/dist/component/{rating-input-rac-XZjjY2Gp.js → rating-input-rac-XDwakrtR.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-kMwDoLBa.js → rich-content-rac.module-Bdx8hK3J.js} +5 -5
  86. package/dist/component/{rich-text-field-rac-H5bd8fAt.js → rich-text-field-rac-ksEKBaYG.js} +4 -4
  87. package/dist/component/{rich-text-rac-88GSQR62.js → rich-text-rac-XEFBeQrz.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-B1_Xr_X3.js → service-dropdown-rac-CjFiqV1n.js} +26 -26
  89. package/dist/component/{services-multi-choice-rac-DWp_Llbi.js → services-multi-choice-rac-DNut4K3I.js} +15 -15
  90. package/dist/component/{signature-rac-zN_6KRDp.js → signature-rac-BhWPZpwu.js} +108 -108
  91. package/dist/component/{submit-button-rac-Dv6UarYX.js → submit-button-rac-CWmz_JCl.js} +7 -7
  92. package/dist/component/{tags-field-rac-sVN6MHfJ.js → tags-field-rac-D9P1jVrz.js} +75 -75
  93. package/dist/component/{tags-rac-DhTHs_XN.js → tags-rac-0zEd-xYa.js} +1 -1
  94. package/dist/component/{text-area-field-rac-DrWkww7W.js → text-area-field-rac-D_55oi2b.js} +19 -19
  95. package/dist/component/{text-area-rac-CXXh-ZdY.js → text-area-rac-CpkFyXCH.js} +1 -1
  96. package/dist/component/{text-input-field-rac-C2YiMr-g.js → text-input-field-rac-b7RXb4Ob.js} +4 -4
  97. package/dist/component/{text-input-headless-BJMNbsMY.js → text-input-headless-b1TEpdit.js} +11 -11
  98. package/dist/component/{text-input-rac-CpsPh7FH.js → text-input-rac-CoVcg1S0.js} +1 -1
  99. package/dist/component/{time-input-rac-DG_1KxS4.js → time-input-rac-DE7OyzgQ.js} +20 -20
  100. package/dist/component/url-input-field-rac-_yxWlb3a.js +77 -0
  101. package/dist/component/{url-input-rac-BTStO0NP.js → url-input-rac-wguMUqug.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-DbMMg1ws.js → use-dropdown-option-class-name-DdQ0sFRF.js} +12 -12
  103. package/dist/component/{use-dropdown-trigger-class-name-Yes4kC_0.js → use-dropdown-trigger-class-name-hB8KYv-I.js} +19 -19
  104. package/dist/component/{use-element-state-class-name-DlncY4hk.js → use-element-state-class-name-C2tQgxUX.js} +1 -1
  105. package/dist/component/{use-hoverable-input-class-name-C__zqP5j.js → use-hoverable-input-class-name-C8iuzofb.js} +3 -3
  106. package/dist/component/{use-is-forced-open-dropdown-DnK_MQRO.js → use-is-forced-open-dropdown-DkIrJPsK.js} +4 -4
  107. package/dist/component/{use-service-options-base-DKJe52Vk.js → use-service-options-base-B-xAR-tx.js} +3 -3
  108. package/dist/component/use-text-input-class-name-CK4rZeSM.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-DP0lkkEv.js +0 -25
  111. package/dist/component/image-choice-rac-DuBgrSt2.js +0 -155
  112. package/dist/component/url-input-field-rac-twxRREnl.js +0 -77
  113. package/dist/component/use-text-input-class-name-D9tJTR-b.js +0 -6
@@ -1,37 +1,37 @@
1
1
  import { RicosViewer as se } from "@wix/ricos/viewer";
2
2
  import E from "classnames";
3
- import t, { useMemo as L, useState as W, useCallback as U, useRef as $, useContext as le } from "react";
3
+ import t, { useMemo as L, useState as K, useCallback as U, useRef as $, useContext as le } from "react";
4
4
  import { parseTime as ie } from "@internationalized/date";
5
5
  import { UNSAFE_PortalProvider as ce } from "react-aria";
6
- import { ListBoxItem as me, Select as de, TextField as J, TimeField as ue, SelectValue as pe, Input as Q, DateInput as Ee, DateSegment as B, TimeFieldStateContext as fe } from "react-aria-components";
7
- import { bA as h, bx as X, bs as z, b5 as Z, bi as ee, aU as d, bK as y, bm as K, b7 as he, a$ as be, bp as _e, b1 as j, bC as G, u as ge, W as Ie, ac as De, w as V, J as Ne, M as Te, G as Oe, v as Le, x as k } from "./form-BUqSKOvc.js";
8
- import { f as u, a as P } from "./find-child-C60k4CxG.js";
6
+ import { ListBoxItem as me, Select as de, TextField as Q, TimeField as ue, SelectValue as pe, Input as X, DateInput as Ee, DateSegment as x, TimeFieldStateContext as fe } from "react-aria-components";
7
+ import { by as h, bv as Z, bq as q, b3 as J, bg as ee, aS as d, bI as y, bk as W, b5 as he, aZ as be, bn as _e, a$ as j, bA as z, u as ge, U as Ie, aa as De, w as V, H as Ne, K as Te, G as Oe, v as Le, x as k } from "./form-CCQN_rPn.js";
8
+ import { f as u, a as C } from "./find-child-C60k4CxG.js";
9
9
  import { g as ye } from "./helpers-HmkkXrh2.js";
10
- import { D as Fe, E as Ce } from "./field-error-headless-XnVcMmsL.js";
11
- import { L as Pe } from "./field-label-headless-BRTLT2Yt.js";
12
- import { F as Me } from "./fieldset-headless-CD3fds9J.js";
13
- import { N as Se, E as Re, S as Ae } from "./non-modal-popover-D-u13tmp.js";
14
- import { a as ve } from "./use-is-forced-open-dropdown-DnK_MQRO.js";
15
- import { V as we, u as Ve } from "./use-dropdown-option-class-name-DbMMg1ws.js";
10
+ import { D as Fe, E as Pe } from "./field-error-headless-CX95bMbk.js";
11
+ import { L as Ce } from "./field-label-headless-niuFY6Mw.js";
12
+ import { F as Se } from "./fieldset-headless-CD3fds9J.js";
13
+ import { N as Me, E as Re, S as Ae } from "./non-modal-popover-D-u13tmp.js";
14
+ import { a as ve } from "./use-is-forced-open-dropdown-DkIrJPsK.js";
15
+ import { V as we, u as Ve } from "./use-dropdown-option-class-name-DdQ0sFRF.js";
16
16
  import { C as Ye } from "./chevron-down-icon-CcpVm6B-.js";
17
17
  import { E as He } from "./error-icon-hZxQ6DEy.js";
18
18
  import { H as Y } from "./custom-focus-class-_483Pkwp.js";
19
- import { s as _ } from "./field-rac.module-DP0lkkEv.js";
20
- import { u as H } from "./use-hoverable-input-class-name-C__zqP5j.js";
19
+ import { s as _ } from "./field-rac.module-ts2t4WUO.js";
20
+ import { u as H } from "./use-hoverable-input-class-name-C8iuzofb.js";
21
21
  const l = ({ children: e, className: a }) => {
22
- const { id: n, required: r, onBlur: o, onFocus: s, FieldLayout: i } = h(), { inputId: m, labelId: c, ariaDescribedBy: b } = X(), { regionalFormat: p } = z(), N = L(() => Z(p).filter(ee).map((S) => S.toUpperCase()), [
22
+ const { id: n, required: r, onBlur: o, onFocus: s, FieldLayout: i } = h(), { inputId: m, labelId: c, ariaDescribedBy: b } = Z(), { regionalFormat: p } = q(), N = L(() => J(p).filter(ee).map((M) => M.toUpperCase()), [
23
23
  p
24
- ]), M = u(e, l.Label), v = u(e, l.Description), I = u(e, l.Error), D = {
24
+ ]), S = u(e, l.Label), v = u(e, l.Description), I = u(e, l.Error), D = {
25
25
  [d.MONTH]: u(e, l.Month),
26
26
  [d.DAY]: u(e, l.Day),
27
27
  [d.YEAR]: u(e, l.Year)
28
28
  }, T = u(e, l.Time);
29
29
  return /* @__PURE__ */ t.createElement(i, {
30
30
  fieldId: n,
31
- renderLabel: () => P(M, {
31
+ renderLabel: () => C(S, {
32
32
  as: "div"
33
33
  }),
34
- renderInput: () => /* @__PURE__ */ t.createElement(Me, {
34
+ renderInput: () => /* @__PURE__ */ t.createElement(Se, {
35
35
  id: m,
36
36
  ariaLabelledBy: c,
37
37
  ariaDescribedBy: b,
@@ -43,7 +43,7 @@ const l = ({ children: e, className: a }) => {
43
43
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, I, v)
44
44
  });
45
45
  }, F = ({ children: e, className: a }) => {
46
- const { id: n, disabled: r, readOnly: o, showDateLabels: s, hidePlaceholder: i } = h(), { labelId: m } = O(d.MONTH), { partValue: c, partError: b, onPartChange: p } = C(d.MONTH), { t: N } = y(), [M, v] = W(!1), I = ve(n), [D, T] = W(null), S = i ? Re : N("field.date.placeholder.month"), te = U((w) => {
46
+ const { id: n, disabled: r, readOnly: o, showDateLabels: s, hidePlaceholder: i } = h(), { labelId: m } = O(d.MONTH), { partValue: c, partError: b, onPartChange: p } = P(d.MONTH), { t: N } = y(), [S, v] = K(!1), I = ve(n), [D, T] = K(null), M = i ? Re : N("field.date.placeholder.month"), te = U((w) => {
47
47
  o || p(typeof w == "string" ? w : "");
48
48
  }, [
49
49
  p,
@@ -69,18 +69,18 @@ const l = ({ children: e, className: a }) => {
69
69
  onChange: te,
70
70
  isDisabled: r,
71
71
  isInvalid: b,
72
- placeholder: S,
73
- isOpen: I || M,
72
+ placeholder: M,
73
+ isOpen: I || S,
74
74
  onOpenChange: I ? void 0 : ae
75
- }, re, P(oe, {
75
+ }, re, C(oe, {
76
76
  isForcedOpen: I
77
77
  }))));
78
- }, Ue = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
78
+ }, Ue = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
79
79
  datePart: d.MONTH,
80
80
  className: e
81
- }), xe = ({ children: e, className: a }) => {
82
- const { id: n, readOnly: r } = h(), { inputId: o } = O(d.MONTH), { partError: s, isFirstPart: i } = C(d.MONTH), m = $(null);
83
- return G(() => {
81
+ }), Be = ({ children: e, className: a }) => {
82
+ const { id: n, readOnly: r } = h(), { inputId: o } = O(d.MONTH), { partError: s, isFirstPart: i } = P(d.MONTH), m = $(null);
83
+ return z(() => {
84
84
  var c;
85
85
  i && ((c = m.current) == null || c.focus({
86
86
  preventScroll: !0
@@ -93,23 +93,23 @@ const l = ({ children: e, className: a }) => {
93
93
  "data-invalid": s || void 0,
94
94
  "data-readonly": r || void 0
95
95
  }, /* @__PURE__ */ t.createElement(pe, null), e);
96
- }, x = ({ children: e, className: a, ...n }) => {
97
- const { isForcedOpen: r } = n, { language: o } = z(), s = L(() => ye(o), [
96
+ }, B = ({ children: e, className: a, ...n }) => {
97
+ const { isForcedOpen: r } = n, { language: o } = q(), s = L(() => ye(o), [
98
98
  o
99
- ]), i = u(e, x.Option) ?? /* @__PURE__ */ t.createElement(x.Option, null);
100
- return /* @__PURE__ */ t.createElement(Se, {
99
+ ]), i = u(e, B.Option) ?? /* @__PURE__ */ t.createElement(B.Option, null);
100
+ return /* @__PURE__ */ t.createElement(Me, {
101
101
  className: a,
102
102
  containerPadding: 0,
103
103
  offset: 0
104
104
  }, /* @__PURE__ */ t.createElement(we, {
105
105
  isForcedOpen: r,
106
106
  autoFocus: r ? !1 : void 0
107
- }, s.map((m, c) => P(i, {
107
+ }, s.map((m, c) => C(i, {
108
108
  key: String(c + 1),
109
109
  value: String(c + 1),
110
110
  label: m
111
111
  }))));
112
- }, Be = ({ className: e, ...a }) => {
112
+ }, xe = ({ className: e, ...a }) => {
113
113
  const { value: n, label: r } = a;
114
114
  return /* @__PURE__ */ t.createElement(me, {
115
115
  className: e,
@@ -118,15 +118,15 @@ const l = ({ children: e, className: a }) => {
118
118
  }, r);
119
119
  };
120
120
  F.Label = Ue;
121
- F.Trigger = xe;
122
- F.Options = x;
123
- x.Option = Be;
121
+ F.Trigger = Be;
122
+ F.Options = B;
123
+ B.Option = xe;
124
124
  const R = ({ children: e, className: a }) => {
125
- const { disabled: n, readOnly: r, showDateLabels: o } = h(), { labelId: s } = O(d.DAY), { partValue: i, partError: m, onPartChange: c } = C(d.DAY), b = u(e, R.Label), p = u(e, R.Input);
125
+ const { disabled: n, readOnly: r, showDateLabels: o } = h(), { labelId: s } = O(d.DAY), { partValue: i, partError: m, onPartChange: c } = P(d.DAY), b = u(e, R.Label), p = u(e, R.Input);
126
126
  return /* @__PURE__ */ t.createElement("div", {
127
127
  className: a,
128
128
  "data-date-field": !0
129
- }, o && b, /* @__PURE__ */ t.createElement(J, {
129
+ }, o && b, /* @__PURE__ */ t.createElement(Q, {
130
130
  "aria-labelledby": o ? s : void 0,
131
131
  value: i,
132
132
  onChange: c,
@@ -134,17 +134,17 @@ const R = ({ children: e, className: a }) => {
134
134
  isReadOnly: r,
135
135
  isInvalid: m
136
136
  }, p));
137
- }, ke = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
137
+ }, ke = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
138
138
  datePart: d.DAY,
139
139
  className: e
140
140
  }), $e = ({ className: e }) => {
141
- const { id: a, hidePlaceholder: n } = h(), { inputId: r } = O(d.DAY), { isFirstPart: o } = C(d.DAY), { t: s } = y(), i = $(null), m = n ? void 0 : s("field.date.placeholder.day");
142
- return G(() => {
141
+ const { id: a, hidePlaceholder: n } = h(), { inputId: r } = O(d.DAY), { isFirstPart: o } = P(d.DAY), { t: s } = y(), i = $(null), m = n ? void 0 : s("field.date.placeholder.day");
142
+ return z(() => {
143
143
  var c;
144
144
  o && ((c = i.current) == null || c.focus({
145
145
  preventScroll: !0
146
146
  }));
147
- }, a), /* @__PURE__ */ t.createElement(Q, {
147
+ }, a), /* @__PURE__ */ t.createElement(X, {
148
148
  ref: i,
149
149
  id: r,
150
150
  className: e,
@@ -157,11 +157,11 @@ const R = ({ children: e, className: a }) => {
157
157
  R.Label = ke;
158
158
  R.Input = $e;
159
159
  const A = ({ children: e, className: a }) => {
160
- const { disabled: n, readOnly: r, showDateLabels: o } = h(), { labelId: s } = O(d.YEAR), { partValue: i, partError: m, onPartChange: c } = C(d.YEAR), b = u(e, A.Label), p = u(e, A.Input);
160
+ const { disabled: n, readOnly: r, showDateLabels: o } = h(), { labelId: s } = O(d.YEAR), { partValue: i, partError: m, onPartChange: c } = P(d.YEAR), b = u(e, A.Label), p = u(e, A.Input);
161
161
  return /* @__PURE__ */ t.createElement("div", {
162
162
  className: a,
163
163
  "data-date-field": !0
164
- }, o && b, /* @__PURE__ */ t.createElement(J, {
164
+ }, o && b, /* @__PURE__ */ t.createElement(Q, {
165
165
  "aria-labelledby": o ? s : void 0,
166
166
  value: i,
167
167
  onChange: c,
@@ -169,17 +169,17 @@ const A = ({ children: e, className: a }) => {
169
169
  isReadOnly: r,
170
170
  isInvalid: m
171
171
  }, p));
172
- }, ze = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
172
+ }, qe = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
173
173
  datePart: d.YEAR,
174
174
  className: e
175
- }), Ge = ({ className: e }) => {
176
- const { id: a, hidePlaceholder: n } = h(), { inputId: r } = O(d.YEAR), { isFirstPart: o } = C(d.YEAR), { t: s } = y(), i = $(null), m = n ? void 0 : s("field.date.placeholder.year");
177
- return G(() => {
175
+ }), ze = ({ className: e }) => {
176
+ const { id: a, hidePlaceholder: n } = h(), { inputId: r } = O(d.YEAR), { isFirstPart: o } = P(d.YEAR), { t: s } = y(), i = $(null), m = n ? void 0 : s("field.date.placeholder.year");
177
+ return z(() => {
178
178
  var c;
179
179
  o && ((c = i.current) == null || c.focus({
180
180
  preventScroll: !0
181
181
  }));
182
- }, a), /* @__PURE__ */ t.createElement(Q, {
182
+ }, a), /* @__PURE__ */ t.createElement(X, {
183
183
  ref: i,
184
184
  id: r,
185
185
  className: e,
@@ -189,10 +189,10 @@ const A = ({ children: e, className: a }) => {
189
189
  "data-hook": d.YEAR
190
190
  });
191
191
  };
192
- A.Label = ze;
193
- A.Input = Ge;
192
+ A.Label = qe;
193
+ A.Input = ze;
194
194
  const g = ({ children: e, className: a }) => {
195
- const { disabled: n, readOnly: r, use24HourFormat: o, showDateLabels: s } = h(), { labelId: i } = O("time"), { partValue: m, partError: c, onPartChange: b } = C("time"), p = u(e, g.Label), N = u(e, g.Input);
195
+ const { disabled: n, readOnly: r, use24HourFormat: o, showDateLabels: s } = h(), { labelId: i } = O("time"), { partValue: m, partError: c, onPartChange: b } = P("time"), p = u(e, g.Label), N = u(e, g.Input);
196
196
  return /* @__PURE__ */ t.createElement("div", {
197
197
  className: a,
198
198
  "data-date-field": !0
@@ -205,14 +205,14 @@ const g = ({ children: e, className: a }) => {
205
205
  isInvalid: c,
206
206
  hourCycle: o ? 24 : 12
207
207
  }, N));
208
- }, qe = ({ className: e }) => {
208
+ }, Ge = ({ className: e }) => {
209
209
  const { inputId: a, labelId: n } = O("time"), { t: r } = y(), o = r("field.date.label.time");
210
210
  return /* @__PURE__ */ t.createElement("label", {
211
211
  id: n,
212
212
  htmlFor: a,
213
213
  className: e
214
214
  }, o);
215
- }, We = ({ children: e, className: a }) => {
215
+ }, Ke = ({ children: e, className: a }) => {
216
216
  const { hidePlaceholder: n } = h(), r = u(e, g.Hour), o = u(e, g.Minute), s = u(e, g.Period);
217
217
  return /* @__PURE__ */ t.createElement(Ee, {
218
218
  className: a,
@@ -221,28 +221,28 @@ const g = ({ children: e, className: a }) => {
221
221
  }, (i) => {
222
222
  switch (i.type) {
223
223
  case "hour":
224
- return P(r, {
224
+ return C(r, {
225
225
  segment: i
226
226
  }) || /* @__PURE__ */ t.createElement(t.Fragment, null);
227
227
  case "minute":
228
- return P(o, {
228
+ return C(o, {
229
229
  segment: i
230
230
  }) || /* @__PURE__ */ t.createElement(t.Fragment, null);
231
231
  case "dayPeriod":
232
- return P(s, {
232
+ return C(s, {
233
233
  segment: i
234
234
  }) || /* @__PURE__ */ t.createElement(t.Fragment, null);
235
235
  case "literal":
236
- return /* @__PURE__ */ t.createElement(B, {
236
+ return /* @__PURE__ */ t.createElement(x, {
237
237
  segment: i
238
238
  });
239
239
  default:
240
240
  return /* @__PURE__ */ t.createElement(t.Fragment, null);
241
241
  }
242
242
  });
243
- }, Ke = ({ className: e, ...a }) => {
243
+ }, We = ({ className: e, ...a }) => {
244
244
  const { hidePlaceholder: n } = h(), { segment: r } = a, { t: o } = y(), s = n ? void 0 : o("field.date.placeholder.hour");
245
- return /* @__PURE__ */ t.createElement(B, {
245
+ return /* @__PURE__ */ t.createElement(x, {
246
246
  segment: r,
247
247
  className: e,
248
248
  ...s && {
@@ -251,16 +251,16 @@ const g = ({ children: e, className: a }) => {
251
251
  });
252
252
  }, je = ({ className: e, ...a }) => {
253
253
  const { hidePlaceholder: n } = h(), { segment: r } = a, { t: o } = y(), s = n ? void 0 : o("field.date.placeholder.minute");
254
- return /* @__PURE__ */ t.createElement(B, {
254
+ return /* @__PURE__ */ t.createElement(x, {
255
255
  segment: r,
256
256
  className: e,
257
257
  ...s && {
258
258
  placeholder: s
259
259
  }
260
260
  });
261
- }, Je = ({ className: e, ...a }) => {
261
+ }, Qe = ({ className: e, ...a }) => {
262
262
  const { hidePlaceholder: n } = h(), { segment: r } = a, { t: o } = y(), s = le(fe), i = n ? void 0 : o("field.date.placeholder.period"), m = () => s == null ? void 0 : s.increment("dayPeriod");
263
- return /* @__PURE__ */ t.createElement(B, {
263
+ return /* @__PURE__ */ t.createElement(x, {
264
264
  segment: r,
265
265
  className: e,
266
266
  onClick: m,
@@ -269,20 +269,20 @@ const g = ({ children: e, className: a }) => {
269
269
  }
270
270
  });
271
271
  };
272
- g.Label = qe;
273
- g.Input = We;
274
- g.Hour = Ke;
272
+ g.Label = Ge;
273
+ g.Input = Ke;
274
+ g.Hour = We;
275
275
  g.Minute = je;
276
- g.Period = Je;
277
- l.Label = Pe;
276
+ g.Period = Qe;
277
+ l.Label = Ce;
278
278
  l.Month = F;
279
279
  l.Day = R;
280
280
  l.Year = A;
281
281
  l.Time = g;
282
282
  l.Description = Fe;
283
- l.Error = Ce;
283
+ l.Error = Pe;
284
284
  function O(e) {
285
- const { inputId: a } = X();
285
+ const { inputId: a } = Z();
286
286
  return L(() => {
287
287
  const n = e.toLowerCase();
288
288
  return {
@@ -294,31 +294,31 @@ function O(e) {
294
294
  e
295
295
  ]);
296
296
  }
297
- function C(e) {
298
- const { value: a, onChange: n, hasError: r = !1 } = h(), { regionalFormat: o } = z(), [s, i] = L(() => K(a ?? ""), [
297
+ function P(e) {
298
+ const { value: a, onChange: n, hasError: r = !1 } = h(), { regionalFormat: o } = q(), [s, i] = L(() => W(a ?? ""), [
299
299
  a
300
300
  ]), m = L(() => he(r, a ?? ""), [
301
301
  a,
302
302
  r
303
303
  ]), c = L(() => be(s), [
304
304
  s
305
- ]), b = L(() => Qe(i), [
305
+ ]), b = L(() => Xe(i), [
306
306
  i
307
307
  ]), p = U((I) => {
308
- const D = Xe(I), T = j(s, D);
308
+ const D = Ze(I), T = j(s, D);
309
309
  n(T);
310
310
  }, [
311
311
  n,
312
312
  s
313
313
  ]), N = U((I) => {
314
- const [, D] = K(a ?? ""), T = _e(I, e, c), S = j(T, D);
315
- n(S);
314
+ const [, D] = W(a ?? ""), T = _e(I, e, c), M = j(T, D);
315
+ n(M);
316
316
  }, [
317
317
  n,
318
318
  a,
319
319
  c,
320
320
  e
321
- ]), M = L(() => e === "time" ? !1 : Z(o).filter(ee).map((T) => T.toUpperCase())[0] === e, [
321
+ ]), S = L(() => e === "time" ? !1 : J(o).filter(ee).map((T) => T.toUpperCase())[0] === e, [
322
322
  o,
323
323
  e
324
324
  ]);
@@ -331,10 +331,10 @@ function C(e) {
331
331
  partValue: c[e] || "",
332
332
  partError: m[e],
333
333
  onPartChange: N,
334
- isFirstPart: M
334
+ isFirstPart: S
335
335
  };
336
336
  }
337
- function q({ datePart: e, className: a }) {
337
+ function G({ datePart: e, className: a }) {
338
338
  const { inputId: n, labelId: r } = O(e), { t: o } = y(), s = `field.date.label.${e.toLowerCase()}`, i = o(s);
339
339
  return /* @__PURE__ */ t.createElement("label", {
340
340
  id: r,
@@ -342,7 +342,7 @@ function q({ datePart: e, className: a }) {
342
342
  className: a
343
343
  }, i);
344
344
  }
345
- function Qe(e) {
345
+ function Xe(e) {
346
346
  if (!e)
347
347
  return null;
348
348
  try {
@@ -351,7 +351,7 @@ function Qe(e) {
351
351
  return null;
352
352
  }
353
353
  }
354
- function Xe(e) {
354
+ function Ze(e) {
355
355
  if (!e)
356
356
  return null;
357
357
  const a = String(e.hour).padStart(2, "0"), n = String(e.minute).padStart(2, "0"), r = String(e.second).padStart(2, "0");
@@ -361,8 +361,8 @@ function Xe(e) {
361
361
  r
362
362
  ].join(":");
363
363
  }
364
- const Ze = "_fields_1ofw4_1", et = "_month_1ofw4_10", tt = "_day_1ofw4_11", at = "_year_1ofw4_12", nt = "_timeGroup_1ofw4_13", rt = "_dayInput_1ofw4_34", ot = "_yearInput_1ofw4_35", st = "_monthTrigger_1ofw4_39", lt = "_monthOption_1ofw4_59", it = "_time_1ofw4_13", ct = "_hour_1ofw4_81", mt = "_minute_1ofw4_82", dt = "_period_1ofw4_83", f = {
365
- fields: Ze,
364
+ const Je = "_fields_1ofw4_1", et = "_month_1ofw4_10", tt = "_day_1ofw4_11", at = "_year_1ofw4_12", nt = "_timeGroup_1ofw4_13", rt = "_dayInput_1ofw4_34", ot = "_yearInput_1ofw4_35", st = "_monthTrigger_1ofw4_39", lt = "_monthOption_1ofw4_59", it = "_time_1ofw4_13", ct = "_hour_1ofw4_81", mt = "_minute_1ofw4_82", dt = "_period_1ofw4_83", f = {
365
+ fields: Je,
366
366
  month: et,
367
367
  day: tt,
368
368
  year: at,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-CrbYEbJJ.js";
2
+ import { D as t } from "./date-time-input-field-rac-D6JPrbGb.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DateTimeInputRAC
@@ -1,8 +1,8 @@
1
1
  import o from "react";
2
- import { bA as e, aC as t } from "./form-BUqSKOvc.js";
3
- import { C as p } from "./checkbox-group-field-rac-BA60EPAN.js";
2
+ import { by as e, aA as t } from "./form-CCQN_rPn.js";
3
+ import { C as p } from "./checkbox-group-field-rac-moHc5Cyu.js";
4
4
  import { D as s } from "./default-limits-D7qVv_Hv.js";
5
- const n = () => {
5
+ const C = () => {
6
6
  const r = {
7
7
  ...e(),
8
8
  otherInputCharacterLimit: s
@@ -14,5 +14,5 @@ const n = () => {
14
14
  }, /* @__PURE__ */ o.createElement(p, null));
15
15
  };
16
16
  export {
17
- n as DextCheckboxGroupRAC
17
+ C as DextCheckboxGroupRAC
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-CMwmwFMD.js";
2
+ import { C as t } from "./checkbox-field-rac-BBftIi_U.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  c as DextCheckboxRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-picker-field-rac-CeG391Zo.js";
2
+ import { D as t } from "./date-picker-field-rac-w4Wf-m0I.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextDatePickerRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-CrbYEbJJ.js";
2
+ import { D as t } from "./date-time-input-field-rac-D6JPrbGb.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextDateTimeInputRAC
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DlGKR7pZ.js";
2
+ import { D as r } from "./dropdown-field-rac-y4GPpf0W.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DextDropdownRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-CVw25yRo.js";
2
+ import { E as e } from "./email-input-field-rac-BT2FrAEM.js";
3
3
  const l = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  l as DextEmailRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as t } from "./number-input-field-rac-CBUMqATk.js";
2
+ import { N as t } from "./number-input-field-rac-XqxdqTRV.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextNumberInputRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as t } from "./phone-input-field-rac-COlu9IeC.js";
2
+ import { P as t } from "./phone-input-field-rac-DW2vQhjC.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  r as DextPhoneRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { bA as e, aC as t } from "./form-BUqSKOvc.js";
3
- import { R as p } from "./radio-group-field-rac-Cp3LRN3C.js";
2
+ import { by as e, aA as t } from "./form-CCQN_rPn.js";
3
+ import { R as p } from "./radio-group-field-rac-BOEWcfT9.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-10n6ciCr.js";
2
+ import { R as e } from "./rating-input-field-rac-83FXIVpy.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { bA as e, aC as o } from "./form-BUqSKOvc.js";
3
- import { T as s } from "./tags-field-rac-sVN6MHfJ.js";
2
+ import { by as e, aA as o } from "./form-CCQN_rPn.js";
3
+ import { T as s } from "./tags-field-rac-D9P1jVrz.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-DrWkww7W.js";
2
+ import { T as t } from "./text-area-field-rac-D_55oi2b.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextTextAreaRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-C2YiMr-g.js";
2
+ import { T as e } from "./text-input-field-rac-b7RXb4Ob.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextTextInputRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { U as r } from "./url-input-field-rac-twxRREnl.js";
2
+ import { U as r } from "./url-input-field-rac-_yxWlb3a.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC