@nxgt/material 3.50.0 → 3.51.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 +12 -0
- package/dist/{async-slice-3loEtzUY.js → async-slice-BGtmF3K5.js} +2 -2
- package/dist/{button-BRUaHD8z.js → button-BWcr2b49.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-DneTrtNj.js → chip-CmLW6ZrT.js} +2 -2
- package/dist/{code-editor-R_nPN_-d.js → code-editor-BKMaeIF6.js} +6 -6
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-BKEUhQlF.js → code-language-items-Cs1Pwd1h.js} +2 -2
- package/dist/components/ui/layout/app-shell/activity-backdrop-shapes.css +14 -9
- package/dist/components/ui/layout/auth-card/auth-card-backdrop.css +2 -2
- package/dist/{components-D6xFLcoE.js → components-CuwU9Sux.js} +4155 -4007
- package/dist/components.js +19 -19
- package/dist/{dialog-S7dLsYRZ.js → dialog-TdT_5iUc.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-XLlxfDgq.js → dropdown-menu-BozV6Ikw.js} +1 -1
- package/dist/editor.js +9 -9
- package/dist/{empty-state-Dsf6R-Zo.js → empty-state-gzBPimAo.js} +2 -2
- package/dist/{escape-owner-B9eCwjLw.js → escape-owner-Bu-aDEEO.js} +1 -1
- package/dist/{field-blur-5uRDFHvB.js → field-blur-47zmuDkH.js} +1 -1
- package/dist/{field-blur-context-Cwt4TuBq.js → field-blur-context-6McYOnM8.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-PHUgRSjJ.js → hover-card-zHdZJpBG.js} +2 -2
- package/dist/{i18n-provider-DPM_ALQ4.js → i18n-provider-Ang2f31m.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-Dh6-FNOF.js → icon-badge-CRFGIQPX.js} +3 -3
- package/dist/{icon-button-DSC2-IAG.js → icon-button-CtG3Snfm.js} +1 -1
- package/dist/lib/components/ui/collections/data-table/data-table-selection-host.d.ts +7 -0
- package/dist/lib/components/ui/collections/data-table/internal.d.ts +1 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-list-bar.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/partials/filtered-server-table.d.ts +8 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band.d.ts +10 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-buttons.d.ts +3 -2
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-more.d.ts +4 -2
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-controls.d.ts +16 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-grid.d.ts +3 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-selection-bar.d.ts +17 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-view.d.ts +15 -0
- package/dist/lib/components/ui/collections/server-table/partials/use-server-table-phone-row.d.ts +14 -0
- package/dist/lib/components/ui/collections/server-table/partials/use-server-table-selection-slots.d.ts +24 -0
- package/dist/lib/components/ui/collections/server-table/use-selection-band.d.ts +14 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +12 -1
- package/dist/lib/i18n/resources/en/en.d.ts +3 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +4 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +3 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +4 -1
- package/dist/lib/i18n/resources/resources.d.ts +6 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +25 -25
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +2 -2
- package/dist/{public-vxiijIJF.js → public-CTZ5RK_Y.js} +9 -9
- package/dist/{rich-code-block-BwvCXPqq.js → rich-code-block-oTgL-s4W.js} +5 -5
- package/dist/{sortable-provider-D2pAFWQB.js → sortable-provider-CpA5NYgD.js} +2 -2
- package/dist/{spinner-BpVwI1ps.js → spinner-UvqlDsV8.js} +1 -1
- package/dist/{stored-language-Beyj2ult.js → stored-language-Cb9FMEwk.js} +8 -2
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-BTYRPkP4.js → theme-toggle-BZVz6O5q.js} +1 -1
- package/dist/{toolbar-items-CIMo4F9q.js → toolbar-items-C09bJphe.js} +4 -4
- package/dist/{translate-material-DEUlaL_1.js → translate-material-D6KCK21i.js} +2 -2
- package/dist/{translator-CBgIb3zP.js → translator-BnQXtpSZ.js} +1 -1
- package/dist/{use-chat-composer-D8UAsX0f.js → use-chat-composer-AZAj4tFJ.js} +16 -16
- package/dist/{use-heading-spy-C5LXtA8Z.js → use-heading-spy-C9-A2md2.js} +1 -1
- package/dist/{use-material-translation-DWWeeg-B.js → use-material-translation-pLgSqqLw.js} +2 -2
- package/docs/components/data-table-filter-and-lists.md +38 -5
- package/docs/guides/backgrounds.md +3 -1
- package/docs/guides/cards-and-tiles.md +3 -0
- package/lib/components/ui/layout/app-shell/activity-backdrop-shapes.css +14 -9
- package/lib/components/ui/layout/auth-card/auth-card-backdrop.css +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 3.51.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1848](https://github.com/softistx/nxgt-material/pull/1848) [`1b506da`](https://github.com/softistx/nxgt-material/commit/1b506dafb6c7fbb0e2ad287a217f3b950a521e14) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `ServerTable` with `bulkActions` and `filter`: the first selected row turns the band that holds the filter bar into a selection bar in place ([#1718](https://github.com/softistx/nxgt-material/issues/1718)), on the same row and height: "N selected", the bulk actions and a tonal "Cancel" that clears the selection. The search and the page's actions stay mounted, hidden, so the table does not move; clearing the selection brings them back and gives the focus to the control that started the selection, or else to the list. The extra bulk toolbar row that grew from `h-0` is gone, and the cards' and tiles' list bar no longer repeats the count and "Clear selection". On a phone the bar is one row: the first action keeps its button, the others go into an icon "More". The public props are unchanged; without `filter`, or with the facets panel, the bulk actions stay in the table's toolbar. New text keys `material.server-table.bulk-selected`, `bulk-cancel` and `bulk-bar`.
|
|
8
|
+
|
|
9
|
+
Migration: tests that query "Clear selection" in a `ServerTable` with `filter` and `bulkActions` now query `getByRole('button', { name: 'Cancel' })` inside `getByRole('group', { name: 'Selected rows' })`, and `[data-slot="header"]` (the toolbar row) no longer appears on selection. While rows are selected the search is `inert`, so `filterRef.focus()` does nothing; cancel the selection first. Below 768px the band keeps one bulk action and puts the rest in "More".
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1847](https://github.com/softistx/nxgt-material/pull/1847) [`a4f357c`](https://github.com/softistx/nxgt-material/commit/a4f357ca1f73cc724d29963dd4a0637b4fa87f82) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fix a backdrop shape seen behind a paragraph of body text on a reload, or after a late font load reflows the text with `keepClear="gaps"` (or `true`) on `ActivityLayout`, `AuthCard` and the theme's background ([#1720](https://github.com/softistx/nxgt-material/issues/1720)). The first pass dropped a glyph over the text by fading it out over 150 ms, after the scene was shown, so a shape was drawn behind the text for those frames at phone width and on desktop. A dropped glyph is now hidden at once on the first pass; the fade starts one frame later (`data-settled` on the scene) and still softens every later drop and return. The pass also runs again when a web font finishes loading late, so text that reflows after it keeps its margin.
|
|
14
|
+
|
|
3
15
|
## 3.50.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, r as t, t as n } from "./stored-language-
|
|
2
|
-
import { r } from "./translator-
|
|
1
|
+
import { i as e, r as t, t as n } from "./stored-language-Cb9FMEwk.js";
|
|
2
|
+
import { r } from "./translator-BnQXtpSZ.js";
|
|
3
3
|
import { t as i } from "./_baseIsEqual-C6ksIHya.js";
|
|
4
4
|
import { useMemo as a } from "react";
|
|
5
5
|
import { asyncThunkCreator as o, buildCreateSlice as s } from "@reduxjs/toolkit";
|
|
@@ -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-UvqlDsV8.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-pLgSqqLw.js";
|
|
5
|
+
import { t as i } from "./button-BWcr2b49.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-CmLW6ZrT.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-UvqlDsV8.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-pLgSqqLw.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-BozV6Ikw.js";
|
|
6
|
+
import { a as l, i as u, n as d } from "./field-blur-context-6McYOnM8.js";
|
|
7
|
+
import { a as f, d as p, r as m, t as h, u as g } from "./toolbar-items-C09bJphe.js";
|
|
8
|
+
import { t as _ } from "./use-material-translation-pLgSqqLw.js";
|
|
9
|
+
import { i as v, n as y, o as b, t as x } from "./code-language-items-Cs1Pwd1h.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-Bu-aDEEO.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-C09bJphe.js";
|
|
4
|
+
import { t as o } from "./use-material-translation-pLgSqqLw.js";
|
|
5
|
+
import { i as s, n as c, o as l } from "./code-language-items-Cs1Pwd1h.js";
|
|
6
|
+
import { r as u, t as d } from "./field-blur-47zmuDkH.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-BKMaeIF6.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-BozV6Ikw.js";
|
|
2
|
+
import { t as n } from "./use-material-translation-pLgSqqLw.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";
|
|
@@ -18,15 +18,20 @@
|
|
|
18
18
|
visibility: hidden;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
/* A shape over the page's text, controls or surfaces (cards, tables, lists)
|
|
22
|
-
* clear (watch-content.ts): it is hidden,
|
|
23
|
-
* moon, the planet, the eclipse: `.pt.mg`)
|
|
24
|
-
* (`.pt.mh`). The scene stays invisible until
|
|
25
|
-
* flashes over the content.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
[data-
|
|
29
|
-
[data-
|
|
21
|
+
/* A shape over the page's text, controls or surfaces (cards, tables, lists)
|
|
22
|
+
* fades out and comes back once clear (watch-content.ts): it is hidden,
|
|
23
|
+
* never moved. A compound body (the moon, the planet, the eclipse: `.pt.mg`)
|
|
24
|
+
* is hidden whole, with its halo (`.pt.mh`). The scene stays invisible until
|
|
25
|
+
* the first check, so nothing flashes over the content. The fade waits for
|
|
26
|
+
* `data-settled`, set a frame after the first pass: a shape that pass drops
|
|
27
|
+
* is hidden at once, never seen fading out over the text on a reload. */
|
|
28
|
+
[data-keep-inside][data-settled] .mo > *,
|
|
29
|
+
[data-keep-inside][data-settled] .pt,
|
|
30
|
+
[data-slot="activity-layout-backdrop"]
|
|
31
|
+
[data-background][data-settled]
|
|
32
|
+
.mo
|
|
33
|
+
> *,
|
|
34
|
+
[data-slot="activity-layout-backdrop"] [data-background][data-settled] .pt {
|
|
30
35
|
transition: opacity 150ms ease;
|
|
31
36
|
}
|
|
32
37
|
/* Important: a preset sets its own opacity on a body (`.md`, the dark
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
visibility: hidden;
|
|
14
14
|
}
|
|
15
15
|
/* A shape over the card or the brand row fades out (watch-content.ts). */
|
|
16
|
-
[data-slot="auth-card-backdrop"] [data-background] .mo > *,
|
|
17
|
-
[data-slot="auth-card-backdrop"] [data-background] .pt {
|
|
16
|
+
[data-slot="auth-card-backdrop"] [data-background][data-settled] .mo > *,
|
|
17
|
+
[data-slot="auth-card-backdrop"] [data-background][data-settled] .pt {
|
|
18
18
|
transition: opacity 150ms ease;
|
|
19
19
|
}
|
|
20
20
|
[data-slot="auth-card-backdrop"] [data-background] .mo > [data-hidden],
|