@nxgt/material 3.51.0 → 3.52.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 +16 -0
- package/dist/{button-BWcr2b49.js → button-Ct0KRBsN.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-CmLW6ZrT.js → chip-Ca1SEd70.js} +2 -2
- package/dist/{code-editor-BKMaeIF6.js → code-editor-DtwRhK8B.js} +6 -6
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-Cs1Pwd1h.js → code-language-items-CEclGxhA.js} +2 -2
- package/dist/{components-CuwU9Sux.js → components-CzELzsOi.js} +5610 -5576
- package/dist/components.js +18 -18
- package/dist/{dialog-TdT_5iUc.js → dialog-BIy04Hpd.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-BozV6Ikw.js → dropdown-menu-B0Kd8x3G.js} +1 -1
- package/dist/editor.js +9 -9
- package/dist/{empty-state-gzBPimAo.js → empty-state-CKxORwFE.js} +2 -2
- package/dist/{escape-owner-Bu-aDEEO.js → escape-owner-BGKjiglh.js} +1 -1
- package/dist/{field-blur-47zmuDkH.js → field-blur-Dz1zPaYK.js} +1 -1
- package/dist/{field-blur-context-6McYOnM8.js → field-blur-context-1T6GkSNc.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-zHdZJpBG.js → hover-card-BwQ9IRxa.js} +2 -2
- package/dist/{i18n-provider-Ang2f31m.js → i18n-provider-BFNrM0Qu.js} +13 -11
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-CRFGIQPX.js → icon-badge-D5Ns7ndZ.js} +3 -3
- package/dist/{icon-button-CtG3Snfm.js → icon-button-VzdqY_Tv.js} +1 -1
- package/dist/lib/components/ui/collections/server-table/partials/filtered-server-table.d.ts +1 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band-view.d.ts +18 -0
- package/dist/lib/components/ui/collections/server-table/partials/use-server-table-list-root.d.ts +10 -0
- package/dist/lib/components/ui/collections/server-table/partials/use-server-table-phone-row.d.ts +3 -2
- package/dist/lib/components/ui/display/change-history/types.d.ts +2 -1
- package/dist/lib/components/ui/display/description/description.d.ts +2 -2
- package/dist/lib/components/ui/fields/verification-code/use-resend-focus.d.ts +4 -1
- package/dist/lib/components/ui/primitives/tabs/tabs-overflow-classes.d.ts +8 -5
- package/dist/lib/components/ui/primitives/tabs/use-tabs-overflow.d.ts +4 -3
- package/dist/lib/i18n/i18n-provider.d.ts +14 -3
- package/dist/lib/i18n/translate-material.d.ts +7 -1
- package/dist/lib/i18n/types.d.ts +6 -0
- package/dist/lib/i18n/use-material-translation.d.ts +4 -0
- package/dist/main.js +22 -22
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +5 -4
- package/dist/{public-CTZ5RK_Y.js → public-D-J3nZFm.js} +9 -9
- package/dist/{rich-code-block-oTgL-s4W.js → rich-code-block-Ig0ERAa2.js} +5 -5
- package/dist/{sortable-provider-CpA5NYgD.js → sortable-provider-DfPkSN90.js} +2 -2
- package/dist/{spinner-UvqlDsV8.js → spinner-KQb3YuR_.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-BZVz6O5q.js → theme-toggle-BY-SpsFV.js} +1 -1
- package/dist/{toolbar-items-C09bJphe.js → toolbar-items-30w9rG5h.js} +4 -4
- package/dist/translate-material-BPl8TQLg.js +20 -0
- package/dist/{use-chat-composer-AZAj4tFJ.js → use-chat-composer-BSKJRYMB.js} +1676 -1654
- package/dist/{use-heading-spy-C9-A2md2.js → use-heading-spy-BgXA8uz6.js} +1 -1
- package/dist/use-material-translation-ByM3gD9R.js +14 -0
- package/docs/components/data-display.md +3 -3
- package/docs/components/primitives.md +1 -1
- package/docs/guides/helpers.md +1 -1
- package/docs/guides/i18n.md +30 -8
- package/docs/guides/two-factor.md +2 -1
- package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
- package/docs/previews/guides-i18n-translated-components.webp +0 -0
- package/docs/troubleshooting.md +3 -2
- package/package.json +1 -1
- package/dist/translate-material-D6KCK21i.js +0 -12
- package/dist/use-material-translation-pLgSqqLw.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 3.52.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1854](https://github.com/softistx/nxgt-material/pull/1854) [`47f15e9`](https://github.com/softistx/nxgt-material/commit/47f15e94d3fb99d83093a928af6f2245c038bf7e) Thanks [@SteveGT96](https://github.com/SteveGT96)! - fix(i18n): `I18nProvider` takes `resources`, the app's `mergeResources(...)` result, and every component reads its `material.*` words from it, so an app translation under `material.*` (for example `RecoveryCodesStatus` or `VerificationCode`) changes the wording as the two-factor guide says. `translateMaterial` takes the same resources as a fifth argument. Without `resources` nothing changes. The i18n guide no longer says overrides never reach the components.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#1859](https://github.com/softistx/nxgt-material/pull/1859) [`a84b25e`](https://github.com/softistx/nxgt-material/commit/a84b25e4a7466958b1b3c38357301a172e2d0267) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fix two empty cases. `Description` with only `children` now renders them as its value instead of nothing ([#1641](https://github.com/softistx/nxgt-material/issues/1641)), and `ChangeHistory` draws no empty bordered change list for an entry whose `changes` is `[]`; `changes` is now optional ([#1648](https://github.com/softistx/nxgt-material/issues/1648)).
|
|
12
|
+
|
|
13
|
+
- [#1860](https://github.com/softistx/nxgt-material/pull/1860) [`e308a89`](https://github.com/softistx/nxgt-material/commit/e308a890276bbcbdb275ae34cdf68e0587cfae08) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `useColumnHelpers` keeps `columnHelper` and `predefinedColumns` stable across renders (memoised on the translator), so `useMemo` columns keyed on them no longer rebuild and remount every cell, and a dialog opened from a row returns focus to its trigger ([#1644](https://github.com/softistx/nxgt-material/issues/1644)).
|
|
14
|
+
|
|
15
|
+
- [#1861](https://github.com/softistx/nxgt-material/pull/1861) [`8c69148`](https://github.com/softistx/nxgt-material/commit/8c691486dcad53424d3068e2049ccfa5140060a2) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `StepUpDialog` and `VerificationCode`: after a throttled "Resend" the code field takes the focus (WCAG 2.4.3). The dialog's focus trap taking the focus back while "Resend" was pending no longer clears the record of where the focus was, so the throttle moves it on to the field instead of leaving it on the dialog.
|
|
16
|
+
|
|
17
|
+
- [#1857](https://github.com/softistx/nxgt-material/pull/1857) [`07c8c20`](https://github.com/softistx/nxgt-material/commit/07c8c20620ab3815baf0a596db5ef56ac686e6fb) Thanks [@SteveGT96](https://github.com/SteveGT96)! - fix(tabs): the scroll cue of an overflowing `TabsList` stays inside its list. On a touch screen it is 44 wide and as tall as the list (a stated exception to the 44px box) and clipped to it, and it follows a sticky list while any ancestor scrolls (a scroll listener only while the list overflows), so it no longer takes taps aimed at the content under the list ([#1824](https://github.com/softistx/nxgt-material/issues/1824)).
|
|
18
|
+
|
|
3
19
|
## 3.51.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./is-production-GLw59WU8.js";
|
|
3
3
|
import { n, t as r } from "./dist-DVRQkaTK.js";
|
|
4
|
-
import { n as i, r as a, t as o } from "./spinner-
|
|
4
|
+
import { n as i, r as a, t as o } from "./spinner-KQb3YuR_.js";
|
|
5
5
|
import { a as s, i as c, n as l, o as u, s as d, t as f } from "./use-click-lock-BZYtTmVt.js";
|
|
6
6
|
import { t as p } from "./button-group-context-CaP0X5p_.js";
|
|
7
7
|
import { t as m } from "./has-text-content-Ds2dkHX_.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./ui.utils-CAnKTCw5.js";
|
|
2
2
|
import { t } from "./utils-BLfntITJ.js";
|
|
3
3
|
import { t as n } from "./warn-once-C_e47JM8.js";
|
|
4
|
-
import { t as r } from "./use-material-translation-
|
|
5
|
-
import { t as i } from "./button-
|
|
4
|
+
import { t as r } from "./use-material-translation-ByM3gD9R.js";
|
|
5
|
+
import { t as i } from "./button-Ct0KRBsN.js";
|
|
6
6
|
import { t as a } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
7
7
|
import { i as o, n as s, r as c, t as l } from "./util-4heV2LPI.js";
|
|
8
8
|
import { t as u } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
|
|
9
|
-
import { t as d } from "./chip-
|
|
9
|
+
import { t as d } from "./chip-Ca1SEd70.js";
|
|
10
10
|
import { c as f, d as p, f as m, i as h, o as g, p as _, s as v, t as y } from "./line-path-C5pZGC49.js";
|
|
11
11
|
import { t as b } from "./live-status-BGPaN8r8.js";
|
|
12
12
|
import { t as x } from "./linear-G97mfnKF.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { r as t } from "./spinner-
|
|
2
|
+
import { r as t } from "./spinner-KQb3YuR_.js";
|
|
3
3
|
import { s as n } from "./use-click-lock-BZYtTmVt.js";
|
|
4
|
-
import { t as r } from "./use-material-translation-
|
|
4
|
+
import { t as r } from "./use-material-translation-ByM3gD9R.js";
|
|
5
5
|
import { t as i } from "./react-node-text-Crkpfpco.js";
|
|
6
6
|
import { cloneElement as a, isValidElement as o } from "react";
|
|
7
7
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
@@ -2,13 +2,13 @@ import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
|
|
|
2
2
|
import { t } from "./utils-BLfntITJ.js";
|
|
3
3
|
import { t as n } from "./is-production-GLw59WU8.js";
|
|
4
4
|
import { a as r } from "./dist-lmHmz_bu.js";
|
|
5
|
-
import { c as i, d as a, f as o, n as s, t as c } from "./dropdown-menu-
|
|
6
|
-
import { a as l, i as u, n as d } from "./field-blur-context-
|
|
7
|
-
import { a as f, d as p, r as m, t as h, u as g } from "./toolbar-items-
|
|
8
|
-
import { t as _ } from "./use-material-translation-
|
|
9
|
-
import { i as v, n as y, o as b, t as x } from "./code-language-items-
|
|
5
|
+
import { c as i, d as a, f as o, n as s, t as c } from "./dropdown-menu-B0Kd8x3G.js";
|
|
6
|
+
import { a as l, i as u, n as d } from "./field-blur-context-1T6GkSNc.js";
|
|
7
|
+
import { a as f, d as p, r as m, t as h, u as g } from "./toolbar-items-30w9rG5h.js";
|
|
8
|
+
import { t as _ } from "./use-material-translation-ByM3gD9R.js";
|
|
9
|
+
import { i as v, n as y, o as b, t as x } from "./code-language-items-CEclGxhA.js";
|
|
10
10
|
import { t as S } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
|
|
11
|
-
import { n as C, t as w } from "./escape-owner-
|
|
11
|
+
import { n as C, t as w } from "./escape-owner-BGKjiglh.js";
|
|
12
12
|
import { t as T } from "./skeleton-DSdtr2qc.js";
|
|
13
13
|
import { t as E } from "./react-node-text-Crkpfpco.js";
|
|
14
14
|
import D, { memo as O, useCallback as ee, useEffect as k, useId as A, useImperativeHandle as j, useMemo as M, useRef as N, useState as P } from "react";
|
package/dist/code-editor.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { a as t } from "./dist-lmHmz_bu.js";
|
|
3
|
-
import { d as n, r, t as i, u as a } from "./toolbar-items-
|
|
4
|
-
import { t as o } from "./use-material-translation-
|
|
5
|
-
import { i as s, n as c, o as l } from "./code-language-items-
|
|
6
|
-
import { r as u, t as d } from "./field-blur-
|
|
3
|
+
import { d as n, r, t as i, u as a } from "./toolbar-items-30w9rG5h.js";
|
|
4
|
+
import { t as o } from "./use-material-translation-ByM3gD9R.js";
|
|
5
|
+
import { i as s, n as c, o as l } from "./code-language-items-CEclGxhA.js";
|
|
6
|
+
import { r as u, t as d } from "./field-blur-Dz1zPaYK.js";
|
|
7
7
|
import { t as f } from "./skeleton-DSdtr2qc.js";
|
|
8
8
|
import { t as p } from "./live-status-BGPaN8r8.js";
|
|
9
9
|
import { t as m } from "./use-mobile-BDro060N.js";
|
|
10
10
|
import { t as h } from "./react-node-text-Crkpfpco.js";
|
|
11
|
-
import { a as g, c as _, d as v, f as y, i as b, l as x, m as S, o as C, p as w, r as T, s as E, t as D, u as O } from "./code-editor-
|
|
11
|
+
import { a as g, c as _, d as v, f as y, i as b, l as x, m as S, o as C, p as w, r as T, s as E, t as D, u as O } from "./code-editor-DtwRhK8B.js";
|
|
12
12
|
import { useEffect as k, useRef as A, useState as j } from "react";
|
|
13
13
|
import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
|
|
14
14
|
import { ChevronDown as F, ChevronUp as I, Columns2 as L } from "lucide-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as e, f as t } from "./dropdown-menu-
|
|
2
|
-
import { t as n } from "./use-material-translation-
|
|
1
|
+
import { d as e, f as t } from "./dropdown-menu-B0Kd8x3G.js";
|
|
2
|
+
import { t as n } from "./use-material-translation-ByM3gD9R.js";
|
|
3
3
|
import { t as r } from "./live-status-BGPaN8r8.js";
|
|
4
4
|
import { useEffect as i, useRef as a, useState as o } from "react";
|
|
5
5
|
import { jsx as s } from "react/jsx-runtime";
|