@wix/form-elements 1.160.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 (108) hide show
  1. package/dist/component/{appointment-rac-BmHu56e5.js → appointment-rac-BubC8I9X.js} +395 -388
  2. package/dist/component/{bookings-address-rac-DY9l2g0h.js → bookings-address-rac-BbwvVs86.js} +1 -1
  3. package/dist/component/{bookings-email-rac-B5vNSOsS.js → bookings-email-rac-C2HCkcfa.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CJiefCNz.js → bookings-first-name-rac-Uy7c5EBs.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BFu7Ko5w.js → bookings-header-rac-nmwsWRjS.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DegMM13h.js → bookings-last-name-rac-BAioQLCg.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DrA-5tBH.js → bookings-login-bar-rac-CO6vOBjG.js} +7 -7
  8. package/dist/component/{bookings-phone-rac-DsaeqxCI.js → bookings-phone-rac-Cr16h-_R.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-jRHiwqi8.js → bookings-rich-text-rac-CHLH3jd7.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CyoBb6Yf.js → checkbox-field-rac-CMwmwFMD.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-Bv1gU3oL.js → checkbox-group-field-headless-BNs_S-nT.js} +24 -24
  12. package/dist/component/{checkbox-group-field-rac-DasArcdV.js → checkbox-group-field-rac-BA60EPAN.js} +12 -12
  13. package/dist/component/{checkbox-group-rac-CzmufV1U.js → checkbox-group-rac-BJZ4Oer9.js} +1 -1
  14. package/dist/component/{checkbox-rac-6C7XoUoZ.js → checkbox-rac-KsVlI6_V.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BZobbFtz.js → contacts-address-rac-CRYkz87z.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DIzf41DS.js → contacts-birthdate-rac-BIz-1-ZX.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BiBDO28r.js → contacts-company-rac-B8G__j6I.js} +1 -1
  18. package/dist/component/{contacts-email-rac-5mqokCSD.js → contacts-email-rac-Dztkvp5i.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-BXe3_Nz5.js → contacts-first-name-rac-CVSEWpLU.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Cfqgh7u1.js → contacts-last-name-rac-Blz4M5bk.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-cmLUWnAc.js → contacts-phone-rac-CPCE5soY.js} +1 -1
  22. package/dist/component/{contacts-position-rac-DTyvklfN.js → contacts-position-rac-Dd_kBjqG.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-D-ZEX1A3.js → contacts-subscribe-rac-C6AlsP10.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-B4NYJwWt.js → contacts-tax-id-rac-CQ1n29zI.js} +1 -1
  25. package/dist/component/{date-availability-Dach9aRC.js → date-availability-DDj1j0z5.js} +1 -1
  26. package/dist/component/{date-input-field-rac-B72mHcya.js → date-input-field-rac-D5r1n_ah.js} +59 -59
  27. package/dist/component/{date-input-rac-CYix11gT.js → date-input-rac-Cyi5mU_P.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-B8pvtPir.js → date-picker-field-rac-CeG391Zo.js} +34 -34
  29. package/dist/component/{date-picker-rac-D6cR0zH9.js → date-picker-rac-Ci9aHgav.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-B7Y3Yf5l.js → date-time-input-field-rac-CrbYEbJJ.js} +89 -89
  31. package/dist/component/{date-time-input-rac-DMN-noQX.js → date-time-input-rac-DDJLkqs0.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-Kq0GnteP.js → dext-checkbox-group-rac-C3ftVHBA.js} +4 -4
  33. package/dist/component/{dext-checkbox-rac-BY9GZ4n1.js → dext-checkbox-rac-BGLYWn68.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CXArIddp.js → dext-date-picker-rac-Cy9RlDlt.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-B39TtxGq.js → dext-date-time-input-rac-88ZoTd5e.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-C3y0G8cS.js → dext-dropdown-rac-CPxDUuk9.js} +1 -1
  37. package/dist/component/{dext-email-rac-BIg3cq7Q.js → dext-email-rac-BAvQwDPA.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-27sHJ7yN.js → dext-number-input-rac-D7HYQVKq.js} +1 -1
  39. package/dist/component/{dext-phone-rac-CcohoFQp.js → dext-phone-rac--FhcplSI.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-eead3Gve.js → dext-radio-group-rac-DBz8iCKW.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-B_E6OcBr.js → dext-rating-input-rac-Cv7nThfe.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Yd9aAtnF.js → dext-tags-rac-CRUUc5dr.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-CMACri2C.js → dext-text-area-rac-DQBQXV1L.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-sNjSCfQ-.js → dext-text-input-rac-4CpM581y.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DwhbzJty.js → dext-url-input-rac-0C1jTEr9.js} +1 -1
  46. package/dist/component/{donation-rac-BVAN3kMk.js → donation-rac-Cgt0ZE50.js} +68 -68
  47. package/dist/component/{dropdown-field-rac-DdoGigWx.js → dropdown-field-rac-DlGKR7pZ.js} +3 -3
  48. package/dist/component/{dropdown-rac-CRkt5w47.js → dropdown-rac-CYFW_3x_.js} +1 -1
  49. package/dist/component/{ecom-address-rac-C36hFHW0.js → ecom-address-rac-CQfQHpXC.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-BKfQ348w.js → ecom-subscription-checkbox-rac-D2v2Upvz.js} +2 -2
  51. package/dist/component/{email-input-field-rac-MOaISYxa.js → email-input-field-rac-CVw25yRo.js} +45 -45
  52. package/dist/component/{events-repeater-rac-D6p-NgE8.js → events-repeater-rac-BCVUcmFj.js} +22 -22
  53. package/dist/component/{events-rsvp-rac-DVpgN8gm.js → events-rsvp-rac-DwbqEr8z.js} +3 -3
  54. package/dist/component/{field-error-headless-XNWmDH3E.js → field-error-headless-XnVcMmsL.js} +3 -3
  55. package/dist/component/{field-label-headless-CORRAJGt.js → field-label-headless-BRTLT2Yt.js} +14 -14
  56. package/dist/component/{file-upload-rac-DRMr7E4b.js → file-upload-rac-Dkwg9Jk4.js} +115 -115
  57. package/dist/component/{fixed-payment-rac-BUXzNex9.js → fixed-payment-rac-ST98xAa2.js} +20 -20
  58. package/dist/component/{form-DSpx-AO8.js → form-BUqSKOvc.js} +235 -234
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-CiDXlNsa.js → header-field-rac-CzNTGYWq.js} +5 -5
  61. package/dist/component/{header-rac-B5Rg-h8u.js → header-rac-DUt6AIAE.js} +1 -1
  62. package/dist/component/{image-choice-rac-CtoA_KDp.js → image-choice-rac-DuBgrSt2.js} +21 -21
  63. package/dist/component/{index-Bz7ZhQsF.js → index-CDO22hht.js} +106 -106
  64. package/dist/component/{index-CwruESwc.js → index-cZZeAuuu.js} +5 -5
  65. package/dist/component/{isObjectLike-C5dHxHP0.js → isObjectLike-cs4bARpC.js} +3 -3
  66. package/dist/component/{multiline-address-field-rac-Z-qF366L.js → multiline-address-field-rac-vcEWhUCV.js} +73 -73
  67. package/dist/component/{multiline-address-rac-CJIHTMw5.js → multiline-address-rac-WQaI2eUX.js} +1 -1
  68. package/dist/component/{number-input-field-rac-D4vf6I6N.js → number-input-field-rac-CBUMqATk.js} +26 -26
  69. package/dist/component/{number-input-rac-B2jW6JUQ.js → number-input-rac-B4j5hyzS.js} +1 -1
  70. package/dist/component/{password-rac-DGRZ17Jl.js → password-rac-DwLyf45N.js} +28 -28
  71. package/dist/component/{payment-input-rac-BtD-tAKv.js → payment-input-rac-D0Od---y.js} +28 -28
  72. package/dist/component/{phone-input-field-rac-KD4-APhr.js → phone-input-field-rac-COlu9IeC.js} +64 -64
  73. package/dist/component/{phone-rac-Cw2yccgg.js → phone-rac-Dh4RacOF.js} +1 -1
  74. package/dist/component/{product-list-rac-XbzTDdbp.js → product-list-rac-D7zHDE2D.js} +47 -47
  75. package/dist/component/{quiz-radio-group-rac-BDw_mAw5.js → quiz-radio-group-rac-1AaKphJt.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-CFGf0Hzh.js → radio-button-module-classes-VqaP6vpA.js} +29 -29
  77. package/dist/component/{radio-group-field-rac-CXN7tyVu.js → radio-group-field-rac-Cp3LRN3C.js} +6 -6
  78. package/dist/component/{radio-group-rac-COHzqjBh.js → radio-group-rac-KhmhzYGf.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-DCXNZgf1.js → rating-input-field-rac-10n6ciCr.js} +22 -22
  80. package/dist/component/{rating-input-rac-DwQt9ML7.js → rating-input-rac-XZjjY2Gp.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-B7rPwNns.js → rich-content-rac.module-kMwDoLBa.js} +1 -1
  82. package/dist/component/{rich-text-field-rac-DlER7NRD.js → rich-text-field-rac-H5bd8fAt.js} +6 -6
  83. package/dist/component/{rich-text-rac-CjicsHA7.js → rich-text-rac-88GSQR62.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-B81LC_6_.js → service-dropdown-rac-B1_Xr_X3.js} +31 -31
  85. package/dist/component/{services-multi-choice-rac-BR6gZeHk.js → services-multi-choice-rac-DWp_Llbi.js} +17 -17
  86. package/dist/component/{signature-rac-XFj7Ddtp.js → signature-rac-zN_6KRDp.js} +44 -44
  87. package/dist/component/{submit-button-rac-Bz7zs_3W.js → submit-button-rac-Dv6UarYX.js} +2 -2
  88. package/dist/component/{tags-field-rac-DWWkNKqc.js → tags-field-rac-sVN6MHfJ.js} +38 -38
  89. package/dist/component/{tags-rac-BXyiQ9i1.js → tags-rac-DhTHs_XN.js} +1 -1
  90. package/dist/component/{text-area-field-rac-DsIRYi0d.js → text-area-field-rac-DrWkww7W.js} +21 -21
  91. package/dist/component/{text-area-rac-CF9pDP9d.js → text-area-rac-CXXh-ZdY.js} +1 -1
  92. package/dist/component/{text-input-field-rac-BwIDZACz.js → text-input-field-rac-C2YiMr-g.js} +3 -3
  93. package/dist/component/{text-input-headless-5kQs2_Xu.js → text-input-headless-BJMNbsMY.js} +12 -12
  94. package/dist/component/{text-input-rac-CRmSuw1k.js → text-input-rac-CpsPh7FH.js} +1 -1
  95. package/dist/component/{time-input-rac-BRMNpe51.js → time-input-rac-DG_1KxS4.js} +23 -23
  96. package/dist/component/{url-input-field-rac-CKLS3QDk.js → url-input-field-rac-twxRREnl.js} +26 -26
  97. package/dist/component/{url-input-rac-Dv-kp50D.js → url-input-rac-BTStO0NP.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-BQi_qE_-.js → use-dropdown-option-class-name-DbMMg1ws.js} +2 -2
  99. package/dist/component/{use-dropdown-trigger-class-name-bAK8aHiG.js → use-dropdown-trigger-class-name-Yes4kC_0.js} +17 -17
  100. package/dist/component/{use-element-state-class-name-rXM_lHug.js → use-element-state-class-name-DlncY4hk.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-BnV_uerV.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-CLeE9-Tx.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 +3 -0
  106. package/package.json +2 -2
  107. package/dist/component/use-is-forced-open-dropdown-Bp-5Xpmw.js +0 -53
  108. package/dist/component/use-text-input-class-name-DIKWvfkm.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 B, useRef as z, useContext as le } from "react";
3
+ import t, { useMemo as L, useState as W, 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 K, TimeField as ue, SelectValue as pe, Input as Q, DateInput as Ee, DateSegment as x, TimeFieldStateContext as fe } from "react-aria-components";
7
- import { bz as h, bw as X, br as $, b4 as Z, bh as ee, aT as d, bJ as y, bl as j, b6 as he, a_ as be, bo as _e, b0 as J, bB as q, t as Ie, V as ge, ab as De, v as V, I as Ne, L as Te, z as Oe, u as Le, w as k } from "./form-DSpx-AO8.js";
8
- import { f as u, a as C } from "./find-child-C60k4CxG.js";
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";
9
9
  import { g as ye } from "./helpers-HmkkXrh2.js";
10
- import { D as Fe, E as Pe } from "./field-error-headless-XNWmDH3E.js";
11
- import { L as Ce } from "./field-label-headless-CORRAJGt.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 we } from "./use-is-forced-open-dropdown-Bp-5Xpmw.js";
15
- import { V as ve, u as Ve } from "./use-dropdown-option-class-name-BQi_qE_-.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";
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
19
  import { s as _ } from "./field-rac.module-DP0lkkEv.js";
20
- import { u as H } from "./use-hoverable-input-class-name-BnV_uerV.js";
20
+ import { u as H } from "./use-hoverable-input-class-name-C__zqP5j.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 } = $(), N = L(() => Z(p).filter(ee).map((M) => M.toUpperCase()), [
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()), [
23
23
  p
24
- ]), S = u(e, l.Label), w = u(e, l.Description), g = u(e, l.Error), D = {
24
+ ]), M = 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: () => C(S, {
31
+ renderLabel: () => P(M, {
32
32
  as: "div"
33
33
  }),
34
- renderInput: () => /* @__PURE__ */ t.createElement(Se, {
34
+ renderInput: () => /* @__PURE__ */ t.createElement(Me, {
35
35
  id: m,
36
36
  ariaLabelledBy: c,
37
37
  ariaDescribedBy: b,
@@ -40,16 +40,16 @@ const l = ({ children: e, className: a }) => {
40
40
  onFocus: s,
41
41
  className: a
42
42
  }, D[N[0]], D[N[1]], D[N[2]], T),
43
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, g, w)
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 } = P(d.MONTH), { t: N } = y(), [S, w] = W(!1), g = we(n), [D, T] = W(null), M = i ? Re : N("field.date.placeholder.month"), te = B((v) => {
47
- o || p(typeof v == "string" ? v : "");
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) => {
47
+ o || p(typeof w == "string" ? w : "");
48
48
  }, [
49
49
  p,
50
50
  o
51
- ]), ae = B((v) => {
52
- w(v && !o);
51
+ ]), ae = U((w) => {
52
+ v(w && !o);
53
53
  }, [
54
54
  o
55
55
  ]), ne = u(e, F.Label), re = u(e, F.Trigger), oe = u(e, F.Options);
@@ -69,18 +69,18 @@ const l = ({ children: e, className: a }) => {
69
69
  onChange: te,
70
70
  isDisabled: r,
71
71
  isInvalid: b,
72
- placeholder: M,
73
- isOpen: g || S,
74
- onOpenChange: g ? void 0 : ae
75
- }, re, C(oe, {
76
- isForcedOpen: g
72
+ placeholder: S,
73
+ isOpen: I || M,
74
+ onOpenChange: I ? void 0 : ae
75
+ }, re, P(oe, {
76
+ isForcedOpen: I
77
77
  }))));
78
- }, Be = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
78
+ }, Ue = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
79
79
  datePart: d.MONTH,
80
80
  className: e
81
- }), Ue = ({ children: e, className: a }) => {
82
- const { id: n, readOnly: r } = h(), { inputId: o } = O(d.MONTH), { partError: s, isFirstPart: i } = P(d.MONTH), m = z(null);
83
- return q(() => {
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(() => {
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
- }, U = ({ children: e, className: a, ...n }) => {
97
- const { isForcedOpen: r } = n, { language: o } = $(), s = L(() => ye(o), [
96
+ }, x = ({ children: e, className: a, ...n }) => {
97
+ const { isForcedOpen: r } = n, { language: o } = z(), s = L(() => ye(o), [
98
98
  o
99
- ]), i = u(e, U.Option) ?? /* @__PURE__ */ t.createElement(U.Option, null);
100
- return /* @__PURE__ */ t.createElement(Me, {
99
+ ]), i = u(e, x.Option) ?? /* @__PURE__ */ t.createElement(x.Option, null);
100
+ return /* @__PURE__ */ t.createElement(Se, {
101
101
  className: a,
102
102
  containerPadding: 0,
103
103
  offset: 0
104
- }, /* @__PURE__ */ t.createElement(ve, {
104
+ }, /* @__PURE__ */ t.createElement(we, {
105
105
  isForcedOpen: r,
106
106
  autoFocus: r ? !1 : void 0
107
- }, s.map((m, c) => C(i, {
107
+ }, s.map((m, c) => P(i, {
108
108
  key: String(c + 1),
109
109
  value: String(c + 1),
110
110
  label: m
111
111
  }))));
112
- }, xe = ({ className: e, ...a }) => {
112
+ }, Be = ({ className: e, ...a }) => {
113
113
  const { value: n, label: r } = a;
114
114
  return /* @__PURE__ */ t.createElement(me, {
115
115
  className: e,
@@ -117,16 +117,16 @@ const l = ({ children: e, className: a }) => {
117
117
  textValue: r
118
118
  }, r);
119
119
  };
120
- F.Label = Be;
121
- F.Trigger = Ue;
122
- F.Options = U;
123
- U.Option = xe;
120
+ F.Label = Ue;
121
+ F.Trigger = xe;
122
+ F.Options = x;
123
+ x.Option = Be;
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 } = P(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 } = C(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(K, {
129
+ }, o && b, /* @__PURE__ */ t.createElement(J, {
130
130
  "aria-labelledby": o ? s : void 0,
131
131
  value: i,
132
132
  onChange: c,
@@ -134,12 +134,12 @@ const R = ({ children: e, className: a }) => {
134
134
  isReadOnly: r,
135
135
  isInvalid: m
136
136
  }, p));
137
- }, ke = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
137
+ }, ke = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
138
138
  datePart: d.DAY,
139
139
  className: e
140
- }), ze = ({ className: e }) => {
141
- const { id: a, hidePlaceholder: n } = h(), { inputId: r } = O(d.DAY), { isFirstPart: o } = P(d.DAY), { t: s } = y(), i = z(null), m = n ? void 0 : s("field.date.placeholder.day");
142
- return q(() => {
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(() => {
143
143
  var c;
144
144
  o && ((c = i.current) == null || c.focus({
145
145
  preventScroll: !0
@@ -155,13 +155,13 @@ const R = ({ children: e, className: a }) => {
155
155
  });
156
156
  };
157
157
  R.Label = ke;
158
- R.Input = ze;
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 } = P(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 } = C(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(K, {
164
+ }, o && b, /* @__PURE__ */ t.createElement(J, {
165
165
  "aria-labelledby": o ? s : void 0,
166
166
  value: i,
167
167
  onChange: c,
@@ -169,12 +169,12 @@ const A = ({ children: e, className: a }) => {
169
169
  isReadOnly: r,
170
170
  isInvalid: m
171
171
  }, p));
172
- }, $e = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
172
+ }, ze = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
173
173
  datePart: d.YEAR,
174
174
  className: e
175
- }), qe = ({ className: e }) => {
176
- const { id: a, hidePlaceholder: n } = h(), { inputId: r } = O(d.YEAR), { isFirstPart: o } = P(d.YEAR), { t: s } = y(), i = z(null), m = n ? void 0 : s("field.date.placeholder.year");
177
- return q(() => {
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(() => {
178
178
  var c;
179
179
  o && ((c = i.current) == null || c.focus({
180
180
  preventScroll: !0
@@ -189,10 +189,10 @@ const A = ({ children: e, className: a }) => {
189
189
  "data-hook": d.YEAR
190
190
  });
191
191
  };
192
- A.Label = $e;
193
- A.Input = qe;
194
- const I = ({ 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 } = P("time"), p = u(e, I.Label), N = u(e, I.Input);
192
+ A.Label = ze;
193
+ A.Input = Ge;
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);
196
196
  return /* @__PURE__ */ t.createElement("div", {
197
197
  className: a,
198
198
  "data-date-field": !0
@@ -205,7 +205,7 @@ const I = ({ children: e, className: a }) => {
205
205
  isInvalid: c,
206
206
  hourCycle: o ? 24 : 12
207
207
  }, N));
208
- }, Ge = ({ className: e }) => {
208
+ }, qe = ({ 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,
@@ -213,7 +213,7 @@ const I = ({ children: e, className: a }) => {
213
213
  className: e
214
214
  }, o);
215
215
  }, We = ({ children: e, className: a }) => {
216
- const { hidePlaceholder: n } = h(), r = u(e, I.Hour), o = u(e, I.Minute), s = u(e, I.Period);
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,
219
219
  "data-hook": "time",
@@ -221,46 +221,46 @@ const I = ({ children: e, className: a }) => {
221
221
  }, (i) => {
222
222
  switch (i.type) {
223
223
  case "hour":
224
- return C(r, {
224
+ return P(r, {
225
225
  segment: i
226
226
  }) || /* @__PURE__ */ t.createElement(t.Fragment, null);
227
227
  case "minute":
228
- return C(o, {
228
+ return P(o, {
229
229
  segment: i
230
230
  }) || /* @__PURE__ */ t.createElement(t.Fragment, null);
231
231
  case "dayPeriod":
232
- return C(s, {
232
+ return P(s, {
233
233
  segment: i
234
234
  }) || /* @__PURE__ */ t.createElement(t.Fragment, null);
235
235
  case "literal":
236
- return /* @__PURE__ */ t.createElement(x, {
236
+ return /* @__PURE__ */ t.createElement(B, {
237
237
  segment: i
238
238
  });
239
239
  default:
240
240
  return /* @__PURE__ */ t.createElement(t.Fragment, null);
241
241
  }
242
242
  });
243
- }, je = ({ className: e, ...a }) => {
243
+ }, Ke = ({ 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(x, {
245
+ return /* @__PURE__ */ t.createElement(B, {
246
246
  segment: r,
247
247
  className: e,
248
248
  ...s && {
249
249
  placeholder: s
250
250
  }
251
251
  });
252
- }, Je = ({ className: e, ...a }) => {
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(x, {
254
+ return /* @__PURE__ */ t.createElement(B, {
255
255
  segment: r,
256
256
  className: e,
257
257
  ...s && {
258
258
  placeholder: s
259
259
  }
260
260
  });
261
- }, Ke = ({ className: e, ...a }) => {
261
+ }, Je = ({ 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(x, {
263
+ return /* @__PURE__ */ t.createElement(B, {
264
264
  segment: r,
265
265
  className: e,
266
266
  onClick: m,
@@ -269,18 +269,18 @@ const I = ({ children: e, className: a }) => {
269
269
  }
270
270
  });
271
271
  };
272
- I.Label = Ge;
273
- I.Input = We;
274
- I.Hour = je;
275
- I.Minute = Je;
276
- I.Period = Ke;
277
- l.Label = Ce;
272
+ g.Label = qe;
273
+ g.Input = We;
274
+ g.Hour = Ke;
275
+ g.Minute = je;
276
+ g.Period = Je;
277
+ l.Label = Pe;
278
278
  l.Month = F;
279
279
  l.Day = R;
280
280
  l.Year = A;
281
- l.Time = I;
281
+ l.Time = g;
282
282
  l.Description = Fe;
283
- l.Error = Pe;
283
+ l.Error = Ce;
284
284
  function O(e) {
285
285
  const { inputId: a } = X();
286
286
  return L(() => {
@@ -294,8 +294,8 @@ function O(e) {
294
294
  e
295
295
  ]);
296
296
  }
297
- function P(e) {
298
- const { value: a, onChange: n, hasError: r = !1 } = h(), { regionalFormat: o } = $(), [s, i] = L(() => j(a ?? ""), [
297
+ function C(e) {
298
+ const { value: a, onChange: n, hasError: r = !1 } = h(), { regionalFormat: o } = z(), [s, i] = L(() => K(a ?? ""), [
299
299
  a
300
300
  ]), m = L(() => he(r, a ?? ""), [
301
301
  a,
@@ -304,21 +304,21 @@ function P(e) {
304
304
  s
305
305
  ]), b = L(() => Qe(i), [
306
306
  i
307
- ]), p = B((g) => {
308
- const D = Xe(g), T = J(s, D);
307
+ ]), p = U((I) => {
308
+ const D = Xe(I), T = j(s, D);
309
309
  n(T);
310
310
  }, [
311
311
  n,
312
312
  s
313
- ]), N = B((g) => {
314
- const [, D] = j(a ?? ""), T = _e(g, e, c), M = J(T, D);
315
- n(M);
313
+ ]), N = U((I) => {
314
+ const [, D] = K(a ?? ""), T = _e(I, e, c), S = j(T, D);
315
+ n(S);
316
316
  }, [
317
317
  n,
318
318
  a,
319
319
  c,
320
320
  e
321
- ]), S = L(() => e === "time" ? !1 : Z(o).filter(ee).map((T) => T.toUpperCase())[0] === e, [
321
+ ]), M = L(() => e === "time" ? !1 : Z(o).filter(ee).map((T) => T.toUpperCase())[0] === e, [
322
322
  o,
323
323
  e
324
324
  ]);
@@ -331,10 +331,10 @@ function P(e) {
331
331
  partValue: c[e] || "",
332
332
  partError: m[e],
333
333
  onPartChange: N,
334
- isFirstPart: S
334
+ isFirstPart: M
335
335
  };
336
336
  }
337
- function G({ datePart: e, className: a }) {
337
+ function q({ 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,
@@ -389,9 +389,9 @@ const Ze = "_fields_1ofw4_1", et = "_month_1ofw4_10", tt = "_day_1ofw4_11", at =
389
389
  f.time
390
390
  ]);
391
391
  return /* @__PURE__ */ t.createElement(l, {
392
- className: E(Ie, f.fields)
392
+ className: E(ge, f.fields)
393
393
  }, /* @__PURE__ */ t.createElement(l.Label, {
394
- className: E(ge, _.label)
394
+ className: E(Ie, _.label)
395
395
  }, /* @__PURE__ */ t.createElement(l.Label.Required, {
396
396
  className: E(De, _.requiredMark)
397
397
  })), /* @__PURE__ */ t.createElement(l.Month, {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-B7Y3Yf5l.js";
2
+ import { D as t } from "./date-time-input-field-rac-CrbYEbJJ.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 { bz as e, aB as t } from "./form-DSpx-AO8.js";
3
- import { C as p } from "./checkbox-group-field-rac-DasArcdV.js";
2
+ import { bA as e, aC as t } from "./form-BUqSKOvc.js";
3
+ import { C as p } from "./checkbox-group-field-rac-BA60EPAN.js";
4
4
  import { D as s } from "./default-limits-D7qVv_Hv.js";
5
- const C = () => {
5
+ const n = () => {
6
6
  const r = {
7
7
  ...e(),
8
8
  otherInputCharacterLimit: s
@@ -14,5 +14,5 @@ const C = () => {
14
14
  }, /* @__PURE__ */ o.createElement(p, null));
15
15
  };
16
16
  export {
17
- C as DextCheckboxGroupRAC
17
+ n as DextCheckboxGroupRAC
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-CyoBb6Yf.js";
2
+ import { C as t } from "./checkbox-field-rac-CMwmwFMD.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-B8pvtPir.js";
2
+ import { D as t } from "./date-picker-field-rac-CeG391Zo.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-B7Y3Yf5l.js";
2
+ import { D as t } from "./date-time-input-field-rac-CrbYEbJJ.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-DdoGigWx.js";
2
+ import { D as r } from "./dropdown-field-rac-DlGKR7pZ.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-MOaISYxa.js";
2
+ import { E as e } from "./email-input-field-rac-CVw25yRo.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-D4vf6I6N.js";
2
+ import { N as t } from "./number-input-field-rac-CBUMqATk.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-KD4-APhr.js";
2
+ import { P as t } from "./phone-input-field-rac-COlu9IeC.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 { bz as e, aB as t } from "./form-DSpx-AO8.js";
3
- import { R as p } from "./radio-group-field-rac-CXN7tyVu.js";
2
+ import { bA as e, aC as t } from "./form-BUqSKOvc.js";
3
+ import { R as p } from "./radio-group-field-rac-Cp3LRN3C.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-DCXNZgf1.js";
2
+ import { R as e } from "./rating-input-field-rac-10n6ciCr.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 { bz as e, aB as o } from "./form-DSpx-AO8.js";
3
- import { T as s } from "./tags-field-rac-DWWkNKqc.js";
2
+ import { bA as e, aC as o } from "./form-BUqSKOvc.js";
3
+ import { T as s } from "./tags-field-rac-sVN6MHfJ.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-DsIRYi0d.js";
2
+ import { T as t } from "./text-area-field-rac-DrWkww7W.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-BwIDZACz.js";
2
+ import { T as e } from "./text-input-field-rac-C2YiMr-g.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-CKLS3QDk.js";
2
+ import { U as r } from "./url-input-field-rac-twxRREnl.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC