@wix/form-elements 1.126.0 → 1.128.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-CYB_k6uF.js → appointment-rac-S9z3s23G.js} +5 -5
  2. package/dist/component/{bookings-address-rac-yJjV3u5m.js → bookings-address-rac-B7wL2TjQ.js} +1 -1
  3. package/dist/component/{bookings-email-rac-WkFgaEv5.js → bookings-email-rac-T2lFRGpg.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CJ1cBR5Z.js → bookings-first-name-rac-BBrENRBf.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DiC19ttR.js → bookings-header-rac-CWGMiMQz.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-Dx0Nt5Z_.js → bookings-last-name-rac-BQWvH_gm.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CcW2nUYQ.js → bookings-login-bar-rac-tFs0Vioz.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-BMLrrTf6.js → bookings-phone-rac-BV_BTfAh.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DIbRjzxZ.js → bookings-rich-text-rac-8cD6QJBZ.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-3a6NYcNf.js → checkbox-field-rac-YmG26i31.js} +45 -45
  11. package/dist/component/{checkbox-group-field-headless-CM-2wLJv.js → checkbox-group-field-headless-CE8sEjZj.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CNWwJ_No.js → checkbox-group-field-rac-CSuJRyk1.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-F08XYJSA.js → checkbox-group-rac-VDezm9js.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-DOAYUQ_Q.js → checkbox-indicator-module-classes-Bqo0QILF.js} +1 -1
  15. package/dist/component/{checkbox-rac-z98USBLu.js → checkbox-rac-DoC1ZqAq.js} +1 -1
  16. package/dist/component/{contacts-address-rac-DuodyS7l.js → contacts-address-rac-10AZNzhI.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-BY7L9nWm.js → contacts-birthdate-rac-C7YDiyg2.js} +1 -1
  18. package/dist/component/{contacts-company-rac-iPNPKhx2.js → contacts-company-rac-xQEtJ_-m.js} +1 -1
  19. package/dist/component/{contacts-email-rac-C7kBUzQH.js → contacts-email-rac-Bryw_aCU.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-DvDNRs2q.js → contacts-first-name-rac-BXmuuhfG.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-Cls5_7W0.js → contacts-last-name-rac-CVWVZO8I.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DMy2lBJl.js → contacts-phone-rac-C-KSwisV.js} +1 -1
  23. package/dist/component/{contacts-position-rac-Bn21lF_i.js → contacts-position-rac-od-5Gie5.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-QSC_n_T_.js → contacts-subscribe-rac-CCh9JcQx.js} +1 -1
  25. package/dist/component/{contacts-tax-id-rac-BvqoePCN.js → contacts-tax-id-rac-DOM7TPQz.js} +1 -1
  26. package/dist/component/{date-availability-SErYnVtm.js → date-availability-G5IwqtRi.js} +1 -1
  27. package/dist/component/{date-input-field-rac-H81WktJT.js → date-input-field-rac-BpBqS7LG.js} +42 -42
  28. package/dist/component/{date-input-rac-C6ZeK0zQ.js → date-input-rac-CQyqRqZK.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BwSKny80.js → date-picker-field-rac-BsR_0eAW.js} +15 -15
  30. package/dist/component/{date-picker-rac-BB5zswk4.js → date-picker-rac-Bl2k363u.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-C4srGo4X.js → date-time-input-field-rac-C5TC2nsm.js} +64 -64
  32. package/dist/component/{date-time-input-rac-6PXunNeR.js → date-time-input-rac-CInfYWxN.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-B1GOhxW8.js → dext-checkbox-group-rac-E36LjEfn.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-DVels76t.js → dext-checkbox-rac-DkMAv7aY.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-kKH7Nu_c.js → dext-date-picker-rac-BNkJPlYo.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-C2xk0pv1.js → dext-date-time-input-rac-BH3Q0pwI.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-bd3XpA-l.js → dext-dropdown-rac-DkF_DD08.js} +1 -1
  38. package/dist/component/{dext-email-rac-BtEeJsrT.js → dext-email-rac-0x_DN0_O.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-BLPAbm2q.js → dext-number-input-rac-UiIENkK3.js} +1 -1
  40. package/dist/component/{dext-phone-rac-ByEP8XRg.js → dext-phone-rac-BZFK4Uq7.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-AY271KFi.js → dext-radio-group-rac-CBAdO7kt.js} +4 -4
  42. package/dist/component/{dext-rating-input-rac-Dp9N8OWT.js → dext-rating-input-rac-fqR1sriq.js} +1 -1
  43. package/dist/component/{dext-tags-rac-PgZGGDwj.js → dext-tags-rac-mDuiUs9L.js} +4 -4
  44. package/dist/component/{dext-text-area-rac-BN99TM9O.js → dext-text-area-rac-C-8jKWpK.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-C5TaQVi8.js → dext-text-input-rac-CCBAM9YO.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BvMh_jc6.js → dext-url-input-rac-C4_8Yk0p.js} +1 -1
  47. package/dist/component/{donation-rac-BSCyAZPx.js → donation-rac-BwDHypVJ.js} +36 -36
  48. package/dist/component/{dropdown-field-headless-DzDE-6ha.js → dropdown-field-headless-CspX2zV_.js} +16 -16
  49. package/dist/component/{dropdown-field-rac-mbYavQtS.js → dropdown-field-rac-DduQJ9rO.js} +5 -5
  50. package/dist/component/{dropdown-rac-BUJag5ow.js → dropdown-rac-BhhECLoH.js} +1 -1
  51. package/dist/component/{ecom-address-rac-B7_RYjoj.js → ecom-address-rac-BJ1nnEVL.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-BCDyH7x-.js → ecom-subscription-checkbox-rac-4m1XMTDY.js} +2 -2
  53. package/dist/component/{email-input-field-rac-CUi08-gD.js → email-input-field-rac-bPEcgidt.js} +19 -19
  54. package/dist/component/{events-repeater-rac-CkHq7ADr.js → events-repeater-rac-CujTGEHx.js} +11 -11
  55. package/dist/component/{events-rsvp-rac-DBwLvDeR.js → events-rsvp-rac-BPqr_aY9.js} +4 -4
  56. package/dist/component/{field-error-headless-Ct41F8cQ.js → field-error-headless-Bu_4Huhb.js} +6 -6
  57. package/dist/component/{field-label-headless-DUqBV42_.js → field-label-headless-DkDmQPFG.js} +1 -1
  58. package/dist/component/field-rac.module-BIBNQEOK.js +25 -0
  59. package/dist/component/{file-upload-rac-CkbjhtAl.js → file-upload-rac-DmOQrGe8.js} +68 -68
  60. package/dist/component/{fixed-payment-rac-Dgnhsx3e.js → fixed-payment-rac-CDsddKrV.js} +9 -9
  61. package/dist/component/{form-Dx1bK3Fi.js → form-BpJ4Lqbe.js} +668 -617
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +3 -3
  64. package/dist/component/{header-field-rac-BuUxOZO1.js → header-field-rac-Cr1FVQdq.js} +6 -6
  65. package/dist/component/{header-rac-CIvWVvYs.js → header-rac-CvAZsqDL.js} +1 -1
  66. package/dist/component/{image-choice-rac-BBo0PiW4.js → image-choice-rac-D_EKrD73.js} +12 -12
  67. package/dist/component/{index-BmMiwDw9.js → index-DxsHfkik.js} +44 -44
  68. package/dist/component/{index-BDSs3l4d.js → index-Tnke1N8m.js} +15 -15
  69. package/dist/component/{isObjectLike-xZCFQW_t.js → isObjectLike-CMWsWjX8.js} +7 -7
  70. package/dist/component/{multiline-address-field-rac-C6mRorOw.js → multiline-address-field-rac-BMeMP7J6.js} +8 -8
  71. package/dist/component/{multiline-address-rac-BOjsVo4R.js → multiline-address-rac-CFprfFXm.js} +1 -1
  72. package/dist/component/{number-input-field-rac-C89M-zOh.js → number-input-field-rac-CaHySxYH.js} +9 -9
  73. package/dist/component/{number-input-rac-DttY0Ll3.js → number-input-rac-BezfoU8h.js} +1 -1
  74. package/dist/component/{password-rac-C2KTrH40.js → password-rac-_wwZFd67.js} +32 -32
  75. package/dist/component/{payment-input-rac-BhyBxeu1.js → payment-input-rac-CWrSvBDp.js} +15 -15
  76. package/dist/component/{phone-input-field-rac-BT-Fe6WZ.js → phone-input-field-rac-R3LYdPIs.js} +39 -39
  77. package/dist/component/{phone-rac-B26qwlDN.js → phone-rac-D6uILVRw.js} +1 -1
  78. package/dist/component/{product-list-rac-CF4gkfTK.js → product-list-rac-D3WTfC9k.js} +28 -28
  79. package/dist/component/{quiz-radio-group-rac-Bf2HeDDw.js → quiz-radio-group-rac-B6T7eedk.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-DtmmP89u.js → radio-button-module-classes-D8Jm-Q6u.js} +3 -3
  81. package/dist/component/{radio-group-field-rac-BY2OIFFr.js → radio-group-field-rac-R5onZzJd.js} +5 -5
  82. package/dist/component/{radio-group-rac-BuxVel2l.js → radio-group-rac-DUPHR4tK.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-CbLzvwyk.js → rating-input-field-rac-C9GpwuRO.js} +10 -10
  84. package/dist/component/{rating-input-rac-B8QxNYHU.js → rating-input-rac-Iv_2PVqP.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-wu4JPlkg.js → rich-content-rac.module-Det3BKrI.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CTrEe0SQ.js → rich-text-field-rac-DnBtp2d_.js} +9 -9
  87. package/dist/component/{rich-text-rac-kmzPTMKb.js → rich-text-rac-CXzxap1G.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-C8nTy49F.js → service-dropdown-rac-CVyd2HYC.js} +14 -14
  89. package/dist/component/{services-multi-choice-rac-rDkpN2fs.js → services-multi-choice-rac-BY-W0xIt.js} +7 -7
  90. package/dist/component/signature-rac-BojdPJhg.js +918 -0
  91. package/dist/component/{submit-button-rac-BFywt2Fn.js → submit-button-rac-Q7KKQbiL.js} +15 -15
  92. package/dist/component/{tags-field-rac-rpzvIn_0.js → tags-field-rac-CbmR6gi4.js} +17 -17
  93. package/dist/component/{tags-rac-DVLGSSvh.js → tags-rac-hJo0tMVR.js} +1 -1
  94. package/dist/component/{text-area-field-rac-BfVrtvl8.js → text-area-field-rac-DHQqkqtu.js} +15 -15
  95. package/dist/component/{text-area-rac-VP-yXdJ6.js → text-area-rac-BTXxfWyK.js} +1 -1
  96. package/dist/component/{text-input-field-rac-BlaXiXoF.js → text-input-field-rac-BVTBYjMM.js} +4 -4
  97. package/dist/component/{text-input-headless-ChCTtqUX.js → text-input-headless-Dk_0y9U-.js} +8 -8
  98. package/dist/component/{text-input-rac-CG-Oo3nZ.js → text-input-rac-DIwGn0WI.js} +1 -1
  99. package/dist/component/{time-input-rac-CzUGIr2X.js → time-input-rac-ClyPOKOH.js} +10 -10
  100. package/dist/component/{url-input-field-rac-BHF6gZlT.js → url-input-field-rac-BhPzHWTI.js} +10 -10
  101. package/dist/component/{url-input-rac-DouQt3DF.js → url-input-rac-COD7T5wo.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-AklIMCCI.js → use-dropdown-option-class-name-CTDQ4YIC.js} +3 -3
  103. package/dist/component/{use-dropdown-trigger-class-name-COJhxT4T.js → use-dropdown-trigger-class-name-DapDPNX0.js} +10 -10
  104. package/dist/component/use-element-state-class-name-BU86oHkX.js +20 -0
  105. package/dist/component/{use-hoverable-input-class-name-CtHJHqiV.js → use-hoverable-input-class-name-DWkmQfPd.js} +3 -3
  106. package/dist/component/{use-service-options-base-2u1I6l-t.js → use-service-options-base-jkecu8jY.js} +4 -4
  107. package/dist/component/use-text-input-class-name-CNTXVb7N.js +6 -0
  108. package/dist/form.d.ts +10 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-DQxyEwK7.js +0 -26
  111. package/dist/component/signature-rac-6r_gWBD2.js +0 -794
  112. package/dist/component/use-element-state-class-name-CCe7Cvsu.js +0 -22
  113. package/dist/component/use-text-input-class-name-Bnfv7ZsJ.js +0 -6
@@ -1,31 +1,31 @@
1
1
  import { RicosViewer as se } from "@wix/ricos/viewer";
2
2
  import h from "classnames";
3
- import t, { useMemo as O, useState as q, useCallback as H, useRef as U, useContext as oe } from "react";
3
+ import t, { useMemo as T, useState as G, useCallback as H, useRef as U, useContext as oe } 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, Select as me, TextField as Q, TimeField as de, SelectValue as ue, Input as X, DateInput as pe, DateSegment as x, TimeFieldStateContext as Ee } from "react-aria-components";
7
- import { b9 as f, b6 as J, b1 as z, aG as W, aT as Z, au as d, bj as C, aX as j, aI as he, aB as fe, a_ as be, aC as K, bb as G, I as R, U as ge, K as Ie, v as Ne, p as De } from "./form-Dx1bK3Fi.js";
6
+ import { ListBoxItem as ce, Select as me, TextField as Q, TimeField as de, SelectValue as ue, Input as J, DateInput as pe, DateSegment as x, TimeFieldStateContext as Ee } from "react-aria-components";
7
+ import { bh as f, be as W, b9 as $, aO as X, a$ as Z, aB as d, br as C, b3 as K, aQ as he, aI as fe, b6 as be, aK as j, bj as z, I as R, U as ge, K as Ie, v as Ne, p as De } from "./form-BpJ4Lqbe.js";
8
8
  import { f as u, a as P } from "./find-child-C60k4CxG.js";
9
- import { g as _e } from "./helpers-HmkkXrh2.js";
10
- import { D as ye, E as Te } from "./field-error-headless-Ct41F8cQ.js";
11
- import { L as Oe } from "./field-label-headless-DUqBV42_.js";
9
+ import { g as ye } from "./helpers-HmkkXrh2.js";
10
+ import { D as _e, E as Oe } from "./field-error-headless-Bu_4Huhb.js";
11
+ import { L as Te } from "./field-label-headless-DkDmQPFG.js";
12
12
  import { F as Ce } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as Fe, S as Le } from "./non-modal-popover-DtIMXHbe.js";
14
- import { a as Pe, u as Me } from "./use-dropdown-trigger-class-name-COJhxT4T.js";
15
- import { V as Se, u as Re } from "./use-dropdown-option-class-name-AklIMCCI.js";
14
+ import { a as Pe, u as Me } from "./use-dropdown-trigger-class-name-DapDPNX0.js";
15
+ import { V as Se, u as Re } from "./use-dropdown-option-class-name-CTDQ4YIC.js";
16
16
  import { C as Ae } from "./chevron-down-icon-CcpVm6B-.js";
17
17
  import { E as Ve } from "./error-icon-hZxQ6DEy.js";
18
18
  import { H as w } from "./custom-focus-class-_483Pkwp.js";
19
- import { s as g } from "./field-rac.module-DQxyEwK7.js";
20
- import { u as k } from "./use-text-input-class-name-Bnfv7ZsJ.js";
19
+ import { s as g } from "./field-rac.module-BIBNQEOK.js";
20
+ import { u as k } from "./use-text-input-class-name-CNTXVb7N.js";
21
21
  const l = ({ children: e, className: a }) => {
22
- const { id: n, required: s, onBlur: o, onFocus: r, FieldLayout: i } = f(), { inputId: m, labelId: c, ariaDescribedBy: b } = J(), { regionalFormat: p } = z(), _ = O(() => W(p).filter(Z).map((S) => S.toUpperCase()), [
22
+ const { id: n, required: s, onBlur: o, onFocus: r, FieldLayout: i } = f(), { inputId: m, labelId: c, ariaDescribedBy: b } = W(), { regionalFormat: p } = $(), y = T(() => X(p).filter(Z).map((S) => S.toUpperCase()), [
23
23
  p
24
24
  ]), M = u(e, l.Label), v = u(e, l.Description), N = 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
- }, y = u(e, l.Time);
28
+ }, _ = u(e, l.Time);
29
29
  return /* @__PURE__ */ t.createElement(i, {
30
30
  fieldId: n,
31
31
  renderLabel: () => P(M, {
@@ -39,11 +39,11 @@ const l = ({ children: e, className: a }) => {
39
39
  onBlur: o,
40
40
  onFocus: r,
41
41
  className: a
42
- }, D[_[0]], D[_[1]], D[_[2]], y),
42
+ }, D[y[0]], D[y[1]], D[y[2]], _),
43
43
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, N, v)
44
44
  });
45
45
  }, F = ({ children: e, className: a }) => {
46
- const { id: n, disabled: s, readOnly: o, showDateLabels: r, hidePlaceholder: i } = f(), { labelId: m } = T(d.MONTH), { partValue: c, partError: b, onPartChange: p } = L(d.MONTH), { t: _ } = C(), [M, v] = q(!1), N = Pe(n), [D, y] = q(null), S = i ? void 0 : _("field.date.placeholder.month"), ee = H((Y) => {
46
+ const { id: n, disabled: s, readOnly: o, showDateLabels: r, hidePlaceholder: i } = f(), { labelId: m } = O(d.MONTH), { partValue: c, partError: b, onPartChange: p } = L(d.MONTH), { t: y } = C(), [M, v] = G(!1), N = Pe(n), [D, _] = G(null), S = i ? void 0 : y("field.date.placeholder.month"), ee = H((Y) => {
47
47
  o || p(typeof Y == "string" ? Y : "");
48
48
  }, [
49
49
  p,
@@ -57,7 +57,7 @@ const l = ({ children: e, className: a }) => {
57
57
  className: a,
58
58
  "data-date-field": !0
59
59
  }, r ? ae : null, /* @__PURE__ */ t.createElement("div", {
60
- ref: y,
60
+ ref: _,
61
61
  style: {
62
62
  display: "contents"
63
63
  }
@@ -75,12 +75,12 @@ const l = ({ children: e, className: a }) => {
75
75
  }, ne, P(re, {
76
76
  isForcedOpen: N
77
77
  }))));
78
- }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
78
+ }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
79
79
  datePart: d.MONTH,
80
80
  className: e
81
81
  }), Ye = ({ children: e, className: a }) => {
82
- const { id: n, readOnly: s } = f(), { inputId: o } = T(d.MONTH), { partError: r, isFirstPart: i } = L(d.MONTH), m = U(null);
83
- return G(() => {
82
+ const { id: n, readOnly: s } = f(), { inputId: o } = O(d.MONTH), { partError: r, isFirstPart: i } = L(d.MONTH), m = U(null);
83
+ return z(() => {
84
84
  var c;
85
85
  i && ((c = m.current) == null || c.focus());
86
86
  }, n), /* @__PURE__ */ t.createElement(Le, {
@@ -92,7 +92,7 @@ const l = ({ children: e, className: a }) => {
92
92
  "data-readonly": s || void 0
93
93
  }, /* @__PURE__ */ t.createElement(ue, null), e);
94
94
  }, B = ({ children: e, className: a, ...n }) => {
95
- const { isForcedOpen: s } = n, { language: o } = z(), r = O(() => _e(o), [
95
+ const { isForcedOpen: s } = n, { language: o } = $(), r = T(() => ye(o), [
96
96
  o
97
97
  ]), i = u(e, B.Option) ?? /* @__PURE__ */ t.createElement(B.Option, null);
98
98
  return /* @__PURE__ */ t.createElement(Fe, {
@@ -120,7 +120,7 @@ F.Trigger = Ye;
120
120
  F.Options = B;
121
121
  B.Option = we;
122
122
  const A = ({ children: e, className: a }) => {
123
- const { disabled: n, readOnly: s, showDateLabels: o } = f(), { labelId: r } = T(d.DAY), { partValue: i, partError: m, onPartChange: c } = L(d.DAY), b = u(e, A.Label), p = u(e, A.Input);
123
+ const { disabled: n, readOnly: s, showDateLabels: o } = f(), { labelId: r } = O(d.DAY), { partValue: i, partError: m, onPartChange: c } = L(d.DAY), b = u(e, A.Label), p = u(e, A.Input);
124
124
  return /* @__PURE__ */ t.createElement("div", {
125
125
  className: a,
126
126
  "data-date-field": !0
@@ -132,15 +132,15 @@ const A = ({ children: e, className: a }) => {
132
132
  isReadOnly: s,
133
133
  isInvalid: m
134
134
  }, p));
135
- }, He = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
135
+ }, He = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
136
136
  datePart: d.DAY,
137
137
  className: e
138
138
  }), Be = ({ className: e }) => {
139
- const { id: a, hidePlaceholder: n } = f(), { inputId: s } = T(d.DAY), { isFirstPart: o } = L(d.DAY), { t: r } = C(), i = U(null), m = n ? void 0 : r("field.date.placeholder.day");
140
- return G(() => {
139
+ const { id: a, hidePlaceholder: n } = f(), { inputId: s } = O(d.DAY), { isFirstPart: o } = L(d.DAY), { t: r } = C(), i = U(null), m = n ? void 0 : r("field.date.placeholder.day");
140
+ return z(() => {
141
141
  var c;
142
142
  o && ((c = i.current) == null || c.focus());
143
- }, a), /* @__PURE__ */ t.createElement(X, {
143
+ }, a), /* @__PURE__ */ t.createElement(J, {
144
144
  ref: i,
145
145
  id: s,
146
146
  className: e,
@@ -153,7 +153,7 @@ const A = ({ children: e, className: a }) => {
153
153
  A.Label = He;
154
154
  A.Input = Be;
155
155
  const V = ({ children: e, className: a }) => {
156
- const { disabled: n, readOnly: s, showDateLabels: o } = f(), { labelId: r } = T(d.YEAR), { partValue: i, partError: m, onPartChange: c } = L(d.YEAR), b = u(e, V.Label), p = u(e, V.Input);
156
+ const { disabled: n, readOnly: s, showDateLabels: o } = f(), { labelId: r } = O(d.YEAR), { partValue: i, partError: m, onPartChange: c } = L(d.YEAR), b = u(e, V.Label), p = u(e, V.Input);
157
157
  return /* @__PURE__ */ t.createElement("div", {
158
158
  className: a,
159
159
  "data-date-field": !0
@@ -165,15 +165,15 @@ const V = ({ children: e, className: a }) => {
165
165
  isReadOnly: s,
166
166
  isInvalid: m
167
167
  }, p));
168
- }, xe = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
168
+ }, xe = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
169
169
  datePart: d.YEAR,
170
170
  className: e
171
171
  }), ke = ({ className: e }) => {
172
- const { id: a, hidePlaceholder: n } = f(), { inputId: s } = T(d.YEAR), { isFirstPart: o } = L(d.YEAR), { t: r } = C(), i = U(null), m = n ? void 0 : r("field.date.placeholder.year");
173
- return G(() => {
172
+ const { id: a, hidePlaceholder: n } = f(), { inputId: s } = O(d.YEAR), { isFirstPart: o } = L(d.YEAR), { t: r } = C(), i = U(null), m = n ? void 0 : r("field.date.placeholder.year");
173
+ return z(() => {
174
174
  var c;
175
175
  o && ((c = i.current) == null || c.focus());
176
- }, a), /* @__PURE__ */ t.createElement(X, {
176
+ }, a), /* @__PURE__ */ t.createElement(J, {
177
177
  ref: i,
178
178
  id: s,
179
179
  className: e,
@@ -186,7 +186,7 @@ const V = ({ children: e, className: a }) => {
186
186
  V.Label = xe;
187
187
  V.Input = ke;
188
188
  const I = ({ children: e, className: a }) => {
189
- const { disabled: n, readOnly: s, use24HourFormat: o, showDateLabels: r } = f(), { labelId: i } = T("time"), { partValue: m, partError: c, onPartChange: b } = L("time"), p = u(e, I.Label), _ = u(e, I.Input);
189
+ const { disabled: n, readOnly: s, use24HourFormat: o, showDateLabels: r } = f(), { labelId: i } = O("time"), { partValue: m, partError: c, onPartChange: b } = L("time"), p = u(e, I.Label), y = u(e, I.Input);
190
190
  return /* @__PURE__ */ t.createElement("div", {
191
191
  className: a,
192
192
  "data-date-field": !0
@@ -198,15 +198,15 @@ const I = ({ children: e, className: a }) => {
198
198
  isReadOnly: s,
199
199
  isInvalid: c,
200
200
  hourCycle: o ? 24 : 12
201
- }, _));
201
+ }, y));
202
202
  }, Ue = ({ className: e }) => {
203
- const { inputId: a, labelId: n } = T("time"), { t: s } = C(), o = s("field.date.label.time");
203
+ const { inputId: a, labelId: n } = O("time"), { t: s } = C(), o = s("field.date.label.time");
204
204
  return /* @__PURE__ */ t.createElement("label", {
205
205
  id: n,
206
206
  htmlFor: a,
207
207
  className: e
208
208
  }, o);
209
- }, ze = ({ children: e, className: a }) => {
209
+ }, $e = ({ children: e, className: a }) => {
210
210
  const n = u(e, I.Hour), s = u(e, I.Minute), o = u(e, I.Period);
211
211
  return /* @__PURE__ */ t.createElement(pe, {
212
212
  className: a,
@@ -233,7 +233,7 @@ const I = ({ children: e, className: a }) => {
233
233
  return /* @__PURE__ */ t.createElement(t.Fragment, null);
234
234
  }
235
235
  });
236
- }, Ge = ({ className: e, ...a }) => {
236
+ }, ze = ({ className: e, ...a }) => {
237
237
  const { hidePlaceholder: n } = f(), { segment: s } = a, { t: o } = C(), r = n ? void 0 : o("field.date.placeholder.hour");
238
238
  return /* @__PURE__ */ t.createElement(x, {
239
239
  segment: s,
@@ -242,7 +242,7 @@ const I = ({ children: e, className: a }) => {
242
242
  placeholder: r
243
243
  }
244
244
  });
245
- }, $e = ({ className: e, ...a }) => {
245
+ }, qe = ({ className: e, ...a }) => {
246
246
  const { hidePlaceholder: n } = f(), { segment: s } = a, { t: o } = C(), r = n ? void 0 : o("field.date.placeholder.minute");
247
247
  return /* @__PURE__ */ t.createElement(x, {
248
248
  segment: s,
@@ -251,7 +251,7 @@ const I = ({ children: e, className: a }) => {
251
251
  placeholder: r
252
252
  }
253
253
  });
254
- }, qe = ({ className: e, ...a }) => {
254
+ }, Ge = ({ className: e, ...a }) => {
255
255
  const { hidePlaceholder: n } = f(), { segment: s } = a, { t: o } = C(), r = oe(Ee), i = n ? void 0 : o("field.date.placeholder.period"), m = () => r == null ? void 0 : r.increment("dayPeriod");
256
256
  return /* @__PURE__ */ t.createElement(x, {
257
257
  segment: s,
@@ -263,20 +263,20 @@ const I = ({ children: e, className: a }) => {
263
263
  });
264
264
  };
265
265
  I.Label = Ue;
266
- I.Input = ze;
267
- I.Hour = Ge;
268
- I.Minute = $e;
269
- I.Period = qe;
270
- l.Label = Oe;
266
+ I.Input = $e;
267
+ I.Hour = ze;
268
+ I.Minute = qe;
269
+ I.Period = Ge;
270
+ l.Label = Te;
271
271
  l.Month = F;
272
272
  l.Day = A;
273
273
  l.Year = V;
274
274
  l.Time = I;
275
- l.Description = ye;
276
- l.Error = Te;
277
- function T(e) {
278
- const { inputId: a } = J();
279
- return O(() => {
275
+ l.Description = _e;
276
+ l.Error = Oe;
277
+ function O(e) {
278
+ const { inputId: a } = W();
279
+ return T(() => {
280
280
  const n = e.toLowerCase();
281
281
  return {
282
282
  inputId: `${a}-${n}-input`,
@@ -288,30 +288,30 @@ function T(e) {
288
288
  ]);
289
289
  }
290
290
  function L(e) {
291
- const { value: a, onChange: n, hasError: s = !1 } = f(), { regionalFormat: o } = z(), [r, i] = O(() => j(a ?? ""), [
291
+ const { value: a, onChange: n, hasError: s = !1 } = f(), { regionalFormat: o } = $(), [r, i] = T(() => K(a ?? ""), [
292
292
  a
293
- ]), m = O(() => he(s, a ?? ""), [
293
+ ]), m = T(() => he(s, a ?? ""), [
294
294
  a,
295
295
  s
296
- ]), c = O(() => fe(r), [
296
+ ]), c = T(() => fe(r), [
297
297
  r
298
- ]), b = O(() => je(i), [
298
+ ]), b = T(() => Ke(i), [
299
299
  i
300
300
  ]), p = H((N) => {
301
- const D = Ke(N), y = K(r, D);
302
- n(y);
301
+ const D = je(N), _ = j(r, D);
302
+ n(_);
303
303
  }, [
304
304
  n,
305
305
  r
306
- ]), _ = H((N) => {
307
- const [, D] = j(a ?? ""), y = be(N, e, c), S = K(y, D);
306
+ ]), y = H((N) => {
307
+ const [, D] = K(a ?? ""), _ = be(N, e, c), S = j(_, D);
308
308
  n(S);
309
309
  }, [
310
310
  n,
311
311
  a,
312
312
  c,
313
313
  e
314
- ]), M = O(() => e === "time" ? !1 : W(o).filter(Z).map((y) => y.toUpperCase())[0] === e, [
314
+ ]), M = T(() => e === "time" ? !1 : X(o).filter(Z).map((_) => _.toUpperCase())[0] === e, [
315
315
  o,
316
316
  e
317
317
  ]);
@@ -323,19 +323,19 @@ function L(e) {
323
323
  } : {
324
324
  partValue: c[e] || "",
325
325
  partError: m[e],
326
- onPartChange: _,
326
+ onPartChange: y,
327
327
  isFirstPart: M
328
328
  };
329
329
  }
330
- function $({ datePart: e, className: a }) {
331
- const { inputId: n, labelId: s } = T(e), { t: o } = C(), r = `field.date.label.${e.toLowerCase()}`, i = o(r);
330
+ function q({ datePart: e, className: a }) {
331
+ const { inputId: n, labelId: s } = O(e), { t: o } = C(), r = `field.date.label.${e.toLowerCase()}`, i = o(r);
332
332
  return /* @__PURE__ */ t.createElement("label", {
333
333
  id: s,
334
334
  htmlFor: n,
335
335
  className: a
336
336
  }, i);
337
337
  }
338
- function je(e) {
338
+ function Ke(e) {
339
339
  if (!e)
340
340
  return null;
341
341
  try {
@@ -344,7 +344,7 @@ function je(e) {
344
344
  return null;
345
345
  }
346
346
  }
347
- function Ke(e) {
347
+ function je(e) {
348
348
  if (!e)
349
349
  return null;
350
350
  const a = String(e.hour).padStart(2, "0"), n = String(e.minute).padStart(2, "0"), s = String(e.second).padStart(2, "0");
@@ -354,11 +354,11 @@ function Ke(e) {
354
354
  s
355
355
  ].join(":");
356
356
  }
357
- const Qe = "_fields_h99r9_1", Xe = "_month_h99r9_10", Je = "_day_h99r9_11", We = "_year_h99r9_12", Ze = "_timeGroup_h99r9_13", et = "_dayInput_h99r9_34", tt = "_yearInput_h99r9_35", at = "_monthTrigger_h99r9_39", nt = "_monthOption_h99r9_59", rt = "_time_h99r9_13", st = "_hour_h99r9_78", ot = "_minute_h99r9_79", lt = "_period_h99r9_80", E = {
357
+ const Qe = "_fields_h99r9_1", Je = "_month_h99r9_10", We = "_day_h99r9_11", Xe = "_year_h99r9_12", Ze = "_timeGroup_h99r9_13", et = "_dayInput_h99r9_34", tt = "_yearInput_h99r9_35", at = "_monthTrigger_h99r9_39", nt = "_monthOption_h99r9_59", rt = "_time_h99r9_13", st = "_hour_h99r9_78", ot = "_minute_h99r9_79", lt = "_period_h99r9_80", E = {
358
358
  fields: Qe,
359
- month: Xe,
360
- day: Je,
361
- year: We,
359
+ month: Je,
360
+ day: We,
361
+ year: Xe,
362
362
  timeGroup: Ze,
363
363
  dayInput: et,
364
364
  yearInput: tt,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-C4srGo4X.js";
2
+ import { D as t } from "./date-time-input-field-rac-C5TC2nsm.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 { b9 as e, ac as t } from "./form-Dx1bK3Fi.js";
3
- import { C as p } from "./checkbox-group-field-rac-CNWwJ_No.js";
2
+ import { bh as e, aj as t } from "./form-BpJ4Lqbe.js";
3
+ import { C as p } from "./checkbox-group-field-rac-CSuJRyk1.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-3a6NYcNf.js";
2
+ import { C as t } from "./checkbox-field-rac-YmG26i31.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-BwSKny80.js";
2
+ import { D as t } from "./date-picker-field-rac-BsR_0eAW.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-C4srGo4X.js";
2
+ import { D as t } from "./date-time-input-field-rac-C5TC2nsm.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-mbYavQtS.js";
2
+ import { D as r } from "./dropdown-field-rac-DduQJ9rO.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-CUi08-gD.js";
2
+ import { E as e } from "./email-input-field-rac-bPEcgidt.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-C89M-zOh.js";
2
+ import { N as t } from "./number-input-field-rac-CaHySxYH.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-BT-Fe6WZ.js";
2
+ import { P as t } from "./phone-input-field-rac-R3LYdPIs.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 { b9 as e, ac as t } from "./form-Dx1bK3Fi.js";
3
- import { R as p } from "./radio-group-field-rac-BY2OIFFr.js";
2
+ import { bh as e, aj as t } from "./form-BpJ4Lqbe.js";
3
+ import { R as p } from "./radio-group-field-rac-R5onZzJd.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
- const c = () => {
5
+ const l = () => {
6
6
  const o = {
7
7
  ...e(),
8
8
  otherInputCharacterLimit: a
@@ -14,5 +14,5 @@ const c = () => {
14
14
  }, /* @__PURE__ */ r.createElement(p, null));
15
15
  };
16
16
  export {
17
- c as DextRadioGroupRAC
17
+ l as DextRadioGroupRAC
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-CbLzvwyk.js";
2
+ import { R as e } from "./rating-input-field-rac-C9GpwuRO.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 { b9 as e, ac as o } from "./form-Dx1bK3Fi.js";
3
- import { T as s } from "./tags-field-rac-rpzvIn_0.js";
2
+ import { bh as e, aj as o } from "./form-BpJ4Lqbe.js";
3
+ import { T as s } from "./tags-field-rac-CbmR6gi4.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
- const c = () => {
5
+ const l = () => {
6
6
  const t = {
7
7
  ...e(),
8
8
  otherInputCharacterLimit: a
@@ -14,5 +14,5 @@ const c = () => {
14
14
  }, /* @__PURE__ */ r.createElement(s, null));
15
15
  };
16
16
  export {
17
- c as DextTagsRAC
17
+ l as DextTagsRAC
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-BfVrtvl8.js";
2
+ import { T as t } from "./text-area-field-rac-DHQqkqtu.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-BlaXiXoF.js";
2
+ import { T as e } from "./text-input-field-rac-BVTBYjMM.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-BHF6gZlT.js";
2
+ import { U as r } from "./url-input-field-rac-BhPzHWTI.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC