@wix/form-elements 1.106.0 → 1.108.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-D2F4vgf1.js → appointment-rac-ZAp8oWbK.js} +289 -290
  2. package/dist/component/{bookings-address-rac-_5S8J8_i.js → bookings-address-rac-x-Az7vHf.js} +1 -1
  3. package/dist/component/{bookings-email-rac-6vmDR9nS.js → bookings-email-rac-MoF_CaqB.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DtTJ4T2K.js → bookings-first-name-rac-CWh3Rb0M.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B3dsEwzR.js → bookings-header-rac-BVTiXUWk.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-B3idkbi8.js → bookings-last-name-rac-kXRRlyHl.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CrRBcQwT.js → bookings-login-bar-rac-C4Zr6kXE.js} +23 -24
  8. package/dist/component/{bookings-phone-rac-BE0yWNnj.js → bookings-phone-rac-2rz1m_xi.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CYo1l0-6.js → bookings-rich-text-rac-BEjGypQw.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-boTtXVEt.js → checkbox-field-rac-DwEQLIaz.js} +66 -67
  11. package/dist/component/{checkbox-group-field-headless-DnkUvDm8.js → checkbox-group-field-headless-BsOww_QB.js} +37 -37
  12. package/dist/component/{checkbox-group-field-rac-DrDTgHMg.js → checkbox-group-field-rac-DTcZcVS6.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-v3ozUBpo.js → checkbox-group-rac-DQsML-pW.js} +1 -1
  14. package/dist/component/{checkbox-rac-YSLE-RnG.js → checkbox-rac-irEBBOxP.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C653yaHZ.js → contacts-address-rac-B5bSAYrm.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BeAQ6shx.js → contacts-birthdate-rac-DyScj8f4.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BglKOoTG.js → contacts-company-rac-C5X9-jXa.js} +1 -1
  18. package/dist/component/{contacts-email-rac-D6m7ynfc.js → contacts-email-rac-B0vkfmrS.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Dgxn0tUJ.js → contacts-first-name-rac-Cfil3U_e.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-1UyIuRKH.js → contacts-last-name-rac-CtPLE-7-.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BQ77BlW4.js → contacts-phone-rac-YkzsAoBZ.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BUDUv7lv.js → contacts-position-rac-BS4j8QC-.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DdtA0qKW.js → contacts-subscribe-rac-z_9VsEZL.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-WUaKcNl0.js → contacts-tax-id-rac-WFkmKyZv.js} +1 -1
  25. package/dist/component/{date-availability-XjBFq8jt.js → date-availability-NN3rxosk.js} +1 -1
  26. package/dist/component/{date-input-field-rac-aY2zuuKs.js → date-input-field-rac-mdhEC3oq.js} +88 -89
  27. package/dist/component/{date-input-rac-DRiP2_97.js → date-input-rac-CGciuoTx.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Bzl-d3Uj.js → date-picker-field-rac-CRZVODfF.js} +90 -91
  29. package/dist/component/{date-picker-rac-DHHUh8vn.js → date-picker-rac-Bfbvjy8W.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DP_StuLr.js → date-time-input-field-rac-TDWBXZ44.js} +76 -77
  31. package/dist/component/{date-time-input-rac-B11KIxsf.js → date-time-input-rac-DY0qdSix.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BHZBqyWv.js → dext-checkbox-group-rac-BFGM7SOt.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BIlAqEvV.js → dext-checkbox-rac-DPZvTeUZ.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CHBXNrZi.js → dext-date-picker-rac-Xd5kojsQ.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BYtliKry.js → dext-date-time-input-rac-C0RIdxJW.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-C2VPSFV5.js → dext-dropdown-rac-D1m8vJvm.js} +1 -1
  37. package/dist/component/{dext-email-rac-Fnb0Ggcs.js → dext-email-rac-BC81RFYY.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DopfSyFi.js → dext-number-input-rac-Z_ih9FfX.js} +1 -1
  39. package/dist/component/{dext-phone-rac-Rn4i_2rc.js → dext-phone-rac-s3BOnXuI.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-bNaskJpK.js → dext-radio-group-rac-CL3jcezs.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DL6ZZd7d.js → dext-rating-input-rac-wz1EyP5b.js} +1 -1
  42. package/dist/component/{dext-tags-rac-TsUPoImO.js → dext-tags-rac-BY4Rf2BP.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BIuY7LTd.js → dext-text-area-rac-DRJzlsq8.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CSYPW0Qi.js → dext-text-input-rac-BGcRNNAi.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-_g0lqGfW.js → dext-url-input-rac-CRAIm8yp.js} +1 -1
  46. package/dist/component/{donation-rac-BYKFtsyR.js → donation-rac-BlTfOIlE.js} +83 -84
  47. package/dist/component/{dropdown-field-headless-CBaqlNZi.js → dropdown-field-headless-DhzRAMcM.js} +12 -12
  48. package/dist/component/{dropdown-field-rac-CCAGSMm3.js → dropdown-field-rac-DXyY5we-.js} +5 -5
  49. package/dist/component/{dropdown-rac-C_EqUsZ1.js → dropdown-rac-C6YM6qxm.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Bw9eH0iF.js → ecom-address-rac-CAdr7wya.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-B5PVOO2a.js → ecom-subscription-checkbox-rac-Z2VMuCbt.js} +6 -6
  52. package/dist/component/{email-input-field-rac-B2kqQ6yo.js → email-input-field-rac-DpkfunVK.js} +53 -54
  53. package/dist/component/{events-repeater-rac--4OnUxWE.js → events-repeater-rac-CuJkdrPo.js} +61 -62
  54. package/dist/component/{events-rsvp-rac-CczCoo3T.js → events-rsvp-rac-BKWlSeQ9.js} +8 -8
  55. package/dist/component/{field-error-headless-D3-1L5sf.js → field-error-headless-tsg9FQ-_.js} +12 -12
  56. package/dist/component/{field-label-headless-Du4ckIVy.js → field-label-headless-CB8dEat8.js} +11 -11
  57. package/dist/component/{file-upload-rac-DbdkUbWM.js → file-upload-rac-ZdgYt646.js} +67 -68
  58. package/dist/component/{fixed-payment-rac-f9-01iDN.js → fixed-payment-rac-CuIQEeHh.js} +20 -21
  59. package/dist/component/{form-DQauhsho.js → form-0jt4L5xo.js} +3045 -2896
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/header-field-rac-CWVGzxKb.js +24 -0
  63. package/dist/component/{header-rac-CR9T3Pnu.js → header-rac-D6KsV-ko.js} +1 -1
  64. package/dist/component/{image-choice-rac-DJ_8v467.js → image-choice-rac-CUCyVS8c.js} +29 -30
  65. package/dist/component/{index-BB7d_9Dv.js → index-TJSnVtCO.js} +72 -72
  66. package/dist/component/{index-CcUTIUWM.js → index-iOqQidgV.js} +12 -12
  67. package/dist/component/{isObjectLike-xvPa_08X.js → isObjectLike-DQbx8r1c.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-CyaFOloE.js → multiline-address-field-rac-DtZ1NTfD.js} +186 -187
  69. package/dist/component/{multiline-address-rac-CaHGUN_f.js → multiline-address-rac-ub-_XzHU.js} +1 -1
  70. package/dist/component/number-input-field-rac-DLItn4DK.js +92 -0
  71. package/dist/component/{number-input-rac-DMKX6nhk.js → number-input-rac-UuxJzqEx.js} +1 -1
  72. package/dist/component/{password-rac-0RUXPAn6.js → password-rac-Di6q96Rn.js} +37 -38
  73. package/dist/component/{payment-input-rac-CHSZ3-Lt.js → payment-input-rac-CG6c4-Ge.js} +52 -53
  74. package/dist/component/{phone-input-field-rac-JmIFcP1e.js → phone-input-field-rac-D4JphCuT.js} +75 -76
  75. package/dist/component/{phone-rac-BLRnAPXP.js → phone-rac-_vDw2usa.js} +1 -1
  76. package/dist/component/{product-list-rac-BkF5tDwt.js → product-list-rac-CgxRlj1f.js} +73 -74
  77. package/dist/component/{quiz-radio-group-rac-32cCMTUS.js → quiz-radio-group-rac-bi26aGxN.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-IOulhuSH.js → radio-button-module-classes-DDJq2ESf.js} +33 -33
  79. package/dist/component/{radio-group-field-rac-CJwku6e0.js → radio-group-field-rac-D1aMVO6l.js} +4 -4
  80. package/dist/component/{radio-group-rac-BiW-9Abj.js → radio-group-rac-HKC85M6t.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-B9cwaROK.js → rating-input-field-rac-CpRehxFB.js} +42 -43
  82. package/dist/component/{rating-input-rac-BpwlNvzQ.js → rating-input-rac-BMuCZ3oj.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-B1uyPmtK.js → rich-content-rac.module-mZ6xoAOd.js} +4 -4
  84. package/dist/component/rich-text-field-rac-CUK8V8Kf.js +21 -0
  85. package/dist/component/{rich-text-rac-VfeZxS27.js → rich-text-rac-B-7sR2FJ.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-BCfs8IhW.js → service-dropdown-rac-1DDNT5bn.js} +43 -44
  87. package/dist/component/{services-multi-choice-rac-CCqdF_7P.js → services-multi-choice-rac-CB-6dwxz.js} +21 -22
  88. package/dist/component/{signature-rac-DOyMo3u0.js → signature-rac-7XBci6P2.js} +35 -36
  89. package/dist/component/{submit-button-rac-C2uA5DeE.js → submit-button-rac-B1-Mk8Gg.js} +21 -22
  90. package/dist/component/{tags-field-rac-C_uIw2by.js → tags-field-rac-CQ9Y7mq-.js} +49 -50
  91. package/dist/component/{tags-rac-1pQ-fpe_.js → tags-rac-Visic-Ml.js} +1 -1
  92. package/dist/component/{text-area-field-rac-DqlOkm7e.js → text-area-field-rac-C8fP1g-w.js} +31 -32
  93. package/dist/component/{text-area-rac-DPdkrFcH.js → text-area-rac-B6yZxzxm.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CmXm6r1w.js → text-input-field-rac-CNjbOxD1.js} +5 -5
  95. package/dist/component/{text-input-headless-DD__2DFf.js → text-input-headless-Bm8PJGep.js} +12 -12
  96. package/dist/component/{text-input-rac-DRHyQEH7.js → text-input-rac-BEPC1Z-4.js} +1 -1
  97. package/dist/component/{time-input-rac-BJPIymQY.js → time-input-rac-3m6C_Jp5.js} +41 -42
  98. package/dist/component/url-input-field-rac-CIk_6Lf6.js +74 -0
  99. package/dist/component/{url-input-rac-C0ChQUzq.js → url-input-rac-DyVoygXH.js} +1 -1
  100. package/dist/component/use-dropdown-option-class-name-McG3ayOT.js +21 -0
  101. package/dist/component/{use-element-state-class-name-BatTc2bw.js → use-element-state-class-name-B9MBWX44.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-B0jiPTmS.js → use-is-forced-open-dropdown-r5G_sZsO.js} +7 -7
  103. package/dist/component/{use-service-options-base-oeE7xszw.js → use-service-options-base-hcbkvhpw.js} +7 -7
  104. package/dist/component/use-text-input-class-name-SnurFqAr.js +23 -0
  105. package/dist/form.d.ts +3 -1
  106. package/package.json +2 -2
  107. package/dist/component/form-element-classes-bLFmhsKw.js +0 -137
  108. package/dist/component/header-field-rac-DamDk5BR.js +0 -25
  109. package/dist/component/number-input-field-rac-BuYUzDWV.js +0 -93
  110. package/dist/component/rich-text-field-rac-C_qE7Ykg.js +0 -22
  111. package/dist/component/url-input-field-rac-CFDYkZ6I.js +0 -75
  112. package/dist/component/use-dropdown-option-class-name-3L5ZmNLK.js +0 -21
  113. package/dist/component/use-text-input-class-name-LQ5S-NLh.js +0 -24
@@ -1,26 +1,25 @@
1
1
  import { RicosViewer as oe } from "@wix/ricos/viewer";
2
2
  import E from "classnames";
3
- import t, { useMemo as T, useState as q, useCallback as w, useRef as z, useContext as se } from "react";
3
+ import t, { useMemo as T, useState as $, 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 Q, TimeField as ue, SelectValue as pe, Input as J, DateInput as Ee, DateSegment as B, TimeFieldStateContext as he } from "react-aria-components";
7
- import { ak as b, ah as W, ac as G, K as X, a2 as Z, s as d, au as L, a6 as j, Q as fe, y as be, a9 as ge, z as K, am as U } from "./form-DQauhsho.js";
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";
8
8
  import { f as u, a as P } from "./find-child-C60k4CxG.js";
9
- import { g as Ie } from "./helpers-HmkkXrh2.js";
10
- import { D as De, E as Ne } from "./field-error-headless-D3-1L5sf.js";
11
- import { L as _e } from "./field-label-headless-Du4ckIVy.js";
12
- import { F as ye } from "./fieldset-headless-CD3fds9J.js";
13
- import { N as Oe, S as Te } from "./non-modal-popover-DtIMXHbe.js";
14
- import { u as Le } from "./use-is-forced-open-dropdown-B0jiPTmS.js";
15
- import { C as Fe } from "./chevron-down-icon-CcpVm6B-.js";
16
- import { E as Ce } from "./error-icon-hZxQ6DEy.js";
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";
12
+ import { F as Ce } from "./fieldset-headless-CD3fds9J.js";
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";
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 { v as S, J as Pe, n as Me, x as ve, o as Se, j as Re } from "./form-element-classes-bLFmhsKw.js";
20
- import { u as Ae } from "./use-dropdown-option-class-name-3L5ZmNLK.js";
21
- import { u as k } from "./use-text-input-class-name-LQ5S-NLh.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";
22
21
  const l = ({ children: e, className: a }) => {
23
- const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: g } = W(), { regionalFormat: p } = G(), _ = T(() => X(p).filter(Z).map((v) => v.toUpperCase()), [
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()), [
24
23
  p
25
24
  ]), M = u(e, l.Label), V = u(e, l.Description), D = u(e, l.Error), N = {
26
25
  [d.MONTH]: u(e, l.Month),
@@ -32,7 +31,7 @@ const l = ({ children: e, className: a }) => {
32
31
  renderLabel: () => P(M, {
33
32
  as: "div"
34
33
  }),
35
- renderInput: () => /* @__PURE__ */ t.createElement(ye, {
34
+ renderInput: () => /* @__PURE__ */ t.createElement(Ce, {
36
35
  id: m,
37
36
  ariaLabelledBy: c,
38
37
  ariaDescribedBy: g,
@@ -44,7 +43,7 @@ const l = ({ children: e, className: a }) => {
44
43
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, V)
45
44
  });
46
45
  }, F = ({ children: e, className: a }) => {
47
- 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] = q(!1), D = Le(n), [N, y] = q(null), v = 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: _ } = L(), [M, V] = $(!1), D = Se(n), [N, y] = $(null), S = i ? void 0 : _("field.date.placeholder.month"), ee = w((Y) => {
48
47
  s || p(typeof Y == "string" ? Y : "");
49
48
  }, [
50
49
  p,
@@ -70,21 +69,21 @@ const l = ({ children: e, className: a }) => {
70
69
  onChange: ee,
71
70
  isDisabled: o,
72
71
  isInvalid: g,
73
- placeholder: v,
72
+ placeholder: S,
74
73
  isOpen: D || M,
75
74
  onOpenChange: D ? void 0 : te
76
75
  }, ne, P(re, {
77
76
  isForcedOpen: D
78
77
  }))));
79
- }, Ve = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
78
+ }, Ve = ({ className: e }) => /* @__PURE__ */ t.createElement(z, {
80
79
  datePart: d.MONTH,
81
80
  className: e
82
81
  }), Ye = ({ children: e, className: a }) => {
83
- const { id: n, readOnly: o } = b(), { inputId: s } = O(d.MONTH), { partError: r, isFirstPart: i } = C(d.MONTH), m = z(null);
84
- return U(() => {
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(() => {
85
84
  var c;
86
85
  i && ((c = m.current) == null || c.focus());
87
- }, n), /* @__PURE__ */ t.createElement(Te, {
86
+ }, n), /* @__PURE__ */ t.createElement(Me, {
88
87
  ref: m,
89
88
  id: s,
90
89
  className: a,
@@ -93,10 +92,10 @@ const l = ({ children: e, className: a }) => {
93
92
  "data-readonly": o || void 0
94
93
  }, /* @__PURE__ */ t.createElement(pe, null), e);
95
94
  }, x = ({ children: e, className: a, ...n }) => {
96
- const { isForcedOpen: o } = n, { language: s } = G(), r = T(() => Ie(s), [
95
+ const { isForcedOpen: o } = n, { language: s } = U(), r = T(() => Oe(s), [
97
96
  s
98
97
  ]), i = u(e, x.Option) ?? /* @__PURE__ */ t.createElement(x.Option, null);
99
- return /* @__PURE__ */ t.createElement(Oe, {
98
+ return /* @__PURE__ */ t.createElement(Pe, {
100
99
  className: a,
101
100
  containerPadding: 0,
102
101
  offset: 0
@@ -124,7 +123,7 @@ const R = ({ children: e, className: a }) => {
124
123
  return /* @__PURE__ */ t.createElement("div", {
125
124
  className: a,
126
125
  "data-date-field": !0
127
- }, s && g, /* @__PURE__ */ t.createElement(Q, {
126
+ }, s && g, /* @__PURE__ */ t.createElement(J, {
128
127
  "aria-labelledby": s ? r : void 0,
129
128
  value: i,
130
129
  onChange: c,
@@ -132,15 +131,15 @@ const R = ({ children: e, className: a }) => {
132
131
  isReadOnly: o,
133
132
  isInvalid: m
134
133
  }, p));
135
- }, we = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
134
+ }, we = ({ className: e }) => /* @__PURE__ */ t.createElement(z, {
136
135
  datePart: d.DAY,
137
136
  className: e
138
137
  }), xe = ({ className: e }) => {
139
- const { id: a, hidePlaceholder: n } = b(), { inputId: o } = O(d.DAY), { isFirstPart: s } = C(d.DAY), { t: r } = L(), i = z(null), m = n ? void 0 : r("field.date.placeholder.day");
140
- return U(() => {
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(() => {
141
140
  var c;
142
141
  s && ((c = i.current) == null || c.focus());
143
- }, a), /* @__PURE__ */ t.createElement(J, {
142
+ }, a), /* @__PURE__ */ t.createElement(K, {
144
143
  ref: i,
145
144
  id: o,
146
145
  className: e,
@@ -157,7 +156,7 @@ const A = ({ children: e, className: a }) => {
157
156
  return /* @__PURE__ */ t.createElement("div", {
158
157
  className: a,
159
158
  "data-date-field": !0
160
- }, s && g, /* @__PURE__ */ t.createElement(Q, {
159
+ }, s && g, /* @__PURE__ */ t.createElement(J, {
161
160
  "aria-labelledby": s ? r : void 0,
162
161
  value: i,
163
162
  onChange: c,
@@ -165,15 +164,15 @@ const A = ({ children: e, className: a }) => {
165
164
  isReadOnly: o,
166
165
  isInvalid: m
167
166
  }, p));
168
- }, Be = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
167
+ }, Be = ({ className: e }) => /* @__PURE__ */ t.createElement(z, {
169
168
  datePart: d.YEAR,
170
169
  className: e
171
170
  }), ke = ({ className: e }) => {
172
- const { id: a, hidePlaceholder: n } = b(), { inputId: o } = O(d.YEAR), { isFirstPart: s } = C(d.YEAR), { t: r } = L(), i = z(null), m = n ? void 0 : r("field.date.placeholder.year");
173
- return U(() => {
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(() => {
174
173
  var c;
175
174
  s && ((c = i.current) == null || c.focus());
176
- }, a), /* @__PURE__ */ t.createElement(J, {
175
+ }, a), /* @__PURE__ */ t.createElement(K, {
177
176
  ref: i,
178
177
  id: o,
179
178
  className: e,
@@ -199,14 +198,14 @@ const I = ({ children: e, className: a }) => {
199
198
  isInvalid: c,
200
199
  hourCycle: s ? 24 : 12
201
200
  }, _));
202
- }, ze = ({ className: e }) => {
201
+ }, Ge = ({ className: e }) => {
203
202
  const { inputId: a, labelId: n } = O("time"), { t: o } = L(), s = o("field.date.label.time");
204
203
  return /* @__PURE__ */ t.createElement("label", {
205
204
  id: n,
206
205
  htmlFor: a,
207
206
  className: e
208
207
  }, s);
209
- }, Ge = ({ children: e, className: a }) => {
208
+ }, Ue = ({ children: e, className: a }) => {
210
209
  const n = u(e, I.Hour), o = u(e, I.Minute), s = u(e, I.Period);
211
210
  return /* @__PURE__ */ t.createElement(Ee, {
212
211
  className: a,
@@ -233,7 +232,7 @@ const I = ({ children: e, className: a }) => {
233
232
  return /* @__PURE__ */ t.createElement(t.Fragment, null);
234
233
  }
235
234
  });
236
- }, Ue = ({ className: e, ...a }) => {
235
+ }, qe = ({ className: e, ...a }) => {
237
236
  const { hidePlaceholder: n } = b(), { segment: o } = a, { t: s } = L(), r = n ? void 0 : s("field.date.placeholder.hour");
238
237
  return /* @__PURE__ */ t.createElement(B, {
239
238
  segment: o,
@@ -242,7 +241,7 @@ const I = ({ children: e, className: a }) => {
242
241
  placeholder: r
243
242
  }
244
243
  });
245
- }, $e = ({ className: e, ...a }) => {
244
+ }, ze = ({ className: e, ...a }) => {
246
245
  const { hidePlaceholder: n } = b(), { segment: o } = a, { t: s } = L(), r = n ? void 0 : s("field.date.placeholder.minute");
247
246
  return /* @__PURE__ */ t.createElement(B, {
248
247
  segment: o,
@@ -251,7 +250,7 @@ const I = ({ children: e, className: a }) => {
251
250
  placeholder: r
252
251
  }
253
252
  });
254
- }, qe = ({ className: e, ...a }) => {
253
+ }, $e = ({ className: e, ...a }) => {
255
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");
256
255
  return /* @__PURE__ */ t.createElement(B, {
257
256
  segment: o,
@@ -262,20 +261,20 @@ const I = ({ children: e, className: a }) => {
262
261
  }
263
262
  });
264
263
  };
265
- I.Label = ze;
266
- I.Input = Ge;
267
- I.Hour = Ue;
268
- I.Minute = $e;
269
- I.Period = qe;
270
- l.Label = _e;
264
+ I.Label = Ge;
265
+ I.Input = Ue;
266
+ I.Hour = qe;
267
+ I.Minute = ze;
268
+ I.Period = $e;
269
+ l.Label = Fe;
271
270
  l.Month = F;
272
271
  l.Day = R;
273
272
  l.Year = A;
274
273
  l.Time = I;
275
- l.Description = De;
276
- l.Error = Ne;
274
+ l.Description = Te;
275
+ l.Error = Le;
277
276
  function O(e) {
278
- const { inputId: a } = W();
277
+ const { inputId: a } = Q();
279
278
  return T(() => {
280
279
  const n = e.toLowerCase();
281
280
  return {
@@ -288,30 +287,30 @@ function O(e) {
288
287
  ]);
289
288
  }
290
289
  function C(e) {
291
- const { value: a, onChange: n, hasError: o = !1 } = b(), { regionalFormat: s } = G(), [r, i] = T(() => j(a ?? ""), [
290
+ const { value: a, onChange: n, hasError: o = !1 } = b(), { regionalFormat: s } = U(), [r, i] = T(() => W(a ?? ""), [
292
291
  a
293
292
  ]), m = T(() => fe(o, a ?? ""), [
294
293
  a,
295
294
  o
296
295
  ]), c = T(() => be(r), [
297
296
  r
298
- ]), g = T(() => je(i), [
297
+ ]), g = T(() => We(i), [
299
298
  i
300
299
  ]), p = w((D) => {
301
- const N = Ke(D), y = K(r, N);
300
+ const N = je(D), y = j(r, N);
302
301
  n(y);
303
302
  }, [
304
303
  n,
305
304
  r
306
305
  ]), _ = w((D) => {
307
- const [, N] = j(a ?? ""), y = ge(D, e, c), v = K(y, N);
308
- n(v);
306
+ const [, N] = W(a ?? ""), y = ge(D, e, c), S = j(y, N);
307
+ n(S);
309
308
  }, [
310
309
  n,
311
310
  a,
312
311
  c,
313
312
  e
314
- ]), M = T(() => e === "time" ? !1 : X(s).filter(Z).map((y) => y.toUpperCase())[0] === e, [
313
+ ]), M = T(() => e === "time" ? !1 : Z(s).filter(X).map((y) => y.toUpperCase())[0] === e, [
315
314
  s,
316
315
  e
317
316
  ]);
@@ -327,7 +326,7 @@ function C(e) {
327
326
  isFirstPart: M
328
327
  };
329
328
  }
330
- function $({ datePart: e, className: a }) {
329
+ function z({ datePart: e, className: a }) {
331
330
  const { inputId: n, labelId: o } = O(e), { t: s } = L(), r = `field.date.label.${e.toLowerCase()}`, i = s(r);
332
331
  return /* @__PURE__ */ t.createElement("label", {
333
332
  id: o,
@@ -335,7 +334,7 @@ function $({ datePart: e, className: a }) {
335
334
  className: a
336
335
  }, i);
337
336
  }
338
- function je(e) {
337
+ function We(e) {
339
338
  if (!e)
340
339
  return null;
341
340
  try {
@@ -344,7 +343,7 @@ function je(e) {
344
343
  return null;
345
344
  }
346
345
  }
347
- function Ke(e) {
346
+ function je(e) {
348
347
  if (!e)
349
348
  return null;
350
349
  const a = String(e.hour).padStart(2, "0"), n = String(e.minute).padStart(2, "0"), o = String(e.second).padStart(2, "0");
@@ -354,12 +353,12 @@ function Ke(e) {
354
353
  o
355
354
  ].join(":");
356
355
  }
357
- const Qe = "_fields_9mv0h_1", Je = "_month_9mv0h_11", We = "_day_9mv0h_12", Xe = "_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 = {
358
- fields: Qe,
359
- month: Je,
360
- day: We,
361
- year: Xe,
362
- timeGroup: Ze,
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,
363
362
  dayInput: et,
364
363
  yearInput: tt,
365
364
  monthTrigger: at,
@@ -371,42 +370,42 @@ const Qe = "_fields_9mv0h_1", Je = "_month_9mv0h_11", We = "_day_9mv0h_12", Xe =
371
370
  }, it = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(oe, {
372
371
  content: e,
373
372
  locale: a
374
- }), Mt = () => {
373
+ }), Pt = () => {
375
374
  const e = Ae(h.monthOption, H), a = k(h.dayInput), n = k(h.yearInput), o = k(h.time);
376
375
  return /* @__PURE__ */ t.createElement(l, {
377
376
  className: h.fields
378
377
  }, /* @__PURE__ */ t.createElement(l.Label, {
379
- className: E(S, f.label)
378
+ className: E(v, f.label)
380
379
  }, /* @__PURE__ */ t.createElement(l.Label.Required, {
381
- className: E(Pe, f.requiredMark)
380
+ className: E(Ie, f.requiredMark)
382
381
  })), /* @__PURE__ */ t.createElement(l.Month, {
383
382
  className: h.month
384
383
  }, /* @__PURE__ */ t.createElement(l.Month.Label, {
385
- className: E(S, f.label)
384
+ className: E(v, f.label)
386
385
  }), /* @__PURE__ */ t.createElement(l.Month.Trigger, {
387
- className: E(Me, f.input, h.monthTrigger)
388
- }, /* @__PURE__ */ t.createElement(Fe, {
386
+ className: E(De, f.input, h.monthTrigger)
387
+ }, /* @__PURE__ */ t.createElement(ve, {
389
388
  className: f.dropdownIcon
390
389
  })), /* @__PURE__ */ t.createElement(l.Month.Options, {
391
- className: E(ve, f.selectPopover, f.dropdownPopover)
390
+ className: E(Ne, f.selectPopover, f.dropdownPopover)
392
391
  }, /* @__PURE__ */ t.createElement(l.Month.Options.Option, {
393
392
  className: e
394
393
  }))), /* @__PURE__ */ t.createElement(l.Day, {
395
394
  className: h.day
396
395
  }, /* @__PURE__ */ t.createElement(l.Day.Label, {
397
- className: E(S, f.label)
396
+ className: E(v, f.label)
398
397
  }), /* @__PURE__ */ t.createElement(l.Day.Input, {
399
398
  className: a
400
399
  })), /* @__PURE__ */ t.createElement(l.Year, {
401
400
  className: h.year
402
401
  }, /* @__PURE__ */ t.createElement(l.Year.Label, {
403
- className: E(S, f.label)
402
+ className: E(v, f.label)
404
403
  }), /* @__PURE__ */ t.createElement(l.Year.Input, {
405
404
  className: n
406
405
  })), /* @__PURE__ */ t.createElement(l.Time, {
407
406
  className: h.timeGroup
408
407
  }, /* @__PURE__ */ t.createElement(l.Time.Label, {
409
- className: E(S, f.label)
408
+ className: E(v, f.label)
410
409
  }), /* @__PURE__ */ t.createElement(l.Time.Input, {
411
410
  className: o
412
411
  }, /* @__PURE__ */ t.createElement(l.Time.Hour, {
@@ -416,11 +415,11 @@ const Qe = "_fields_9mv0h_1", Je = "_month_9mv0h_11", We = "_day_9mv0h_12", Xe =
416
415
  }), /* @__PURE__ */ t.createElement(l.Time.Period, {
417
416
  className: E(h.period, H)
418
417
  }))), /* @__PURE__ */ t.createElement(l.Error, {
419
- className: E(Se, f.error)
420
- }, /* @__PURE__ */ t.createElement(Ce, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
421
- className: E(Re, f.description)
418
+ className: E(_e, f.error)
419
+ }, /* @__PURE__ */ t.createElement(Re, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
420
+ className: E(ye, f.description)
422
421
  }, it));
423
422
  };
424
423
  export {
425
- Mt as D
424
+ Pt as D
426
425
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-DP_StuLr.js";
2
+ import { D as t } from "./date-time-input-field-rac-TDWBXZ44.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 { ak as e, h as t } from "./form-DQauhsho.js";
3
- import { C as p } from "./checkbox-group-field-rac-DrDTgHMg.js";
2
+ import { b5 as e, a8 as t } from "./form-0jt4L5xo.js";
3
+ import { C as p } from "./checkbox-group-field-rac-DTcZcVS6.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-boTtXVEt.js";
2
+ import { C as t } from "./checkbox-field-rac-DwEQLIaz.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-Bzl-d3Uj.js";
2
+ import { D as t } from "./date-picker-field-rac-CRZVODfF.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-DP_StuLr.js";
2
+ import { D as t } from "./date-time-input-field-rac-TDWBXZ44.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-CCAGSMm3.js";
2
+ import { D as r } from "./dropdown-field-rac-DXyY5we-.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-B2kqQ6yo.js";
2
+ import { E as e } from "./email-input-field-rac-DpkfunVK.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-BuYUzDWV.js";
2
+ import { N as t } from "./number-input-field-rac-DLItn4DK.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-JmIFcP1e.js";
2
+ import { P as t } from "./phone-input-field-rac-D4JphCuT.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  r as DextPhoneRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ak as e, h as t } from "./form-DQauhsho.js";
3
- import { R as p } from "./radio-group-field-rac-CJwku6e0.js";
2
+ import { b5 as e, a8 as t } from "./form-0jt4L5xo.js";
3
+ import { R as p } from "./radio-group-field-rac-D1aMVO6l.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-B9cwaROK.js";
2
+ import { R as e } from "./rating-input-field-rac-CpRehxFB.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ak as e, h as o } from "./form-DQauhsho.js";
3
- import { T as s } from "./tags-field-rac-C_uIw2by.js";
2
+ import { b5 as e, a8 as o } from "./form-0jt4L5xo.js";
3
+ import { T as s } from "./tags-field-rac-CQ9Y7mq-.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-DqlOkm7e.js";
2
+ import { T as t } from "./text-area-field-rac-C8fP1g-w.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-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-CNjbOxD1.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-CFDYkZ6I.js";
2
+ import { U as r } from "./url-input-field-rac-CIk_6Lf6.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC