@nxgt/material 3.38.0 → 3.39.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/CHANGELOG.md +11 -0
- package/dist/{async-slice-DqjtOYlO.js → async-slice-BtUexP2l.js} +2 -2
- package/dist/{button-D52ron-a.js → button-CCAYSsgh.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-0XYwSp9o.js → chip-Corr637n.js} +1 -1
- package/dist/{code-editor-BetIXpJ6.js → code-editor-B8_ny_jT.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-C7prxl_7.js → code-language-items-1E5Qmfzb.js} +2 -2
- package/dist/{components-NoCZ44Ri.js → components-CTKlqX8g.js} +15741 -15466
- package/dist/components.js +15 -15
- package/dist/{dialog-BCsT_aLo.js → dialog-DGlnqBbX.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-Crt5QvTr.js → dropdown-menu-B-buMTGc.js} +1 -1
- package/dist/editor.js +7 -7
- package/dist/{empty-state-DFWq2CWB.js → empty-state-DKgPt475.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{i18n-provider-C0RBM8rH.js → i18n-provider-Bc7bdIRW.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-XBoBIt_R.js → icon-badge-BzLsPW3c.js} +1 -1
- package/dist/lib/components/ui/dates/date-field/date-field-content.d.ts +1 -1
- package/dist/lib/components/ui/dates/date-field/date-field-popover.d.ts +3 -1
- package/dist/lib/components/ui/dates/date-field/date-field-sheet-entry.d.ts +3 -2
- package/dist/lib/components/ui/dates/date-field/date-field-surface.d.ts +1 -1
- package/dist/lib/components/ui/dates/date-field/date-field-typed.d.ts +3 -3
- package/dist/lib/components/ui/dates/date-field/date-field.d.ts +23 -2
- package/dist/lib/components/ui/dates/date-field/use-typed-date.d.ts +3 -1
- package/dist/lib/components/ui/dates/date-field/use-zoned-content.d.ts +36 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.types.d.ts +1 -1
- package/dist/lib/components/ui/dates/picker-popover/hero-text.d.ts +1 -0
- package/dist/lib/components/ui/dates/picker-trigger/floating-clock.d.ts +7 -0
- package/dist/lib/components/ui/dates/picker-trigger/typed-day.d.ts +8 -0
- package/dist/lib/components/ui/dates/picker-trigger/use-zoned-date-props.d.ts +38 -0
- package/dist/lib/components/ui/dates/picker-trigger/use-zoned-value.d.ts +20 -0
- package/dist/lib/components/ui/dates/picker-trigger/zoned-bounds.d.ts +16 -0
- package/dist/lib/components/ui/dates/picker-trigger/zoned-matchers.d.ts +8 -0
- package/dist/lib/components/ui/dates/time-field/time-field.d.ts +14 -1
- package/dist/lib/components/ui/dates/time-field/time-form-field.d.ts +5 -1
- package/dist/lib/components/ui/dates/time-field/time-string-field.d.ts +3 -2
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/primitives/segmented-input/segment-date-time.d.ts +13 -0
- package/dist/lib/components/ui/primitives/segmented-input/segment-defs.d.ts +6 -0
- package/dist/lib/components/ui/primitives/segmented-input/segment-floating.d.ts +11 -0
- package/dist/lib/components/ui/primitives/segmented-input/segment-part.d.ts +19 -0
- package/dist/lib/i18n/resources/en/en.d.ts +1 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +1 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +1 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +1 -0
- package/dist/lib/i18n/resources/resources.d.ts +2 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/lib/zoned-floating.d.ts +30 -0
- package/dist/lib/lib/zoned-instant.d.ts +16 -0
- package/dist/lib/lib/zoned.d.ts +11 -4
- package/dist/lib.js +1 -1
- package/dist/main.js +21 -21
- package/dist/map.js +4 -4
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +2 -2
- package/dist/{public-CWIpzLzO.js → public-CNlIuQOj.js} +6 -6
- package/dist/{rich-code-block-C4aBv4cA.js → rich-code-block-Jo0OLy0J.js} +4 -4
- package/dist/{sortable-provider-0uBi0zcP.js → sortable-provider-DgIo378H.js} +1 -1
- package/dist/{spinner-CuxEwO0d.js → spinner-BTR8rVN9.js} +1 -1
- package/dist/{stored-language-D8aemZhx.js → stored-language-Bbwcy-Pv.js} +2 -0
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-ik5nV1P5.js → theme-toggle-DMZ_3HiG.js} +1 -1
- package/dist/{toolbar-items-C97E5HRa.js → toolbar-items-D3SPTgXE.js} +2 -2
- package/dist/{translate-material-B84ufMSF.js → translate-material-CRF13PON.js} +2 -2
- package/dist/{translator-Bq8UHmvu.js → translator-D7AVZCfQ.js} +1 -1
- package/dist/{use-chat-composer-DmDcEGp4.js → use-chat-composer-D3kvp8Fw.js} +12 -12
- package/dist/{use-heading-spy-BgG7Q47k.js → use-heading-spy-uyhOQV2O.js} +1 -1
- package/dist/{use-material-translation-CiYhVc39.js → use-material-translation-kISeB-fY.js} +2 -2
- package/docs/components/date-and-time.md +77 -3
- package/docs/guides/forms.md +2 -2
- package/docs/guides/i18n.md +2 -1
- package/docs/troubleshooting.md +9 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { n as ee, t as te } from "./ui.utils-CAnKTCw5.js";
|
|
2
2
|
import { t as ne } from "./utils-BLfntITJ.js";
|
|
3
|
-
import { $ as re, $i as e, $t as t, An as n, Ar as r, Br as i, Cr as a, Dr as o, Er as s, Fr as c, Gn as l, Hn as u, Hr as d, I as f, Ir as p, It as m, Ji as h, Jr as g, Kn as _, L as v, Lr as y, Mn as b, Mr as x, Nn as S, Nr as C, On as w, Pn as T, Pr as E, Qi as D, Qn as O, Qt as k, R as A, Rr as j, Sn as M, Sr as N, St as P, Tr as F, Un as I, Ur as L, Vr as R, Wn as z, Wr as B, Xi as V, Xr as H, Xt as U, Yi as W, Yn as G, Yr as K, Yt as q, Z as J, Zi as Y, Zn as X, Zt as ie, _ as ae, _r as oe, b as se, br as ce, c as le, ca as ue, cn as de, d as fe, dn as pe, dt as me, en as he, f as ge, fn as _e, g as ve, gr as ye, h as be, hr as xe, i as Se, jn as Ce, jr as we, kn as Te, kr as Ee, l as De, la as Oe, ln as ke, lr as Ae, m as je, na as Me, o as Ne, oa as Pe, on as Fe, p as Ie, pr as Le, qr as Re, r as ze, sa as Be, sn as Ve, ta as He, u as Ue, un as We, v as Ge, vr as Ke, wr as qe, x as Je, xr as Ye, y as Xe, yr as Ze, zr as Qe } from "./use-chat-composer-
|
|
3
|
+
import { $ as re, $i as e, $t as t, An as n, Ar as r, Br as i, Cr as a, Dr as o, Er as s, Fr as c, Gn as l, Hn as u, Hr as d, I as f, Ir as p, It as m, Ji as h, Jr as g, Kn as _, L as v, Lr as y, Mn as b, Mr as x, Nn as S, Nr as C, On as w, Pn as T, Pr as E, Qi as D, Qn as O, Qt as k, R as A, Rr as j, Sn as M, Sr as N, St as P, Tr as F, Un as I, Ur as L, Vr as R, Wn as z, Wr as B, Xi as V, Xr as H, Xt as U, Yi as W, Yn as G, Yr as K, Yt as q, Z as J, Zi as Y, Zn as X, Zt as ie, _ as ae, _r as oe, b as se, br as ce, c as le, ca as ue, cn as de, d as fe, dn as pe, dt as me, en as he, f as ge, fn as _e, g as ve, gr as ye, h as be, hr as xe, i as Se, jn as Ce, jr as we, kn as Te, kr as Ee, l as De, la as Oe, ln as ke, lr as Ae, m as je, na as Me, o as Ne, oa as Pe, on as Fe, p as Ie, pr as Le, qr as Re, r as ze, sa as Be, sn as Ve, ta as He, u as Ue, un as We, v as Ge, vr as Ke, wr as qe, x as Je, xr as Ye, y as Xe, yr as Ze, zr as Qe } from "./use-chat-composer-D3kvp8Fw.js";
|
|
4
4
|
import { i as $e, n as et, r as tt, s as nt, t as rt } from "./tooltip-CkttDIab.js";
|
|
5
|
-
import { a as it, c as at, f as ot, i as st, l as ct, n as lt, o as ut, p as dt, r as ft, s as pt, t as mt, u as ht } from "./dialog-
|
|
6
|
-
import { a as gt, c as _t, d as vt, f as yt, i as bt, l as xt, n as St, o as Ct, r as wt, s as Tt, t as Et, u as Dt } from "./dropdown-menu-
|
|
7
|
-
import { $ as Ot, $a as kt, $c as At, $d as jt, $i as Mt, $l as Nt, $n as Pt, $o as Ft, $r as It, $s as Lt, $t as Rt, $u as zt, A as Bt, Aa as Vt, Ac as Ht, Ad as Ut, Af as Wt, Ai as Gt, Al as Kt, An as qt, Ao as Jt, Ar as Yt, As as Xt, At as Zt, Au as Qt, B as $t, Ba as en, Bc as tn, Bd as nn, Bf as rn, Bi as an, Bl as on, Bn as sn, Bo as cn, Br as ln, Bs as un, Bt as dn, Bu as fn, C as pn, Ca as mn, Cc as hn, Cd as gn, Cf as _n, Ci as vn, Cl as yn, Cn as bn, Co as xn, Cr as Sn, Cs as Cn, Ct as wn, Cu as Tn, D as En, Da as Dn, Dc as On, Dd as kn, Df as An, Di as jn, Dl as Mn, Dn as Nn, Do as Pn, Dr as Fn, Ds as In, Dt as Ln, Du as Rn, E as zn, Ea as Bn, Ec as Vn, Ed as Hn, Ef as Un, Ei as Wn, El as Gn, En as Kn, Eo as qn, Er as Jn, Es as Yn, Et as Xn, Eu as Zn, F as Qn, Fa as $n, Fc as er, Fd as tr, Ff as nr, Fi as rr, Fl as ir, Fn as ar, Fo as or, Fr as sr, Fs as cr, Ft as lr, Fu as ur, G as dr, Ga as fr, Gc as pr, Gd as mr, Gf as hr, Gi as gr, Gl as _r, Gn as vr, Go as yr, Gr as br, Gs as xr, Gt as Sr, Gu as Cr, H as wr, Ha as Tr, Hc as Er, Hd as Dr, Hf as Or, Hi as kr, Hl as Ar, Hn as jr, Ho as Mr, Hr as Nr, Hs as Pr, Ht as Fr, Hu as Ir, I as Lr, Ia as Rr, Ic as zr, Id as Br, If as Vr, Ii as Hr, Il as Ur, In as Wr, Io as Gr, Ir as Kr, Is as qr, It as Jr, Iu as Yr, J as Xr, Ja as Zr, Jc as Qr, Jd as $r, Ji as ei, Jl as ti, Jn as ni, Jo as ri, Jr as ii, Js as ai, Jt as oi, Ju as si, K as ci, Ka as li, Kc as ui, Kd as di, Kf as fi, Ki as pi, Kl as mi, Kn as hi, Ko as gi, Kr as _i, Ks as vi, Kt as yi, Ku as bi, L as xi, La as Si, Lc as Ci, Ld as wi, Lf as Ti, Li as Ei, Ll as Di, Ln as Oi, Lo as ki, Lr as Ai, Ls as ji, Lt as Mi, Lu as Ni, M as Pi, Ma as Fi, Mc as Ii, Md as Li, Mf as Ri, Mi as zi, Ml as Bi, Mn as Vi, Mo as Hi, Mr as Ui, Ms as Wi, Mt as Gi, Mu as Ki, N as qi, Na as Ji, Nc as Yi, Nd as Xi, Nf as Zi, Ni as Qi, Nl as $i, Nn as ea, No as ta, Nr as na, Ns as ra, Nt as ia, Nu as aa, O as oa, Oa as sa, Oc as ca, Od as la, Of as ua, Oi as da, Ol as fa, On as pa, Oo as ma, Or as ha, Os as ga, Ot as _a, Ou as va, P as ya, Pa as ba, Pc as xa, Pd as Sa, Pf as Ca, Pi as wa, Pl as Ta, Pn as Ea, Po as Da, Pr as Oa, Ps as ka, Pt as Aa, Pu as ja, Q as Ma, Qa as Na, Qc as Pa, Qd as Fa, Qi as Ia, Ql as La, Qn as Ra, Qo as za, Qr as Ba, Qs as Va, Qt as Ha, Qu as Ua, R as Wa, Ra as Ga, Rc as Ka, Rd as qa, Rf as Ja, Ri as Ya, Rl as Xa, Rn as Za, Ro as Qa, Rr as $a, Rs as eo, Rt as to, Ru as no, S as ro, Sa as io, Sc as ao, Sd as oo, Sf as so, Si as co, Sl as lo, Sn as uo, So as fo, Sr as po, Ss as mo, St as ho, Su as go, T as _o, Ta as vo, Tc as yo, Td as bo, Tf as xo, Ti as So, Tl as Co, Tn as wo, To, Tr as Eo, Ts as Do, Tt as Oo, Tu as ko, U as Ao, Ua as jo, Uc as Mo, Ud as No, Uf as Po, Ui as Fo, Ul as Io, Un as Lo, Uo as Ro, Ur as zo, Us as Bo, Ut as Vo, Uu as Ho, V as Uo, Va as Wo, Vc as Go, Vd as Ko, Vf as qo, Vi as Jo, Vl as Yo, Vn as Xo, Vo as Zo, Vr as Qo, Vs as $o, Vt as es, Vu as ts, W as ns, Wa as rs, Wc as is, Wd as as, Wf as os, Wi as ss, Wl as cs, Wn as ls, Wo as us, Wr as ds, Ws as fs, Wt as ps, Wu as ms, X as hs, Xa as gs, Xc as _s, Xd as vs, Xi as ys, Xl as bs, Xn as xs, Xo as Ss, Xr as Cs, Xs as ws, Xt as Ts, Xu as Es, Y as Ds, Ya as Os, Yc as ks, Yd as As, Yi as js, Yl as Ms, Yn as Ns, Yo as Ps, Yr as Fs, Ys as Is, Yt as Ls, Yu as Rs, Z as zs, Za as Bs, Zc as Vs, Zd as Hs, Zi as Us, Zl as Ws, Zn as Gs, Zo as Ks, Zr as qs, Zs as Js, Zt as Ys, Zu as Xs, _ as Zs, _a as Qs, _c as $s, _d as ec, _f as tc, _i as nc, _l as rc, _n as ic, _o as ac, _r as oc, _s as sc, _t as cc, _u as lc, a as uc, aa as dc, ac as fc, ad as pc, af as mc, ai as hc, al as gc, an as _c, ao as vc, ar as yc, as as bc, at as xc, au as Sc, b as Cc, ba as wc, bc as Tc, bd as Ec, bf as Dc, bi as Oc, bl as kc, bn as Ac, bo as jc, br as Mc, bs as Nc, bt as Pc, bu as Fc, c as Ic, ca as Lc, cc as Rc, cd as zc, cf as Bc, ci as Vc, cl as Hc, cn as Uc, co as Wc, cr as Gc, cs as Kc, ct as qc, cu as Jc, d as Yc, da as Xc, dc as Zc, dd as Qc, df as $c, di as el, dl as tl, dn as nl, do as rl, dr as il, ds as al, dt as ol, du as sl, ea as cl, ec as ll, ed as ul, ef as dl, ei as fl, el as pl, en as ml, eo as hl, er as gl, es as _l, et as vl, eu as yl, f as bl, fa as xl, fc as Sl, fd as Cl, ff as wl, fi as Tl, fl as El, fn as Dl, fo as Ol, fr as kl, fs as Al, ft as jl, fu as Ml, g as Nl, ga as Pl, gc as Fl, gd as Il, gf as Z, gi as Ll, gl as Rl, gn as zl, go as Bl, gr as Vl, gs as Hl, gt as Ul, gu as Wl, h as Gl, ha as Kl, hc as ql, hd as Jl, hf as Yl, hi as Xl, hl as Zl, hn as Ql, ho as $l, hr as eu, hs as tu, ht as nu, hu as ru, i as iu, ia as au, ic as ou, id as su, if as cu, ii as lu, il as uu, in as du, io as fu, ir as pu, is as mu, it as hu, iu as gu, j as _u, ja as vu, jc as yu, jd as bu, jf as xu, ji as Su, jl as Cu, jn as wu, jo as Tu, jr as Eu, js as Du, jt as Ou, ju as ku, k as Au, ka as ju, kc as Mu, kd as Nu, kf as Pu, ki as Fu, kl as Iu, kn as Lu, ko as Ru, kr as zu, ks as Bu, kt as Vu, ku as Hu, l as Uu, la as Wu, lc as Gu, ld as Ku, lf as qu, li as Ju, ll as Yu, ln as Xu, lo as Zu, lr as Qu, ls as $u, lt as ed, lu as td, m as nd, ma as rd, mc as id, md as ad, mf as od, mi as sd, ml as cd, mn as ld, mo as ud, mr as dd, ms as fd, mt as pd, mu as md, n as hd, na as gd, nc as _d, nd as vd, nf as yd, ni as bd, nl as xd, nn as Sd, no as Cd, nr as wd, ns as Td, nt as Ed, nu as Dd, o as Od, oa as kd, oc as Ad, od as jd, of as Md, oi as Nd, ol as Pd, on as Fd, oo as Id, or as Ld, os as Rd, ot as zd, ou as Bd, p as Vd, pa as Hd, pc as Ud, pd as Wd, pf as Gd, pi as Kd, pl as qd, pn as Jd, po as Yd, pr as Xd, ps as Zd, pt as Qd, pu as $d, q as ef, qa as tf, qc as nf, qd as rf, qf as af, qi as of, ql as sf, qn as cf, qo as lf, qr as uf, qs as df, qt as ff, qu as pf, r as mf, ra as hf, rc as gf, rd as _f, rf as vf, ri as yf, rl as bf, rn as xf, ro as Sf, rr as Cf, rs as wf, rt as Tf, ru as Ef, s as Df, sa as Of, sc as kf, sd as Af, sf as jf, si as Mf, sl as Nf, sn as Pf, so as Ff, sr as If, ss as Lf, st as Rf, su as zf, t as Bf, ta as Vf, tc as Hf, td as Uf, tf as Wf, ti as Gf, tl as Kf, tn as qf, to as Jf, tr as Yf, ts as Xf, tt as Zf, tu as Qf, u as $f, ua as ep, uc as tp, ud as np, uf as rp, ui as ip, ul as ap, un as op, uo as sp, ur as cp, us as lp, ut as up, uu as dp, v as fp, va as pp, vc as mp, vd as hp, vf as gp, vi as _p, vl as vp, vn as yp, vo as bp, vr as xp, vs as Sp, vt as Cp, vu as wp, w as Tp, wa as Ep, wc as Dp, wd as Op, wf as kp, wi as Ap, wl as jp, wn as Mp, wo as Np, wr as Pp, ws as Fp, wt as Ip, wu as Lp, x as Rp, xa as zp, xc as Bp, xd as Vp, xf as Hp, xi as Up, xl as Wp, xn as Gp, xo as Kp, xr as qp, xs as Jp, xt as Yp, xu as Xp, y as Zp, ya as Qp, yc as $p, yd as em, yf as tm, yi as nm, yl as rm, yn as im, yo as am, yr as om, ys as sm, yt as cm, yu as lm, z as um, za as dm, zc as fm, zd as pm, zf as mm, zi as hm, zl as gm, zn as _m, zo as vm, zr as ym, zs as bm, zt as xm, zu as Sm } from "./components-
|
|
5
|
+
import { a as it, c as at, f as ot, i as st, l as ct, n as lt, o as ut, p as dt, r as ft, s as pt, t as mt, u as ht } from "./dialog-DGlnqBbX.js";
|
|
6
|
+
import { a as gt, c as _t, d as vt, f as yt, i as bt, l as xt, n as St, o as Ct, r as wt, s as Tt, t as Et, u as Dt } from "./dropdown-menu-B-buMTGc.js";
|
|
7
|
+
import { $ as Ot, $a as kt, $c as At, $d as jt, $i as Mt, $l as Nt, $n as Pt, $o as Ft, $r as It, $s as Lt, $t as Rt, $u as zt, A as Bt, Aa as Vt, Ac as Ht, Ad as Ut, Af as Wt, Ai as Gt, Al as Kt, An as qt, Ao as Jt, Ar as Yt, As as Xt, At as Zt, Au as Qt, B as $t, Ba as en, Bc as tn, Bd as nn, Bf as rn, Bi as an, Bl as on, Bn as sn, Bo as cn, Br as ln, Bs as un, Bt as dn, Bu as fn, C as pn, Ca as mn, Cc as hn, Cd as gn, Cf as _n, Ci as vn, Cl as yn, Cn as bn, Co as xn, Cr as Sn, Cs as Cn, Ct as wn, Cu as Tn, D as En, Da as Dn, Dc as On, Dd as kn, Df as An, Di as jn, Dl as Mn, Dn as Nn, Do as Pn, Dr as Fn, Ds as In, Dt as Ln, Du as Rn, E as zn, Ea as Bn, Ec as Vn, Ed as Hn, Ef as Un, Ei as Wn, El as Gn, En as Kn, Eo as qn, Er as Jn, Es as Yn, Et as Xn, Eu as Zn, F as Qn, Fa as $n, Fc as er, Fd as tr, Ff as nr, Fi as rr, Fl as ir, Fn as ar, Fo as or, Fr as sr, Fs as cr, Ft as lr, Fu as ur, G as dr, Ga as fr, Gc as pr, Gd as mr, Gf as hr, Gi as gr, Gl as _r, Gn as vr, Go as yr, Gr as br, Gs as xr, Gt as Sr, Gu as Cr, H as wr, Ha as Tr, Hc as Er, Hd as Dr, Hf as Or, Hi as kr, Hl as Ar, Hn as jr, Ho as Mr, Hr as Nr, Hs as Pr, Ht as Fr, Hu as Ir, I as Lr, Ia as Rr, Ic as zr, Id as Br, If as Vr, Ii as Hr, Il as Ur, In as Wr, Io as Gr, Ir as Kr, Is as qr, It as Jr, Iu as Yr, J as Xr, Ja as Zr, Jc as Qr, Jd as $r, Ji as ei, Jl as ti, Jn as ni, Jo as ri, Jr as ii, Js as ai, Jt as oi, Ju as si, K as ci, Ka as li, Kc as ui, Kd as di, Kf as fi, Ki as pi, Kl as mi, Kn as hi, Ko as gi, Kr as _i, Ks as vi, Kt as yi, Ku as bi, L as xi, La as Si, Lc as Ci, Ld as wi, Lf as Ti, Li as Ei, Ll as Di, Ln as Oi, Lo as ki, Lr as Ai, Ls as ji, Lt as Mi, Lu as Ni, M as Pi, Ma as Fi, Mc as Ii, Md as Li, Mf as Ri, Mi as zi, Ml as Bi, Mn as Vi, Mo as Hi, Mr as Ui, Ms as Wi, Mt as Gi, Mu as Ki, N as qi, Na as Ji, Nc as Yi, Nd as Xi, Nf as Zi, Ni as Qi, Nl as $i, Nn as ea, No as ta, Nr as na, Ns as ra, Nt as ia, Nu as aa, O as oa, Oa as sa, Oc as ca, Od as la, Of as ua, Oi as da, Ol as fa, On as pa, Oo as ma, Or as ha, Os as ga, Ot as _a, Ou as va, P as ya, Pa as ba, Pc as xa, Pd as Sa, Pf as Ca, Pi as wa, Pl as Ta, Pn as Ea, Po as Da, Pr as Oa, Ps as ka, Pt as Aa, Pu as ja, Q as Ma, Qa as Na, Qc as Pa, Qd as Fa, Qi as Ia, Ql as La, Qn as Ra, Qo as za, Qr as Ba, Qs as Va, Qt as Ha, Qu as Ua, R as Wa, Ra as Ga, Rc as Ka, Rd as qa, Rf as Ja, Ri as Ya, Rl as Xa, Rn as Za, Ro as Qa, Rr as $a, Rs as eo, Rt as to, Ru as no, S as ro, Sa as io, Sc as ao, Sd as oo, Sf as so, Si as co, Sl as lo, Sn as uo, So as fo, Sr as po, Ss as mo, St as ho, Su as go, T as _o, Ta as vo, Tc as yo, Td as bo, Tf as xo, Ti as So, Tl as Co, Tn as wo, To, Tr as Eo, Ts as Do, Tt as Oo, Tu as ko, U as Ao, Ua as jo, Uc as Mo, Ud as No, Uf as Po, Ui as Fo, Ul as Io, Un as Lo, Uo as Ro, Ur as zo, Us as Bo, Ut as Vo, Uu as Ho, V as Uo, Va as Wo, Vc as Go, Vd as Ko, Vf as qo, Vi as Jo, Vl as Yo, Vn as Xo, Vo as Zo, Vr as Qo, Vs as $o, Vt as es, Vu as ts, W as ns, Wa as rs, Wc as is, Wd as as, Wf as os, Wi as ss, Wl as cs, Wn as ls, Wo as us, Wr as ds, Ws as fs, Wt as ps, Wu as ms, X as hs, Xa as gs, Xc as _s, Xd as vs, Xi as ys, Xl as bs, Xn as xs, Xo as Ss, Xr as Cs, Xs as ws, Xt as Ts, Xu as Es, Y as Ds, Ya as Os, Yc as ks, Yd as As, Yi as js, Yl as Ms, Yn as Ns, Yo as Ps, Yr as Fs, Ys as Is, Yt as Ls, Yu as Rs, Z as zs, Za as Bs, Zc as Vs, Zd as Hs, Zi as Us, Zl as Ws, Zn as Gs, Zo as Ks, Zr as qs, Zs as Js, Zt as Ys, Zu as Xs, _ as Zs, _a as Qs, _c as $s, _d as ec, _f as tc, _i as nc, _l as rc, _n as ic, _o as ac, _r as oc, _s as sc, _t as cc, _u as lc, a as uc, aa as dc, ac as fc, ad as pc, af as mc, ai as hc, al as gc, an as _c, ao as vc, ar as yc, as as bc, at as xc, au as Sc, b as Cc, ba as wc, bc as Tc, bd as Ec, bf as Dc, bi as Oc, bl as kc, bn as Ac, bo as jc, br as Mc, bs as Nc, bt as Pc, bu as Fc, c as Ic, ca as Lc, cc as Rc, cd as zc, cf as Bc, ci as Vc, cl as Hc, cn as Uc, co as Wc, cr as Gc, cs as Kc, ct as qc, cu as Jc, d as Yc, da as Xc, dc as Zc, dd as Qc, df as $c, di as el, dl as tl, dn as nl, do as rl, dr as il, ds as al, dt as ol, du as sl, ea as cl, ec as ll, ed as ul, ef as dl, ei as fl, el as pl, en as ml, eo as hl, er as gl, es as _l, et as vl, eu as yl, f as bl, fa as xl, fc as Sl, fd as Cl, ff as wl, fi as Tl, fl as El, fn as Dl, fo as Ol, fr as kl, fs as Al, ft as jl, fu as Ml, g as Nl, ga as Pl, gc as Fl, gd as Il, gf as Z, gi as Ll, gl as Rl, gn as zl, go as Bl, gr as Vl, gs as Hl, gt as Ul, gu as Wl, h as Gl, ha as Kl, hc as ql, hd as Jl, hf as Yl, hi as Xl, hl as Zl, hn as Ql, ho as $l, hr as eu, hs as tu, ht as nu, hu as ru, i as iu, ia as au, ic as ou, id as su, if as cu, ii as lu, il as uu, in as du, io as fu, ir as pu, is as mu, it as hu, iu as gu, j as _u, ja as vu, jc as yu, jd as bu, jf as xu, ji as Su, jl as Cu, jn as wu, jo as Tu, jr as Eu, js as Du, jt as Ou, ju as ku, k as Au, ka as ju, kc as Mu, kd as Nu, kf as Pu, ki as Fu, kl as Iu, kn as Lu, ko as Ru, kr as zu, ks as Bu, kt as Vu, ku as Hu, l as Uu, la as Wu, lc as Gu, ld as Ku, lf as qu, li as Ju, ll as Yu, ln as Xu, lo as Zu, lr as Qu, ls as $u, lt as ed, lu as td, m as nd, ma as rd, mc as id, md as ad, mf as od, mi as sd, ml as cd, mn as ld, mo as ud, mr as dd, ms as fd, mt as pd, mu as md, n as hd, na as gd, nc as _d, nd as vd, nf as yd, ni as bd, nl as xd, nn as Sd, no as Cd, nr as wd, ns as Td, nt as Ed, nu as Dd, o as Od, oa as kd, oc as Ad, od as jd, of as Md, oi as Nd, ol as Pd, on as Fd, oo as Id, or as Ld, os as Rd, ot as zd, ou as Bd, p as Vd, pa as Hd, pc as Ud, pd as Wd, pf as Gd, pi as Kd, pl as qd, pn as Jd, po as Yd, pr as Xd, ps as Zd, pt as Qd, pu as $d, q as ef, qa as tf, qc as nf, qd as rf, qf as af, qi as of, ql as sf, qn as cf, qo as lf, qr as uf, qs as df, qt as ff, qu as pf, r as mf, ra as hf, rc as gf, rd as _f, rf as vf, ri as yf, rl as bf, rn as xf, ro as Sf, rr as Cf, rs as wf, rt as Tf, ru as Ef, s as Df, sa as Of, sc as kf, sd as Af, sf as jf, si as Mf, sl as Nf, sn as Pf, so as Ff, sr as If, ss as Lf, st as Rf, su as zf, t as Bf, ta as Vf, tc as Hf, td as Uf, tf as Wf, ti as Gf, tl as Kf, tn as qf, to as Jf, tr as Yf, ts as Xf, tt as Zf, tu as Qf, u as $f, ua as ep, uc as tp, ud as np, uf as rp, ui as ip, ul as ap, un as op, uo as sp, ur as cp, us as lp, ut as up, uu as dp, v as fp, va as pp, vc as mp, vd as hp, vf as gp, vi as _p, vl as vp, vn as yp, vo as bp, vr as xp, vs as Sp, vt as Cp, vu as wp, w as Tp, wa as Ep, wc as Dp, wd as Op, wf as kp, wi as Ap, wl as jp, wn as Mp, wo as Np, wr as Pp, ws as Fp, wt as Ip, wu as Lp, x as Rp, xa as zp, xc as Bp, xd as Vp, xf as Hp, xi as Up, xl as Wp, xn as Gp, xo as Kp, xr as qp, xs as Jp, xt as Yp, xu as Xp, y as Zp, ya as Qp, yc as $p, yd as em, yf as tm, yi as nm, yl as rm, yn as im, yo as am, yr as om, ys as sm, yt as cm, yu as lm, z as um, za as dm, zc as fm, zd as pm, zf as mm, zi as hm, zl as gm, zn as _m, zo as vm, zr as ym, zs as bm, zt as xm, zu as Sm } from "./components-CTKlqX8g.js";
|
|
8
8
|
import { a as Cm, i as wm } from "./field-blur-context-Cft9s7Hg.js";
|
|
9
9
|
import { i as Tm, n as Em, r as Dm, t as Om } from "./hover-card-C0fw2kLK.js";
|
|
10
|
-
import { _ as km, a as Am, c as jm, d as Mm, f as Nm, g as Pm, i as Fm, l as Im, o as Lm, p as Rm, r as zm, s as Bm, t as Vm, u as Hm } from "./public-
|
|
11
|
-
import { _ as Um, a as Wm, b as Gm, c as Km, d as qm, g as Jm, l as Ym, n as Xm, o as Zm, p as Qm, r as $m, s as eh, t as th, u as nh, v as rh, x as ih, y as ah } from "./toolbar-items-
|
|
12
|
-
import { a as oh, i as sh, n as ch, r as lh } from "./stored-language-
|
|
13
|
-
import { n as uh, r as dh, t as fh } from "./i18n-provider-
|
|
14
|
-
import { i as ph, n as mh, o as hh, r as gh, t as _h } from "./translator-
|
|
15
|
-
import { a as vh, c as yh, d as bh, f as xh, i as Sh, l as Ch, n as wh, o as Th, p as Eh, r as Dh, s as Oh, t as kh, u as Ah } from "./async-slice-
|
|
16
|
-
import { t as jh } from "./translate-material-
|
|
17
|
-
import { t as Mh } from "./use-material-translation-
|
|
18
|
-
import { t as Nh } from "./spinner-
|
|
19
|
-
import { a as Ph, n as Fh, t as Ih } from "./button-
|
|
10
|
+
import { _ as km, a as Am, c as jm, d as Mm, f as Nm, g as Pm, i as Fm, l as Im, o as Lm, p as Rm, r as zm, s as Bm, t as Vm, u as Hm } from "./public-CNlIuQOj.js";
|
|
11
|
+
import { _ as Um, a as Wm, b as Gm, c as Km, d as qm, g as Jm, l as Ym, n as Xm, o as Zm, p as Qm, r as $m, s as eh, t as th, u as nh, v as rh, x as ih, y as ah } from "./toolbar-items-D3SPTgXE.js";
|
|
12
|
+
import { a as oh, i as sh, n as ch, r as lh } from "./stored-language-Bbwcy-Pv.js";
|
|
13
|
+
import { n as uh, r as dh, t as fh } from "./i18n-provider-Bc7bdIRW.js";
|
|
14
|
+
import { i as ph, n as mh, o as hh, r as gh, t as _h } from "./translator-D7AVZCfQ.js";
|
|
15
|
+
import { a as vh, c as yh, d as bh, f as xh, i as Sh, l as Ch, n as wh, o as Th, p as Eh, r as Dh, s as Oh, t as kh, u as Ah } from "./async-slice-BtUexP2l.js";
|
|
16
|
+
import { t as jh } from "./translate-material-CRF13PON.js";
|
|
17
|
+
import { t as Mh } from "./use-material-translation-kISeB-fY.js";
|
|
18
|
+
import { t as Nh } from "./spinner-BTR8rVN9.js";
|
|
19
|
+
import { a as Ph, n as Fh, t as Ih } from "./button-CCAYSsgh.js";
|
|
20
20
|
import { n as Q, t as Lh } from "./icon-button-CN9r5TNE.js";
|
|
21
|
-
import { a as Rh, r as zh, s as Bh } from "./code-language-items-
|
|
21
|
+
import { a as Rh, r as zh, s as Bh } from "./code-language-items-1E5Qmfzb.js";
|
|
22
22
|
import { a as Vh, i as Hh, n as Uh, r as Wh, t as Gh } from "./icon-sprites-CaYXzOL4.js";
|
|
23
23
|
import { a as Kh, i as qh, o as Jh, r as Yh, s as Xh } from "./theme-store-CSl51uNH.js";
|
|
24
24
|
import { n as Zh, t as Qh } from "./use-theme-DMcyJ52N.js";
|
|
25
25
|
import { i as $h, n as eg, r as tg, t as ng } from "./toggle-group-BMJNcFAC.js";
|
|
26
|
-
import { t as rg } from "./theme-toggle-
|
|
26
|
+
import { t as rg } from "./theme-toggle-DMZ_3HiG.js";
|
|
27
27
|
import { a as ig, i as ag } from "./escape-owner-C4W_sOAU.js";
|
|
28
28
|
import { n as og, t as sg } from "./use-slice-reducer-BGkeGtML.js";
|
|
29
29
|
import { t as cg } from "./compose-refs-DZ0iIVF-.js";
|
|
30
30
|
import { n as lg, r as ug, t as dg } from "./number.utils-BG_eEt5g.js";
|
|
31
|
-
import { n as fg, r as pg, t as mg } from "./use-heading-spy-
|
|
32
|
-
import { t as hg } from "./chip-
|
|
33
|
-
import { n as gg } from "./icon-badge-
|
|
31
|
+
import { n as fg, r as pg, t as mg } from "./use-heading-spy-uyhOQV2O.js";
|
|
32
|
+
import { t as hg } from "./chip-Corr637n.js";
|
|
33
|
+
import { n as gg } from "./icon-badge-BzLsPW3c.js";
|
|
34
34
|
import { r as _g } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
35
35
|
import { a as vg, c as yg, d as bg, f as xg, l as Sg, o as Cg, p as wg, s as Tg, u as Eg } from "./line-path-C5pZGC49.js";
|
|
36
|
-
import { t as Dg } from "./empty-state-
|
|
36
|
+
import { t as Dg } from "./empty-state-DKgPt475.js";
|
|
37
37
|
import { t as Og } from "./skeleton-DSdtr2qc.js";
|
|
38
38
|
import { t as kg } from "./use-mobile-BDro060N.js";
|
|
39
|
-
import { _ as Ag, a as jg, b as Mg, c as Ng, d as Pg, f as Fg, g as Ig, h as Lg, i as Rg, l as zg, m as Bg, n as Vg, o as Hg, p as Ug, r as Wg, s as $, t as Gg, u as Kg } from "./sortable-provider-
|
|
39
|
+
import { _ as Ag, a as jg, b as Mg, c as Ng, d as Pg, f as Fg, g as Ig, h as Lg, i as Rg, l as zg, m as Bg, n as Vg, o as Hg, p as Ug, r as Wg, s as $, t as Gg, u as Kg } from "./sortable-provider-DgIo378H.js";
|
|
40
40
|
import { t as qg } from "./react-node-text-Crkpfpco.js";
|
|
41
41
|
import { t as Jg } from "./client-only.utils-3nHNzCki.js";
|
|
42
42
|
import { t as Yg } from "./use-scroll-away-PQRFZkT2.js";
|
package/dist/map.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./tooltip-CkttDIab.js";
|
|
3
|
-
import { c as n, n as r, o as i, r as a, s as o, t as s, u as c } from "./dialog-
|
|
3
|
+
import { c as n, n as r, o as i, r as a, s as o, t as s, u as c } from "./dialog-DGlnqBbX.js";
|
|
4
4
|
import { i as l, n as u, r as d, t as f } from "./hover-card-C0fw2kLK.js";
|
|
5
|
-
import { t as p } from "./use-material-translation-
|
|
6
|
-
import { t as m } from "./button-
|
|
5
|
+
import { t as p } from "./use-material-translation-kISeB-fY.js";
|
|
6
|
+
import { t as m } from "./button-CCAYSsgh.js";
|
|
7
7
|
import { t as h } from "./icon-button-CN9r5TNE.js";
|
|
8
8
|
import { r as g, t as _ } from "./field-blur-CJHzVSh9.js";
|
|
9
|
-
import { n as v, t as y } from "./icon-badge-
|
|
9
|
+
import { n as v, t as y } from "./icon-badge-BzLsPW3c.js";
|
|
10
10
|
import { MapIcon as b, MapPin as x, Minus as S, Plus as C } from "lucide-react";
|
|
11
11
|
import { useCallback as w, useEffect as T, useEffectEvent as E, useMemo as D, useRef as O, useState as k } from "react";
|
|
12
12
|
import { jsx as A, jsxs as j } from "react/jsx-runtime";
|
package/dist/pdf-reader.js
CHANGED
package/dist/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./translate-material-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bc7bdIRW.js";
|
|
2
|
+
import { t } from "./translate-material-CRF13PON.js";
|
|
3
3
|
import { Children as n, createContext as r, isValidElement as i, useCallback as a, useContext as o, useEffect as s, useMemo as c, useState as l } from "react";
|
|
4
4
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";
|
|
@@ -6,18 +6,18 @@ import { c as i, i as a, l as o, n as s, o as c, s as l } from "./dist-lmHmz_bu.
|
|
|
6
6
|
import { a as u, o as d } from "./tooltip-CkttDIab.js";
|
|
7
7
|
import { i as f } from "./dist-C4wtXCjf.js";
|
|
8
8
|
import { r as p, t as m } from "./in-dialog-Vwkyp-M5.js";
|
|
9
|
-
import { C as h, D as g, E as _, O as v, S as y, T as b, _ as x, f as S, g as ee, k as te, r as ne, t as C, u as re, w } from "./dialog-
|
|
10
|
-
import { c as T, d as ie, f as E, i as ae, l as oe, n as se, o as D, t as ce, u as O } from "./dropdown-menu-
|
|
11
|
-
import { S as le, a as k, d as A, g as ue, h as de, i as fe, m as pe, n as j, r as me, t as M, u as he, w as ge } from "./toolbar-items-
|
|
12
|
-
import { t as N } from "./use-material-translation-
|
|
13
|
-
import { t as _e } from "./button-
|
|
9
|
+
import { C as h, D as g, E as _, O as v, S as y, T as b, _ as x, f as S, g as ee, k as te, r as ne, t as C, u as re, w } from "./dialog-DGlnqBbX.js";
|
|
10
|
+
import { c as T, d as ie, f as E, i as ae, l as oe, n as se, o as D, t as ce, u as O } from "./dropdown-menu-B-buMTGc.js";
|
|
11
|
+
import { S as le, a as k, d as A, g as ue, h as de, i as fe, m as pe, n as j, r as me, t as M, u as he, w as ge } from "./toolbar-items-D3SPTgXE.js";
|
|
12
|
+
import { t as N } from "./use-material-translation-kISeB-fY.js";
|
|
13
|
+
import { t as _e } from "./button-CCAYSsgh.js";
|
|
14
14
|
import { n as ve, t as ye } from "./icon-button-CN9r5TNE.js";
|
|
15
15
|
import { t as be } from "./useEvent-2fKq-6w8.js";
|
|
16
16
|
import { n as xe, t as Se } from "./toggle-group-BMJNcFAC.js";
|
|
17
17
|
import { o as Ce } from "./escape-owner-C4W_sOAU.js";
|
|
18
18
|
import { n as we } from "./use-slice-reducer-BGkeGtML.js";
|
|
19
19
|
import { r as Te } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
20
|
-
import { n as Ee, t as De } from "./empty-state-
|
|
20
|
+
import { n as Ee, t as De } from "./empty-state-DKgPt475.js";
|
|
21
21
|
import { t as Oe } from "./client-only.utils-3nHNzCki.js";
|
|
22
22
|
import { t as ke } from "./use-scroll-away-PQRFZkT2.js";
|
|
23
23
|
import { ArrowLeft as Ae, BookOpenText as je, ChevronDown as Me, ChevronLeft as Ne, ChevronRight as Pe, ChevronUp as Fe, Download as Ie, Eraser as Le, FileText as Re, FileWarning as ze, FileX2 as Be, Highlighter as Ve, KeyRound as He, LayoutGrid as Ue, List as We, Loader2 as Ge, Maximize as Ke, MessageSquareText as qe, Minimize as Je, MoreVertical as Ye, MousePointer2 as Xe, MoveHorizontal as Ze, PanelLeft as Qe, Pen as $e, PencilLine as et, Printer as tt, RotateCw as nt, Search as rt, StickyNote as it, Type as at, Underline as ot, Undo2 as st, Volume2 as ct, X as lt, XIcon as ut, ZoomIn as dt, ZoomOut as ft } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./tooltip-CkttDIab.js";
|
|
2
|
-
import { c as t, n, t as r } from "./dropdown-menu-
|
|
3
|
-
import { t as i } from "./use-material-translation-
|
|
4
|
-
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-
|
|
2
|
+
import { c as t, n, t as r } from "./dropdown-menu-B-buMTGc.js";
|
|
3
|
+
import { t as i } from "./use-material-translation-kISeB-fY.js";
|
|
4
|
+
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-1E5Qmfzb.js";
|
|
5
5
|
import { i as u, n as d, r as f, s as p } from "./dist-C3GR7kJd.js";
|
|
6
6
|
import { t as m } from "./code-block-spec-CGLKRhwD.js";
|
|
7
7
|
import { Check as h, ChevronDown as g, Copy as _, Maximize2 as v, WrapText as y } from "lucide-react";
|
|
@@ -143,7 +143,7 @@ function M({ node: e, editor: t, updateAttributes: n, editable: r, wrap: a, onWr
|
|
|
143
143
|
}
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region lib/components/ui/widgets/editor/extensions/code/code-block-open.tsx
|
|
146
|
-
var N = x(() => import("./code-editor-
|
|
146
|
+
var N = x(() => import("./code-editor-B8_ny_jT.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
|
|
147
147
|
function P() {
|
|
148
148
|
let { t: e } = i();
|
|
149
149
|
return /* @__PURE__ */ T("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./dist-DVRQkaTK.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
3
|
+
import { t as n } from "./use-material-translation-kISeB-fY.js";
|
|
4
4
|
import { t as r } from "./icon-button-CN9r5TNE.js";
|
|
5
5
|
import { t as i } from "./compose-refs-DZ0iIVF-.js";
|
|
6
6
|
import { GripVertical as a } from "lucide-react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t } from "./tooltip-CkttDIab.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
3
|
+
import { t as n } from "./use-material-translation-kISeB-fY.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/components/ui/feedback/spinner/spinner.tsx
|
|
6
6
|
var i = t("transition-all duration-500", {
|
|
@@ -2222,6 +2222,7 @@ var t = {
|
|
|
2222
2222
|
apply: "Apply",
|
|
2223
2223
|
"no-range": "No dates yet",
|
|
2224
2224
|
"type-date": "Type the date",
|
|
2225
|
+
"type-date-time": "Type the date and time",
|
|
2225
2226
|
"type-range": "Type the dates",
|
|
2226
2227
|
"select-date": "Select date",
|
|
2227
2228
|
"select-dates": "Select dates",
|
|
@@ -4969,6 +4970,7 @@ var t = {
|
|
|
4969
4970
|
apply: "Appliquer",
|
|
4970
4971
|
"no-range": "Aucune date",
|
|
4971
4972
|
"type-date": "Saisir la date",
|
|
4973
|
+
"type-date-time": "Saisir la date et l’heure",
|
|
4972
4974
|
"type-range": "Saisir les dates",
|
|
4973
4975
|
"select-date": "Choisir la date",
|
|
4974
4976
|
"select-dates": "Choisir les dates",
|
package/dist/theme-picker.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./bubble-input-B7BVd9fX.js";
|
|
3
|
-
import { t as s } from "./use-material-translation-
|
|
3
|
+
import { t as s } from "./use-material-translation-kISeB-fY.js";
|
|
4
4
|
import { a as c, r as l } from "./icon-sprites-CaYXzOL4.js";
|
|
5
5
|
import { t as u } from "./use-theme-DMcyJ52N.js";
|
|
6
6
|
import { a as d, r as f } from "./theme-context-Cofk6vgs.js";
|
|
7
|
-
import { t as p } from "./theme-toggle-
|
|
7
|
+
import { t as p } from "./theme-toggle-DMZ_3HiG.js";
|
|
8
8
|
import { n as m, t as h } from "./nxgt-theme-ZS945iMP.js";
|
|
9
9
|
import { Check as g } from "lucide-react";
|
|
10
10
|
import { useContext as _ } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-kISeB-fY.js";
|
|
2
2
|
import { i as t } from "./theme-store-CSl51uNH.js";
|
|
3
3
|
import { n, t as r } from "./use-theme-DMcyJ52N.js";
|
|
4
4
|
import { r as i } from "./theme-context-Cofk6vgs.js";
|
|
@@ -4,9 +4,9 @@ import { a as i, c as a, i as o, l as s, r as c, s as l } from "./dist-lmHmz_bu.
|
|
|
4
4
|
import { b as u, c as d, d as f, f as p, l as m, t as h, u as g, x as _ } from "./tooltip-CkttDIab.js";
|
|
5
5
|
import { i as v, n as y, r as b, t as x } from "./dist-C4wtXCjf.js";
|
|
6
6
|
import { a as S, c as C, l as w, o as T, r as ee, s as te, t as E } from "./in-dialog-Vwkyp-M5.js";
|
|
7
|
-
import { A as ne, M as re, N as ie, b as ae, d as oe, f as se, i as ce, j as le, l as ue, n as de, o as fe, r as pe, t as me, u as he, y as ge } from "./dropdown-menu-
|
|
7
|
+
import { A as ne, M as re, N as ie, b as ae, d as oe, f as se, i as ce, j as le, l as ue, n as de, o as fe, r as pe, t as me, u as he, y as ge } from "./dropdown-menu-B-buMTGc.js";
|
|
8
8
|
import { a as _e, n as ve, r as ye, t as be } from "./dist-B7RjY7SL.js";
|
|
9
|
-
import { t as xe } from "./use-material-translation-
|
|
9
|
+
import { t as xe } from "./use-material-translation-kISeB-fY.js";
|
|
10
10
|
import { t as Se } from "./warn-once-C_e47JM8.js";
|
|
11
11
|
import { o as Ce } from "./escape-owner-C4W_sOAU.js";
|
|
12
12
|
import { ChevronLeft as we, ChevronRightIcon as Te, MoreVertical as Ee } from "lucide-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./stored-language-
|
|
2
|
-
import { a as e, r as t } from "./translator-
|
|
1
|
+
import "./stored-language-Bbwcy-Pv.js";
|
|
2
|
+
import { a as e, r as t } from "./translator-D7AVZCfQ.js";
|
|
3
3
|
//#region lib/i18n/translate-material.ts
|
|
4
4
|
function n(n, r, i, a) {
|
|
5
5
|
if (n) for (let e of /* @__PURE__ */ new Set([n, n.split("-")[0]])) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./is-production-GLw59WU8.js";
|
|
2
|
-
import { a as t, i as n, r, t as i } from "./stored-language-
|
|
2
|
+
import { a as t, i as n, r, t as i } from "./stored-language-Bbwcy-Pv.js";
|
|
3
3
|
import { t as a } from "./get-CTzJAwfc.js";
|
|
4
4
|
//#region ../../node_modules/@formatjs/fast-memoize/index.js
|
|
5
5
|
function o(e, t) {
|
|
@@ -7,21 +7,21 @@ import { a as o, c as s, i as c, l, n as u, o as d, r as f, s as p, t as m } fro
|
|
|
7
7
|
import { _ as h, a as g, g as _, h as v, m as y, o as b, p as x, t as S, v as C, y as w } from "./tooltip-CkttDIab.js";
|
|
8
8
|
import { a as T, i as E, n as D, r as O, t as k } from "./dist-C4wtXCjf.js";
|
|
9
9
|
import { i as A, n as ee, t as j } from "./in-dialog-Vwkyp-M5.js";
|
|
10
|
-
import { A as M, C as N, D as te, E as ne, O as P, S as re, T as ie, _ as F, b as ae, f as oe, g as se, k as I, l as ce, m as le, n as ue, o as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye } from "./dialog-
|
|
10
|
+
import { A as M, C as N, D as te, E as ne, O as P, S as re, T as ie, _ as F, b as ae, f as oe, g as se, k as I, l as ce, m as le, n as ue, o as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye } from "./dialog-DGlnqBbX.js";
|
|
11
11
|
import { A as be, C as xe, D as Se, E as Ce, O as we, S as Te, T as Ee, _ as De, a as Oe, b as ke, d as Ae, f as je, g as Me, h as Ne, i as Pe, k as Fe, l as Ie, m as Le, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as Ge, w as Ke, x as qe, y as Je } from "./floating-ui.dom-KkZSW8_E.js";
|
|
12
|
-
import { D as Ye, E as Xe, N as Ze, O as Qe, c as $e, d as et, f as tt, i as nt, k as rt, m as it, n as at, o as ot, p as st, t as ct, u as lt } from "./dropdown-menu-
|
|
12
|
+
import { D as Ye, E as Xe, N as Ze, O as Qe, c as $e, d as et, f as tt, i as nt, k as rt, m as it, n as at, o as ot, p as st, t as ct, u as lt } from "./dropdown-menu-B-buMTGc.js";
|
|
13
13
|
import { a as ut, i as dt, n as ft } from "./field-blur-context-Cft9s7Hg.js";
|
|
14
|
-
import { C as pt, S as mt, a as ht, c as gt, d as _t, l as vt, n as yt, o as bt, s as xt, u as St } from "./toolbar-items-
|
|
14
|
+
import { C as pt, S as mt, a as ht, c as gt, d as _t, l as vt, n as yt, o as bt, s as xt, u as St } from "./toolbar-items-D3SPTgXE.js";
|
|
15
15
|
import { a as Ct, i as wt, n as Tt, o as Et, t as Dt } from "./bubble-input-B7BVd9fX.js";
|
|
16
16
|
import { i as Ot } from "./dist-B7RjY7SL.js";
|
|
17
|
-
import "./stored-language-
|
|
18
|
-
import { a as kt } from "./translator-
|
|
17
|
+
import "./stored-language-Bbwcy-Pv.js";
|
|
18
|
+
import { a as kt } from "./translator-D7AVZCfQ.js";
|
|
19
19
|
import { h as At } from "./get-CTzJAwfc.js";
|
|
20
20
|
import { t as jt } from "./isEmpty-F_g3jLf8.js";
|
|
21
|
-
import { t as L } from "./use-material-translation-
|
|
22
|
-
import { t as Mt } from "./spinner-
|
|
21
|
+
import { t as L } from "./use-material-translation-kISeB-fY.js";
|
|
22
|
+
import { t as Mt } from "./spinner-BTR8rVN9.js";
|
|
23
23
|
import { a as Nt } from "./button-tones-BwuVvAmd.js";
|
|
24
|
-
import { a as Pt, i as Ft, o as It, r as Lt, t as Rt } from "./button-
|
|
24
|
+
import { a as Pt, i as Ft, o as It, r as Lt, t as Rt } from "./button-CCAYSsgh.js";
|
|
25
25
|
import { t as R } from "./icon-button-CN9r5TNE.js";
|
|
26
26
|
import { a as zt, r as Bt } from "./icon-sprites-CaYXzOL4.js";
|
|
27
27
|
import { t as Vt } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
@@ -35,10 +35,10 @@ import { a as tn, i as nn, o as rn } from "./escape-owner-C4W_sOAU.js";
|
|
|
35
35
|
import { n as an } from "./use-slice-reducer-BGkeGtML.js";
|
|
36
36
|
import { t as on } from "./browser-only-DQ94lWF8.js";
|
|
37
37
|
import { t as sn } from "./compose-refs-DZ0iIVF-.js";
|
|
38
|
-
import { n as cn, r as ln, t as un } from "./chip-
|
|
39
|
-
import { n as dn, t as fn } from "./icon-badge-
|
|
38
|
+
import { n as cn, r as ln, t as un } from "./chip-Corr637n.js";
|
|
39
|
+
import { n as dn, t as fn } from "./icon-badge-BzLsPW3c.js";
|
|
40
40
|
import { r as pn } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
41
|
-
import { t as mn } from "./empty-state-
|
|
41
|
+
import { t as mn } from "./empty-state-DKgPt475.js";
|
|
42
42
|
import { t as hn } from "./skeleton-DSdtr2qc.js";
|
|
43
43
|
import { H as gn, V as _n, X as vn, bt as yn, it as bn, lt as xn, n as Sn, t as Cn, xt as wn, yt as Tn } from "./dist-moutbfbd.js";
|
|
44
44
|
import { t as En } from "./markdown-Dw_uH7j7.js";
|
|
@@ -10909,7 +10909,7 @@ var jS = (e = {}) => Dn({
|
|
|
10909
10909
|
let [{ default: t }, { lowlight: n }, { richCodeBlock: r }] = await Promise.all([
|
|
10910
10910
|
import("./dist-CRMFGjng.js"),
|
|
10911
10911
|
import("./lowlight-OtcjU2Sa.js"),
|
|
10912
|
-
import("./rich-code-block-
|
|
10912
|
+
import("./rich-code-block-Jo0OLy0J.js")
|
|
10913
10913
|
]);
|
|
10914
10914
|
return [r(t, {
|
|
10915
10915
|
lowlight: n,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bc7bdIRW.js";
|
|
2
2
|
import { _ as t, g as n, h as r, n as i, v as a, y as o } from "./number.utils-BG_eEt5g.js";
|
|
3
3
|
import { useCallback as s, useEffect as c, useMemo as l, useRef as u } from "react";
|
|
4
4
|
//#region ../../node_modules/date-fns/locale/fr/_lib/formatDistance.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./translate-material-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bc7bdIRW.js";
|
|
2
|
+
import { t } from "./translate-material-CRF13PON.js";
|
|
3
3
|
import { useCallback as n } from "react";
|
|
4
4
|
//#region lib/i18n/use-material-translation.ts
|
|
5
5
|
function r() {
|
|
@@ -177,7 +177,9 @@ export function Delivery() {
|
|
|
177
177
|
| `onValueChange` | `(value?: Date) => void` | — | `undefined` when the day is unselected |
|
|
178
178
|
| `entry` | `'typed'` | — | deprecated, no effect: the date is always typed in segments, with a button that opens the calendar (`'button'`, the 2.x trigger, was removed in 3.0) |
|
|
179
179
|
| `clearable` | `boolean` | `!required` | a ✕ (named "Clear") that empties the typed field; shown only while it holds a date and is not `disabled` |
|
|
180
|
-
| `showTimePicker` | `boolean` | — | adds
|
|
180
|
+
| `showTimePicker` | `boolean` | — | adds the time of day (a day click in the calendar keeps it): its hours and minutes (and AM / PM on a 12-hour clock) are typed in segments after the date, and a `TimePicker` with an OK button and a Cancel button sits beside the calendar from 768px and under it in a sheet; the popover stays open. Typed and picked are one value. The field has a value once the date and the time are both complete (see [Time zones and typed time](#time-zones-and-typed-time)) |
|
|
181
|
+
| `hourCycle` | `12 \| 24` | the language's | the clock of the typed time and of the picker (English 12, French 24); with `showTimePicker` |
|
|
182
|
+
| `timeZone` | IANA name (`'Europe/Paris'`) | the machine's zone | the field reads and writes the wall clock of that zone; `value` and `onValueChange` stay the true instant ([below](#time-zones-and-typed-time)) |
|
|
181
183
|
| `placeholder`, `label`, `helperText`, `error`, `required` | | — | `label` and `helperText` sit beside the field; `error` and `required` its state. `placeholder` names a field with no label |
|
|
182
184
|
| `disabled` | `boolean` | — | disables the field: no segment takes a key and the calendar cannot be opened |
|
|
183
185
|
| `disabledDays` | react-day-picker's `Matcher \| Matcher[]` | — | days that cannot be picked (the calendar's `disabled`), e.g. `{ dayOfWeek: [0] }` |
|
|
@@ -257,6 +259,77 @@ resized, a phone turned) keeps the field as it is: a partial entry stays,
|
|
|
257
259
|
and so do the "Open calendar" button and its focus; an open picker keeps
|
|
258
260
|
the focus when it moves between the popover and the sheet.
|
|
259
261
|
|
|
262
|
+
### Time zones and typed time
|
|
263
|
+
|
|
264
|
+
With `showTimePicker` the trigger reads `mm / dd / yyyy 09 : 30 AM` (the
|
|
265
|
+
locale's order and clock; `hourCycle` forces one). The time is typed like the
|
|
266
|
+
date: digits move on once a segment is full, a separator or an arrow moves
|
|
267
|
+
between segments, ArrowUp and ArrowDown step the focused one (wrapping), "a"
|
|
268
|
+
or "p" sets AM / PM, and a pasted "07/01/2026 9:30 PM" fills all of them. The
|
|
269
|
+
segments are in one `group` named by the label; "Hours", "Minutes" and
|
|
270
|
+
"AM / PM" are `spinbutton`s like the date's. On a phone, where the segments
|
|
271
|
+
are 44px wide, the time wraps whole under the date when the two do not fit.
|
|
272
|
+
|
|
273
|
+
A value needs the date and the time both complete: while one segment is empty
|
|
274
|
+
the field emits `undefined` (a partial entry stays on screen), so a form's
|
|
275
|
+
`required` rule refuses it, says so in the helper text and marks every segment
|
|
276
|
+
`aria-invalid`, exactly as for a half-typed date. The calendar, the tiles and
|
|
277
|
+
the segments edit the same value: a day picked in the calendar keeps the time
|
|
278
|
+
of day, and a time typed shows in the tiles when the picker opens. (Before,
|
|
279
|
+
with `showTimePicker`, a day picked in the calendar put the time back to
|
|
280
|
+
midnight.) On the phone's sheet the pencil's large field takes the time too
|
|
281
|
+
and is named `material.dates.type-date-time`.
|
|
282
|
+
|
|
283
|
+
`timeZone` (an IANA name such as `Europe/Paris`) makes the field a form for the
|
|
284
|
+
wall clock of that zone, whatever zone the browser runs in:
|
|
285
|
+
|
|
286
|
+
| | |
|
|
287
|
+
| --- | --- |
|
|
288
|
+
| `value`, `onValueChange` | the true instant, a `Date`, as without `timeZone` |
|
|
289
|
+
| Shown | the instant's wall clock in the zone: `2026-07-01T07:30:00Z` is `09:30` for `Europe/Paris` and `03:30` for `America/Toronto` |
|
|
290
|
+
| Typed or picked | read as the zone's wall clock: `09:30` typed with `Europe/Paris` emits `07:30Z` in summer and `08:30Z` in winter |
|
|
291
|
+
| `minDate`, `maxDate` | instants, compared as the days they fall on in the zone |
|
|
292
|
+
| `disablePast`, `disableFuture`, today's mark | today in the zone, not the machine's |
|
|
293
|
+
| `disabledDays` | `Date`s in a matcher are the days they fall on in the zone; a function sees the zone's days |
|
|
294
|
+
| Unknown name | read as `UTC` (as `ZonedTime` does) |
|
|
295
|
+
| No `timeZone` | the machine's zone, as before |
|
|
296
|
+
|
|
297
|
+
Daylight-saving changes have one rule each, the one of Temporal's
|
|
298
|
+
`compatible` mode:
|
|
299
|
+
|
|
300
|
+
- **A time that does not exist** (the clocks go forward: 02:30 on 29 March
|
|
301
|
+
2026 in `Europe/Paris`) is read with the offset in force before the gap, so
|
|
302
|
+
it lands the length of the gap later: 03:30. The field shows 03:30 right
|
|
303
|
+
away.
|
|
304
|
+
- **A time that happens twice** (the clocks go back: 02:30 on 25 October 2026
|
|
305
|
+
in `Europe/Paris`) is the first occurrence, `00:30Z`. If the value being
|
|
306
|
+
edited already is the second occurrence (`01:30Z`), editing its minutes
|
|
307
|
+
keeps the second one, so the time never jumps an hour back under the typing.
|
|
308
|
+
|
|
309
|
+
The server renders the wall clock from `Intl` with the explicit zone, never
|
|
310
|
+
from the machine, so the HTML hydrates identically whatever zone the server
|
|
311
|
+
and the browser run in. Inside, the wall clock is a floating date (read
|
|
312
|
+
through UTC), so a time the browser's own clocks skip (02:30 Paris on the
|
|
313
|
+
day Toronto springs forward) is shown, typed and picked as it is. A
|
|
314
|
+
`disabledDays` matcher that holds a `Date` (`Date`, `{ before }`,
|
|
315
|
+
`{ after }`, `{ from, to }`, and lists of them) names the days those instants
|
|
316
|
+
fall on in the zone; a function matcher is given the zone's days. With no
|
|
317
|
+
value, a time picked first is dated today in the zone and must pass the
|
|
318
|
+
bounds (`disablePast`...).
|
|
319
|
+
|
|
320
|
+
```tsx
|
|
321
|
+
<DateField
|
|
322
|
+
label="Starts"
|
|
323
|
+
timeZone="Europe/Paris"
|
|
324
|
+
showTimePicker
|
|
325
|
+
value={startsAt}
|
|
326
|
+
onValueChange={setStartsAt}
|
|
327
|
+
disablePast
|
|
328
|
+
/>
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
`DateFormField` takes the same props. `DateRangeField` has no `timeZone` (react-day-picker's own `timeZone` prop is no longer accepted by `DateField` or `DateRangeField`: use `DateField`'s `timeZone`, or drop it from a range).
|
|
332
|
+
|
|
260
333
|
### Pickers' surfaces
|
|
261
334
|
|
|
262
335
|
The popover has 28px corners, a soft lift and 12px of
|
|
@@ -277,7 +350,7 @@ Storybook: `Date & time/Pickers surfaces/Phone sheet`, `/Popover` and `/Cancel`.
|
|
|
277
350
|
**Emits:** `Date | undefined`.
|
|
278
351
|
**Form wrapper:** `DateFormField` — `control` and `name`, see
|
|
279
352
|
[forms](../guides/forms.md#the-pair) and [what each field emits](../guides/forms.md#what-each-field-emits).
|
|
280
|
-
**Storybook:** `Date & time/DateField`, `Date & time/DateField/Typed entry`, `Date & time/DateField/Phone sheet` · **Vue:** `DateField`, `DateFormField` (`disabled-days`, same rules; the 2.x trigger only, no typed entry)
|
|
353
|
+
**Storybook:** `Date & time/DateField`, `Date & time/DateField/Typed entry`, `Date & time/DateField/Time zone`, `Date & time/DateField/Phone sheet` · **Vue:** `DateField`, `DateFormField` (`disabled-days`, same rules; the 2.x trigger only, no typed entry)
|
|
281
354
|
|
|
282
355
|
---
|
|
283
356
|
|
|
@@ -587,6 +660,7 @@ export function OpensAt() {
|
|
|
587
660
|
| `value` | `Date` | — | only the hours and minutes are shown |
|
|
588
661
|
| `onValueChange` | `(value?: Date) => void` | — | on every hour, minute or AM / PM change |
|
|
589
662
|
| `size` | `'default' \| 'sm'` | `'default'` | `'sm'` is the compact 36px box (the field radius is unchanged) |
|
|
663
|
+
| `timeZone` | IANA name (`'Europe/Paris'`) | the machine's zone | the segments and the picker show the value's wall clock in that zone and what is typed or picked is read in it; `value` and `onValueChange` stay the true instant. The time lands on the value's day in the zone (today in the zone with no value). The same rules as `DateField`'s ([Time zones and typed time](#time-zones-and-typed-time)): a time skipped by the clocks moves to the end of the gap, a repeated one is the first, unless the value holds the second. `TimeFormField` takes it too; with `asString` the `'HH:mm'` string is the wall clock itself and `timeZone` has no effect, and `TimeStringField` has none |
|
|
590
664
|
| `variant`, `hourCycle`, `minuteStep` | | `'tiles'`, the language's, `5` | passed to the `TimePicker` ([below](#timepicker)); `hourCycle` sets the segments' clock too |
|
|
591
665
|
| `entry` | `'typed'` | — | deprecated, no effect: the time is always typed in segments, with a button that opens the picker (`'button'`, the 2.x trigger, was removed in 3.0) |
|
|
592
666
|
| `clearable` | `boolean` | `!required` | a ✕ (named "Clear") that empties the typed field; shown only while it holds a time and is not `disabled` |
|
|
@@ -647,7 +721,7 @@ unchanged.
|
|
|
647
721
|
state.
|
|
648
722
|
**Form wrapper:** `TimeFormField` — `control` and `name` (plus `asString`), see
|
|
649
723
|
[forms](../guides/forms.md#the-pair) and [what each field emits](../guides/forms.md#what-each-field-emits).
|
|
650
|
-
**Storybook:** `Date & time/TimeField`, `Date & time/TimeField/Typed entry`, `Date & time/TimeField/Phone sheet` · **Vue:** `TimeField`, `TimeFormField` (the 2.x trigger only, no typed entry)
|
|
724
|
+
**Storybook:** `Date & time/TimeField`, `Date & time/TimeField/Typed entry`, `Date & time/TimeField/Time zone`, `Date & time/TimeField/Phone sheet` · **Vue:** `TimeField`, `TimeFormField` (the 2.x trigger only, no typed entry)
|
|
651
725
|
|
|
652
726
|
---
|
|
653
727
|
|
package/docs/guides/forms.md
CHANGED
|
@@ -508,9 +508,9 @@ or fails validation.
|
|
|
508
508
|
|
|
509
509
|
| Field · wrapper | Form value | Empty default |
|
|
510
510
|
| --- | --- | --- |
|
|
511
|
-
| `DateField` · `DateFormField` | `Date \| undefined` (not an ISO string) | `undefined` |
|
|
511
|
+
| `DateField` · `DateFormField` | `Date \| undefined` (not an ISO string). With `timeZone`, still the true instant (the field shows and edits that zone's wall clock); with `showTimePicker`, `undefined` until the date and the time are both complete | `undefined` |
|
|
512
512
|
| `DateRangeField` · `DateRangeFormField` | `DateRange \| undefined`: `{ from: Date \| undefined; to?: Date }` | `undefined` |
|
|
513
|
-
| `TimeField` · `TimeFormField` | `Date \| undefined
|
|
513
|
+
| `TimeField` · `TimeFormField` | `Date \| undefined` (with `timeZone`, the true instant). With `asString`: `'HH:mm'`. While empty it shows its `placeholder` | `undefined` / `''` |
|
|
514
514
|
| `DurationField` · `DurationFormField` | `number \| null`: total minutes (hours × 60 + minutes) | `null` |
|
|
515
515
|
|
|
516
516
|
### Selection & choice
|
package/docs/guides/i18n.md
CHANGED
|
@@ -371,7 +371,8 @@ date") and `material.dates.apply` on its Apply button ("Apply",
|
|
|
371
371
|
"Appliquer"); the range itself is written by `Intl.DateTimeFormat`'s
|
|
372
372
|
`formatRange` in the field's locale. On a phone's sheet, the switch to the
|
|
373
373
|
large typed field is named `material.dates.type-date` ("Type the date",
|
|
374
|
-
"Saisir la date") on `DateField`
|
|
374
|
+
"Saisir la date") on `DateField` (`material.dates.type-date-time`, "Type the date and
|
|
375
|
+
time", "Saisir la date et l’heure", with `showTimePicker`) and `material.dates.type-range` ("Type the
|
|
375
376
|
dates", "Saisir les dates") on `DateRangeField`. Its hero says
|
|
376
377
|
`material.dates.select-date` ("Select date", "Choisir la date") while the date
|
|
377
378
|
is empty, `material.dates.select-dates` on `DateRangeField`, and the Cancel of
|
package/docs/troubleshooting.md
CHANGED
|
@@ -6358,9 +6358,17 @@ names "Start time" and "End time". Every pick is committed as it is made, and
|
|
|
6358
6358
|
OK only closes the picker. Cancel puts back the value the picker opened with
|
|
6359
6359
|
(it fires `onValueChange` only if something changed); closing the picker in
|
|
6360
6360
|
another way (Escape, a drag, a click outside) keeps what was picked.
|
|
6361
|
-
|
|
6361
|
+
A `DateField` with `showTimePicker` also types the time in the field itself
|
|
6362
|
+
(`spinbutton`s "Hours", "Minutes" and, on a 12-hour clock, "AM / PM", in the
|
|
6363
|
+
same group as the date's), so while the popover is open `getByRole('spinbutton',
|
|
6364
|
+
{ name: 'Hours' })` can match two: the field's and the tile's. A day clicked in
|
|
6365
|
+
the calendar keeps the time of day.
|
|
6366
|
+
**Fix:** drive the tiles, scoped to the popover (or type in the field's group):
|
|
6362
6367
|
|
|
6363
6368
|
```ts
|
|
6369
|
+
const popover = screen.getByRole('dialog');
|
|
6370
|
+
await user.click(within(popover).getByRole('button', { name: 'Increase hours' }));
|
|
6371
|
+
// or type: within(screen.getByRole('group', { name: 'Starts' })).getByRole('spinbutton', { name: 'Hours' })
|
|
6364
6372
|
const start = screen.getByRole('group', { name: 'Start time' });
|
|
6365
6373
|
await user.click(within(start).getByRole('button', { name: 'Increase hours' }));
|
|
6366
6374
|
await user.click(screen.getByRole('button', { name: 'OK' }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxgt/material",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.39.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "stevegires@gmail.com"
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"docs:previews": "rm -rf node_modules/.cache/nxgt-preview-free/missing && NXGT_PREVIEW_FREE=1 vitest run --project previews && bun .storybook/preview-free-report.ts"
|
|
363
363
|
},
|
|
364
364
|
"dependencies": {
|
|
365
|
-
"@nxgt/material-core": "^0.
|
|
365
|
+
"@nxgt/material-core": "^0.40.0",
|
|
366
366
|
"@base-ui/react": "^1.6.0",
|
|
367
367
|
"@dnd-kit/core": "^6.3.1",
|
|
368
368
|
"@dnd-kit/sortable": "^10.0.0",
|