@nxgt/material 3.52.0 → 3.53.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 +28 -0
- package/README.md +5 -4
- package/dist/{async-slice-BGtmF3K5.js → async-slice-DDSsekfm.js} +2 -2
- package/dist/{button-Ct0KRBsN.js → button-Ct8DSLVv.js} +1 -1
- package/dist/charts.js +1064 -932
- package/dist/{chip-Ca1SEd70.js → chip-BzoNsd-W.js} +2 -2
- package/dist/{code-editor-DtwRhK8B.js → code-editor-DsLQeiZc.js} +6 -6
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-CEclGxhA.js → code-language-items-4zXlIEZ0.js} +2 -2
- package/dist/components/components.css +1 -5
- package/dist/components/ui/actions/action-card/action-card-tile.css +11 -2
- package/dist/components/ui/collections/data-table/data-table-items-record.css +27 -0
- package/dist/components/ui/collections/data-table/index.css +14 -0
- package/dist/{components-CzELzsOi.js → components-DZPMvc1w.js} +15976 -15821
- package/dist/components.js +26 -26
- package/dist/{dialog-BIy04Hpd.js → dialog-DwPmwmA3.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/draw-animate.js +1 -1
- package/dist/{dropdown-menu-B0Kd8x3G.js → dropdown-menu-CDN6Nqx6.js} +1 -1
- package/dist/editor.js +9 -9
- package/dist/{empty-state-CKxORwFE.js → empty-state-Bb9W9did.js} +2 -2
- package/dist/{escape-owner-BGKjiglh.js → escape-owner-DI_lg2ID.js} +1 -1
- package/dist/{field-blur-Dz1zPaYK.js → field-blur-BcJH8H9B.js} +1 -1
- package/dist/{field-blur-context-1T6GkSNc.js → field-blur-context-Dg1nwWOV.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-BwQ9IRxa.js → hover-card-Qse4gnop.js} +2 -2
- package/dist/i18n-provider-DlVPS58N.js +79 -0
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-D5Ns7ndZ.js → icon-badge-DVPBQOKe.js} +3 -3
- package/dist/{icon-button-VzdqY_Tv.js → icon-button-C3wDxsh6.js} +12 -12
- package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +17 -1
- package/dist/lib/components/ui/actions/action-card/action-card.d.ts +16 -2
- package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +6 -2
- package/dist/lib/components/ui/actions/action-card/partials/action-card-title-button.d.ts +15 -1
- package/dist/lib/components/ui/actions/action-card/partials/action-card-trail.d.ts +2 -1
- package/dist/lib/components/ui/collections/data-grid/columns/column-codec.d.ts +3 -3
- package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +5 -5
- package/dist/lib/components/ui/collections/data-grid/columns/row-meta.d.ts +22 -0
- package/dist/lib/components/ui/collections/data-grid/grid-meta.d.ts +10 -3
- package/dist/lib/components/ui/collections/data-table/data-table.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/layout-types.d.ts +27 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-context.d.ts +2 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-row.d.ts +8 -0
- package/dist/lib/components/ui/collections/data-table/types.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-classes.d.ts +7 -2
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band-classes.d.ts +5 -0
- package/dist/lib/components/ui/display/list-tile/internal.d.ts +1 -0
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-dense-text.d.ts +28 -0
- package/dist/lib/components/ui/feedback/toast/toast-text.d.ts +7 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/forms/index.d.ts +2 -0
- package/dist/lib/components/ui/forms/use-fast-form.d.ts +25 -0
- package/dist/lib/components/ui/forms/use-focus-on-refusal.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/activity-content.d.ts +10 -1
- package/dist/lib/components/ui/selection/switcher/partials/switcher-trigger.d.ts +3 -1
- package/dist/lib/components/ui/selection/switcher/switcher.d.ts +1 -1
- package/dist/lib/components/ui/selection/switcher/types.d.ts +7 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-text.d.ts +14 -6
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +57 -10
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +13 -5
- package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -2
- package/dist/lib/components/ui/widgets/native-charts/index.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +6 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/reference-marks.d.ts +1 -1
- package/dist/lib/i18n/material-resources-registry.d.ts +21 -0
- package/dist/lib/i18n/resources/en/en.d.ts +4 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/resources.d.ts +8 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +43 -43
- 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-D-J3nZFm.js → public-BoVE0ffh.js} +9 -9
- package/dist/{rich-code-block-Ig0ERAa2.js → rich-code-block-DAUM7Yh_.js} +5 -5
- package/dist/{sortable-provider-DfPkSN90.js → sortable-provider-BLXsGE_0.js} +2 -2
- package/dist/{spinner-KQb3YuR_.js → spinner-Rg4PnBPH.js} +1 -1
- package/dist/{stored-language-Cb9FMEwk.js → stored-language-B1lJMPbR.js} +10 -2
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-BY-SpsFV.js → theme-toggle-jVdxF_mc.js} +1 -1
- package/dist/{toolbar-items-30w9rG5h.js → toolbar-items-BFY_hns5.js} +4 -4
- package/dist/{translate-material-BPl8TQLg.js → translate-material-q-JNxP1m.js} +2 -2
- package/dist/{translator-BnQXtpSZ.js → translator-BU1o3_l9.js} +1 -1
- package/dist/{use-chat-composer-BSKJRYMB.js → use-chat-composer-DGbDuIUa.js} +3758 -3716
- package/dist/{use-heading-spy-BgXA8uz6.js → use-heading-spy-CP63sAcS.js} +1 -1
- package/dist/{use-material-translation-ByM3gD9R.js → use-material-translation-nNF8fUXz.js} +2 -2
- package/dist/use-shape-morph-DXdy2X5g.js +35 -0
- package/docs/components/buttons-and-actions.md +30 -1
- package/docs/components/data-table-filter-and-lists.md +2 -2
- package/docs/components/navigation-and-layout.md +1 -0
- package/docs/components/rich-widgets.md +2 -1
- package/docs/components/selection-and-choice.md +20 -0
- package/docs/guides/app-shell.md +22 -0
- package/docs/guides/cards-and-tiles.md +40 -4
- package/docs/guides/charts.md +30 -2
- package/docs/guides/data-grid.md +42 -2
- package/docs/guides/forms.md +35 -0
- package/docs/guides/i18n.md +6 -2
- package/docs/roadmap.md +84 -684
- package/docs/troubleshooting.md +21 -0
- package/lib/components/components.css +1 -5
- package/lib/components/ui/actions/action-card/action-card-tile.css +11 -2
- package/lib/components/ui/collections/data-table/data-table-items-record.css +27 -0
- package/lib/components/ui/collections/data-table/index.css +14 -0
- package/package.json +1 -1
- package/dist/i18n-provider-BFNrM0Qu.js +0 -45
- package/dist/use-shape-morph-BKA_R5P5.js +0 -35
|
@@ -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-Rg4PnBPH.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-nNF8fUXz.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-CDN6Nqx6.js";
|
|
6
|
+
import { a as l, i as u, n as d } from "./field-blur-context-Dg1nwWOV.js";
|
|
7
|
+
import { a as f, d as p, r as m, t as h, u as g } from "./toolbar-items-BFY_hns5.js";
|
|
8
|
+
import { t as _ } from "./use-material-translation-nNF8fUXz.js";
|
|
9
|
+
import { i as v, n as y, o as b, t as x } from "./code-language-items-4zXlIEZ0.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-DI_lg2ID.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-BFY_hns5.js";
|
|
4
|
+
import { t as o } from "./use-material-translation-nNF8fUXz.js";
|
|
5
|
+
import { i as s, n as c, o as l } from "./code-language-items-4zXlIEZ0.js";
|
|
6
|
+
import { r as u, t as d } from "./field-blur-BcJH8H9B.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-DsLQeiZc.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-CDN6Nqx6.js";
|
|
2
|
+
import { t as n } from "./use-material-translation-nNF8fUXz.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";
|
|
@@ -58,11 +58,7 @@
|
|
|
58
58
|
@import "./ui/layout/app-shell/activity-backdrop-shapes.css";
|
|
59
59
|
@import "./ui/layout/auth-card/auth-card-backdrop.css";
|
|
60
60
|
/* DataTable cards and tiles: the item shell (hairline, tint, start bar, columns by the list's width). */
|
|
61
|
-
@import "./ui/collections/data-table/
|
|
62
|
-
@import "./ui/collections/data-table/data-table-items-compact.css";
|
|
63
|
-
@import "./ui/collections/data-table/data-table-items-bar.css";
|
|
64
|
-
@import "./ui/collections/data-table/data-table-items-forced.css";
|
|
65
|
-
@import "./ui/collections/data-table/data-table-items-tiles.css";
|
|
61
|
+
@import "./ui/collections/data-table/index.css";
|
|
66
62
|
/* ServerTable's second header row on a phone: select-all, sort, Filters and the actions. */
|
|
67
63
|
@import "./ui/collections/server-table/server-table-phone-row.css";
|
|
68
64
|
/* Checkbox and Radio: the check that draws in, the dot that springs in, the state layer. */
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
* wrapper dissolves so its children take the areas. */
|
|
77
77
|
.nxgt-action-card[data-size="tile"] {
|
|
78
78
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
79
|
-
grid-template-areas: "title act" "status status" "desc desc" "meta meta";
|
|
79
|
+
grid-template-areas: "title act" "status status" "desc desc" "meta meta" "foot foot";
|
|
80
80
|
align-items: start;
|
|
81
81
|
/* A taller neighbour stretches the card: keep the rows at the top. */
|
|
82
82
|
align-content: start;
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
"icon title act"
|
|
94
94
|
". status status"
|
|
95
95
|
". desc desc"
|
|
96
|
-
". meta meta"
|
|
96
|
+
". meta meta"
|
|
97
|
+
". foot foot";
|
|
97
98
|
}
|
|
98
99
|
.nxgt-action-card[data-size="tile"] .nxgt-action-card-icon {
|
|
99
100
|
width: 36px;
|
|
@@ -119,6 +120,14 @@
|
|
|
119
120
|
.nxgt-action-card[data-size="tile"] .nxgt-action-card-meta {
|
|
120
121
|
grid-area: meta;
|
|
121
122
|
}
|
|
123
|
+
/* The footer: secondary links, above the stretched title link or button. */
|
|
124
|
+
.nxgt-action-card-footer {
|
|
125
|
+
grid-area: foot;
|
|
126
|
+
position: relative;
|
|
127
|
+
z-index: 1;
|
|
128
|
+
min-width: 0;
|
|
129
|
+
margin-top: 2px;
|
|
130
|
+
}
|
|
122
131
|
.nxgt-action-card[data-size="tile"][data-has-action]
|
|
123
132
|
.nxgt-action-card-action {
|
|
124
133
|
align-self: start;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* The compact record row of a tile (`item.Row`, data-table-item-row.tsx): the
|
|
2
|
+
* dense row of ListTile inside the tile's shell. Direction "A Refined" for the
|
|
3
|
+
* shell; the row is 36px tall under a fine pointer and 44px under a coarse one
|
|
4
|
+
* (the link's `::after` covers the tile, so the whole tile is the target).
|
|
5
|
+
* The title is 13px medium like ListTile's `size="sm"`; a selected tile's
|
|
6
|
+
* title keeps the primary text of data-table-items.css. */
|
|
7
|
+
@layer components {
|
|
8
|
+
[data-slot="data-table-tiles"]
|
|
9
|
+
> [data-slot="data-table-item"]:has([data-slot="data-table-record"]) {
|
|
10
|
+
min-height: 2.25rem;
|
|
11
|
+
padding-block: 0.375rem;
|
|
12
|
+
}
|
|
13
|
+
@media (pointer: coarse) {
|
|
14
|
+
[data-slot="data-table-tiles"]
|
|
15
|
+
> [data-slot="data-table-item"]:has([data-slot="data-table-record"]) {
|
|
16
|
+
min-height: 2.75rem;
|
|
17
|
+
/* The link's 44px box, centred on the title's first line, stays inside
|
|
18
|
+
* the tile when the subtitle and the chips stack under it. */
|
|
19
|
+
padding-block: 0.75rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
[data-slot="data-table-record"] [data-slot="data-table-item-title"] {
|
|
23
|
+
font-size: 0.8125rem;
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
line-height: 1.4;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* DataTable cards and tiles, one file per role, in cascade order:
|
|
2
|
+
*
|
|
3
|
+
* data-table-items.css the item shell (hairline, tint, start bar, columns)
|
|
4
|
+
* data-table-items-compact.css compact cards
|
|
5
|
+
* data-table-items-bar.css the list bar
|
|
6
|
+
* data-table-items-forced.css forced colours
|
|
7
|
+
* data-table-items-tiles.css tiles: one column, one surface
|
|
8
|
+
* data-table-items-record.css the compact record row of a tile (item.Row) */
|
|
9
|
+
@import "./data-table-items.css";
|
|
10
|
+
@import "./data-table-items-compact.css";
|
|
11
|
+
@import "./data-table-items-bar.css";
|
|
12
|
+
@import "./data-table-items-forced.css";
|
|
13
|
+
@import "./data-table-items-tiles.css";
|
|
14
|
+
@import "./data-table-items-record.css";
|