@wix/form-elements 1.108.0 → 1.110.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/component/{appointment-rac-ZAp8oWbK.js → appointment-rac-CfPs6AsU.js} +60 -60
  2. package/dist/component/{bookings-address-rac-x-Az7vHf.js → bookings-address-rac-XkgsBu8i.js} +1 -1
  3. package/dist/component/{bookings-email-rac-MoF_CaqB.js → bookings-email-rac-CyESeQLD.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CWh3Rb0M.js → bookings-first-name-rac-CFY5Qwk9.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BVTiXUWk.js → bookings-header-rac-lRsebspV.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-kXRRlyHl.js → bookings-last-name-rac-B7J2K4oK.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-C4Zr6kXE.js → bookings-login-bar-rac-BD97U76_.js} +3 -3
  8. package/dist/component/{bookings-phone-rac-2rz1m_xi.js → bookings-phone-rac-CpgDCLTp.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-BEjGypQw.js → bookings-rich-text-rac-DQUQMN3s.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DwEQLIaz.js → checkbox-field-rac-CcOW4yol.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-BsOww_QB.js → checkbox-group-field-headless-DiBxnwOj.js} +8 -8
  12. package/dist/component/{checkbox-group-field-rac-DTcZcVS6.js → checkbox-group-field-rac-BCzS44NM.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-DQsML-pW.js → checkbox-group-rac-C2oHVikX.js} +1 -1
  14. package/dist/component/{checkbox-rac-irEBBOxP.js → checkbox-rac-DPhswfJ9.js} +1 -1
  15. package/dist/component/{contacts-address-rac-B5bSAYrm.js → contacts-address-rac-Cjqot4Vo.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DyScj8f4.js → contacts-birthdate-rac-C3uYlFa3.js} +1 -1
  17. package/dist/component/{contacts-company-rac-C5X9-jXa.js → contacts-company-rac-BDmDrlJm.js} +1 -1
  18. package/dist/component/{contacts-email-rac-B0vkfmrS.js → contacts-email-rac-9NI8430K.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Cfil3U_e.js → contacts-first-name-rac-PNgDNwXZ.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-CtPLE-7-.js → contacts-last-name-rac-Dkf8oYRe.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-YkzsAoBZ.js → contacts-phone-rac-BefG0umR.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BS4j8QC-.js → contacts-position-rac-8ZWMa74Q.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-z_9VsEZL.js → contacts-subscribe-rac-Dj0k_O2C.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-WFkmKyZv.js → contacts-tax-id-rac-Dbz0SEH9.js} +1 -1
  25. package/dist/component/{date-availability-NN3rxosk.js → date-availability-CpZYBX1d.js} +1 -1
  26. package/dist/component/{date-input-field-rac-mdhEC3oq.js → date-input-field-rac-8CkusNEQ.js} +64 -64
  27. package/dist/component/{date-input-rac-CGciuoTx.js → date-input-rac-CH1ke9-c.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CRZVODfF.js → date-picker-field-rac-pZQhHvZc.js} +31 -31
  29. package/dist/component/{date-picker-rac-Bfbvjy8W.js → date-picker-rac-BOdzNgu6.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-TDWBXZ44.js → date-time-input-field-rac-DDUZvi8G.js} +70 -70
  31. package/dist/component/{date-time-input-rac-DY0qdSix.js → date-time-input-rac-DkjW7KId.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BFGM7SOt.js → dext-checkbox-group-rac-Cjx062TO.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-DPZvTeUZ.js → dext-checkbox-rac-CIqsZ8Cf.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-Xd5kojsQ.js → dext-date-picker-rac-BYQN00yy.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-C0RIdxJW.js → dext-date-time-input-rac-Bh-HYZ_X.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-D1m8vJvm.js → dext-dropdown-rac-rnkUqsSx.js} +1 -1
  37. package/dist/component/{dext-email-rac-BC81RFYY.js → dext-email-rac-DtW_DadC.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-Z_ih9FfX.js → dext-number-input-rac-DTfdLXFG.js} +1 -1
  39. package/dist/component/{dext-phone-rac-s3BOnXuI.js → dext-phone-rac-D3anV8iB.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-CL3jcezs.js → dext-radio-group-rac-CIO_2H7F.js} +4 -4
  41. package/dist/component/{dext-rating-input-rac-wz1EyP5b.js → dext-rating-input-rac-Bdtbwo1W.js} +1 -1
  42. package/dist/component/{dext-tags-rac-BY4Rf2BP.js → dext-tags-rac-DT4_lRM0.js} +4 -4
  43. package/dist/component/{dext-text-area-rac-DRJzlsq8.js → dext-text-area-rac-BgMlIgik.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-BGcRNNAi.js → dext-text-input-rac-DDc6-lsN.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CRAIm8yp.js → dext-url-input-rac-CrOT7XQf.js} +1 -1
  46. package/dist/component/{donation-rac-BlTfOIlE.js → donation-rac-CORUAfww.js} +74 -74
  47. package/dist/component/{dropdown-field-headless-DhzRAMcM.js → dropdown-field-headless-B-82vlHV.js} +10 -10
  48. package/dist/component/{dropdown-field-rac-DXyY5we-.js → dropdown-field-rac-AYGyhYSH.js} +3 -3
  49. package/dist/component/{dropdown-rac-C6YM6qxm.js → dropdown-rac-g-zqV-y4.js} +1 -1
  50. package/dist/component/{ecom-address-rac-CAdr7wya.js → ecom-address-rac-BQqh4QrW.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-Z2VMuCbt.js → ecom-subscription-checkbox-rac-Cf7Ou6Om.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DpkfunVK.js → email-input-field-rac-BFrfF6TW.js} +47 -47
  53. package/dist/component/{events-repeater-rac-CuJkdrPo.js → events-repeater-rac-CNifjThM.js} +8 -8
  54. package/dist/component/{events-rsvp-rac-BKWlSeQ9.js → events-rsvp-rac-CnW7CNdo.js} +10 -10
  55. package/dist/component/{field-error-headless-tsg9FQ-_.js → field-error-headless-BLgaEh1d.js} +11 -11
  56. package/dist/component/{field-label-headless-CB8dEat8.js → field-label-headless-C8NbnF9M.js} +4 -4
  57. package/dist/component/file-upload-rac-Yk44koqY.js +561 -0
  58. package/dist/component/{fixed-payment-rac-CuIQEeHh.js → fixed-payment-rac-r_OUP_KD.js} +15 -15
  59. package/dist/component/{form-0jt4L5xo.js → form-DC8xFBa_.js} +6178 -5729
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +3 -3
  62. package/dist/component/{header-field-rac-CWVGzxKb.js → header-field-rac-6NOymbBc.js} +4 -4
  63. package/dist/component/{header-rac-D6KsV-ko.js → header-rac-DzK8Cg5s.js} +1 -1
  64. package/dist/component/{image-choice-rac-CUCyVS8c.js → image-choice-rac-CcCInqrr.js} +9 -9
  65. package/dist/component/{index-iOqQidgV.js → index-B_72TOzS.js} +2 -2
  66. package/dist/component/{index-TJSnVtCO.js → index-CGbawBGb.js} +43 -43
  67. package/dist/component/{isObjectLike-DQbx8r1c.js → isObjectLike-BziKAUTi.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-DtZ1NTfD.js → multiline-address-field-rac-CJw6HvHY.js} +78 -78
  69. package/dist/component/{multiline-address-rac-ub-_XzHU.js → multiline-address-rac-B_GR1nkJ.js} +1 -1
  70. package/dist/component/{number-input-field-rac-DLItn4DK.js → number-input-field-rac-CXFmpNWL.js} +13 -13
  71. package/dist/component/{number-input-rac-UuxJzqEx.js → number-input-rac-sr4Dhnxa.js} +1 -1
  72. package/dist/component/{password-rac-Di6q96Rn.js → password-rac-BwBEPYo3.js} +15 -15
  73. package/dist/component/{payment-input-rac-CG6c4-Ge.js → payment-input-rac-BcLSkgtK.js} +44 -44
  74. package/dist/component/{phone-input-field-rac-D4JphCuT.js → phone-input-field-rac-4kp5xRJZ.js} +50 -50
  75. package/dist/component/{phone-rac-_vDw2usa.js → phone-rac-B_QYTg28.js} +1 -1
  76. package/dist/component/{product-list-rac-CgxRlj1f.js → product-list-rac-C7YDHPj_.js} +50 -50
  77. package/dist/component/{quiz-radio-group-rac-bi26aGxN.js → quiz-radio-group-rac-Be1v1PyS.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-DDJq2ESf.js → radio-button-module-classes-k9DhZ1Fd.js} +14 -14
  79. package/dist/component/{radio-group-field-rac-D1aMVO6l.js → radio-group-field-rac-BDEAYQH5.js} +6 -6
  80. package/dist/component/{radio-group-rac-HKC85M6t.js → radio-group-rac-DcmSrcGy.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-CpRehxFB.js → rating-input-field-rac-CcO3-3O3.js} +20 -20
  82. package/dist/component/{rating-input-rac-BMuCZ3oj.js → rating-input-rac-wl8G35Xv.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-mZ6xoAOd.js → rich-content-rac.module-CzZ6x_Yf.js} +1 -1
  84. package/dist/component/{rich-text-field-rac-CUK8V8Kf.js → rich-text-field-rac-B4l_YgG7.js} +4 -4
  85. package/dist/component/{rich-text-rac-B-7sR2FJ.js → rich-text-rac-BlW4v4gg.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-1DDNT5bn.js → service-dropdown-rac-CJTrm0iL.js} +33 -33
  87. package/dist/component/{services-multi-choice-rac-CB-6dwxz.js → services-multi-choice-rac-BkiL2Pct.js} +13 -13
  88. package/dist/component/{signature-rac-7XBci6P2.js → signature-rac-_fTng53p.js} +133 -133
  89. package/dist/component/{submit-button-rac-B1-Mk8Gg.js → submit-button-rac-EmqyRMuE.js} +17 -17
  90. package/dist/component/{tags-field-rac-CQ9Y7mq-.js → tags-field-rac-CTlZZLdv.js} +32 -32
  91. package/dist/component/{tags-rac-Visic-Ml.js → tags-rac-xd-CpByf.js} +1 -1
  92. package/dist/component/{text-area-field-rac-C8fP1g-w.js → text-area-field-rac-Dap_aF4j.js} +14 -14
  93. package/dist/component/{text-area-rac-B6yZxzxm.js → text-area-rac-rKSZi3gu.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CNjbOxD1.js → text-input-field-rac-GBsaUY0A.js} +5 -5
  95. package/dist/component/{text-input-headless-Bm8PJGep.js → text-input-headless-SHtvSa6y.js} +3 -3
  96. package/dist/component/{text-input-rac-BEPC1Z-4.js → text-input-rac-v4R17Vxm.js} +1 -1
  97. package/dist/component/{time-input-rac-3m6C_Jp5.js → time-input-rac-DgnhZSjV.js} +27 -27
  98. package/dist/component/{url-input-field-rac-CIk_6Lf6.js → url-input-field-rac-BuTadRMy.js} +19 -19
  99. package/dist/component/{url-input-rac-DyVoygXH.js → url-input-rac-BpVSwqpz.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-McG3ayOT.js → use-dropdown-option-class-name-Cwfh_4oi.js} +2 -2
  101. package/dist/component/{use-element-state-class-name-B9MBWX44.js → use-element-state-class-name-BF7I_Ju7.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-r5G_sZsO.js → use-is-forced-open-dropdown-BMuhxge2.js} +8 -8
  103. package/dist/component/{use-service-options-base-hcbkvhpw.js → use-service-options-base-DfyQZjmw.js} +1 -1
  104. package/dist/component/{use-text-input-class-name-SnurFqAr.js → use-text-input-class-name-ixt7gTGg.js} +2 -2
  105. package/dist/form.d.ts +18 -0
  106. package/package.json +3 -3
  107. package/dist/component/file-upload-rac-ZdgYt646.js +0 -483
@@ -1,27 +1,27 @@
1
1
  import { RicosViewer as oe } from "@wix/ricos/viewer";
2
2
  import E from "classnames";
3
- import t, { useMemo as T, useState as $, useCallback as w, useRef as G, useContext as se } from "react";
3
+ import t, { useMemo as T, useState as q, useCallback as w, useRef as G, useContext as se } from "react";
4
4
  import { parseTime as le } from "@internationalized/date";
5
5
  import { UNSAFE_PortalProvider as ie } from "react-aria";
6
- import { ListBoxItem as ce, ListBox as me, Select as de, TextField as J, TimeField as ue, SelectValue as pe, Input as K, DateInput as Ee, DateSegment as B, TimeFieldStateContext as he } from "react-aria-components";
7
- import { b5 as b, b2 as Q, aZ as U, aC as Z, aP as X, aq as d, bf as L, aT as W, aE as fe, ax as be, aW as ge, ay as j, b7 as q, H as v, T as Ie, t as De, J as Ne, u as _e, p as ye } from "./form-0jt4L5xo.js";
6
+ import { ListBoxItem as ce, ListBox as me, Select as de, TextField as Q, TimeField as ue, SelectValue as pe, Input as W, DateInput as Ee, DateSegment as x, TimeFieldStateContext as he } from "react-aria-components";
7
+ import { b9 as b, b6 as X, b1 as U, aG as J, aT as Z, au as d, bj as L, aX as j, aI as fe, aB as be, a_ as ge, aC as K, bb as z, I as S, U as Ie, t as De, K as _e, v as Ne, p as ye } from "./form-DC8xFBa_.js";
8
8
  import { f as u, a as P } from "./find-child-C60k4CxG.js";
9
9
  import { g as Oe } from "./helpers-HmkkXrh2.js";
10
- import { D as Te, E as Le } from "./field-error-headless-tsg9FQ-_.js";
11
- import { L as Fe } from "./field-label-headless-CB8dEat8.js";
10
+ import { D as Te, E as Le } from "./field-error-headless-BLgaEh1d.js";
11
+ import { L as Fe } from "./field-label-headless-C8NbnF9M.js";
12
12
  import { F as Ce } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as Pe, S as Me } from "./non-modal-popover-DtIMXHbe.js";
14
- import { u as Se } from "./use-is-forced-open-dropdown-r5G_sZsO.js";
15
- import { C as ve } from "./chevron-down-icon-CcpVm6B-.js";
14
+ import { u as ve } from "./use-is-forced-open-dropdown-BMuhxge2.js";
15
+ import { C as Se } from "./chevron-down-icon-CcpVm6B-.js";
16
16
  import { E as Re } from "./error-icon-hZxQ6DEy.js";
17
17
  import { H } from "./custom-focus-class-_483Pkwp.js";
18
18
  import { s as f } from "./field-rac.module-B4l_0KRU.js";
19
- import { u as Ae } from "./use-dropdown-option-class-name-McG3ayOT.js";
20
- import { u as k } from "./use-text-input-class-name-SnurFqAr.js";
19
+ import { u as Ae } from "./use-dropdown-option-class-name-Cwfh_4oi.js";
20
+ import { u as k } from "./use-text-input-class-name-ixt7gTGg.js";
21
21
  const l = ({ children: e, className: a }) => {
22
- const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: g } = Q(), { regionalFormat: p } = U(), _ = T(() => Z(p).filter(X).map((S) => S.toUpperCase()), [
22
+ const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: g } = X(), { regionalFormat: p } = U(), N = T(() => J(p).filter(Z).map((v) => v.toUpperCase()), [
23
23
  p
24
- ]), M = u(e, l.Label), V = u(e, l.Description), D = u(e, l.Error), N = {
24
+ ]), M = u(e, l.Label), V = u(e, l.Description), D = u(e, l.Error), _ = {
25
25
  [d.MONTH]: u(e, l.Month),
26
26
  [d.DAY]: u(e, l.Day),
27
27
  [d.YEAR]: u(e, l.Year)
@@ -39,11 +39,11 @@ const l = ({ children: e, className: a }) => {
39
39
  onBlur: s,
40
40
  onFocus: r,
41
41
  className: a
42
- }, N[_[0]], N[_[1]], N[_[2]], y),
42
+ }, _[N[0]], _[N[1]], _[N[2]], y),
43
43
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, V)
44
44
  });
45
45
  }, F = ({ children: e, className: a }) => {
46
- const { id: n, disabled: o, readOnly: s, showDateLabels: r, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: g, onPartChange: p } = C(d.MONTH), { t: _ } = L(), [M, V] = $(!1), D = Se(n), [N, y] = $(null), S = i ? void 0 : _("field.date.placeholder.month"), ee = w((Y) => {
46
+ const { id: n, disabled: o, readOnly: s, showDateLabels: r, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: g, onPartChange: p } = C(d.MONTH), { t: N } = L(), [M, V] = q(!1), D = ve(n), [_, y] = q(null), v = i ? void 0 : N("field.date.placeholder.month"), ee = w((Y) => {
47
47
  s || p(typeof Y == "string" ? Y : "");
48
48
  }, [
49
49
  p,
@@ -62,25 +62,25 @@ const l = ({ children: e, className: a }) => {
62
62
  display: "contents"
63
63
  }
64
64
  }), /* @__PURE__ */ t.createElement(ie, {
65
- getContainer: () => N
65
+ getContainer: () => _
66
66
  }, /* @__PURE__ */ t.createElement(de, {
67
67
  "aria-labelledby": r ? m : void 0,
68
68
  value: c || null,
69
69
  onChange: ee,
70
70
  isDisabled: o,
71
71
  isInvalid: g,
72
- placeholder: S,
72
+ placeholder: v,
73
73
  isOpen: D || M,
74
74
  onOpenChange: D ? void 0 : te
75
75
  }, ne, P(re, {
76
76
  isForcedOpen: D
77
77
  }))));
78
- }, Ve = ({ className: e }) => /* @__PURE__ */ t.createElement(z, {
78
+ }, Ve = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
79
79
  datePart: d.MONTH,
80
80
  className: e
81
81
  }), Ye = ({ children: e, className: a }) => {
82
82
  const { id: n, readOnly: o } = b(), { inputId: s } = O(d.MONTH), { partError: r, isFirstPart: i } = C(d.MONTH), m = G(null);
83
- return q(() => {
83
+ return z(() => {
84
84
  var c;
85
85
  i && ((c = m.current) == null || c.focus());
86
86
  }, n), /* @__PURE__ */ t.createElement(Me, {
@@ -91,10 +91,10 @@ const l = ({ children: e, className: a }) => {
91
91
  "data-invalid": r || void 0,
92
92
  "data-readonly": o || void 0
93
93
  }, /* @__PURE__ */ t.createElement(pe, null), e);
94
- }, x = ({ children: e, className: a, ...n }) => {
94
+ }, B = ({ children: e, className: a, ...n }) => {
95
95
  const { isForcedOpen: o } = n, { language: s } = U(), r = T(() => Oe(s), [
96
96
  s
97
- ]), i = u(e, x.Option) ?? /* @__PURE__ */ t.createElement(x.Option, null);
97
+ ]), i = u(e, B.Option) ?? /* @__PURE__ */ t.createElement(B.Option, null);
98
98
  return /* @__PURE__ */ t.createElement(Pe, {
99
99
  className: a,
100
100
  containerPadding: 0,
@@ -116,14 +116,14 @@ const l = ({ children: e, className: a }) => {
116
116
  };
117
117
  F.Label = Ve;
118
118
  F.Trigger = Ye;
119
- F.Options = x;
120
- x.Option = He;
119
+ F.Options = B;
120
+ B.Option = He;
121
121
  const R = ({ children: e, className: a }) => {
122
122
  const { disabled: n, readOnly: o, showDateLabels: s } = b(), { labelId: r } = O(d.DAY), { partValue: i, partError: m, onPartChange: c } = C(d.DAY), g = u(e, R.Label), p = u(e, R.Input);
123
123
  return /* @__PURE__ */ t.createElement("div", {
124
124
  className: a,
125
125
  "data-date-field": !0
126
- }, s && g, /* @__PURE__ */ t.createElement(J, {
126
+ }, s && g, /* @__PURE__ */ t.createElement(Q, {
127
127
  "aria-labelledby": s ? r : void 0,
128
128
  value: i,
129
129
  onChange: c,
@@ -131,15 +131,15 @@ const R = ({ children: e, className: a }) => {
131
131
  isReadOnly: o,
132
132
  isInvalid: m
133
133
  }, p));
134
- }, we = ({ className: e }) => /* @__PURE__ */ t.createElement(z, {
134
+ }, we = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
135
135
  datePart: d.DAY,
136
136
  className: e
137
- }), xe = ({ className: e }) => {
137
+ }), Be = ({ className: e }) => {
138
138
  const { id: a, hidePlaceholder: n } = b(), { inputId: o } = O(d.DAY), { isFirstPart: s } = C(d.DAY), { t: r } = L(), i = G(null), m = n ? void 0 : r("field.date.placeholder.day");
139
- return q(() => {
139
+ return z(() => {
140
140
  var c;
141
141
  s && ((c = i.current) == null || c.focus());
142
- }, a), /* @__PURE__ */ t.createElement(K, {
142
+ }, a), /* @__PURE__ */ t.createElement(W, {
143
143
  ref: i,
144
144
  id: o,
145
145
  className: e,
@@ -150,13 +150,13 @@ const R = ({ children: e, className: a }) => {
150
150
  });
151
151
  };
152
152
  R.Label = we;
153
- R.Input = xe;
153
+ R.Input = Be;
154
154
  const A = ({ children: e, className: a }) => {
155
155
  const { disabled: n, readOnly: o, showDateLabels: s } = b(), { labelId: r } = O(d.YEAR), { partValue: i, partError: m, onPartChange: c } = C(d.YEAR), g = u(e, A.Label), p = u(e, A.Input);
156
156
  return /* @__PURE__ */ t.createElement("div", {
157
157
  className: a,
158
158
  "data-date-field": !0
159
- }, s && g, /* @__PURE__ */ t.createElement(J, {
159
+ }, s && g, /* @__PURE__ */ t.createElement(Q, {
160
160
  "aria-labelledby": s ? r : void 0,
161
161
  value: i,
162
162
  onChange: c,
@@ -164,15 +164,15 @@ const A = ({ children: e, className: a }) => {
164
164
  isReadOnly: o,
165
165
  isInvalid: m
166
166
  }, p));
167
- }, Be = ({ className: e }) => /* @__PURE__ */ t.createElement(z, {
167
+ }, xe = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
168
168
  datePart: d.YEAR,
169
169
  className: e
170
170
  }), ke = ({ className: e }) => {
171
171
  const { id: a, hidePlaceholder: n } = b(), { inputId: o } = O(d.YEAR), { isFirstPart: s } = C(d.YEAR), { t: r } = L(), i = G(null), m = n ? void 0 : r("field.date.placeholder.year");
172
- return q(() => {
172
+ return z(() => {
173
173
  var c;
174
174
  s && ((c = i.current) == null || c.focus());
175
- }, a), /* @__PURE__ */ t.createElement(K, {
175
+ }, a), /* @__PURE__ */ t.createElement(W, {
176
176
  ref: i,
177
177
  id: o,
178
178
  className: e,
@@ -182,10 +182,10 @@ const A = ({ children: e, className: a }) => {
182
182
  "data-hook": d.YEAR
183
183
  });
184
184
  };
185
- A.Label = Be;
185
+ A.Label = xe;
186
186
  A.Input = ke;
187
187
  const I = ({ children: e, className: a }) => {
188
- const { disabled: n, readOnly: o, use24HourFormat: s, showDateLabels: r } = b(), { labelId: i } = O("time"), { partValue: m, partError: c, onPartChange: g } = C("time"), p = u(e, I.Label), _ = u(e, I.Input);
188
+ const { disabled: n, readOnly: o, use24HourFormat: s, showDateLabels: r } = b(), { labelId: i } = O("time"), { partValue: m, partError: c, onPartChange: g } = C("time"), p = u(e, I.Label), N = u(e, I.Input);
189
189
  return /* @__PURE__ */ t.createElement("div", {
190
190
  className: a,
191
191
  "data-date-field": !0
@@ -197,7 +197,7 @@ const I = ({ children: e, className: a }) => {
197
197
  isReadOnly: o,
198
198
  isInvalid: c,
199
199
  hourCycle: s ? 24 : 12
200
- }, _));
200
+ }, N));
201
201
  }, Ge = ({ className: e }) => {
202
202
  const { inputId: a, labelId: n } = O("time"), { t: o } = L(), s = o("field.date.label.time");
203
203
  return /* @__PURE__ */ t.createElement("label", {
@@ -225,34 +225,34 @@ const I = ({ children: e, className: a }) => {
225
225
  segment: r
226
226
  }) || /* @__PURE__ */ t.createElement(t.Fragment, null);
227
227
  case "literal":
228
- return /* @__PURE__ */ t.createElement(B, {
228
+ return /* @__PURE__ */ t.createElement(x, {
229
229
  segment: r
230
230
  });
231
231
  default:
232
232
  return /* @__PURE__ */ t.createElement(t.Fragment, null);
233
233
  }
234
234
  });
235
- }, qe = ({ className: e, ...a }) => {
235
+ }, ze = ({ className: e, ...a }) => {
236
236
  const { hidePlaceholder: n } = b(), { segment: o } = a, { t: s } = L(), r = n ? void 0 : s("field.date.placeholder.hour");
237
- return /* @__PURE__ */ t.createElement(B, {
237
+ return /* @__PURE__ */ t.createElement(x, {
238
238
  segment: o,
239
239
  className: e,
240
240
  ...r && {
241
241
  placeholder: r
242
242
  }
243
243
  });
244
- }, ze = ({ className: e, ...a }) => {
244
+ }, $e = ({ className: e, ...a }) => {
245
245
  const { hidePlaceholder: n } = b(), { segment: o } = a, { t: s } = L(), r = n ? void 0 : s("field.date.placeholder.minute");
246
- return /* @__PURE__ */ t.createElement(B, {
246
+ return /* @__PURE__ */ t.createElement(x, {
247
247
  segment: o,
248
248
  className: e,
249
249
  ...r && {
250
250
  placeholder: r
251
251
  }
252
252
  });
253
- }, $e = ({ className: e, ...a }) => {
253
+ }, qe = ({ className: e, ...a }) => {
254
254
  const { hidePlaceholder: n } = b(), { segment: o } = a, { t: s } = L(), r = se(he), i = n ? void 0 : s("field.date.placeholder.period"), m = () => r == null ? void 0 : r.increment("dayPeriod");
255
- return /* @__PURE__ */ t.createElement(B, {
255
+ return /* @__PURE__ */ t.createElement(x, {
256
256
  segment: o,
257
257
  className: e,
258
258
  onClick: m,
@@ -263,9 +263,9 @@ const I = ({ children: e, className: a }) => {
263
263
  };
264
264
  I.Label = Ge;
265
265
  I.Input = Ue;
266
- I.Hour = qe;
267
- I.Minute = ze;
268
- I.Period = $e;
266
+ I.Hour = ze;
267
+ I.Minute = $e;
268
+ I.Period = qe;
269
269
  l.Label = Fe;
270
270
  l.Month = F;
271
271
  l.Day = R;
@@ -274,7 +274,7 @@ l.Time = I;
274
274
  l.Description = Te;
275
275
  l.Error = Le;
276
276
  function O(e) {
277
- const { inputId: a } = Q();
277
+ const { inputId: a } = X();
278
278
  return T(() => {
279
279
  const n = e.toLowerCase();
280
280
  return {
@@ -287,30 +287,30 @@ function O(e) {
287
287
  ]);
288
288
  }
289
289
  function C(e) {
290
- const { value: a, onChange: n, hasError: o = !1 } = b(), { regionalFormat: s } = U(), [r, i] = T(() => W(a ?? ""), [
290
+ const { value: a, onChange: n, hasError: o = !1 } = b(), { regionalFormat: s } = U(), [r, i] = T(() => j(a ?? ""), [
291
291
  a
292
292
  ]), m = T(() => fe(o, a ?? ""), [
293
293
  a,
294
294
  o
295
295
  ]), c = T(() => be(r), [
296
296
  r
297
- ]), g = T(() => We(i), [
297
+ ]), g = T(() => je(i), [
298
298
  i
299
299
  ]), p = w((D) => {
300
- const N = je(D), y = j(r, N);
300
+ const _ = Ke(D), y = K(r, _);
301
301
  n(y);
302
302
  }, [
303
303
  n,
304
304
  r
305
- ]), _ = w((D) => {
306
- const [, N] = W(a ?? ""), y = ge(D, e, c), S = j(y, N);
307
- n(S);
305
+ ]), N = w((D) => {
306
+ const [, _] = j(a ?? ""), y = ge(D, e, c), v = K(y, _);
307
+ n(v);
308
308
  }, [
309
309
  n,
310
310
  a,
311
311
  c,
312
312
  e
313
- ]), M = T(() => e === "time" ? !1 : Z(s).filter(X).map((y) => y.toUpperCase())[0] === e, [
313
+ ]), M = T(() => e === "time" ? !1 : J(s).filter(Z).map((y) => y.toUpperCase())[0] === e, [
314
314
  s,
315
315
  e
316
316
  ]);
@@ -322,11 +322,11 @@ function C(e) {
322
322
  } : {
323
323
  partValue: c[e] || "",
324
324
  partError: m[e],
325
- onPartChange: _,
325
+ onPartChange: N,
326
326
  isFirstPart: M
327
327
  };
328
328
  }
329
- function z({ datePart: e, className: a }) {
329
+ function $({ datePart: e, className: a }) {
330
330
  const { inputId: n, labelId: o } = O(e), { t: s } = L(), r = `field.date.label.${e.toLowerCase()}`, i = s(r);
331
331
  return /* @__PURE__ */ t.createElement("label", {
332
332
  id: o,
@@ -334,7 +334,7 @@ function z({ datePart: e, className: a }) {
334
334
  className: a
335
335
  }, i);
336
336
  }
337
- function We(e) {
337
+ function je(e) {
338
338
  if (!e)
339
339
  return null;
340
340
  try {
@@ -343,7 +343,7 @@ function We(e) {
343
343
  return null;
344
344
  }
345
345
  }
346
- function je(e) {
346
+ function Ke(e) {
347
347
  if (!e)
348
348
  return null;
349
349
  const a = String(e.hour).padStart(2, "0"), n = String(e.minute).padStart(2, "0"), o = String(e.second).padStart(2, "0");
@@ -353,12 +353,12 @@ function je(e) {
353
353
  o
354
354
  ].join(":");
355
355
  }
356
- const Je = "_fields_9mv0h_1", Ke = "_month_9mv0h_11", Qe = "_day_9mv0h_12", Ze = "_year_9mv0h_13", Xe = "_timeGroup_9mv0h_14", et = "_dayInput_9mv0h_42", tt = "_yearInput_9mv0h_43", at = "_monthTrigger_9mv0h_47", nt = "_monthOption_9mv0h_67", rt = "_time_9mv0h_14", ot = "_hour_9mv0h_86", st = "_minute_9mv0h_87", lt = "_period_9mv0h_88", h = {
357
- fields: Je,
358
- month: Ke,
359
- day: Qe,
360
- year: Ze,
361
- timeGroup: Xe,
356
+ const Qe = "_fields_9mv0h_1", We = "_month_9mv0h_11", Xe = "_day_9mv0h_12", Je = "_year_9mv0h_13", Ze = "_timeGroup_9mv0h_14", et = "_dayInput_9mv0h_42", tt = "_yearInput_9mv0h_43", at = "_monthTrigger_9mv0h_47", nt = "_monthOption_9mv0h_67", rt = "_time_9mv0h_14", ot = "_hour_9mv0h_86", st = "_minute_9mv0h_87", lt = "_period_9mv0h_88", h = {
357
+ fields: Qe,
358
+ month: We,
359
+ day: Xe,
360
+ year: Je,
361
+ timeGroup: Ze,
362
362
  dayInput: et,
363
363
  yearInput: tt,
364
364
  monthTrigger: at,
@@ -375,37 +375,37 @@ const Je = "_fields_9mv0h_1", Ke = "_month_9mv0h_11", Qe = "_day_9mv0h_12", Ze =
375
375
  return /* @__PURE__ */ t.createElement(l, {
376
376
  className: h.fields
377
377
  }, /* @__PURE__ */ t.createElement(l.Label, {
378
- className: E(v, f.label)
378
+ className: E(S, f.label)
379
379
  }, /* @__PURE__ */ t.createElement(l.Label.Required, {
380
380
  className: E(Ie, f.requiredMark)
381
381
  })), /* @__PURE__ */ t.createElement(l.Month, {
382
382
  className: h.month
383
383
  }, /* @__PURE__ */ t.createElement(l.Month.Label, {
384
- className: E(v, f.label)
384
+ className: E(S, f.label)
385
385
  }), /* @__PURE__ */ t.createElement(l.Month.Trigger, {
386
386
  className: E(De, f.input, h.monthTrigger)
387
- }, /* @__PURE__ */ t.createElement(ve, {
387
+ }, /* @__PURE__ */ t.createElement(Se, {
388
388
  className: f.dropdownIcon
389
389
  })), /* @__PURE__ */ t.createElement(l.Month.Options, {
390
- className: E(Ne, f.selectPopover, f.dropdownPopover)
390
+ className: E(_e, f.selectPopover, f.dropdownPopover)
391
391
  }, /* @__PURE__ */ t.createElement(l.Month.Options.Option, {
392
392
  className: e
393
393
  }))), /* @__PURE__ */ t.createElement(l.Day, {
394
394
  className: h.day
395
395
  }, /* @__PURE__ */ t.createElement(l.Day.Label, {
396
- className: E(v, f.label)
396
+ className: E(S, f.label)
397
397
  }), /* @__PURE__ */ t.createElement(l.Day.Input, {
398
398
  className: a
399
399
  })), /* @__PURE__ */ t.createElement(l.Year, {
400
400
  className: h.year
401
401
  }, /* @__PURE__ */ t.createElement(l.Year.Label, {
402
- className: E(v, f.label)
402
+ className: E(S, f.label)
403
403
  }), /* @__PURE__ */ t.createElement(l.Year.Input, {
404
404
  className: n
405
405
  })), /* @__PURE__ */ t.createElement(l.Time, {
406
406
  className: h.timeGroup
407
407
  }, /* @__PURE__ */ t.createElement(l.Time.Label, {
408
- className: E(v, f.label)
408
+ className: E(S, f.label)
409
409
  }), /* @__PURE__ */ t.createElement(l.Time.Input, {
410
410
  className: o
411
411
  }, /* @__PURE__ */ t.createElement(l.Time.Hour, {
@@ -415,7 +415,7 @@ const Je = "_fields_9mv0h_1", Ke = "_month_9mv0h_11", Qe = "_day_9mv0h_12", Ze =
415
415
  }), /* @__PURE__ */ t.createElement(l.Time.Period, {
416
416
  className: E(h.period, H)
417
417
  }))), /* @__PURE__ */ t.createElement(l.Error, {
418
- className: E(_e, f.error)
418
+ className: E(Ne, f.error)
419
419
  }, /* @__PURE__ */ t.createElement(Re, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
420
420
  className: E(ye, f.description)
421
421
  }, it));
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-TDWBXZ44.js";
2
+ import { D as t } from "./date-time-input-field-rac-DDUZvi8G.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DateTimeInputRAC
@@ -1,6 +1,6 @@
1
1
  import o from "react";
2
- import { b5 as e, a8 as t } from "./form-0jt4L5xo.js";
3
- import { C as p } from "./checkbox-group-field-rac-DTcZcVS6.js";
2
+ import { b9 as e, ac as t } from "./form-DC8xFBa_.js";
3
+ import { C as p } from "./checkbox-group-field-rac-BCzS44NM.js";
4
4
  import { D as s } from "./default-limits-D7qVv_Hv.js";
5
5
  const C = () => {
6
6
  const r = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-DwEQLIaz.js";
2
+ import { C as t } from "./checkbox-field-rac-CcOW4yol.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-CRZVODfF.js";
2
+ import { D as t } from "./date-picker-field-rac-pZQhHvZc.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-TDWBXZ44.js";
2
+ import { D as t } from "./date-time-input-field-rac-DDUZvi8G.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-DXyY5we-.js";
2
+ import { D as r } from "./dropdown-field-rac-AYGyhYSH.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-DpkfunVK.js";
2
+ import { E as e } from "./email-input-field-rac-BFrfF6TW.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-DLItn4DK.js";
2
+ import { N as t } from "./number-input-field-rac-CXFmpNWL.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-D4JphCuT.js";
2
+ import { P as t } from "./phone-input-field-rac-4kp5xRJZ.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  r as DextPhoneRAC
@@ -1,8 +1,8 @@
1
1
  import r from "react";
2
- import { b5 as e, a8 as t } from "./form-0jt4L5xo.js";
3
- import { R as p } from "./radio-group-field-rac-D1aMVO6l.js";
2
+ import { b9 as e, ac as t } from "./form-DC8xFBa_.js";
3
+ import { R as p } from "./radio-group-field-rac-BDEAYQH5.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
- const l = () => {
5
+ const c = () => {
6
6
  const o = {
7
7
  ...e(),
8
8
  otherInputCharacterLimit: a
@@ -14,5 +14,5 @@ const l = () => {
14
14
  }, /* @__PURE__ */ r.createElement(p, null));
15
15
  };
16
16
  export {
17
- l as DextRadioGroupRAC
17
+ c as DextRadioGroupRAC
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-CpRehxFB.js";
2
+ import { R as e } from "./rating-input-field-rac-CcO3-3O3.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,8 +1,8 @@
1
1
  import r from "react";
2
- import { b5 as e, a8 as o } from "./form-0jt4L5xo.js";
3
- import { T as s } from "./tags-field-rac-CQ9Y7mq-.js";
2
+ import { b9 as e, ac as o } from "./form-DC8xFBa_.js";
3
+ import { T as s } from "./tags-field-rac-CTlZZLdv.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
- const l = () => {
5
+ const c = () => {
6
6
  const t = {
7
7
  ...e(),
8
8
  otherInputCharacterLimit: a
@@ -14,5 +14,5 @@ const l = () => {
14
14
  }, /* @__PURE__ */ r.createElement(s, null));
15
15
  };
16
16
  export {
17
- l as DextTagsRAC
17
+ c as DextTagsRAC
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-C8fP1g-w.js";
2
+ import { T as t } from "./text-area-field-rac-Dap_aF4j.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-CNjbOxD1.js";
2
+ import { T as e } from "./text-input-field-rac-GBsaUY0A.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-CIk_6Lf6.js";
2
+ import { U as r } from "./url-input-field-rac-BuTadRMy.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC