@wix/form-elements 1.233.0 → 1.234.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.
- package/dist/component/{appointment-rac-D-3m58lp.js → appointment-rac-DaJz8fBt.js} +4 -4
- package/dist/component/{bookings-address-rac-B-LoE2Qn.js → bookings-address-rac-lkvT2jFg.js} +1 -1
- package/dist/component/{bookings-email-rac-DPZwdIFG.js → bookings-email-rac-B6yDIr7X.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CsVsVcvr.js → bookings-first-name-rac-BdwaASKa.js} +1 -1
- package/dist/component/{bookings-header-rac-qNe2KRzE.js → bookings-header-rac-K_4D2edM.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DQL_KMg2.js → bookings-last-name-rac-z1DsE6Te.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-COt6CmZt.js → bookings-login-bar-rac-DuDc27Sg.js} +1 -1
- package/dist/component/{bookings-phone-rac-L07Dr5yv.js → bookings-phone-rac-D3I57XfO.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DJaGIswi.js → bookings-rich-text-rac-Dva_0eJC.js} +1 -1
- package/dist/component/{checkbox-field-rac-hshAPjuN.js → checkbox-field-rac-CcVXm9fo.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-Dz8ifQ1q.js → checkbox-group-field-headless-DIwGr5_m.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-BcmVG9V9.js → checkbox-group-field-rac-Di8eepGG.js} +4 -4
- package/dist/component/{checkbox-group-rac-Dxd3xSxY.js → checkbox-group-rac-uA3X1M2J.js} +1 -1
- package/dist/component/{checkbox-rac-BWtTYFl2.js → checkbox-rac-BSYp2Yim.js} +1 -1
- package/dist/component/{contacts-address-rac-Cgi9ARvL.js → contacts-address-rac-BmITc1pA.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-C5LiljQS.js → contacts-birthdate-rac-BbiTr6cp.js} +1 -1
- package/dist/component/{contacts-company-rac-DjVt6krD.js → contacts-company-rac-DUQ7fNTn.js} +1 -1
- package/dist/component/{contacts-email-rac-UUsDS-Hj.js → contacts-email-rac-CVqqMJbq.js} +1 -1
- package/dist/component/{contacts-first-name-rac-D0I06Uqj.js → contacts-first-name-rac-uv3ldXXw.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DEg25NCh.js → contacts-last-name-rac-CimDHNgO.js} +1 -1
- package/dist/component/{contacts-phone-rac-CGs7LCRx.js → contacts-phone-rac-BShfAZ5U.js} +1 -1
- package/dist/component/{contacts-position-rac-6uf20AOO.js → contacts-position-rac-BENXoFz5.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-OR1Tl4HS.js → contacts-subscribe-rac-CBBgFf9U.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BogsWGs4.js → contacts-tax-id-rac-B4fcviNx.js} +1 -1
- package/dist/component/{date-availability-Dc4t2XCp.js → date-availability-BrxRBFHK.js} +1 -1
- package/dist/component/date-input-field-rac-BFDOSod0.js +382 -0
- package/dist/component/{date-input-rac-D9uou8Mx.js → date-input-rac-Cd6SHUjO.js} +1 -1
- package/dist/component/{date-picker-field-rac-BKiq-iMW.js → date-picker-field-rac-BN2EjYXP.js} +8 -8
- package/dist/component/{date-picker-rac-CMroLRTz.js → date-picker-rac-BQWpqtZJ.js} +1 -1
- package/dist/component/date-time-input-field-rac-BO_3H4NG.js +526 -0
- package/dist/component/{date-time-input-rac-DBqQrjE_.js → date-time-input-rac-wgKGtEcj.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-CyReMYPe.js → dext-checkbox-group-rac-DM20MEtm.js} +2 -2
- package/dist/component/{dext-checkbox-rac-C-Ax0coQ.js → dext-checkbox-rac-DvzEyVhG.js} +1 -1
- package/dist/component/{dext-date-picker-rac-BEjVuSbf.js → dext-date-picker-rac-cof0w9i_.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-xWnKBcPO.js → dext-date-time-input-rac-BiJqwZ-5.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BupA5fTu.js → dext-dropdown-rac-DEq1gj7M.js} +1 -1
- package/dist/component/{dext-email-rac-D-PgibOQ.js → dext-email-rac-BDg2wBuO.js} +1 -1
- package/dist/component/{dext-number-input-rac-YGeVY6EG.js → dext-number-input-rac-BBouksMP.js} +1 -1
- package/dist/component/{dext-phone-rac-LFs2NS4p.js → dext-phone-rac-DZASm4Ft.js} +1 -1
- package/dist/component/{dext-radio-group-rac-C9GUzkeB.js → dext-radio-group-rac-DqAZs7cq.js} +2 -2
- package/dist/component/{dext-rating-input-rac-Cl0HkVM2.js → dext-rating-input-rac-BUB6w2g3.js} +1 -1
- package/dist/component/{dext-tags-rac-BYkY96bj.js → dext-tags-rac-BH6azQiT.js} +2 -2
- package/dist/component/{dext-text-area-rac-fz7UNRqD.js → dext-text-area-rac-Bm1Oi7pi.js} +1 -1
- package/dist/component/{dext-text-input-rac-Dv9HTbCt.js → dext-text-input-rac-DBSxcYp8.js} +1 -1
- package/dist/component/{dext-url-input-rac-FxdnSlVl.js → dext-url-input-rac-gJ_-qrzY.js} +1 -1
- package/dist/component/{dismiss-icon-DJmsu1VC.js → dismiss-icon-sdQDwRev.js} +1 -1
- package/dist/component/{donation-rac-Bu74Oogy.js → donation-rac-CJHcIOnk.js} +5 -5
- package/dist/component/{dropdown-field-rac-CzWkvn7h.js → dropdown-field-rac-D94vF6Um.js} +3 -3
- package/dist/component/{dropdown-rac-V6_Z9Wpm.js → dropdown-rac-EN7KMhtd.js} +1 -1
- package/dist/component/{ecom-address-rac-jXrbgGcR.js → ecom-address-rac-CYk1wXq3.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-eHaOfQ88.js → ecom-subscription-checkbox-rac--cLVBIUD.js} +2 -2
- package/dist/component/{email-input-field-rac-CWVKPe92.js → email-input-field-rac-DWTQUl88.js} +3 -3
- package/dist/component/{events-repeater-rac-DYOdULgb.js → events-repeater-rac-B-CAZJsO.js} +4 -4
- package/dist/component/{events-rsvp-rac-QVCrDFMy.js → events-rsvp-rac-CkLzjZe0.js} +3 -3
- package/dist/component/{field-error-headless-NewCzOB9.js → field-error-headless-Hpn7Cjyz.js} +1 -1
- package/dist/component/{field-label-headless-Deo9dGbv.js → field-label-headless-CZaQ-q22.js} +1 -1
- package/dist/component/{file-upload-rac-aXHlyxHi.js → file-upload-rac-DelhbRzX.js} +153 -150
- package/dist/component/{fixed-payment-rac-BSZpuGK5.js → fixed-payment-rac-CGee8oWb.js} +3 -3
- package/dist/component/{form-D6g5Lhie.js → form-CKPfFL3D.js} +2347 -2341
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-PG_d2DLi.js → header-field-rac-B6vzJnaW.js} +2 -2
- package/dist/component/{header-rac-DSdtCA23.js → header-rac-Bc4WxzR1.js} +1 -1
- package/dist/component/hidden-part-label-Dc5eP4S0.js +18 -0
- package/dist/component/{image-choice-rac-Dfcq_DDp.js → image-choice-rac-BuArZj5n.js} +4 -4
- package/dist/component/{index-D4MrV_sk.js → index-CmopQE1P.js} +2 -2
- package/dist/component/{index-zP5mfEf8.js → index-yqi4FTyq.js} +4 -4
- package/dist/component/{isObjectLike-DFFmMGos.js → isObjectLike-DO4jXs__.js} +1 -1
- package/dist/component/{multiline-address-field-rac-C_Xy1nWk.js → multiline-address-field-rac-CijPzBxU.js} +8 -8
- package/dist/component/{multiline-address-rac-BqpeM7C_.js → multiline-address-rac-CchEjTwl.js} +1 -1
- package/dist/component/{number-input-field-rac-BQyjLISj.js → number-input-field-rac-CdJstTE-.js} +4 -4
- package/dist/component/{number-input-rac-DrDlS1RB.js → number-input-rac-B0V7Xy0I.js} +1 -1
- package/dist/component/{password-rac-BT58ATdC.js → password-rac-BipcyWPk.js} +4 -4
- package/dist/component/{payment-input-rac-CWalYCZA.js → payment-input-rac-ClhUNxdL.js} +4 -4
- package/dist/component/{phone-input-field-rac-D_ayc1RA.js → phone-input-field-rac-CPNMdr70.js} +7 -7
- package/dist/component/{phone-rac-p5F-E8Qq.js → phone-rac-DL5pW-cK.js} +1 -1
- package/dist/component/{product-list-rac-CPr9bYu0.js → product-list-rac-Ii0qlyiq.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-OW0sqesm.js → quiz-radio-group-rac-DtO0om99.js} +1 -1
- package/dist/component/radio-button-module-classes-CY-zH0im.js +152 -0
- package/dist/component/{radio-group-field-rac-BLCsoI-r.js → radio-group-field-rac-ViY8g4gL.js} +4 -4
- package/dist/component/{radio-group-rac-BgUpj2G5.js → radio-group-rac-CjCoPD-w.js} +1 -1
- package/dist/component/rating-input-field-rac-BMFXLqfg.js +145 -0
- package/dist/component/{rating-input-rac-DSpFTPOv.js → rating-input-rac-CWGGV3Fx.js} +1 -1
- package/dist/component/{rich-content-rac.module-CLu7GcMK.js → rich-content-rac.module-CTlkS2_O.js} +1 -1
- package/dist/component/{rich-text-field-rac-ZiI_nRWE.js → rich-text-field-rac-2SQn_URM.js} +2 -2
- package/dist/component/{rich-text-rac-BsgiN5d-.js → rich-text-rac-L3m09cVp.js} +1 -1
- package/dist/component/{service-dropdown-rac-DWyhRr97.js → service-dropdown-rac-uKz9PkBj.js} +4 -4
- package/dist/component/{services-multi-choice-rac-TPWCJXw4.js → services-multi-choice-rac-sOJlp6_l.js} +5 -5
- package/dist/component/{signature-rac-D67GGPog.js → signature-rac-B1O7Ivtg.js} +4 -4
- package/dist/component/{submit-button-rac-DnVE0X13.js → submit-button-rac-iYdJFSXy.js} +60 -60
- package/dist/component/{tags-field-rac-Cr1g3IQA.js → tags-field-rac-CFSrsxw9.js} +5 -5
- package/dist/component/{tags-rac-CVMs-yMu.js → tags-rac-KW_c8m3p.js} +1 -1
- package/dist/component/{text-area-field-rac-gTMH-0ED.js → text-area-field-rac-BJEAvqCy.js} +4 -4
- package/dist/component/{text-area-rac-_s4ZWY1w.js → text-area-rac-Bk9j2e4k.js} +1 -1
- package/dist/component/{text-input-field-rac-BkHvsCqC.js → text-input-field-rac-KlrY_3qp.js} +3 -3
- package/dist/component/{text-input-headless-9zV5V5ku.js → text-input-headless-B6gzsedE.js} +3 -3
- package/dist/component/{text-input-rac-DiKyTmgL.js → text-input-rac-CSO1g0rD.js} +1 -1
- package/dist/component/{time-input-rac-DI40cFEX.js → time-input-rac-jaYI3_XV.js} +6 -6
- package/dist/component/{url-input-field-rac-BksPlayI.js → url-input-field-rac-1t5d4VjM.js} +4 -4
- package/dist/component/{url-input-rac-D7JSf8Qb.js → url-input-rac-BTQOpun9.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DSehgOmn.js → use-dropdown-option-class-name-DEBN31l5.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-Bn5-sN_y.js → use-dropdown-trigger-class-name-BpcEWMWj.js} +7 -7
- package/dist/component/{use-element-state-class-name-CPvOOc0S.js → use-element-state-class-name-B0muHOx4.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CdTBtnwn.js → use-hoverable-input-class-name-CL0sOlNu.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-BowzktO1.js → use-is-forced-open-dropdown-BhQKJWNc.js} +1 -1
- package/dist/component/{use-native-mobile-input-FJXRhGOj.js → use-native-mobile-input-W9CS9U3u.js} +1 -1
- package/dist/component/{use-service-options-base-BIAtzpWn.js → use-service-options-base-DUgTjbHR.js} +1 -1
- package/dist/component/use-text-input-class-name-Mm_0ULVk.js +6 -0
- package/dist/form.d.ts +81 -0
- package/package.json +2 -2
- package/dist/component/date-input-field-rac-D4OlWmZn.js +0 -365
- package/dist/component/date-time-input-field-rac-Bv2fVYpg.js +0 -507
- package/dist/component/helpers-HmkkXrh2.js +0 -12
- package/dist/component/radio-button-module-classes-BZ_Hel4e.js +0 -137
- package/dist/component/rating-input-field-rac-B_HyeaML.js +0 -139
- package/dist/component/use-text-input-class-name-ChjVNdVG.js +0 -6
package/dist/component/{date-picker-field-rac-BKiq-iMW.js → date-picker-field-rac-BN2EjYXP.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { RicosViewer as ce } from "@wix/ricos/viewer";
|
|
2
2
|
import N from "classnames";
|
|
3
3
|
import e, { useState as $, useCallback as J, useRef as A, useId as ie, Children as me, isValidElement as ue, useContext as de, useMemo as w } from "react";
|
|
4
|
-
import { D as v, bN as S, bK as W, bF as q, bP as Z, bY as ge, X as Ee, am as pe, H as fe, M as Ce, I as De, G } from "./form-
|
|
4
|
+
import { D as v, bN as S, bK as W, bF as q, bP as Z, bY as ge, X as Ee, am as pe, H as fe, M as Ce, I as De, G } from "./form-CKPfFL3D.js";
|
|
5
5
|
import { parseDate as ye } from "@internationalized/date";
|
|
6
6
|
import { UNSAFE_PortalProvider as Ne, mergeProps as ve } from "react-aria";
|
|
7
7
|
import { I18nProvider as be, DatePicker as Ie, DatePickerStateContext as he, Group as Se, DateInput as _e, DateSegment as Te, Calendar as Pe, CalendarMonthPicker as Oe, CalendarYearPicker as Fe, CalendarGrid as Le, Dialog as Ae, CalendarCell as Re, Button as ee, Select as te, SelectValue as ae, ListBox as re, ListBoxItem as ne } from "react-aria-components";
|
|
8
8
|
import { g as ke, c as j } from "./calendar.module-BMUyMVja.js";
|
|
9
9
|
import { f as E, a as h } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as Me, E as xe } from "./field-error-headless-
|
|
11
|
-
import { L as Be } from "./field-label-headless-
|
|
12
|
-
import { u as Ye, a as Ve, N as Ue, D as we } from "./dismiss-icon-
|
|
13
|
-
import { u as Ke, N as We } from "./use-native-mobile-input-
|
|
10
|
+
import { D as Me, E as xe } from "./field-error-headless-Hpn7Cjyz.js";
|
|
11
|
+
import { L as Be } from "./field-label-headless-CZaQ-q22.js";
|
|
12
|
+
import { u as Ye, a as Ve, N as Ue, D as we } from "./dismiss-icon-sdQDwRev.js";
|
|
13
|
+
import { u as Ke, N as We } from "./use-native-mobile-input-W9CS9U3u.js";
|
|
14
14
|
import { D as qe, N as H, S as le } from "./non-modal-popover-D-u13tmp.js";
|
|
15
15
|
import { t as He, C as Q } from "./calendar-icon-DOeHn3jt.js";
|
|
16
|
-
import { a as $e } from "./use-is-forced-open-dropdown-
|
|
16
|
+
import { a as $e } from "./use-is-forced-open-dropdown-BhQKJWNc.js";
|
|
17
17
|
import { u as Ge } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
18
|
-
import { i as je } from "./date-availability-
|
|
18
|
+
import { i as je } from "./date-availability-BrxRBFHK.js";
|
|
19
19
|
import { C as K } from "./chevron-down-icon-CcpVm6B-.js";
|
|
20
20
|
import { E as Qe } from "./error-icon-hZxQ6DEy.js";
|
|
21
21
|
import { H as Xe } from "./custom-focus-class-_483Pkwp.js";
|
|
22
22
|
import { s as g } from "./field-rac.module-D0QzJXUv.js";
|
|
23
|
-
import { u as X } from "./use-hoverable-input-class-name-
|
|
23
|
+
import { u as X } from "./use-hoverable-input-class-name-CL0sOlNu.js";
|
|
24
24
|
const oe = [
|
|
25
25
|
v.SUNDAY,
|
|
26
26
|
v.MONDAY,
|
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
import { RicosViewer as ue } from "@wix/ricos/viewer";
|
|
2
|
+
import I from "classnames";
|
|
3
|
+
import t, { useMemo as P, useRef as H, Children as pe, isValidElement as Ee, useState as se, useCallback as G, useContext as be } from "react";
|
|
4
|
+
import { bN as _, bK as ae, bF as ne, bh as le, bu as ie, b4 as u, bP as X, bY as T, by as j, bd as te, bj as fe, bb as Ne, bC as he, u as De, X as Ie, am as _e, w as $, x as ye, M as ge, I as Te, v as Ce, y as Le, z as q } from "./form-CKPfFL3D.js";
|
|
5
|
+
import { parseTime as Oe } from "@internationalized/date";
|
|
6
|
+
import { mergeProps as Fe, UNSAFE_PortalProvider as Pe } from "react-aria";
|
|
7
|
+
import { ListBoxItem as ve, Select as Me, TextField as ce, TimeField as Se, SelectValue as Ae, Input as me, DateInput as Re, DateSegment as Q, TimeFieldStateContext as Ve } from "react-aria-components";
|
|
8
|
+
import { f as d, a as M } from "./find-child-C60k4CxG.js";
|
|
9
|
+
import { g as we, H as J } from "./hidden-part-label-Dc5eP4S0.js";
|
|
10
|
+
import { D as Be, E as Ye } from "./field-error-headless-Hpn7Cjyz.js";
|
|
11
|
+
import { L as He } from "./field-label-headless-CZaQ-q22.js";
|
|
12
|
+
import { F as Ue } from "./fieldset-headless-CD3fds9J.js";
|
|
13
|
+
import { u as xe, a as ke, N as $e, D as qe } from "./dismiss-icon-sdQDwRev.js";
|
|
14
|
+
import { u as ze, N as Ge } from "./use-native-mobile-input-W9CS9U3u.js";
|
|
15
|
+
import { N as je, E as Ke, S as We } from "./non-modal-popover-D-u13tmp.js";
|
|
16
|
+
import { t as Xe, C as Qe } from "./calendar-icon-DOeHn3jt.js";
|
|
17
|
+
import { t as Je } from "./to-native-time-Co_gOLkc.js";
|
|
18
|
+
import { u as Ze } from "./use-is-forced-open-dropdown-BhQKJWNc.js";
|
|
19
|
+
import { u as et } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
20
|
+
import { V as tt, a as at } from "./use-dropdown-option-class-name-DEBN31l5.js";
|
|
21
|
+
import { C as nt } from "./chevron-down-icon-CcpVm6B-.js";
|
|
22
|
+
import { E as rt } from "./error-icon-hZxQ6DEy.js";
|
|
23
|
+
import { H as z } from "./custom-focus-class-_483Pkwp.js";
|
|
24
|
+
import { s as b } from "./field-rac.module-D0QzJXUv.js";
|
|
25
|
+
import { u as Y } from "./use-hoverable-input-class-name-CL0sOlNu.js";
|
|
26
|
+
const l = ({ children: e, className: a }) => {
|
|
27
|
+
const { id: n, required: r, onBlur: o, onFocus: s, FieldLayout: i } = _(), { inputId: m, labelId: c, ariaDescribedBy: y } = ae(), { regionalFormat: f } = ne(), N = ze(), p = P(() => le(f).filter(ie).map((B) => B.toUpperCase()), [
|
|
28
|
+
f
|
|
29
|
+
]), h = d(e, l.Label), D = d(e, l.Description), C = d(e, l.Error), E = {
|
|
30
|
+
[u.MONTH]: d(e, l.Month),
|
|
31
|
+
[u.DAY]: d(e, l.Day),
|
|
32
|
+
[u.YEAR]: d(e, l.Year)
|
|
33
|
+
}, v = d(e, l.Time), R = d(e, l.NativeDateTime), V = N ? h : M(h, {
|
|
34
|
+
as: "div"
|
|
35
|
+
}), w = N ? R : /* @__PURE__ */ t.createElement(Ue, {
|
|
36
|
+
id: m,
|
|
37
|
+
ariaLabelledBy: c,
|
|
38
|
+
ariaDescribedBy: y,
|
|
39
|
+
required: r,
|
|
40
|
+
onBlur: o,
|
|
41
|
+
onFocus: s,
|
|
42
|
+
className: a
|
|
43
|
+
}, E[p[0]], E[p[1]], E[p[2]], v);
|
|
44
|
+
return /* @__PURE__ */ t.createElement(i, {
|
|
45
|
+
fieldId: n,
|
|
46
|
+
renderLabel: () => V,
|
|
47
|
+
renderInput: () => w,
|
|
48
|
+
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, C, D)
|
|
49
|
+
});
|
|
50
|
+
}, S = ({ children: e, className: a }) => {
|
|
51
|
+
const { id: n, disabled: r, readOnly: o, showDateLabels: s, hidePlaceholder: i } = _(), { labelId: m, partAriaLabelledBy: c, ariaDescribedBy: y } = F(u.MONTH), { partValue: f, partError: N, onPartChange: p } = A(u.MONTH), { t: h } = T(), [D, C] = se(!1), E = Ze(n), [v, R] = se(null), V = i ? Ke : h("field.date.placeholder.month"), w = G((k) => {
|
|
52
|
+
o || p(typeof k == "string" ? k : "");
|
|
53
|
+
}, [
|
|
54
|
+
p,
|
|
55
|
+
o
|
|
56
|
+
]), B = G((k) => {
|
|
57
|
+
C(k && !o);
|
|
58
|
+
}, [
|
|
59
|
+
o
|
|
60
|
+
]), Z = d(e, S.Label), ee = d(e, S.Trigger), O = d(e, S.Options);
|
|
61
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
62
|
+
className: a,
|
|
63
|
+
"data-date-field": !0
|
|
64
|
+
}, s ? Z : /* @__PURE__ */ t.createElement(J, {
|
|
65
|
+
id: m
|
|
66
|
+
}, h("field.date.label.month")), /* @__PURE__ */ t.createElement("div", {
|
|
67
|
+
ref: R,
|
|
68
|
+
style: {
|
|
69
|
+
display: "contents"
|
|
70
|
+
}
|
|
71
|
+
}), /* @__PURE__ */ t.createElement(Pe, {
|
|
72
|
+
getContainer: () => v
|
|
73
|
+
}, /* @__PURE__ */ t.createElement(Me, {
|
|
74
|
+
"aria-labelledby": c,
|
|
75
|
+
"aria-describedby": y,
|
|
76
|
+
value: f || null,
|
|
77
|
+
onChange: w,
|
|
78
|
+
isDisabled: r,
|
|
79
|
+
isInvalid: N,
|
|
80
|
+
placeholder: V,
|
|
81
|
+
isOpen: E || D,
|
|
82
|
+
onOpenChange: E ? void 0 : B
|
|
83
|
+
}, ee, M(O, {
|
|
84
|
+
isForcedOpen: E
|
|
85
|
+
}))));
|
|
86
|
+
}, ot = ({ className: e }) => /* @__PURE__ */ t.createElement(re, {
|
|
87
|
+
datePart: u.MONTH,
|
|
88
|
+
className: e
|
|
89
|
+
}), st = ({ children: e, className: a }) => {
|
|
90
|
+
const { id: n, readOnly: r } = _(), { inputId: o } = F(u.MONTH), { partError: s, isFirstPart: i } = A(u.MONTH), m = H(null);
|
|
91
|
+
return X(() => {
|
|
92
|
+
var c;
|
|
93
|
+
i && ((c = m.current) == null || c.focus({
|
|
94
|
+
preventScroll: !0
|
|
95
|
+
}));
|
|
96
|
+
}, n), /* @__PURE__ */ t.createElement(We, {
|
|
97
|
+
ref: m,
|
|
98
|
+
id: o,
|
|
99
|
+
className: a,
|
|
100
|
+
"data-hook": u.MONTH,
|
|
101
|
+
"data-invalid": s || void 0,
|
|
102
|
+
"data-readonly": r || void 0
|
|
103
|
+
}, /* @__PURE__ */ t.createElement(Ae, null), e);
|
|
104
|
+
}, K = ({ children: e, className: a, ...n }) => {
|
|
105
|
+
const { isForcedOpen: r } = n, { language: o } = ne(), s = P(() => we(o), [
|
|
106
|
+
o
|
|
107
|
+
]), i = d(e, K.Option) ?? /* @__PURE__ */ t.createElement(K.Option, null);
|
|
108
|
+
return /* @__PURE__ */ t.createElement(je, {
|
|
109
|
+
className: a,
|
|
110
|
+
containerPadding: 0,
|
|
111
|
+
offset: 0
|
|
112
|
+
}, /* @__PURE__ */ t.createElement(tt, {
|
|
113
|
+
isForcedOpen: r,
|
|
114
|
+
autoFocus: r ? !1 : void 0
|
|
115
|
+
}, s.map((m, c) => M(i, {
|
|
116
|
+
key: String(c + 1),
|
|
117
|
+
value: String(c + 1),
|
|
118
|
+
label: m
|
|
119
|
+
}))));
|
|
120
|
+
}, lt = ({ className: e, ...a }) => {
|
|
121
|
+
const { value: n, label: r } = a;
|
|
122
|
+
return /* @__PURE__ */ t.createElement(ve, {
|
|
123
|
+
className: e,
|
|
124
|
+
id: n,
|
|
125
|
+
textValue: r
|
|
126
|
+
}, r);
|
|
127
|
+
};
|
|
128
|
+
S.Label = ot;
|
|
129
|
+
S.Trigger = st;
|
|
130
|
+
S.Options = K;
|
|
131
|
+
K.Option = lt;
|
|
132
|
+
const U = ({ children: e, className: a }) => {
|
|
133
|
+
const { disabled: n, readOnly: r, showDateLabels: o } = _(), { labelId: s, partAriaLabelledBy: i, ariaDescribedBy: m } = F(u.DAY), { t: c } = T(), { partValue: y, partError: f, onPartChange: N } = A(u.DAY), p = d(e, U.Label), h = d(e, U.Input);
|
|
134
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
135
|
+
className: a,
|
|
136
|
+
"data-date-field": !0
|
|
137
|
+
}, o ? p : /* @__PURE__ */ t.createElement(J, {
|
|
138
|
+
id: s
|
|
139
|
+
}, c("field.date.label.day")), /* @__PURE__ */ t.createElement(ce, {
|
|
140
|
+
"aria-labelledby": i,
|
|
141
|
+
"aria-describedby": m,
|
|
142
|
+
value: y,
|
|
143
|
+
onChange: N,
|
|
144
|
+
isDisabled: n,
|
|
145
|
+
isReadOnly: r,
|
|
146
|
+
isInvalid: f
|
|
147
|
+
}, h));
|
|
148
|
+
}, it = ({ className: e }) => /* @__PURE__ */ t.createElement(re, {
|
|
149
|
+
datePart: u.DAY,
|
|
150
|
+
className: e
|
|
151
|
+
}), ct = ({ className: e }) => {
|
|
152
|
+
const { id: a, hidePlaceholder: n } = _(), { inputId: r } = F(u.DAY), { isFirstPart: o } = A(u.DAY), { t: s } = T(), i = H(null), m = n ? void 0 : s("field.date.placeholder.day");
|
|
153
|
+
return X(() => {
|
|
154
|
+
var c;
|
|
155
|
+
o && ((c = i.current) == null || c.focus({
|
|
156
|
+
preventScroll: !0
|
|
157
|
+
}));
|
|
158
|
+
}, a), /* @__PURE__ */ t.createElement(me, {
|
|
159
|
+
ref: i,
|
|
160
|
+
id: r,
|
|
161
|
+
className: e,
|
|
162
|
+
placeholder: m,
|
|
163
|
+
maxLength: 2,
|
|
164
|
+
inputMode: "numeric",
|
|
165
|
+
"data-hook": u.DAY
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
U.Label = it;
|
|
169
|
+
U.Input = ct;
|
|
170
|
+
const x = ({ children: e, className: a }) => {
|
|
171
|
+
const { disabled: n, readOnly: r, showDateLabels: o } = _(), { labelId: s, partAriaLabelledBy: i, ariaDescribedBy: m } = F(u.YEAR), { t: c } = T(), { partValue: y, partError: f, onPartChange: N } = A(u.YEAR), p = d(e, x.Label), h = d(e, x.Input);
|
|
172
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
173
|
+
className: a,
|
|
174
|
+
"data-date-field": !0
|
|
175
|
+
}, o ? p : /* @__PURE__ */ t.createElement(J, {
|
|
176
|
+
id: s
|
|
177
|
+
}, c("field.date.label.year")), /* @__PURE__ */ t.createElement(ce, {
|
|
178
|
+
"aria-labelledby": i,
|
|
179
|
+
"aria-describedby": m,
|
|
180
|
+
value: y,
|
|
181
|
+
onChange: N,
|
|
182
|
+
isDisabled: n,
|
|
183
|
+
isReadOnly: r,
|
|
184
|
+
isInvalid: f
|
|
185
|
+
}, h));
|
|
186
|
+
}, mt = ({ className: e }) => /* @__PURE__ */ t.createElement(re, {
|
|
187
|
+
datePart: u.YEAR,
|
|
188
|
+
className: e
|
|
189
|
+
}), dt = ({ className: e }) => {
|
|
190
|
+
const { id: a, hidePlaceholder: n } = _(), { inputId: r } = F(u.YEAR), { isFirstPart: o } = A(u.YEAR), { t: s } = T(), i = H(null), m = n ? void 0 : s("field.date.placeholder.year");
|
|
191
|
+
return X(() => {
|
|
192
|
+
var c;
|
|
193
|
+
o && ((c = i.current) == null || c.focus({
|
|
194
|
+
preventScroll: !0
|
|
195
|
+
}));
|
|
196
|
+
}, a), /* @__PURE__ */ t.createElement(me, {
|
|
197
|
+
ref: i,
|
|
198
|
+
id: r,
|
|
199
|
+
className: e,
|
|
200
|
+
placeholder: m,
|
|
201
|
+
maxLength: 4,
|
|
202
|
+
inputMode: "numeric",
|
|
203
|
+
"data-hook": u.YEAR
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
x.Label = mt;
|
|
207
|
+
x.Input = dt;
|
|
208
|
+
const L = ({ children: e, className: a }) => {
|
|
209
|
+
const { disabled: n, readOnly: r, use24HourFormat: o, showDateLabels: s } = _(), { labelId: i, partAriaLabelledBy: m, ariaDescribedBy: c } = F("time"), { t: y } = T(), { partValue: f, partError: N, onPartChange: p } = A("time"), h = d(e, L.Label), D = d(e, L.Input);
|
|
210
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
211
|
+
className: a,
|
|
212
|
+
"data-date-field": !0
|
|
213
|
+
}, s ? h : /* @__PURE__ */ t.createElement(J, {
|
|
214
|
+
id: i
|
|
215
|
+
}, y("field.date.label.time")), /* @__PURE__ */ t.createElement(Se, {
|
|
216
|
+
"aria-labelledby": m,
|
|
217
|
+
"aria-describedby": c,
|
|
218
|
+
value: f,
|
|
219
|
+
onChange: p,
|
|
220
|
+
isDisabled: n,
|
|
221
|
+
isReadOnly: r,
|
|
222
|
+
isInvalid: N,
|
|
223
|
+
hourCycle: o ? 24 : 12
|
|
224
|
+
}, D));
|
|
225
|
+
}, ut = ({ className: e }) => {
|
|
226
|
+
const { inputId: a, labelId: n } = F("time"), { t: r } = T(), o = r("field.date.label.time");
|
|
227
|
+
return /* @__PURE__ */ t.createElement("label", {
|
|
228
|
+
id: n,
|
|
229
|
+
htmlFor: a,
|
|
230
|
+
className: e
|
|
231
|
+
}, o);
|
|
232
|
+
}, pt = ({ children: e, className: a }) => {
|
|
233
|
+
const { hidePlaceholder: n } = _(), r = d(e, L.Hour), o = d(e, L.Minute), s = d(e, L.Period);
|
|
234
|
+
return /* @__PURE__ */ t.createElement(Re, {
|
|
235
|
+
className: a,
|
|
236
|
+
"data-hook": "time",
|
|
237
|
+
"data-placeholder-hidden": n || void 0
|
|
238
|
+
}, (i) => {
|
|
239
|
+
switch (i.type) {
|
|
240
|
+
case "hour":
|
|
241
|
+
return M(r, {
|
|
242
|
+
segment: i
|
|
243
|
+
}) || /* @__PURE__ */ t.createElement(t.Fragment, null);
|
|
244
|
+
case "minute":
|
|
245
|
+
return M(o, {
|
|
246
|
+
segment: i
|
|
247
|
+
}) || /* @__PURE__ */ t.createElement(t.Fragment, null);
|
|
248
|
+
case "dayPeriod":
|
|
249
|
+
return M(s, {
|
|
250
|
+
segment: i
|
|
251
|
+
}) || /* @__PURE__ */ t.createElement(t.Fragment, null);
|
|
252
|
+
case "literal":
|
|
253
|
+
return /* @__PURE__ */ t.createElement(Q, {
|
|
254
|
+
segment: i
|
|
255
|
+
});
|
|
256
|
+
default:
|
|
257
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null);
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
}, Et = ({ className: e, ...a }) => {
|
|
261
|
+
const { hidePlaceholder: n } = _(), { segment: r } = a, { t: o } = T(), s = n ? void 0 : o("field.date.placeholder.hour");
|
|
262
|
+
return /* @__PURE__ */ t.createElement(Q, {
|
|
263
|
+
segment: r,
|
|
264
|
+
className: e,
|
|
265
|
+
...s && {
|
|
266
|
+
placeholder: s
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
}, bt = ({ className: e, ...a }) => {
|
|
270
|
+
const { hidePlaceholder: n } = _(), { segment: r } = a, { t: o } = T(), s = n ? void 0 : o("field.date.placeholder.minute");
|
|
271
|
+
return /* @__PURE__ */ t.createElement(Q, {
|
|
272
|
+
segment: r,
|
|
273
|
+
className: e,
|
|
274
|
+
...s && {
|
|
275
|
+
placeholder: s
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
}, ft = ({ className: e, ...a }) => {
|
|
279
|
+
const { hidePlaceholder: n } = _(), { segment: r } = a, { t: o } = T(), s = be(Ve), i = n ? void 0 : o("field.date.placeholder.period"), m = () => s == null ? void 0 : s.increment("dayPeriod");
|
|
280
|
+
return /* @__PURE__ */ t.createElement(Q, {
|
|
281
|
+
segment: r,
|
|
282
|
+
className: e,
|
|
283
|
+
onClick: m,
|
|
284
|
+
...i && {
|
|
285
|
+
placeholder: i
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
};
|
|
289
|
+
L.Label = ut;
|
|
290
|
+
L.Input = pt;
|
|
291
|
+
L.Hour = Et;
|
|
292
|
+
L.Minute = bt;
|
|
293
|
+
L.Period = ft;
|
|
294
|
+
const W = ({ className: e, children: a }) => {
|
|
295
|
+
const { id: n, value: r, onChange: o, required: s, disabled: i, readOnly: m, hasError: c, onBlur: y, onFocus: f } = _(), { inputId: N, labelId: p, ariaDescribedBy: h } = ae(), D = H(null), C = H(null);
|
|
296
|
+
X(() => {
|
|
297
|
+
var O;
|
|
298
|
+
(O = D.current) == null || O.focus({
|
|
299
|
+
preventScroll: !0
|
|
300
|
+
});
|
|
301
|
+
}, n);
|
|
302
|
+
const E = Nt(r), { announcement: v, announceCleared: R } = xe(!!E), V = !!E && !s && !i && !m, w = d(a, W.Clear), B = pe.map(a, (O) => /* @__PURE__ */ Ee(O) && O.type === W.Clear ? null : O), { className: Z, stateProps: ee } = et(e);
|
|
303
|
+
return /* @__PURE__ */ t.createElement(Ge, {
|
|
304
|
+
ref: C,
|
|
305
|
+
groupLabelId: p,
|
|
306
|
+
announcement: v
|
|
307
|
+
}, /* @__PURE__ */ t.createElement(ke, {
|
|
308
|
+
ref: D,
|
|
309
|
+
type: "datetime-local",
|
|
310
|
+
id: N,
|
|
311
|
+
className: Z,
|
|
312
|
+
...Fe(ee, {
|
|
313
|
+
onFocus: f,
|
|
314
|
+
onBlur: y
|
|
315
|
+
}),
|
|
316
|
+
"aria-labelledby": p,
|
|
317
|
+
"aria-describedby": h,
|
|
318
|
+
"aria-invalid": c || void 0,
|
|
319
|
+
value: E,
|
|
320
|
+
onChange: (O) => o(ht(O)),
|
|
321
|
+
disabled: i,
|
|
322
|
+
readOnly: m,
|
|
323
|
+
required: s
|
|
324
|
+
}), B, V ? M(w, {
|
|
325
|
+
input: D,
|
|
326
|
+
control: C,
|
|
327
|
+
labelId: p,
|
|
328
|
+
onClear: () => {
|
|
329
|
+
o(""), R();
|
|
330
|
+
}
|
|
331
|
+
}) : null);
|
|
332
|
+
};
|
|
333
|
+
W.Clear = $e;
|
|
334
|
+
l.Label = He;
|
|
335
|
+
l.NativeDateTime = W;
|
|
336
|
+
l.Month = S;
|
|
337
|
+
l.Day = U;
|
|
338
|
+
l.Year = x;
|
|
339
|
+
l.Time = L;
|
|
340
|
+
l.Description = Be;
|
|
341
|
+
l.Error = Ye;
|
|
342
|
+
function F(e) {
|
|
343
|
+
const { inputId: a, labelId: n, ariaDescribedBy: r } = ae();
|
|
344
|
+
return P(() => {
|
|
345
|
+
const o = e.toLowerCase(), s = `${a}-${o}-label`;
|
|
346
|
+
return {
|
|
347
|
+
inputId: `${a}-${o}-input`,
|
|
348
|
+
labelId: s,
|
|
349
|
+
// "<field label> <part>", so each part keeps a name when the part labels
|
|
350
|
+
// or placeholders are hidden.
|
|
351
|
+
partAriaLabelledBy: `${n} ${s}`,
|
|
352
|
+
// The field's error and description, announced on the focused part.
|
|
353
|
+
ariaDescribedBy: r
|
|
354
|
+
};
|
|
355
|
+
}, [
|
|
356
|
+
a,
|
|
357
|
+
n,
|
|
358
|
+
r,
|
|
359
|
+
e
|
|
360
|
+
]);
|
|
361
|
+
}
|
|
362
|
+
function A(e) {
|
|
363
|
+
const { value: a, onChange: n, hasError: r = !1 } = _(), { regionalFormat: o } = ne(), [s, i] = P(() => j(a ?? ""), [
|
|
364
|
+
a
|
|
365
|
+
]), m = P(() => fe(r, a ?? ""), [
|
|
366
|
+
a,
|
|
367
|
+
r
|
|
368
|
+
]), c = P(() => Ne(s), [
|
|
369
|
+
s
|
|
370
|
+
]), y = P(() => oe(i), [
|
|
371
|
+
i
|
|
372
|
+
]), f = G((D) => {
|
|
373
|
+
const C = de(D), E = te(s, C);
|
|
374
|
+
n(E);
|
|
375
|
+
}, [
|
|
376
|
+
n,
|
|
377
|
+
s
|
|
378
|
+
]), N = G((D) => {
|
|
379
|
+
const [, C] = j(a ?? ""), E = he(D, e, c), v = te(E, C);
|
|
380
|
+
n(v);
|
|
381
|
+
}, [
|
|
382
|
+
n,
|
|
383
|
+
a,
|
|
384
|
+
c,
|
|
385
|
+
e
|
|
386
|
+
]), p = P(() => e === "time" ? !1 : le(o).filter(ie).map((E) => E.toUpperCase())[0] === e, [
|
|
387
|
+
o,
|
|
388
|
+
e
|
|
389
|
+
]);
|
|
390
|
+
return e === "time" ? {
|
|
391
|
+
partValue: y,
|
|
392
|
+
partError: m.TIME,
|
|
393
|
+
onPartChange: f,
|
|
394
|
+
isFirstPart: !1
|
|
395
|
+
} : {
|
|
396
|
+
partValue: c[e] || "",
|
|
397
|
+
partError: m[e],
|
|
398
|
+
onPartChange: N,
|
|
399
|
+
isFirstPart: p
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
function re({ datePart: e, className: a }) {
|
|
403
|
+
const { inputId: n, labelId: r } = F(e), { t: o } = T(), s = `field.date.label.${e.toLowerCase()}`, i = o(s);
|
|
404
|
+
return /* @__PURE__ */ t.createElement("label", {
|
|
405
|
+
id: r,
|
|
406
|
+
htmlFor: n,
|
|
407
|
+
className: a
|
|
408
|
+
}, i);
|
|
409
|
+
}
|
|
410
|
+
function Nt(e) {
|
|
411
|
+
const [a, n] = j(e ?? ""), r = Xe(a), o = Je(oe(n));
|
|
412
|
+
return r && o ? `${r}T${o}` : "";
|
|
413
|
+
}
|
|
414
|
+
function ht(e) {
|
|
415
|
+
if (!e)
|
|
416
|
+
return "";
|
|
417
|
+
const [a, n] = j(e);
|
|
418
|
+
return te(a, de(oe(n)));
|
|
419
|
+
}
|
|
420
|
+
function oe(e) {
|
|
421
|
+
if (!e)
|
|
422
|
+
return null;
|
|
423
|
+
try {
|
|
424
|
+
return Oe(e);
|
|
425
|
+
} catch {
|
|
426
|
+
return null;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
function de(e) {
|
|
430
|
+
if (!e)
|
|
431
|
+
return null;
|
|
432
|
+
const a = String(e.hour).padStart(2, "0"), n = String(e.minute).padStart(2, "0"), r = String(e.second).padStart(2, "0");
|
|
433
|
+
return [
|
|
434
|
+
a,
|
|
435
|
+
n,
|
|
436
|
+
r
|
|
437
|
+
].join(":");
|
|
438
|
+
}
|
|
439
|
+
const Dt = "_fields_1ofw4_1", It = "_month_1ofw4_10", _t = "_day_1ofw4_11", yt = "_year_1ofw4_12", gt = "_timeGroup_1ofw4_13", Tt = "_dayInput_1ofw4_34", Ct = "_yearInput_1ofw4_35", Lt = "_monthTrigger_1ofw4_39", Ot = "_monthOption_1ofw4_59", Ft = "_time_1ofw4_13", Pt = "_hour_1ofw4_81", vt = "_minute_1ofw4_82", Mt = "_period_1ofw4_83", g = {
|
|
440
|
+
fields: Dt,
|
|
441
|
+
month: It,
|
|
442
|
+
day: _t,
|
|
443
|
+
year: yt,
|
|
444
|
+
timeGroup: gt,
|
|
445
|
+
dayInput: Tt,
|
|
446
|
+
yearInput: Ct,
|
|
447
|
+
monthTrigger: Lt,
|
|
448
|
+
monthOption: Ot,
|
|
449
|
+
time: Ft,
|
|
450
|
+
hour: Pt,
|
|
451
|
+
minute: vt,
|
|
452
|
+
period: Mt
|
|
453
|
+
}, St = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(ue, {
|
|
454
|
+
content: e,
|
|
455
|
+
locale: a
|
|
456
|
+
}), ra = () => {
|
|
457
|
+
const { t: e } = T(), a = Y(Ce, [
|
|
458
|
+
g.monthTrigger
|
|
459
|
+
]), n = at(Le, g.monthOption, z), r = Y(q, [
|
|
460
|
+
g.dayInput
|
|
461
|
+
]), o = Y(q, [
|
|
462
|
+
g.yearInput
|
|
463
|
+
]), s = Y(q, [
|
|
464
|
+
g.time
|
|
465
|
+
]), i = Y(q, [
|
|
466
|
+
b.nativeInput,
|
|
467
|
+
b.nativeWithLeadingIcon
|
|
468
|
+
]);
|
|
469
|
+
return /* @__PURE__ */ t.createElement(l, {
|
|
470
|
+
className: I(De, g.fields)
|
|
471
|
+
}, /* @__PURE__ */ t.createElement(l.Label, {
|
|
472
|
+
className: I(Ie, b.label)
|
|
473
|
+
}, /* @__PURE__ */ t.createElement(l.Label.Required, {
|
|
474
|
+
className: I(_e, b.requiredMark)
|
|
475
|
+
})), /* @__PURE__ */ t.createElement(l.Month, {
|
|
476
|
+
className: g.month
|
|
477
|
+
}, /* @__PURE__ */ t.createElement(l.Month.Label, {
|
|
478
|
+
className: I($, b.label)
|
|
479
|
+
}), /* @__PURE__ */ t.createElement(l.Month.Trigger, {
|
|
480
|
+
className: a
|
|
481
|
+
}, /* @__PURE__ */ t.createElement(nt, {
|
|
482
|
+
className: b.dropdownIcon
|
|
483
|
+
})), /* @__PURE__ */ t.createElement(l.Month.Options, {
|
|
484
|
+
className: I(ye, b.selectPopover, b.dropdownPopover)
|
|
485
|
+
}, /* @__PURE__ */ t.createElement(l.Month.Options.Option, {
|
|
486
|
+
className: n
|
|
487
|
+
}))), /* @__PURE__ */ t.createElement(l.Day, {
|
|
488
|
+
className: g.day
|
|
489
|
+
}, /* @__PURE__ */ t.createElement(l.Day.Label, {
|
|
490
|
+
className: I($, b.label)
|
|
491
|
+
}), /* @__PURE__ */ t.createElement(l.Day.Input, {
|
|
492
|
+
className: r
|
|
493
|
+
})), /* @__PURE__ */ t.createElement(l.Year, {
|
|
494
|
+
className: g.year
|
|
495
|
+
}, /* @__PURE__ */ t.createElement(l.Year.Label, {
|
|
496
|
+
className: I($, b.label)
|
|
497
|
+
}), /* @__PURE__ */ t.createElement(l.Year.Input, {
|
|
498
|
+
className: o
|
|
499
|
+
})), /* @__PURE__ */ t.createElement(l.Time, {
|
|
500
|
+
className: g.timeGroup
|
|
501
|
+
}, /* @__PURE__ */ t.createElement(l.Time.Label, {
|
|
502
|
+
className: I($, b.label)
|
|
503
|
+
}), /* @__PURE__ */ t.createElement(l.Time.Input, {
|
|
504
|
+
className: s
|
|
505
|
+
}, /* @__PURE__ */ t.createElement(l.Time.Hour, {
|
|
506
|
+
className: I(g.hour, z)
|
|
507
|
+
}), /* @__PURE__ */ t.createElement(l.Time.Minute, {
|
|
508
|
+
className: I(g.minute, z)
|
|
509
|
+
}), /* @__PURE__ */ t.createElement(l.Time.Period, {
|
|
510
|
+
className: I(g.period, z)
|
|
511
|
+
}))), /* @__PURE__ */ t.createElement(l.NativeDateTime, {
|
|
512
|
+
className: i
|
|
513
|
+
}, /* @__PURE__ */ t.createElement(Qe, {
|
|
514
|
+
className: I(b.nativeDecoration, b.nativeLeadingIcon)
|
|
515
|
+
}), /* @__PURE__ */ t.createElement(l.NativeDateTime.Clear, {
|
|
516
|
+
className: b.nativeClearButton,
|
|
517
|
+
"aria-label": e("date-picker.a11y.clear-button")
|
|
518
|
+
}, /* @__PURE__ */ t.createElement(qe, null))), /* @__PURE__ */ t.createElement(l.Error, {
|
|
519
|
+
className: I(ge, b.error)
|
|
520
|
+
}, /* @__PURE__ */ t.createElement(rt, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
|
|
521
|
+
className: I(Te, b.description)
|
|
522
|
+
}, St));
|
|
523
|
+
};
|
|
524
|
+
export {
|
|
525
|
+
ra as D
|
|
526
|
+
};
|
package/dist/component/{dext-checkbox-group-rac-CyReMYPe.js → dext-checkbox-group-rac-DM20MEtm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o from "react";
|
|
2
|
-
import { bN as e, aN as t } from "./form-
|
|
3
|
-
import { C as p } from "./checkbox-group-field-rac-
|
|
2
|
+
import { bN as e, aN as t } from "./form-CKPfFL3D.js";
|
|
3
|
+
import { C as p } from "./checkbox-group-field-rac-Di8eepGG.js";
|
|
4
4
|
import { D as s } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const C = () => {
|
|
6
6
|
const r = {
|
package/dist/component/{dext-radio-group-rac-C9GUzkeB.js → dext-radio-group-rac-DqAZs7cq.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { bN as e, aN as t } from "./form-
|
|
3
|
-
import { R as p } from "./radio-group-field-rac-
|
|
2
|
+
import { bN as e, aN as t } from "./form-CKPfFL3D.js";
|
|
3
|
+
import { R as p } from "./radio-group-field-rac-ViY8g4gL.js";
|
|
4
4
|
import { a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const o = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { bN as e, aN as o } from "./form-
|
|
3
|
-
import { T as s } from "./tags-field-rac-
|
|
2
|
+
import { bN as e, aN as o } from "./form-CKPfFL3D.js";
|
|
3
|
+
import { T as s } from "./tags-field-rac-CFSrsxw9.js";
|
|
4
4
|
import { b as a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const t = {
|