@wix/form-elements 1.125.0 → 1.127.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-Z-zuUkSk.js → appointment-rac-BrC7gcpn.js} +5 -5
  2. package/dist/component/{bookings-address-rac-CKDBaGLn.js → bookings-address-rac-D-UmBxjD.js} +1 -1
  3. package/dist/component/{bookings-email-rac-D4aI_Jzq.js → bookings-email-rac-CjHDzU0Q.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-zzQHBi06.js → bookings-first-name-rac-ChBkkkWm.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Ck8ODZZj.js → bookings-header-rac-ERfGeYyw.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-Bf6GZjrX.js → bookings-last-name-rac-CuTJ7Y8w.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DFDj9-BP.js → bookings-login-bar-rac-pudlQ67l.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-Bv1-qlMw.js → bookings-phone-rac-nLPnLRfS.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-D7B-s_XR.js → bookings-rich-text-rac-DOmGQlyG.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CiKYZvTz.js → checkbox-field-rac-DLazY-iO.js} +86 -86
  11. package/dist/component/{checkbox-group-field-headless-CV6U8eSj.js → checkbox-group-field-headless-CPyWmFBH.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-BQlPsFkN.js → checkbox-group-field-rac-Bir3gaI9.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-DS3C_O04.js → checkbox-group-rac-BGXUl-sJ.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-dUEfjEya.js → checkbox-rac-D_wZVUFV.js} +1 -1
  16. package/dist/component/{contacts-address-rac-CpszOK8V.js → contacts-address-rac-CNldSQbf.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-8VQHFq-M.js → contacts-birthdate-rac-AVyldaRF.js} +1 -1
  18. package/dist/component/{contacts-company-rac-BOBr0Kk7.js → contacts-company-rac-CiP1Ctpa.js} +1 -1
  19. package/dist/component/{contacts-email-rac-CTLHE5HL.js → contacts-email-rac-CzjMVEJZ.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-nYNH569s.js → contacts-first-name-rac-G0kE0HmA.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-BX1D0mI7.js → contacts-last-name-rac-cnTTtnMZ.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DKbEfOsH.js → contacts-phone-rac-DJ9oxox4.js} +1 -1
  23. package/dist/component/{contacts-position-rac-B0y-O-4j.js → contacts-position-rac-e0uQ-eqL.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-5yYJn7F0.js → contacts-subscribe-rac-D4J2x78f.js} +1 -1
  25. package/dist/component/{contacts-tax-id-rac-BB5ngpkv.js → contacts-tax-id-rac-DwJuNH-C.js} +1 -1
  26. package/dist/component/{date-availability-C87SaTKG.js → date-availability-D2BSwZ_r.js} +1 -1
  27. package/dist/component/{date-input-field-rac-CS8QQO3m.js → date-input-field-rac-ztJ02C60.js} +42 -42
  28. package/dist/component/{date-input-rac-VHB7v5UL.js → date-input-rac-D-SFsC6P.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-Cri5p6Ms.js → date-picker-field-rac-DaNwsa8z.js} +15 -15
  30. package/dist/component/{date-picker-rac-B57G3x5E.js → date-picker-rac-Bn0sA6P1.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-4Qka-NnP.js → date-time-input-field-rac-D-ArMpcJ.js} +64 -64
  32. package/dist/component/{date-time-input-rac-DGCjjMFb.js → date-time-input-rac-qYLa3IDx.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-DWvCwPTc.js → dext-checkbox-group-rac-Dir6tyvo.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-33LSTC36.js → dext-checkbox-rac-ByiMc3BH.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-Bf7NykP3.js → dext-date-picker-rac-BwOozu5y.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-Bao0DdBz.js → dext-date-time-input-rac-CaJEzZa4.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-DmcOs3JV.js → dext-dropdown-rac-DJnMjggU.js} +1 -1
  38. package/dist/component/{dext-email-rac-BQZuGJyR.js → dext-email-rac-CF4SQ86l.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-BkRW3syI.js → dext-number-input-rac--3goVI8C.js} +1 -1
  40. package/dist/component/{dext-phone-rac-BQTtIO3M.js → dext-phone-rac-MYJYG040.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-8OX3bK1R.js → dext-radio-group-rac-Q2J5Hk5W.js} +4 -4
  42. package/dist/component/{dext-rating-input-rac-DzsAbe6_.js → dext-rating-input-rac-CAWhD-lI.js} +1 -1
  43. package/dist/component/{dext-tags-rac-vBL9kqB4.js → dext-tags-rac-DyxI5ooy.js} +4 -4
  44. package/dist/component/{dext-text-area-rac-DnaX_wQ4.js → dext-text-area-rac-CZpM-r49.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-D94mFw2C.js → dext-text-input-rac-Bv5Mhyw6.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BbGsxHGa.js → dext-url-input-rac-BkbTjbAI.js} +1 -1
  47. package/dist/component/{donation-rac-BMSQOEKY.js → donation-rac-DZjFeJFy.js} +36 -36
  48. package/dist/component/{dropdown-field-headless-DfV7Hu_x.js → dropdown-field-headless-C7l2TQYy.js} +16 -16
  49. package/dist/component/{dropdown-field-rac-DV8KVcfL.js → dropdown-field-rac-DOAlecw8.js} +5 -5
  50. package/dist/component/{dropdown-rac-CWxp-u5t.js → dropdown-rac-D8HtaeBe.js} +1 -1
  51. package/dist/component/{ecom-address-rac-DDUa9lKf.js → ecom-address-rac-B25o-GVv.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-C6Bl1HwZ.js → ecom-subscription-checkbox-rac-NvdWnD0v.js} +2 -2
  53. package/dist/component/{email-input-field-rac-DssxRa6A.js → email-input-field-rac-rWyojsu0.js} +19 -19
  54. package/dist/component/{events-repeater-rac-C-Y70-hO.js → events-repeater-rac-D2HvNt0y.js} +11 -11
  55. package/dist/component/{events-rsvp-rac-CH8cmC73.js → events-rsvp-rac-D4WLn0Bx.js} +4 -4
  56. package/dist/component/{field-error-headless-B-dJmWQP.js → field-error-headless-DU0YsEXR.js} +6 -6
  57. package/dist/component/{field-label-headless-BMozN-s1.js → field-label-headless-CvdTZi6i.js} +1 -1
  58. package/dist/component/field-rac.module-BIBNQEOK.js +25 -0
  59. package/dist/component/{file-upload-rac-q-JbJbUf.js → file-upload-rac-CMelyfA8.js} +68 -68
  60. package/dist/component/{fixed-payment-rac-BUeec_59.js → fixed-payment-rac-CewsqE-k.js} +9 -9
  61. package/dist/component/{form-D_BE2Fzt.js → form-D9IxiDXP.js} +2400 -2346
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +3 -3
  64. package/dist/component/{header-field-rac-DWDGXZ-1.js → header-field-rac-CYBfb_5D.js} +6 -6
  65. package/dist/component/{header-rac-DSJRq-aS.js → header-rac-BIq3DmbL.js} +1 -1
  66. package/dist/component/{image-choice-rac-CZhE0M_b.js → image-choice-rac-aOObRIMi.js} +12 -12
  67. package/dist/component/{index-COa1NdN9.js → index-BXqA4oNj.js} +15 -15
  68. package/dist/component/{index-CbQKmL2D.js → index-D-g3wQ-z.js} +43 -43
  69. package/dist/component/{isObjectLike-OXbnWiQZ.js → isObjectLike-BNDXzCto.js} +7 -7
  70. package/dist/component/{multiline-address-field-rac-uwvOu2s8.js → multiline-address-field-rac-BcTa7Von.js} +8 -8
  71. package/dist/component/{multiline-address-rac-dechT7TO.js → multiline-address-rac-Cd_BFreP.js} +1 -1
  72. package/dist/component/{number-input-field-rac-Dzd1zIZ3.js → number-input-field-rac-_JlH34_3.js} +9 -9
  73. package/dist/component/{number-input-rac-CEkIm28k.js → number-input-rac-CiM20ScT.js} +1 -1
  74. package/dist/component/{password-rac-CWitmbZm.js → password-rac-DrpXSY74.js} +32 -32
  75. package/dist/component/{payment-input-rac-CM0uC5on.js → payment-input-rac-RnMeVWDc.js} +15 -15
  76. package/dist/component/{phone-input-field-rac-fWGQuICi.js → phone-input-field-rac-nNp7D7gK.js} +39 -39
  77. package/dist/component/{phone-rac-Yz8_o8zI.js → phone-rac-B2JjPT2w.js} +1 -1
  78. package/dist/component/{product-list-rac-CEWFFKC_.js → product-list-rac-Cv_fjFn3.js} +28 -28
  79. package/dist/component/{quiz-radio-group-rac-D0x2dT8O.js → quiz-radio-group-rac-CNqF6Tq3.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-ByzyRWGZ.js → radio-button-module-classes-vqR4TN-z.js} +3 -3
  81. package/dist/component/{radio-group-field-rac-Bp-gAa8G.js → radio-group-field-rac-Bpyr40q-.js} +5 -5
  82. package/dist/component/{radio-group-rac-v2iHQ7Do.js → radio-group-rac-DBLPP0YC.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-Cy2FMWGM.js → rating-input-field-rac-BOi0G37L.js} +10 -10
  84. package/dist/component/{rating-input-rac-BbVp3WB3.js → rating-input-rac-CxpmV0Pa.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-CD6SVCbh.js → rich-content-rac.module-Dmm9GyQq.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-BpNrx6yp.js → rich-text-field-rac-C466OrTf.js} +9 -9
  87. package/dist/component/{rich-text-rac-Dhy7uiP1.js → rich-text-rac-BvVxD7oJ.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-CAneRKHw.js → service-dropdown-rac-pmUKH0sP.js} +14 -14
  89. package/dist/component/{services-multi-choice-rac-D6sXFbh-.js → services-multi-choice-rac-B65i6q2D.js} +7 -7
  90. package/dist/component/signature-rac-BRyM06Vz.js +918 -0
  91. package/dist/component/{submit-button-rac-BXXTjOsT.js → submit-button-rac-DaCRjZlQ.js} +15 -15
  92. package/dist/component/{tags-field-rac-C5UfRny_.js → tags-field-rac-CEdfh-EQ.js} +17 -17
  93. package/dist/component/{tags-rac-B9CeCJ7N.js → tags-rac-CGSTQ0qK.js} +1 -1
  94. package/dist/component/{text-area-field-rac-CPRcMTLB.js → text-area-field-rac-C-EHPWwQ.js} +15 -15
  95. package/dist/component/{text-area-rac-DTP1F7-n.js → text-area-rac-Df1nSb2q.js} +1 -1
  96. package/dist/component/{text-input-field-rac-BNWvKfLB.js → text-input-field-rac-DmCZtBi_.js} +4 -4
  97. package/dist/component/{text-input-headless-CLQsDBPq.js → text-input-headless-DAxEZP1P.js} +8 -8
  98. package/dist/component/{text-input-rac-D-x0vJ11.js → text-input-rac-DgpO17dl.js} +1 -1
  99. package/dist/component/{time-input-rac-CDyfV8is.js → time-input-rac-Dld_tLub.js} +10 -10
  100. package/dist/component/{url-input-field-rac-DS-y2pYu.js → url-input-field-rac-DHZ6bpxZ.js} +10 -10
  101. package/dist/component/{url-input-rac-mPuawQc5.js → url-input-rac-CZlWy5RB.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-C8fUy9a7.js → use-dropdown-option-class-name-opBd-YJA.js} +3 -3
  103. package/dist/component/{use-dropdown-trigger-class-name-TB7azWxx.js → use-dropdown-trigger-class-name-BGQH0WCO.js} +10 -10
  104. package/dist/component/use-element-state-class-name-B2ecLjwN.js +20 -0
  105. package/dist/component/{use-hoverable-input-class-name-Dd0kMkOT.js → use-hoverable-input-class-name-B42rAp82.js} +3 -3
  106. package/dist/component/{use-service-options-base-CZXMLBQ0.js → use-service-options-base-D60-jNUT.js} +4 -4
  107. package/dist/component/use-text-input-class-name-DGpCdZ_e.js +6 -0
  108. package/dist/form.d.ts +11 -1
  109. package/package.json +23 -23
  110. package/dist/component/field-rac.module-DQxyEwK7.js +0 -26
  111. package/dist/component/signature-rac-D_mfewhJ.js +0 -794
  112. package/dist/component/use-element-state-class-name-BUWRj3G2.js +0 -22
  113. package/dist/component/use-text-input-class-name-BJ6Qm1bq.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-D_BE2Fzt.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-D9IxiDXP.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-B-dJmWQP.js";
11
- import { L as Oe } from "./field-label-headless-BMozN-s1.js";
9
+ import { g as ye } from "./helpers-HmkkXrh2.js";
10
+ import { D as _e, E as Oe } from "./field-error-headless-DU0YsEXR.js";
11
+ import { L as Te } from "./field-label-headless-CvdTZi6i.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-TB7azWxx.js";
15
- import { V as Se, u as Re } from "./use-dropdown-option-class-name-C8fUy9a7.js";
14
+ import { a as Pe, u as Me } from "./use-dropdown-trigger-class-name-BGQH0WCO.js";
15
+ import { V as Se, u as Re } from "./use-dropdown-option-class-name-opBd-YJA.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-BJ6Qm1bq.js";
19
+ import { s as g } from "./field-rac.module-BIBNQEOK.js";
20
+ import { u as k } from "./use-text-input-class-name-DGpCdZ_e.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-4Qka-NnP.js";
2
+ import { D as t } from "./date-time-input-field-rac-D-ArMpcJ.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-D_BE2Fzt.js";
3
- import { C as p } from "./checkbox-group-field-rac-BQlPsFkN.js";
2
+ import { bh as e, aj as t } from "./form-D9IxiDXP.js";
3
+ import { C as p } from "./checkbox-group-field-rac-Bir3gaI9.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-CiKYZvTz.js";
2
+ import { C as t } from "./checkbox-field-rac-DLazY-iO.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-Cri5p6Ms.js";
2
+ import { D as t } from "./date-picker-field-rac-DaNwsa8z.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-4Qka-NnP.js";
2
+ import { D as t } from "./date-time-input-field-rac-D-ArMpcJ.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-DV8KVcfL.js";
2
+ import { D as r } from "./dropdown-field-rac-DOAlecw8.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-DssxRa6A.js";
2
+ import { E as e } from "./email-input-field-rac-rWyojsu0.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-Dzd1zIZ3.js";
2
+ import { N as t } from "./number-input-field-rac-_JlH34_3.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-fWGQuICi.js";
2
+ import { P as t } from "./phone-input-field-rac-nNp7D7gK.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-D_BE2Fzt.js";
3
- import { R as p } from "./radio-group-field-rac-Bp-gAa8G.js";
2
+ import { bh as e, aj as t } from "./form-D9IxiDXP.js";
3
+ import { R as p } from "./radio-group-field-rac-Bpyr40q-.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-Cy2FMWGM.js";
2
+ import { R as e } from "./rating-input-field-rac-BOi0G37L.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-D_BE2Fzt.js";
3
- import { T as s } from "./tags-field-rac-C5UfRny_.js";
2
+ import { bh as e, aj as o } from "./form-D9IxiDXP.js";
3
+ import { T as s } from "./tags-field-rac-CEdfh-EQ.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-CPRcMTLB.js";
2
+ import { T as t } from "./text-area-field-rac-C-EHPWwQ.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-BNWvKfLB.js";
2
+ import { T as e } from "./text-input-field-rac-DmCZtBi_.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-DS-y2pYu.js";
2
+ import { U as r } from "./url-input-field-rac-DHZ6bpxZ.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC